• Home
  • Raw
  • Download

Lines Matching refs:Utils

203       Utils::ToLocal(scriptName),  in GetScriptOriginForScript()
209 Utils::ToLocal(source_map_url), in GetScriptOriginForScript()
287 Utils::ApiCheck(false, location, "Allocation failed - process out of memory"); in FatalProcessOutOfMemory()
293 void Utils::ReportApiFailure(const char* location, const char* message) { in ReportApiFailure()
419 i::Object* raw_context = *v8::Utils::OpenPersistent(context); in CreateSnapshotDataBlob()
635 i::Object* object = *Utils::OpenHandle(value); in Eternalize()
642 return Utils::ToLocal(isolate->eternal_handles()->Get(index)); in GetEternal()
647 Utils::ApiCheck(false, "v8::FromJust", "Maybe value is Nothing."); in FromJustIsNothing()
652 Utils::ApiCheck(false, "v8::ToLocalChecked", "Empty MaybeLocal."); in ToLocalEmpty()
657 Utils::ApiCheck(0 <= index && index < kInternalFieldsInWeakCallback, in InternalFieldOutOfBounds()
678 Utils::ApiCheck( in Initialize()
724 Utils::ApiCheck(*escape_slot_ == heap->the_hole_value(), in Escape()
758 i::Handle<i::Context> env = Utils::OpenHandle(this); in Enter()
769 i::Handle<i::Context> env = Utils::OpenHandle(this); in Exit()
773 if (!Utils::ApiCheck(impl->LastEnteredContextWas(env), in Exit()
784 Utils::ApiCheck(value->IsSmi(), location, "Not a Smi"); in DecodeSmiToAligned()
791 Utils::ApiCheck(smi->IsSmi(), location, "Pointer is not aligned"); in EncodeAlignedAsSmi()
800 i::Handle<i::Context> env = Utils::OpenHandle(context); in EmbedderDataFor()
803 Utils::ApiCheck(env->IsNativeContext(), in EmbedderDataFor()
806 Utils::ApiCheck(index >= 0, location, "Negative index"); in EmbedderDataFor()
810 if (!Utils::ApiCheck(can_grow, location, "Index too large")) { in EmbedderDataFor()
826 return Utils::ToLocal(result); in SlowGetEmbedderData()
834 i::Handle<i::Object> val = Utils::OpenHandle(*value); in SetEmbedderData()
836 DCHECK_EQ(*Utils::OpenHandle(*value), in SetEmbedderData()
837 *Utils::OpenHandle(*GetEmbedderData(index))); in SetEmbedderData()
932 auto templ = Utils::OpenHandle(this); in Set()
937 i::ApiNatives::AddDataProperty(isolate, templ, Utils::OpenHandle(*name), in Set()
938 Utils::OpenHandle(*value), in Set()
951 auto templ = Utils::OpenHandle(this); in SetAccessorProperty()
958 isolate, templ, Utils::OpenHandle(*name), in SetAccessorProperty()
959 Utils::OpenHandle(*getter, true), Utils::OpenHandle(*setter, true), in SetAccessorProperty()
973 i::Isolate* i_isolate = Utils::OpenHandle(this)->GetIsolate(); in PrototypeTemplate()
975 i::Handle<i::Object> result(Utils::OpenHandle(this)->prototype_template(), in PrototypeTemplate()
979 result = Utils::OpenHandle(*ObjectTemplate::New(isolate)); in PrototypeTemplate()
980 Utils::OpenHandle(this)->set_prototype_template(*result); in PrototypeTemplate()
988 Utils::ApiCheck(!info->instantiated(), func, in EnsureNotInstantiated()
994 auto info = Utils::OpenHandle(this); in Inherit()
998 info->set_parent_template(*Utils::OpenHandle(*value)); in Inherit()
1022 Utils::ToLocal(obj)->SetCallHandler(callback, data, fast_handler); in FunctionTemplateNew()
1029 obj->set_signature(*Utils::OpenHandle(*signature)); in FunctionTemplateNew()
1030 return Utils::ToLocal(obj); in FunctionTemplateNew()
1065 return Utils::SignatureToLocal(Utils::OpenHandle(*receiver)); in New()
1071 return Utils::AccessorSignatureToLocal(Utils::OpenHandle(*receiver)); in New()
1084 auto info = Utils::OpenHandle(this); in SetCallHandler()
1102 obj->set_data(*Utils::OpenHandle(*data)); in SetCallHandler()
1111 obj->set_name(*Utils::OpenHandle(*name)); in SetAccessorInfoProperties()
1116 obj->set_expected_receiver_type(*Utils::OpenHandle(*signature)); in SetAccessorInfoProperties()
1127 i::Isolate* isolate = Utils::OpenHandle(*name)->GetIsolate(); in MakeAccessorInfo()
1135 obj->set_data(*Utils::OpenHandle(*data)); in MakeAccessorInfo()
1141 i::Handle<i::FunctionTemplateInfo> handle = Utils::OpenHandle(this, true); in InstanceTemplate()
1142 if (!Utils::ApiCheck(!handle.is_null(), in InstanceTemplate()
1152 handle->set_instance_template(*Utils::OpenHandle(*templ)); in InstanceTemplate()
1156 return Utils::ToLocal(result); in InstanceTemplate()
1161 auto info = Utils::OpenHandle(this); in SetLength()
1170 auto info = Utils::OpenHandle(this); in SetClassName()
1174 info->set_class_name(*Utils::OpenHandle(*name)); in SetClassName()
1179 auto info = Utils::OpenHandle(this); in SetAcceptAnyReceiver()
1188 auto info = Utils::OpenHandle(this); in SetHiddenPrototype()
1197 auto info = Utils::OpenHandle(this); in ReadOnlyPrototype()
1206 auto info = Utils::OpenHandle(this); in RemovePrototype()
1241 obj->set_constructor(*Utils::OpenHandle(*constructor)); in New()
1243 return Utils::ToLocal(obj); in New()
1252 i::Object* obj = Utils::OpenHandle(object_template)->constructor(); in EnsureConstructor()
1259 i::Handle<i::FunctionTemplateInfo> constructor = Utils::OpenHandle(*templ); in EnsureConstructor()
1260 constructor->set_instance_template(*Utils::OpenHandle(object_template)); in EnsureConstructor()
1261 Utils::OpenHandle(object_template)->set_constructor(*constructor); in EnsureConstructor()
1269 return Utils::OpenHandle(template_obj); in GetTemplateInfo()
1278 return Utils::OpenHandle(object_template); in GetTemplateInfo()
1292 auto isolate = Utils::OpenHandle(template_obj)->GetIsolate(); in TemplateSetAccessor()
1330 auto templ = Utils::OpenHandle(this); in SetIntrinsicDataProperty()
1334 i::ApiNatives::AddDataProperty(isolate, templ, Utils::OpenHandle(*name), in SetIntrinsicDataProperty()
1370 i::Isolate* isolate = Utils::OpenHandle(templ)->GetIsolate(); in ObjectTemplateSetNamedPropertyHandler()
1395 obj->set_data(*Utils::OpenHandle(*data)); in ObjectTemplateSetNamedPropertyHandler()
1419 i::Isolate* isolate = Utils::OpenHandle(this)->GetIsolate(); in MarkAsUndetectable()
1430 i::Isolate* isolate = Utils::OpenHandle(this)->GetIsolate(); in SetAccessCheckCallback()
1448 info->set_data(*Utils::OpenHandle(*data)); in SetAccessCheckCallback()
1458 i::Isolate* isolate = Utils::OpenHandle(this)->GetIsolate(); in SetAccessCheckCallbacks()
1476 info->set_data(*Utils::OpenHandle(*data)); in SetAccessCheckCallbacks()
1485 i::Isolate* isolate = Utils::OpenHandle(this)->GetIsolate(); in SetHandler()
1508 obj->set_data(*Utils::OpenHandle(*data)); in SetHandler()
1515 i::Isolate* isolate = Utils::OpenHandle(this)->GetIsolate(); in SetCallAsFunctionHandler()
1528 obj->set_data(*Utils::OpenHandle(*data)); in SetCallAsFunctionHandler()
1534 return i::Smi::cast(Utils::OpenHandle(this)->internal_field_count())->value(); in InternalFieldCount()
1539 i::Isolate* isolate = Utils::OpenHandle(this)->GetIsolate(); in SetInternalFieldCount()
1540 if (!Utils::ApiCheck(i::Smi::IsValid(value), in SetInternalFieldCount()
1552 Utils::OpenHandle(this)->set_internal_field_count(i::Smi::FromInt(value)); in SetInternalFieldCount()
1599 i::Handle<i::HeapObject>::cast(Utils::OpenHandle(this)); in BindToCurrentContext()
1639 i::Handle<i::HeapObject>::cast(Utils::OpenHandle(this)); in GetId()
1652 i::Handle<i::SharedFunctionInfo>::cast(Utils::OpenHandle(this)); in GetLineNumber()
1666 i::Handle<i::SharedFunctionInfo>::cast(Utils::OpenHandle(this)); in GetScriptName()
1671 return Utils::ToLocal(i::Handle<i::Object>(name, isolate)); in GetScriptName()
1680 i::Handle<i::SharedFunctionInfo>::cast(Utils::OpenHandle(this)); in GetSourceURL()
1685 return Utils::ToLocal(i::Handle<i::Object>(url, isolate)); in GetSourceURL()
1694 i::Handle<i::SharedFunctionInfo>::cast(Utils::OpenHandle(this)); in GetSourceMappingURL()
1699 return Utils::ToLocal(i::Handle<i::Object>(url, isolate)); in GetSourceMappingURL()
1710 auto fun = i::Handle<i::JSFunction>::cast(Utils::OpenHandle(this)); in Run()
1722 auto self = Utils::OpenHandle(this, true); in Run()
1732 i::Handle<i::Object> obj = Utils::OpenHandle(this); in GetUnboundScript()
1759 i::Handle<i::String> str = Utils::OpenHandle(*(source->source_string)); in CompileUnboundInternal()
1768 name_obj = Utils::OpenHandle(*(source->resource_name)); in CompileUnboundInternal()
1778 source_map_url = Utils::OpenHandle(*(source->source_map_url)); in CompileUnboundInternal()
1910 if (!helper.Check(*Utils::OpenHandle(*arguments[i]))) { in CompileFunctionInContext()
1915 Utils::OpenHandle(*arguments[i])) in CompileFunctionInContext()
1936 Utils::OpenHandle(*source->source_string)) in CompileFunctionInContext()
1945 i::Handle<i::Context> context = Utils::OpenHandle(*v8_context); in CompileFunctionInContext()
1950 Utils::OpenHandle(*context_extensions[i]); in CompileFunctionInContext()
1960 name_obj = Utils::OpenHandle(*(source->resource_name)); in CompileFunctionInContext()
1982 Utils::OpenHandle(*v8_context->Global()), 0, in CompileFunctionInContext()
1986 Utils::CallableToLocal(i::Handle<i::JSFunction>::cast(result))); in CompileFunctionInContext()
2015 i::Handle<i::String> str = Utils::OpenHandle(*(full_source_string)); in Compile()
2018 script->set_name(*Utils::OpenHandle(*(origin.ResourceName()))); in Compile()
2031 *Utils::OpenHandle(*(origin.SourceMapUrl()))); in Compile()
2093 auto str = Utils::OpenHandle(*source); in Compile()
2101 auto str = Utils::OpenHandle(*source); in Compile()
2201 return v8::Utils::ToLocal(i::Handle<i::Object>(exception, isolate_)); in Exception()
2237 return v8::Utils::MessageToLocal(i::Handle<i::Object>(message, isolate_)); in Message()
2276 i::Isolate* isolate = Utils::OpenHandle(this)->GetIsolate(); in Get()
2279 i::Handle<i::Object> obj = Utils::OpenHandle(this); in Get()
2281 Local<String> result = Utils::ToLocal(raw_result); in Get()
2287 i::Isolate* isolate = Utils::OpenHandle(this)->GetIsolate(); in GetScriptOrigin()
2288 auto message = i::Handle<i::JSMessageObject>::cast(Utils::OpenHandle(this)); in GetScriptOrigin()
2302 i::Isolate* isolate = Utils::OpenHandle(this)->GetIsolate(); in GetStackTrace()
2305 auto message = i::Handle<i::JSMessageObject>::cast(Utils::OpenHandle(this)); in GetStackTrace()
2309 return scope.Escape(Utils::StackTraceToLocal(stackTrace)); in GetStackTrace()
2317 i::Handle<i::Object> args[] = {Utils::OpenHandle(this)}; in GetLineNumber()
2328 auto context = ContextFromHeapObject(Utils::OpenHandle(this)); in GetLineNumber()
2334 auto self = Utils::OpenHandle(this); in GetStartPosition()
2340 auto self = Utils::OpenHandle(this); in GetEndPosition()
2350 i::Handle<i::Object> args[] = {Utils::OpenHandle(this)}; in GetStartColumn()
2361 auto context = ContextFromHeapObject(Utils::OpenHandle(this)); in GetStartColumn()
2368 auto self = Utils::OpenHandle(this); in GetEndColumn()
2385 auto context = ContextFromHeapObject(Utils::OpenHandle(this)); in GetEndColumn()
2392 i::Isolate* isolate = Utils::OpenHandle(this)->GetIsolate(); in IsSharedCrossOrigin()
2394 auto self = Utils::OpenHandle(this); in IsSharedCrossOrigin()
2403 i::Isolate* isolate = Utils::OpenHandle(this)->GetIsolate(); in IsOpaque()
2405 auto self = Utils::OpenHandle(this); in IsOpaque()
2416 i::Handle<i::Object> args[] = {Utils::OpenHandle(this)}; in GetSourceLine()
2424 str = Utils::ToLocal(i::Handle<i::String>::cast(result)); in GetSourceLine()
2431 auto context = ContextFromHeapObject(Utils::OpenHandle(this)); in GetSourceLine()
2446 i::Isolate* isolate = Utils::OpenHandle(this)->GetIsolate(); in GetFrame()
2449 auto self = Utils::OpenHandle(this); in GetFrame()
2452 return scope.Escape(Utils::StackFrameToLocal(jsobj)); in GetFrame()
2457 return i::Smi::cast(Utils::OpenHandle(this)->length())->value(); in GetFrameCount()
2462 return Utils::ToLocal(Utils::OpenHandle(this)); in AsArray()
2477 return Utils::StackTraceToLocal(stackTrace); in CurrentStackTrace()
2485 i::Isolate* isolate = Utils::OpenHandle(f)->GetIsolate(); in getIntProperty()
2488 i::Handle<i::JSObject> self = Utils::OpenHandle(f); in getIntProperty()
2512 i::Isolate* isolate = Utils::OpenHandle(f)->GetIsolate(); in getStringProperty()
2515 i::Handle<i::JSObject> self = Utils::OpenHandle(f); in getStringProperty()
2519 ? scope.Escape(Local<String>::Cast(Utils::ToLocal(obj))) in getStringProperty()
2540 i::Isolate* isolate = Utils::OpenHandle(f)->GetIsolate(); in getBoolProperty()
2543 i::Handle<i::JSObject> self = Utils::OpenHandle(f); in getBoolProperty()
2564 return Utils::NativeWeakMapToLocal(weakmap); in New()
2569 i::Handle<i::JSWeakMap> weak_collection = Utils::OpenHandle(this); in Set()
2573 i::Handle<i::Object> key = Utils::OpenHandle(*v8_key); in Set()
2574 i::Handle<i::Object> value = Utils::OpenHandle(*v8_value); in Set()
2591 i::Handle<i::JSWeakMap> weak_collection = Utils::OpenHandle(this); in Get()
2594 i::Handle<i::Object> key = Utils::OpenHandle(*v8_key); in Get()
2608 return Utils::ToLocal(lookup); in Get()
2613 i::Handle<i::JSWeakMap> weak_collection = Utils::OpenHandle(this); in Has()
2617 i::Handle<i::Object> key = Utils::OpenHandle(*v8_key); in Has()
2634 i::Handle<i::JSWeakMap> weak_collection = Utils::OpenHandle(this); in Delete()
2638 i::Handle<i::Object> key = Utils::OpenHandle(*v8_key); in Delete()
2659 i::Handle<i::String> string = Utils::OpenHandle(*json_string); in Parse()
2673 Utils::OpenHandle(*json_string)->GetIsolate()); in Parse()
2681 bool result = Utils::OpenHandle(this)->IsUndefined(); in FullIsUndefined()
2688 bool result = Utils::OpenHandle(this)->IsNull(); in FullIsNull()
2695 return Utils::OpenHandle(this)->IsTrue(); in IsTrue()
2700 return Utils::OpenHandle(this)->IsFalse(); in IsFalse()
2704 bool Value::IsFunction() const { return Utils::OpenHandle(this)->IsCallable(); } in IsFunction()
2708 return Utils::OpenHandle(this)->IsName(); in IsName()
2713 bool result = Utils::OpenHandle(this)->IsString(); in FullIsString()
2720 return Utils::OpenHandle(this)->IsSymbol(); in IsSymbol()
2725 return Utils::OpenHandle(this)->IsJSArray(); in IsArray()
2730 i::Handle<i::Object> obj = Utils::OpenHandle(this); in IsArrayBuffer()
2736 return Utils::OpenHandle(this)->IsJSArrayBufferView(); in IsArrayBufferView()
2741 return Utils::OpenHandle(this)->IsJSTypedArray(); in IsTypedArray()
2747 i::Handle<i::Object> obj = Utils::OpenHandle(this); \
2759 return Utils::OpenHandle(this)->IsJSDataView(); in TYPED_ARRAYS()
2764 i::Handle<i::Object> obj = Utils::OpenHandle(this); in IsSharedArrayBuffer()
2769 bool Value::IsObject() const { return Utils::OpenHandle(this)->IsJSReceiver(); } in IsObject()
2773 return Utils::OpenHandle(this)->IsNumber(); in IsNumber()
2777 bool Value::IsProxy() const { return Utils::OpenHandle(this)->IsJSProxy(); } in IsProxy()
2782 i::Handle<i::Object> obj = Utils::OpenHandle(this); \
2803 return Utils::OpenHandle(this)->IsBoolean(); in VALUE_IS_SPECIFIC_TYPE()
2808 return Utils::OpenHandle(this)->IsExternal(); in IsExternal()
2813 i::Handle<i::Object> obj = Utils::OpenHandle(this); in IsInt32()
2823 i::Handle<i::Object> obj = Utils::OpenHandle(this); in IsUint32()
2837 i::Handle<i::Object> obj = Utils::OpenHandle(this); in IsNativeError()
2857 i::Handle<i::Object> obj = Utils::OpenHandle(this); in IsRegExp()
2863 i::Handle<i::Object> obj = Utils::OpenHandle(this); in IsGeneratorFunction()
2871 return Utils::OpenHandle(this)->IsJSGeneratorObject(); in IsGeneratorObject()
2876 return Utils::OpenHandle(this)->IsJSMapIterator(); in IsMapIterator()
2881 return Utils::OpenHandle(this)->IsJSSetIterator(); in IsSetIterator()
2886 auto self = Utils::OpenHandle(this); in IsPromise()
2892 auto obj = Utils::OpenHandle(this); in ToString()
2909 i::Handle<i::Object> obj = Utils::OpenHandle(this); in ToDetailString()
2931 auto obj = Utils::OpenHandle(this); in ToObject()
2948 auto obj = Utils::OpenHandle(this); in ToBoolean()
2962 auto obj = Utils::OpenHandle(this); in ToNumber()
2978 auto obj = Utils::OpenHandle(this); in ToInteger()
2995 auto obj = Utils::OpenHandle(this); in ToInt32()
3012 auto obj = Utils::OpenHandle(this); in ToUint32()
3030 Utils::ApiCheck(isolate != NULL && in CheckInitializedImpl()
3038 Utils::ApiCheck(Utils::OpenHandle(that)->IsExternal(), in CheckCast()
3045 i::Handle<i::Object> obj = Utils::OpenHandle(that); in CheckCast()
3046 Utils::ApiCheck(obj->IsJSReceiver(), "v8::Object::Cast()", in CheckCast()
3052 i::Handle<i::Object> obj = Utils::OpenHandle(that); in CheckCast()
3053 Utils::ApiCheck(obj->IsCallable(), "v8::Function::Cast()", in CheckCast()
3059 i::Handle<i::Object> obj = Utils::OpenHandle(that); in CheckCast()
3060 Utils::ApiCheck(obj->IsBoolean(), in CheckCast()
3067 i::Handle<i::Object> obj = Utils::OpenHandle(that); in CheckCast()
3068 Utils::ApiCheck(obj->IsName(), in CheckCast()
3075 i::Handle<i::Object> obj = Utils::OpenHandle(that); in CheckCast()
3076 Utils::ApiCheck(obj->IsString(), in CheckCast()
3083 i::Handle<i::Object> obj = Utils::OpenHandle(that); in CheckCast()
3084 Utils::ApiCheck(obj->IsSymbol(), in CheckCast()
3091 i::Handle<i::Object> obj = Utils::OpenHandle(that); in CheckCast()
3092 Utils::ApiCheck(obj->IsNumber(), in CheckCast()
3099 i::Handle<i::Object> obj = Utils::OpenHandle(that); in CheckCast()
3100 Utils::ApiCheck(obj->IsNumber(), in CheckCast()
3107 Utils::ApiCheck(that->IsInt32(), "v8::Int32::Cast()", in CheckCast()
3113 Utils::ApiCheck(that->IsUint32(), "v8::Uint32::Cast()", in CheckCast()
3119 i::Handle<i::Object> obj = Utils::OpenHandle(that); in CheckCast()
3120 Utils::ApiCheck(obj->IsJSArray(), in CheckCast()
3127 i::Handle<i::Object> obj = Utils::OpenHandle(that); in CheckCast()
3128 Utils::ApiCheck(obj->IsJSMap(), "v8::Map::Cast()", in CheckCast()
3134 i::Handle<i::Object> obj = Utils::OpenHandle(that); in CheckCast()
3135 Utils::ApiCheck(obj->IsJSSet(), "v8::Set::Cast()", in CheckCast()
3141 Utils::ApiCheck(that->IsPromise(), in CheckCast()
3148 Utils::ApiCheck(that->IsPromise(), in CheckCast()
3155 Utils::ApiCheck(that->IsProxy(), "v8::Proxy::Cast()", in CheckCast()
3161 i::Handle<i::Object> obj = Utils::OpenHandle(that); in CheckCast()
3162 Utils::ApiCheck( in CheckCast()
3169 i::Handle<i::Object> obj = Utils::OpenHandle(that); in CheckCast()
3170 Utils::ApiCheck(obj->IsJSArrayBufferView(), in CheckCast()
3177 i::Handle<i::Object> obj = Utils::OpenHandle(that); in CheckCast()
3178 Utils::ApiCheck(obj->IsJSTypedArray(), in CheckCast()
3186 i::Handle<i::Object> obj = Utils::OpenHandle(that); \
3187 Utils::ApiCheck( \
3200 i::Handle<i::Object> obj = Utils::OpenHandle(that); in TYPED_ARRAYS()
3201 Utils::ApiCheck(obj->IsJSDataView(), in TYPED_ARRAYS()
3208 i::Handle<i::Object> obj = Utils::OpenHandle(that); in CheckCast()
3209 Utils::ApiCheck( in CheckCast()
3217 i::Handle<i::Object> obj = Utils::OpenHandle(that); in CheckCast()
3220 Utils::ApiCheck(isolate != NULL && in CheckCast()
3228 i::Handle<i::Object> obj = Utils::OpenHandle(that); in CheckCast()
3231 Utils::ApiCheck(isolate != NULL && in CheckCast()
3239 i::Handle<i::Object> obj = Utils::OpenHandle(that); in CheckCast()
3242 Utils::ApiCheck(isolate != NULL && in CheckCast()
3250 i::Handle<i::Object> obj = Utils::OpenHandle(that); in CheckCast()
3253 Utils::ApiCheck(isolate != NULL && in CheckCast()
3261 i::Handle<i::Object> obj = Utils::OpenHandle(that); in CheckCast()
3264 Utils::ApiCheck(isolate != NULL && in CheckCast()
3272 i::Handle<i::Object> obj = Utils::OpenHandle(that); in CheckCast()
3273 Utils::ApiCheck(obj->IsJSRegExp(), in CheckCast()
3280 return Just(Utils::OpenHandle(this)->BooleanValue()); in BooleanValue()
3285 return Utils::OpenHandle(this)->BooleanValue(); in BooleanValue()
3290 auto obj = Utils::OpenHandle(this); in NumberValue()
3301 auto obj = Utils::OpenHandle(this); in NumberValue()
3309 auto obj = Utils::OpenHandle(this); in IntegerValue()
3324 auto obj = Utils::OpenHandle(this); in IntegerValue()
3337 auto obj = Utils::OpenHandle(this); in Int32Value()
3349 auto obj = Utils::OpenHandle(this); in Int32Value()
3356 auto obj = Utils::OpenHandle(this); in Uint32Value()
3368 auto obj = Utils::OpenHandle(this); in Uint32Value()
3375 auto self = Utils::OpenHandle(this); in ToArrayIndex()
3377 if (i::Smi::cast(*self)->value() >= 0) return Utils::Uint32ToLocal(self); in ToArrayIndex()
3394 RETURN_ESCAPED(Utils::Uint32ToLocal(value)); in ToArrayIndex()
3401 auto self = Utils::OpenHandle(this); in ToArrayIndex()
3403 if (i::Smi::cast(*self)->value() >= 0) return Utils::Uint32ToLocal(self); in ToArrayIndex()
3412 auto self = Utils::OpenHandle(this); in Equals()
3413 auto other = Utils::OpenHandle(*that); in Equals()
3419 auto self = Utils::OpenHandle(this); in Equals()
3420 auto other = Utils::OpenHandle(*that); in Equals()
3434 auto self = Utils::OpenHandle(this); in StrictEquals()
3435 auto other = Utils::OpenHandle(*that); in StrictEquals()
3441 auto self = Utils::OpenHandle(this); in SameValue()
3442 auto other = Utils::OpenHandle(*that); in SameValue()
3450 auto self = Utils::OpenHandle(this); in Set()
3451 auto key_obj = Utils::OpenHandle(*key); in Set()
3452 auto value_obj = Utils::OpenHandle(*value); in Set()
3462 auto context = ContextFromHeapObject(Utils::OpenHandle(this)); in Set()
3470 auto self = Utils::OpenHandle(this); in Set()
3471 auto value_obj = Utils::OpenHandle(*value); in Set()
3480 auto context = ContextFromHeapObject(Utils::OpenHandle(this)); in Set()
3490 i::Handle<i::JSReceiver> self = Utils::OpenHandle(this); in CreateDataProperty()
3491 i::Handle<i::Name> key_obj = Utils::OpenHandle(*key); in CreateDataProperty()
3492 i::Handle<i::Object> value_obj = Utils::OpenHandle(*value); in CreateDataProperty()
3509 i::Handle<i::JSReceiver> self = Utils::OpenHandle(this); in CreateDataProperty()
3510 i::Handle<i::Object> value_obj = Utils::OpenHandle(*value); in CreateDataProperty()
3527 i::Handle<i::JSReceiver> self = Utils::OpenHandle(this); in DefineOwnProperty()
3528 i::Handle<i::Name> key_obj = Utils::OpenHandle(*key); in DefineOwnProperty()
3529 i::Handle<i::Object> value_obj = Utils::OpenHandle(*value); in DefineOwnProperty()
3569 auto self = i::Handle<i::JSObject>::cast(Utils::OpenHandle(this)); in ForceSet()
3570 auto key_obj = Utils::OpenHandle(*key); in ForceSet()
3571 auto value_obj = Utils::OpenHandle(*value); in ForceSet()
3583 i::Isolate* isolate = Utils::OpenHandle(this)->GetIsolate(); in ForceSet()
3588 i::Handle<i::JSObject>::cast(Utils::OpenHandle(this)); in ForceSet()
3589 i::Handle<i::Object> key_obj = Utils::OpenHandle(*key); in ForceSet()
3590 i::Handle<i::Object> value_obj = Utils::OpenHandle(*value); in ForceSet()
3610 auto self = Utils::OpenHandle(this); in Get()
3611 auto key_obj = Utils::OpenHandle(*key); in Get()
3616 RETURN_ESCAPED(Utils::ToLocal(result)); in Get()
3621 auto context = ContextFromHeapObject(Utils::OpenHandle(this)); in Get()
3628 auto self = Utils::OpenHandle(this); in Get()
3633 RETURN_ESCAPED(Utils::ToLocal(result)); in Get()
3638 auto context = ContextFromHeapObject(Utils::OpenHandle(this)); in Get()
3653 auto self = Utils::OpenHandle(this); in GetPropertyAttributes()
3654 auto key_obj = Utils::OpenHandle(*key); in GetPropertyAttributes()
3672 auto context = ContextFromHeapObject(Utils::OpenHandle(this)); in GetPropertyAttributes()
3682 i::Handle<i::JSReceiver> obj = Utils::OpenHandle(this); in GetOwnPropertyDescriptor()
3683 i::Handle<i::String> key_name = Utils::OpenHandle(*key); in GetOwnPropertyDescriptor()
3693 RETURN_ESCAPED(Utils::ToLocal(desc.ToObject(isolate))); in GetOwnPropertyDescriptor()
3698 auto context = ContextFromHeapObject(Utils::OpenHandle(this)); in GetOwnPropertyDescriptor()
3704 auto isolate = Utils::OpenHandle(this)->GetIsolate(); in GetPrototype()
3705 auto self = Utils::OpenHandle(this); in GetPrototype()
3707 return Utils::ToLocal(i::PrototypeIterator::GetCurrent(iter)); in GetPrototype()
3714 auto self = Utils::OpenHandle(this); in SetPrototype()
3715 auto value_obj = Utils::OpenHandle(*value); in SetPrototype()
3728 auto context = ContextFromHeapObject(Utils::OpenHandle(this)); in SetPrototype()
3735 auto isolate = Utils::OpenHandle(this)->GetIsolate(); in FindInstanceInPrototypeChain()
3736 i::PrototypeIterator iter(isolate, *Utils::OpenHandle(this), in FindInstanceInPrototypeChain()
3738 auto tmpl_info = *Utils::OpenHandle(*tmpl); in FindInstanceInPrototypeChain()
3746 return Utils::ToLocal(i::handle(iter.GetCurrent<i::JSObject>(), isolate)); in FindInstanceInPrototypeChain()
3752 auto self = Utils::OpenHandle(this); in GetPropertyNames()
3764 RETURN_ESCAPED(Utils::ToLocal(result)); in GetPropertyNames()
3769 auto context = ContextFromHeapObject(Utils::OpenHandle(this)); in GetPropertyNames()
3776 auto self = Utils::OpenHandle(this); in GetOwnPropertyNames()
3787 RETURN_ESCAPED(Utils::ToLocal(result)); in GetOwnPropertyNames()
3792 auto context = ContextFromHeapObject(Utils::OpenHandle(this)); in GetOwnPropertyNames()
3799 auto obj = Utils::OpenHandle(this); in ObjectProtoToString()
3809 auto context = ContextFromHeapObject(Utils::OpenHandle(this)); in ObjectProtoToString()
3815 auto self = Utils::OpenHandle(this); in GetConstructorName()
3817 return Utils::ToLocal(name); in GetConstructorName()
3823 auto self = Utils::OpenHandle(this); in Delete()
3824 auto key_obj = Utils::OpenHandle(*key); in Delete()
3834 auto context = ContextFromHeapObject(Utils::OpenHandle(this)); in Delete()
3847 auto self = Utils::OpenHandle(this); in Has()
3848 auto key_obj = Utils::OpenHandle(*key); in Has()
3868 auto context = ContextFromHeapObject(Utils::OpenHandle(this)); in Has()
3881 auto self = Utils::OpenHandle(this); in Delete()
3890 auto context = ContextFromHeapObject(Utils::OpenHandle(this)); in Delete()
3897 auto self = Utils::OpenHandle(this); in Has()
3906 auto context = ContextFromHeapObject(Utils::OpenHandle(this)); in Has()
3918 if (!Utils::OpenHandle(self)->IsJSObject()) return Just(false); in ObjectSetAccessor()
3920 i::Handle<i::JSObject>::cast(Utils::OpenHandle(self)); in ObjectSetAccessor()
3951 auto context = ContextFromHeapObject(Utils::OpenHandle(this)); in SetAccessor()
3961 auto context = ContextFromHeapObject(Utils::OpenHandle(this)); in SetAccessor()
3973 i::Isolate* isolate = Utils::OpenHandle(this)->GetIsolate(); in SetAccessorProperty()
3976 auto self = Utils::OpenHandle(this); in SetAccessorProperty()
3978 i::Handle<i::Object> getter_i = v8::Utils::OpenHandle(*getter); in SetAccessorProperty()
3979 i::Handle<i::Object> setter_i = v8::Utils::OpenHandle(*setter, true); in SetAccessorProperty()
3982 v8::Utils::OpenHandle(*name), getter_i, setter_i, in SetAccessorProperty()
3991 auto self = Utils::OpenHandle(this); in HasOwnProperty()
3992 auto key_val = Utils::OpenHandle(*key); in HasOwnProperty()
4001 auto context = ContextFromHeapObject(Utils::OpenHandle(this)); in HasOwnProperty()
4010 auto self = Utils::OpenHandle(this); in HasRealNamedProperty()
4012 auto key_val = Utils::OpenHandle(*key); in HasRealNamedProperty()
4022 auto context = ContextFromHeapObject(Utils::OpenHandle(this)); in HasRealNamedProperty()
4031 auto self = Utils::OpenHandle(this); in HasRealIndexedProperty()
4042 auto context = ContextFromHeapObject(Utils::OpenHandle(this)); in HasRealIndexedProperty()
4051 auto self = Utils::OpenHandle(this); in HasRealNamedCallbackProperty()
4053 auto key_val = Utils::OpenHandle(*key); in HasRealNamedCallbackProperty()
4063 auto context = ContextFromHeapObject(Utils::OpenHandle(this)); in HasRealNamedCallbackProperty()
4069 auto self = Utils::OpenHandle(this); in HasNamedLookupInterceptor()
4076 auto self = Utils::OpenHandle(this); in HasIndexedLookupInterceptor()
4086 i::Handle<i::JSReceiver> self = Utils::OpenHandle(this); in GetRealNamedPropertyInPrototypeChain()
4088 i::Handle<i::Name> key_obj = Utils::OpenHandle(*key); in GetRealNamedPropertyInPrototypeChain()
4106 auto context = ContextFromHeapObject(Utils::OpenHandle(this)); in GetRealNamedPropertyInPrototypeChain()
4118 i::Handle<i::JSReceiver> self = Utils::OpenHandle(this); in GetRealNamedPropertyAttributesInPrototypeChain()
4120 i::Handle<i::Name> key_obj = Utils::OpenHandle(*key); in GetRealNamedPropertyAttributesInPrototypeChain()
4139 auto context = ContextFromHeapObject(Utils::OpenHandle(this)); in GetRealNamedPropertyAttributesInPrototypeChain()
4147 auto self = Utils::OpenHandle(this); in GetRealNamedProperty()
4148 auto key_obj = Utils::OpenHandle(*key); in GetRealNamedProperty()
4161 auto context = ContextFromHeapObject(Utils::OpenHandle(this)); in GetRealNamedProperty()
4171 auto self = Utils::OpenHandle(this); in GetRealNamedPropertyAttributes()
4172 auto key_obj = Utils::OpenHandle(*key); in GetRealNamedPropertyAttributes()
4189 auto context = ContextFromHeapObject(Utils::OpenHandle(this)); in GetRealNamedPropertyAttributes()
4195 auto self = i::Handle<i::JSObject>::cast(Utils::OpenHandle(this)); in Clone()
4200 return Utils::ToLocal(result); in Clone()
4205 auto self = Utils::OpenHandle(this); in CreationContext()
4207 return Utils::ToLocal(context); in CreationContext()
4212 auto isolate = Utils::OpenHandle(this)->GetIsolate(); in GetIdentityHash()
4214 auto self = Utils::OpenHandle(this); in GetIdentityHash()
4221 i::Isolate* isolate = Utils::OpenHandle(this)->GetIsolate(); in SetHiddenValue()
4224 i::Handle<i::JSReceiver> self = Utils::OpenHandle(this); in SetHiddenValue()
4226 i::Handle<i::String> key_obj = Utils::OpenHandle(*key); in SetHiddenValue()
4234 i::Handle<i::Object> value_obj = Utils::OpenHandle(*value); in SetHiddenValue()
4242 i::Isolate* isolate = Utils::OpenHandle(this)->GetIsolate(); in GetHiddenValue()
4244 i::Handle<i::JSReceiver> self = Utils::OpenHandle(this); in GetHiddenValue()
4246 i::Handle<i::String> key_obj = Utils::OpenHandle(*key); in GetHiddenValue()
4253 return Utils::ToLocal(result); in GetHiddenValue()
4258 i::Isolate* isolate = Utils::OpenHandle(this)->GetIsolate(); in DeleteHiddenValue()
4261 i::Handle<i::JSReceiver> self = Utils::OpenHandle(this); in DeleteHiddenValue()
4263 i::Handle<i::String> key_obj = Utils::OpenHandle(*key); in DeleteHiddenValue()
4273 auto self = Utils::OpenHandle(this); in IsCallable()
4284 auto self = Utils::OpenHandle(this); in CallAsFunction()
4285 auto recv_obj = Utils::OpenHandle(*recv); in CallAsFunction()
4298 auto context = ContextFromHeapObject(Utils::OpenHandle(this)); in CallAsFunction()
4310 auto self = Utils::OpenHandle(this); in CallAsConstructor()
4323 auto context = ContextFromHeapObject(Utils::OpenHandle(this)); in CallAsConstructor()
4332 i::Isolate* isolate = Utils::OpenHandle(*context)->GetIsolate(); in New()
4359 auto self = Utils::OpenHandle(this); in NewInstance()
4372 auto context = ContextFromHeapObject(Utils::OpenHandle(this)); in NewInstance()
4382 auto self = Utils::OpenHandle(this); in Call()
4383 i::Handle<i::Object> recv_obj = Utils::OpenHandle(*recv); in Call()
4396 auto context = ContextFromHeapObject(Utils::OpenHandle(this)); in Call()
4402 auto self = Utils::OpenHandle(this); in SetName()
4405 func->shared()->set_name(*Utils::OpenHandle(*name)); in SetName()
4410 auto self = Utils::OpenHandle(this); in GetName()
4413 return Utils::ToLocal(handle(func->name(), func->GetIsolate())); in GetName()
4417 return Utils::ToLocal(handle(func->shared()->name(), func->GetIsolate())); in GetName()
4425 auto self = Utils::OpenHandle(this); in GetInferredName()
4431 return Utils::ToLocal(i::Handle<i::Object>(func->shared()->inferred_name(), in GetInferredName()
4437 auto self = Utils::OpenHandle(this); in GetDebugName()
4444 return Utils::ToLocal(i::Handle<i::Object>(*name, name->GetIsolate())); in GetDebugName()
4449 i::Isolate* isolate = Utils::OpenHandle(this)->GetIsolate(); in GetDisplayName()
4451 auto self = Utils::OpenHandle(this); in GetDisplayName()
4462 if (name->length() > 0) return Utils::ToLocal(name); in GetDisplayName()
4469 auto self = Utils::OpenHandle(this); in GetScriptOrigin()
4486 auto self = Utils::OpenHandle(this); in GetScriptLineNumber()
4500 auto self = Utils::OpenHandle(this); in GetScriptColumnNumber()
4514 auto self = Utils::OpenHandle(this); in IsBuiltin()
4524 auto self = Utils::OpenHandle(this); in ScriptId()
4538 auto self = Utils::OpenHandle(this); in GetBoundFunction()
4543 return Utils::CallableToLocal(bound_target_function); in GetBoundFunction()
4550 auto self = Utils::OpenHandle(this); in GetIdentityHash()
4556 i::Handle<i::String> str = Utils::OpenHandle(this); in Length()
4562 i::Handle<i::String> str = Utils::OpenHandle(this); in IsOneByte()
4677 i::Handle<i::String> str = Utils::OpenHandle(this); in ContainsOnlyOneByte()
4877 i::Handle<i::String> str = Utils::OpenHandle(this); in Utf8Length()
5087 i::Isolate* isolate = Utils::OpenHandle(this)->GetIsolate(); in WriteUtf8()
5090 i::Handle<i::String> str = Utils::OpenHandle(this); in WriteUtf8()
5140 i::Isolate* isolate = Utils::OpenHandle(string)->GetIsolate(); in WriteHelper()
5144 i::Handle<i::String> str = Utils::OpenHandle(string); in WriteHelper()
5180 i::Handle<i::String> str = Utils::OpenHandle(this); in IsExternal()
5186 i::Handle<i::String> str = Utils::OpenHandle(this); in IsExternalOneByte()
5193 i::Handle<i::String> str = Utils::OpenHandle(this); in VerifyExternalStringResource()
5207 i::Handle<i::String> str = Utils::OpenHandle(this); in VerifyExternalStringResourceBase()
5231 i::Handle<i::String> str = Utils::OpenHandle(this); in GetExternalOneByteStringResource()
5243 i::Handle<i::Symbol> sym = Utils::OpenHandle(this); in Name()
5245 return Utils::ToLocal(name); in Name()
5255 i::Handle<i::Object> obj = Utils::OpenHandle(this); in Value()
5261 i::Handle<i::Object> obj = Utils::OpenHandle(this); in Value()
5267 i::Handle<i::Object> obj = Utils::OpenHandle(this); in Value()
5277 i::Handle<i::Object> obj = Utils::OpenHandle(this); in Value()
5287 i::Handle<i::Object> obj = Utils::OpenHandle(this); in Value()
5297 i::Handle<i::JSReceiver> self = Utils::OpenHandle(this); in InternalFieldCount()
5305 return Utils::ApiCheck( in InternalFieldOK()
5313 i::Handle<i::JSReceiver> obj = Utils::OpenHandle(this); in SlowGetInternalField()
5319 return Utils::ToLocal(value); in SlowGetInternalField()
5324 i::Handle<i::JSReceiver> obj = Utils::OpenHandle(this); in SetInternalField()
5327 i::Handle<i::Object> val = Utils::OpenHandle(*value); in SetInternalField()
5333 i::Handle<i::JSReceiver> obj = Utils::OpenHandle(this); in SlowGetAlignedPointerFromInternalField()
5342 i::Handle<i::JSReceiver> obj = Utils::OpenHandle(this); in SetAlignedPointerInInternalField()
5468 *Utils::OpenHandle(*global_template)); in CreateEnvironment()
5484 i::Handle<i::Object> proxy = Utils::OpenHandle(*maybe_global_proxy, true); in CreateEnvironment()
5525 return Utils::ToLocal(scope.CloseAndEscape(env)); in New()
5530 i::Handle<i::Context> env = Utils::OpenHandle(this); in SetSecurityToken()
5531 i::Handle<i::Object> token_handle = Utils::OpenHandle(*token); in SetSecurityToken()
5537 i::Handle<i::Context> env = Utils::OpenHandle(this); in UseDefaultSecurityToken()
5543 i::Handle<i::Context> env = Utils::OpenHandle(this); in GetSecurityToken()
5547 return Utils::ToLocal(token_handle); in GetSecurityToken()
5552 i::Handle<i::Context> env = Utils::OpenHandle(this); in GetIsolate()
5558 i::Handle<i::Context> context = Utils::OpenHandle(this); in Global()
5567 return Utils::ToLocal(i::Handle<i::JSObject>::cast(global)); in Global()
5572 i::Handle<i::Context> context = Utils::OpenHandle(this); in DetachGlobal()
5580 i::Handle<i::Context> context = Utils::OpenHandle(this); in GetExtrasBindingObject()
5583 return Utils::ToLocal(binding); in GetExtrasBindingObject()
5588 i::Handle<i::Context> context = Utils::OpenHandle(this); in AllowCodeGenerationFromStrings()
5597 i::Handle<i::Context> context = Utils::OpenHandle(this); in IsCodeGenerationFromStringsAllowed()
5603 i::Handle<i::Context> context = Utils::OpenHandle(this); in SetErrorMessageForCodeGenerationFromStrings()
5604 i::Handle<i::String> error_handle = Utils::OpenHandle(*error); in SetErrorMessageForCodeGenerationFromStrings()
5611 i::ContextMeasure(*Utils::OpenHandle(this)).Size()); in EstimatedSize()
5617 auto self = Utils::OpenHandle(this); in NewInstance()
5627 auto context = ContextFromHeapObject(Utils::OpenHandle(this)); in NewInstance()
5635 auto self = Utils::OpenHandle(this); in GetFunction()
5645 auto context = ContextFromHeapObject(Utils::OpenHandle(this)); in GetFunction()
5651 auto self = Utils::OpenHandle(this); in HasInstance()
5652 auto obj = Utils::OpenHandle(*value); in HasInstance()
5663 return Utils::ExternalToLocal(external); in New()
5668 return ExternalValue(*Utils::OpenHandle(this)); in Value()
5743 return Utils::ToLocal(result); in NewString()
5807 i::Handle<i::String> left_string = Utils::OpenHandle(*left); in Concat()
5811 i::Handle<i::String> right_string = Utils::OpenHandle(*right); in Concat()
5819 return Utils::ToLocal(result); in Concat()
5837 return Utils::ToLocal(string); in NewExternalTwoByte()
5861 return Utils::ToLocal(string); in NewExternalOneByte()
5872 i::Handle<i::String> obj = Utils::OpenHandle(this); in MakeExternal()
5896 i::Handle<i::String> obj = Utils::OpenHandle(this); in MakeExternal()
5919 i::Handle<i::String> obj = Utils::OpenHandle(this); in CanMakeExternal()
5932 i::Isolate* i_isolate = Utils::OpenHandle(this)->GetIsolate(); in GetIsolate()
5943 return Utils::ToLocal(obj); in New()
5954 return Utils::ToLocal(obj); in New()
5959 i::Handle<i::Object> obj = Utils::OpenHandle(this); in ValueOf()
5976 return Utils::ToLocal(obj); in New()
5986 i::Handle<i::Object> obj = Utils::OpenHandle(this); in ValueOf()
5995 i::Handle<i::String> string = Utils::OpenHandle(*value); in New()
6001 return Utils::ToLocal(obj); in New()
6006 i::Handle<i::Object> obj = Utils::OpenHandle(this); in ValueOf()
6010 return Utils::ToLocal( in ValueOf()
6020 i_isolate, Utils::OpenHandle(*value)).ToHandleChecked(); in New()
6021 return Utils::ToLocal(obj); in New()
6026 i::Handle<i::Object> obj = Utils::OpenHandle(this); in ValueOf()
6030 return Utils::ToLocal( in ValueOf()
6057 i::Handle<i::Object> obj = Utils::OpenHandle(this); in ValueOf()
6090 !ToLocal<RegExp>(i::JSRegExp::New(Utils::OpenHandle(*pattern), in New()
6100 reinterpret_cast<Isolate*>(Utils::OpenHandle(*pattern)->GetIsolate()); in New()
6107 i::Handle<i::JSRegExp> obj = Utils::OpenHandle(this); in GetSource()
6108 return Utils::ToLocal(i::Handle<i::String>(obj->Pattern())); in GetSource()
6125 i::Handle<i::JSRegExp> obj = Utils::OpenHandle(this); in GetFlags()
6139 return Utils::ToLocal(obj); in New()
6144 i::Handle<i::JSArray> obj = Utils::OpenHandle(this); in Length()
6157 auto self = Utils::OpenHandle(this); in CloneElementAt()
6180 return Utils::ToLocal(obj); in New()
6185 i::Handle<i::JSMap> obj = Utils::OpenHandle(this); in Size()
6191 auto self = Utils::OpenHandle(this); in Clear()
6201 auto self = Utils::OpenHandle(this); in Get()
6203 i::Handle<i::Object> argv[] = {Utils::OpenHandle(*key)}; in Get()
6216 auto self = Utils::OpenHandle(this); in Set()
6218 i::Handle<i::Object> argv[] = {Utils::OpenHandle(*key), in Set()
6219 Utils::OpenHandle(*value)}; in Set()
6224 RETURN_ESCAPED(Local<Map>::Cast(Utils::ToLocal(result))); in Set()
6230 auto self = Utils::OpenHandle(this); in Has()
6232 i::Handle<i::Object> argv[] = {Utils::OpenHandle(*key)}; in Has()
6243 auto self = Utils::OpenHandle(this); in Delete()
6245 i::Handle<i::Object> argv[] = {Utils::OpenHandle(*key)}; in Delete()
6255 i::Handle<i::JSMap> obj = Utils::OpenHandle(this); in AsArray()
6271 return Utils::ToLocal(result_array); in AsArray()
6280 return Utils::ToLocal(obj); in New()
6285 i::Handle<i::JSSet> obj = Utils::OpenHandle(this); in Size()
6291 auto self = Utils::OpenHandle(this); in Clear()
6301 auto self = Utils::OpenHandle(this); in Add()
6303 i::Handle<i::Object> argv[] = {Utils::OpenHandle(*key)}; in Add()
6308 RETURN_ESCAPED(Local<Set>::Cast(Utils::ToLocal(result))); in Add()
6314 auto self = Utils::OpenHandle(this); in Has()
6316 i::Handle<i::Object> argv[] = {Utils::OpenHandle(*key)}; in Has()
6327 auto self = Utils::OpenHandle(this); in Delete()
6329 i::Handle<i::Object> argv[] = {Utils::OpenHandle(*key)}; in Delete()
6339 i::Handle<i::JSSet> obj = Utils::OpenHandle(this); in AsArray()
6355 return Utils::ToLocal(result_array); in AsArray()
6367 RETURN_ESCAPED(Local<Promise::Resolver>::Cast(Utils::ToLocal(result))); in New()
6378 i::Handle<i::JSReceiver> promise = Utils::OpenHandle(this); in GetPromise()
6379 return Local<Promise>::Cast(Utils::ToLocal(promise)); in GetPromise()
6386 auto self = Utils::OpenHandle(this); in Resolve()
6387 i::Handle<i::Object> argv[] = {self, Utils::OpenHandle(*value)}; in Resolve()
6399 auto context = ContextFromHeapObject(Utils::OpenHandle(this)); in Resolve()
6407 auto self = Utils::OpenHandle(this); in Reject()
6408 i::Handle<i::Object> argv[] = {self, Utils::OpenHandle(*value)}; in Reject()
6420 auto context = ContextFromHeapObject(Utils::OpenHandle(this)); in Reject()
6430 auto self = Utils::OpenHandle(value); in DoChain()
6431 i::Handle<i::Object> argv[] = {Utils::OpenHandle(*handler)}; in DoChain()
6437 RETURN_ESCAPED(Local<Promise>::Cast(Utils::ToLocal(result))); in DoChain()
6450 auto context = ContextFromHeapObject(Utils::OpenHandle(this)); in Chain()
6458 auto self = Utils::OpenHandle(this); in Catch()
6459 i::Handle<i::Object> argv[] = { Utils::OpenHandle(*handler) }; in Catch()
6465 RETURN_ESCAPED(Local<Promise>::Cast(Utils::ToLocal(result))); in Catch()
6470 auto context = ContextFromHeapObject(Utils::OpenHandle(this)); in Catch()
6478 auto self = Utils::OpenHandle(this); in Then()
6479 i::Handle<i::Object> argv[] = { Utils::OpenHandle(*handler) }; in Then()
6485 RETURN_ESCAPED(Local<Promise>::Cast(Utils::ToLocal(result))); in Then()
6490 auto context = ContextFromHeapObject(Utils::OpenHandle(this)); in Then()
6496 i::Handle<i::JSReceiver> promise = Utils::OpenHandle(this); in HasHandler()
6506 i::Handle<i::JSProxy> self = Utils::OpenHandle(this); in GetTarget()
6508 return Utils::ToLocal(target); in GetTarget()
6513 i::Handle<i::JSProxy> self = Utils::OpenHandle(this); in GetHandler()
6515 return Utils::ToLocal(handler); in GetHandler()
6520 i::Handle<i::JSProxy> self = Utils::OpenHandle(this); in IsRevoked()
6526 i::Handle<i::JSProxy> self = Utils::OpenHandle(this); in Revoke()
6534 i::Handle<i::JSReceiver> target = Utils::OpenHandle(*local_target); in New()
6535 i::Handle<i::JSReceiver> handler = Utils::OpenHandle(*local_handler); in New()
6544 return Utils::OpenHandle(this)->is_external(); in IsExternal()
6549 return Utils::OpenHandle(this)->is_neuterable(); in IsNeuterable()
6554 i::Handle<i::JSArrayBuffer> self = Utils::OpenHandle(this); in Externalize()
6556 Utils::ApiCheck(!self->is_external(), "v8::ArrayBuffer::Externalize", in Externalize()
6566 i::Handle<i::JSArrayBuffer> self = Utils::OpenHandle(this); in GetContents()
6576 i::Handle<i::JSArrayBuffer> obj = Utils::OpenHandle(this); in Neuter()
6578 Utils::ApiCheck(obj->is_external(), in Neuter()
6581 Utils::ApiCheck(obj->is_neuterable(), "v8::ArrayBuffer::Neuter", in Neuter()
6590 i::Handle<i::JSArrayBuffer> obj = Utils::OpenHandle(this); in ByteLength()
6602 return Utils::ToLocal(obj); in New()
6619 return Utils::ToLocal(obj); in New()
6624 i::Handle<i::JSArrayBufferView> obj = Utils::OpenHandle(this); in Buffer()
6634 return Utils::ToLocal(buffer); in Buffer()
6639 i::Handle<i::JSArrayBufferView> self = Utils::OpenHandle(this); in CopyContents()
6662 i::Handle<i::JSArrayBufferView> self = Utils::OpenHandle(this); in HasBuffer()
6669 i::Handle<i::JSArrayBufferView> obj = Utils::OpenHandle(this); in ByteOffset()
6675 i::Handle<i::JSArrayBufferView> obj = Utils::OpenHandle(this); in ByteLength()
6681 i::Handle<i::JSTypedArray> obj = Utils::OpenHandle(this); in Length()
6689 i::Isolate* isolate = Utils::OpenHandle(*array_buffer)->GetIsolate(); \
6693 if (!Utils::ApiCheck(length <= static_cast<size_t>(i::Smi::kMaxValue), \
6699 i::Handle<i::JSArrayBuffer> buffer = Utils::OpenHandle(*array_buffer); \
6702 return Utils::ToLocal##Type##Array(obj); \
6709 Utils::OpenHandle(*shared_array_buffer)->GetIsolate(); \
6713 if (!Utils::ApiCheck( \
6721 Utils::OpenHandle(*shared_array_buffer); \
6724 return Utils::ToLocal##Type##Array(obj); \
6733 i::Handle<i::JSArrayBuffer> buffer = Utils::OpenHandle(*array_buffer); in TYPED_ARRAYS()
6739 return Utils::ToLocal(obj); in TYPED_ARRAYS()
6746 i::Handle<i::JSArrayBuffer> buffer = Utils::OpenHandle(*shared_array_buffer); in New()
6753 return Utils::ToLocal(obj); in New()
6758 return Utils::OpenHandle(this)->is_external(); in IsExternal()
6763 i::Handle<i::JSArrayBuffer> self = Utils::OpenHandle(this); in Externalize()
6765 Utils::ApiCheck(!self->is_external(), "v8::SharedArrayBuffer::Externalize", in Externalize()
6774 i::Handle<i::JSArrayBuffer> self = Utils::OpenHandle(this); in GetContents()
6784 i::Handle<i::JSArrayBuffer> obj = Utils::OpenHandle(this); in ByteLength()
6799 return Utils::ToLocalShared(obj); in New()
6817 return Utils::ToLocalShared(obj); in New()
6826 if (!name.IsEmpty()) result->set_name(*Utils::OpenHandle(*name)); in New()
6827 return Utils::ToLocal(result); in New()
6856 i::Handle<i::String> i_name = Utils::OpenHandle(*name); in For()
6858 return Utils::ToLocal(SymbolFor(i_isolate, i_name, part, false)); in For()
6864 i::Handle<i::String> i_name = Utils::OpenHandle(*name); in ForApi()
6866 return Utils::ToLocal(SymbolFor(i_isolate, i_name, part, false)); in ForApi()
6872 return Utils::ToLocal(i_isolate->factory()->iterator_symbol()); in GetIterator()
6878 return Utils::ToLocal(i_isolate->factory()->unscopables_symbol()); in GetUnscopables()
6884 return Utils::ToLocal(i_isolate->factory()->to_string_tag_symbol()); in GetToStringTag()
6890 return Utils::ToLocal(i_isolate->factory()->is_concat_spreadable_symbol()); in GetIsConcatSpreadable()
6899 if (!name.IsEmpty()) symbol->set_name(*Utils::OpenHandle(*name)); in New()
6900 Local<Symbol> result = Utils::ToLocal(symbol); in New()
6907 i::Handle<i::String> i_name = Utils::OpenHandle(*name); in ForApi()
6910 Utils::ToLocal(SymbolFor(i_isolate, i_name, part, true)); in ForApi()
6923 return Utils::NumberToLocal(result); in New()
6930 return Utils::IntegerToLocal(i::Handle<i::Object>(i::Smi::FromInt(value), in New()
6935 return Utils::IntegerToLocal(result); in New()
6947 return Utils::IntegerToLocal(result); in NewFromUnsigned()
6985 return Utils::ToLocal(i::Handle<i::Context>(native_context)); in GetCurrentContext()
6993 return Utils::ToLocal(i::Handle<i::Context>::cast(calling)); in GetCallingContext()
7002 return Utils::ToLocal(i::Handle<i::Context>::cast(last)); in GetEnteredContext()
7014 isolate->ScheduleThrow(*Utils::OpenHandle(*value)); in ThrowException()
7198 if (!Utils::ApiCheck(!isolate->IsInUse(), in Dispose()
7401 isolate->EnqueueMicrotask(Utils::OpenHandle(*microtask)); in EnqueueMicrotask()
7557 : *Utils::OpenHandle(*data)); in AddMessageListener()
7657 i::Handle<i::String> i_str = Utils::OpenHandle(*str); in Utf8Value()
7698 i::Handle<i::String> message = Utils::OpenHandle(*raw_message); \
7703 return Utils::ToLocal(result); \
7717 i::Handle<i::Object> obj = Utils::OpenHandle(*exception); in DEFINE_ERROR()
7721 return Utils::MessageToLocal( in DEFINE_ERROR()
7727 i::Handle<i::Object> obj = Utils::OpenHandle(*exception); in CreateMessage()
7735 i::Handle<i::Object> obj = Utils::OpenHandle(*exception); in GetStackTrace()
7740 return Utils::StackTraceToLocal(isolate->GetDetailedStackTrace(js_obj)); in GetStackTrace()
7755 i_isolate->debug()->SetEventListener(foreign, Utils::OpenHandle(*data, true)); in SetDebugEventListener()
7814 data_obj = Utils::OpenHandle(*data); in Call()
7818 !ToLocal<Value>(isolate->debug()->Call(Utils::OpenHandle(*fun), data_obj), in Call()
7827 auto context = ContextFromHeapObject(Utils::OpenHandle(*fun)); in Call()
7841 auto v8_fun = Utils::CallableToLocal(i::Handle<i::JSFunction>::cast(fun_obj)); in GetMirror()
7846 !v8_fun->Call(context, Utils::ToLocal(debug), kArgc, argv) in GetMirror()
7871 return Utils::ToLocal(i_isolate->debug()->GetDebugContext()); in GetDebugContext()
7890 i::Handle<i::Object> val = Utils::OpenHandle(*value); in GetInternalProperties()
7894 return Utils::ToLocal(result); in GetInternalProperties()
8056 *Utils::OpenHandle(*title), record_samples); in StartProfiling()
8063 *Utils::OpenHandle(*title))); in StopProfiling()
8209 Utils::ApiCheck(format == kJSON, in Serialize()
8212 Utils::ApiCheck(stream->GetChunkSize() > 0, in Serialize()
8237 i::Handle<i::Object> obj = Utils::OpenHandle(*value); in GetObjectId()
8246 return Utils::ToLocal(obj); in FindObjectById()