• Home
  • Raw
  • Download

Lines Matching refs:JSValueRef

269     CHECK_HAS_PENDING_EXCEPTION(vm, JSValueRef::Undefined(vm))
389 void JSNApi::ThrowException(const EcmaVM *vm, Local<JSValueRef> error) in ThrowException()
780 void *JSNApi::SerializeValue(const EcmaVM *vm, Local<JSValueRef> value, Local<JSValueRef> transfer) in SerializeValue()
798 Local<JSValueRef> JSNApi::DeserializeValue(const EcmaVM *vm, void *recoder, void *hint) in DeserializeValue()
825 …Local<JSValueRef> promiseVal = JSNApiHelper::ToLocal<JSValueRef>(JSHandle<JSTaggedValue>::Cast(pro… in HostPromiseRejectionTracker()
826 PromiseRejectInfo promiseRejectInfo(promiseVal, JSNApiHelper::ToLocal<JSValueRef>(reason), in HostPromiseRejectionTracker()
856 void JSNApi::SetHostEnqueueJob(const EcmaVM *vm, Local<JSValueRef> cb) in SetHostEnqueueJob()
865 PromiseRejectInfo::PromiseRejectInfo(Local<JSValueRef> promise, Local<JSValueRef> reason, in PromiseRejectInfo()
869 Local<JSValueRef> PromiseRejectInfo::GetPromise() const in GetPromise()
874 Local<JSValueRef> PromiseRejectInfo::GetReason() const in GetReason()
1052 Local<JSValueRef> PrimitiveRef::GetValue(const EcmaVM *vm) in GetValue()
1060 return JSNApiHelper::ToLocal<JSValueRef>(value); in GetValue()
1062 return Local<JSValueRef>(); in GetValue()
1125 Local<JSValueRef> BigIntRef::CreateBigWords(const EcmaVM *vm, bool sign, uint32_t size, const uint6… in CreateBigWords()
1131 return JSNApiHelper::ToLocal<JSValueRef>(bigint); in CreateBigWords()
1354 RETURN_VALUE_IF_ABRUPT(vm->GetJSThread(), JSValueRef::Undefined(vm)); in New()
1375 bool ObjectRef::Set(const EcmaVM *vm, Local<JSValueRef> key, Local<JSValueRef> value) in Set()
1388 bool ObjectRef::Set(const EcmaVM *vm, uint32_t key, Local<JSValueRef> value) in Set()
1392 Local<JSValueRef> keyValue = NumberRef::New(vm, key); in Set()
1396 bool ObjectRef::SetAccessorProperty(const EcmaVM *vm, Local<JSValueRef> key, Local<FunctionRef> get… in SetAccessorProperty()
1416 Local<JSValueRef> ObjectRef::Get(const EcmaVM *vm, Local<JSValueRef> key) in Get()
1425 RETURN_VALUE_IF_ABRUPT(thread, JSValueRef::Undefined(vm)); in Get()
1427 return JSValueRef::Undefined(vm); in Get()
1429 return scope.Escape(JSNApiHelper::ToLocal<JSValueRef>(ret.GetValue())); in Get()
1432 Local<JSValueRef> ObjectRef::Get(const EcmaVM *vm, int32_t key) in Get()
1435 Local<JSValueRef> keyValue = IntegerRef::New(vm, key); in Get()
1439 bool ObjectRef::GetOwnProperty(const EcmaVM *vm, Local<JSValueRef> key, PropertyAttribute &property) in GetOwnProperty()
1451 property.SetValue(JSNApiHelper::ToLocal<JSValueRef>(desc.GetValue())); in GetOwnProperty()
1453 property.SetGetter(JSNApiHelper::ToLocal<JSValueRef>(desc.GetGetter())); in GetOwnProperty()
1456 property.SetSetter(JSNApiHelper::ToLocal<JSValueRef>(desc.GetSetter())); in GetOwnProperty()
1479 RETURN_VALUE_IF_ABRUPT(thread, JSValueRef::Undefined(vm)); in GetOwnPropertyNames()
1493 RETURN_VALUE_IF_ABRUPT(thread, JSValueRef::Undefined(vm)); in GetAllPropertyNames()
1505 RETURN_VALUE_IF_ABRUPT(thread, JSValueRef::Undefined(vm)); in GetOwnEnumerablePropertyNames()
1509 Local<JSValueRef> ObjectRef::GetPrototype(const EcmaVM *vm) in GetPrototype()
1516 RETURN_VALUE_IF_ABRUPT(thread, JSValueRef::Undefined(vm)); in GetPrototype()
1517 return JSNApiHelper::ToLocal<JSValueRef>(prototype); in GetPrototype()
1530 bool ObjectRef::DefineProperty(const EcmaVM *vm, Local<JSValueRef> key, PropertyAttribute attribute) in DefineProperty()
1544 bool ObjectRef::Has(const EcmaVM *vm, Local<JSValueRef> key) in Has()
1567 bool ObjectRef::Delete(const EcmaVM *vm, Local<JSValueRef> key) in Delete()
1591 Local<JSValueRef> ObjectRef::Freeze(const EcmaVM *vm) in Freeze()
1602 return scope.Escape(JSNApiHelper::ToLocal<JSValueRef>(exception)); in Freeze()
1607 Local<JSValueRef> error = Exception::Error(vm, message); in Freeze()
1610 return scope.Escape(JSNApiHelper::ToLocal<JSValueRef>(exception)); in Freeze()
1613 return scope.Escape(JSNApiHelper::ToLocal<JSValueRef>(resultValue)); in Freeze()
1616 Local<JSValueRef> ObjectRef::Seal(const EcmaVM *vm) in Seal()
1627 return scope.Escape(JSNApiHelper::ToLocal<JSValueRef>(exception)); in Seal()
1632 Local<JSValueRef> error = Exception::Error(vm, message); in Seal()
1635 return scope.Escape(JSNApiHelper::ToLocal<JSValueRef>(exception)); in Seal()
1638 return scope.Escape(JSNApiHelper::ToLocal<JSValueRef>(resultValue)); in Seal()
1716 Local<JSValueRef> FunctionRef::Call(const EcmaVM *vm, Local<JSValueRef> thisObj, in Call()
1717 const Local<JSValueRef> argv[], // NOLINTNEXTLINE(modernize-avoid-c-arrays) in Call()
1725 return JSValueRef::Undefined(vm); in Call()
1734 RETURN_VALUE_IF_ABRUPT(thread, JSValueRef::Undefined(vm)); in Call()
1740 RETURN_VALUE_IF_ABRUPT(thread, JSValueRef::Undefined(vm)); in Call()
1743 RETURN_VALUE_IF_ABRUPT(thread, JSValueRef::Undefined(vm)); in Call()
1746 return scope.Escape(JSNApiHelper::ToLocal<JSValueRef>(resultValue)); in Call()
1749 Local<JSValueRef> FunctionRef::Constructor(const EcmaVM *vm, in Constructor()
1750 const Local<JSValueRef> argv[], // NOLINTNEXTLINE(modernize-avoid-c-arrays) in Constructor()
1757 return JSValueRef::Undefined(vm); in Constructor()
1765 RETURN_VALUE_IF_ABRUPT(thread, JSValueRef::Undefined(vm)); in Constructor()
1772 RETURN_VALUE_IF_ABRUPT(thread, JSValueRef::Undefined(vm)); in Constructor()
1774 return JSNApiHelper::ToLocal<JSValueRef>(resultValue); in Constructor()
1777 Local<JSValueRef> FunctionRef::GetFunctionPrototype(const EcmaVM *vm) in GetFunctionPrototype()
1784 return JSNApiHelper::ToLocal<JSValueRef>(prototype); in GetFunctionPrototype()
1824 RETURN_VALUE_IF_ABRUPT(thread, JSValueRef::Undefined(vm)); in GetName()
1881 RETURN_VALUE_IF_ABRUPT(thread, JSValueRef::Undefined(vm)); in New()
1891 Local<JSValueRef> ArrayRef::GetValueAt(const EcmaVM *vm, Local<JSValueRef> obj, uint32_t index) in GetValueAt()
1897 return JSNApiHelper::ToLocal<JSValueRef>(result); in GetValueAt()
1900 bool ArrayRef::SetValueAt(const EcmaVM *vm, Local<JSValueRef> obj, uint32_t index, Local<JSValueRef in SetValueAt()
1929 bool PromiseCapabilityRef::Resolve(const EcmaVM *vm, Local<JSValueRef> value) in Resolve()
1953 bool PromiseCapabilityRef::Reject(const EcmaVM *vm, Local<JSValueRef> reason) in Reject()
1991 RETURN_VALUE_IF_ABRUPT(thread, JSValueRef::Undefined(vm)); in Catch()
1995 RETURN_VALUE_IF_ABRUPT(thread, JSValueRef::Undefined(vm)); in Catch()
2012 RETURN_VALUE_IF_ABRUPT(thread, JSValueRef::Undefined(vm)); in Finally()
2016 RETURN_VALUE_IF_ABRUPT(thread, JSValueRef::Undefined(vm)); in Finally()
2033 RETURN_VALUE_IF_ABRUPT(thread, JSValueRef::Undefined(vm)); in Then()
2037 RETURN_VALUE_IF_ABRUPT(thread, JSValueRef::Undefined(vm)); in Then()
2055 RETURN_VALUE_IF_ABRUPT(thread, JSValueRef::Undefined(vm)); in Then()
2059 RETURN_VALUE_IF_ABRUPT(thread, JSValueRef::Undefined(vm)); in Then()
2163 RETURN_VALUE_IF_ABRUPT(thread, JSValueRef::Undefined(vm)); in New()
2187 RETURN_VALUE_IF_ABRUPT(thread, JSValueRef::Undefined(vm)); in New()
2223 RETURN_VALUE_IF_ABRUPT(thread, JSValueRef::Undefined(vm)); in New()
2302 …RETURN_VALUE_IF_ABRUPT(thread, JSValueRef::Undefined(vm)); \
2305 …RETURN_VALUE_IF_ABRUPT(thread, JSValueRef::Undefined(vm)); \
2318 Local<JSValueRef> Exception::name(const EcmaVM *vm, Local<StringRef> message) \
2329 return JSNApiHelper::ToLocal<JSValueRef>(result); \
2338 Local<JSValueRef> JSON::Parse(const EcmaVM *vm, Local<StringRef> string) in EXCEPTION_ERROR_ALL()
2351 RETURN_VALUE_IF_ABRUPT(thread, JSValueRef::Undefined(vm)); in EXCEPTION_ERROR_ALL()
2352 return JSNApiHelper::ToLocal<JSValueRef>(result); in EXCEPTION_ERROR_ALL()
2355 Local<JSValueRef> JSON::Stringify(const EcmaVM *vm, Local<JSValueRef> json) in Stringify()
2363 RETURN_VALUE_IF_ABRUPT(thread, JSValueRef::Undefined(vm)); in Stringify()
2364 return JSNApiHelper::ToLocal<JSValueRef>(str); in Stringify()
2411 Local<JSValueRef> RegExpRef::IsGlobal(const EcmaVM *vm) in IsGlobal()
2418 Local<JSValueRef> jsValue = BooleanRef::New(vm, result); in IsGlobal()
2422 Local<JSValueRef> RegExpRef::IsIgnoreCase(const EcmaVM *vm) in IsIgnoreCase()
2429 Local<JSValueRef> jsValue = BooleanRef::New(vm, result); in IsIgnoreCase()
2433 Local<JSValueRef> RegExpRef::IsMultiline(const EcmaVM *vm) in IsMultiline()
2440 Local<JSValueRef> jsValue = BooleanRef::New(vm, result); in IsMultiline()
2444 Local<JSValueRef> RegExpRef::IsDotAll(const EcmaVM *vm) in IsDotAll()
2451 Local<JSValueRef> jsValue = BooleanRef::New(vm, result); in IsDotAll()
2455 Local<JSValueRef> RegExpRef::IsUtf16(const EcmaVM *vm) in IsUtf16()
2462 Local<JSValueRef> jsValue = BooleanRef::New(vm, result); in IsUtf16()
2466 Local<JSValueRef> RegExpRef::IsStick(const EcmaVM *vm) in IsStick()
2473 Local<JSValueRef> jsValue = BooleanRef::New(vm, result); in IsStick()
2514 Local<JSValueRef> ProxyRef::GetHandler(const EcmaVM *vm) in GetHandler()
2518 … return JSNApiHelper::ToLocal<JSValueRef>(JSHandle<JSTaggedValue>(thread, jsProxy->GetHandler())); in GetHandler()
2521 Local<JSValueRef> ProxyRef::GetTarget(const EcmaVM *vm) in GetTarget()
2525 return JSNApiHelper::ToLocal<JSValueRef>(JSHandle<JSTaggedValue>(thread, jsProxy->GetTarget())); in GetTarget()
2534 Local<JSValueRef> MapRef::Get(const EcmaVM *vm, Local<JSValueRef> key) in Get()
2539 return JSNApiHelper::ToLocal<JSValueRef>(JSHandle<JSTaggedValue>(vm->GetJSThread(), in Get()
2543 void MapRef::Set(const EcmaVM *vm, Local<JSValueRef> key, Local<JSValueRef> value) in Set()
2581 Local<JSValueRef> MapRef::GetKey(const EcmaVM *vm, int entry) in GetKey()
2587 return JSNApiHelper::ToLocal<JSValueRef>(JSHandle<JSTaggedValue>(thread, map->GetKey(entry))); in GetKey()
2590 Local<JSValueRef> MapRef::GetValue(const EcmaVM *vm, int entry) in GetValue()
2596 return JSNApiHelper::ToLocal<JSValueRef>(JSHandle<JSTaggedValue>(thread, map->GetValue(entry))); in GetValue()
2614 Local<JSValueRef> WeakMapRef::GetKey(const EcmaVM *vm, int entry) in GetKey()
2621 … return JSNApiHelper::ToLocal<JSValueRef>(JSHandle<JSTaggedValue>(thread, key.GetWeakRawValue())); in GetKey()
2624 Local<JSValueRef> WeakMapRef::GetValue(const EcmaVM *vm, int entry) in GetValue()
2630 …return JSNApiHelper::ToLocal<JSValueRef>(JSHandle<JSTaggedValue>(thread, weakMap->GetValue(entry))… in GetValue()
2648 Local<JSValueRef> SetRef::GetValue(const EcmaVM *vm, int entry) in GetValue()
2654 return JSNApiHelper::ToLocal<JSValueRef>(JSHandle<JSTaggedValue>(thread, set->GetValue(entry))); in GetValue()
2672 Local<JSValueRef> WeakSetRef::GetValue(const EcmaVM *vm, int entry) in GetValue()
2679 …return JSNApiHelper::ToLocal<JSValueRef>(JSHandle<JSTaggedValue>(thread, value.GetWeakRawValue())); in GetValue()
2689 Local<JSValueRef> MapIteratorRef::GetKind(const EcmaVM *vm) in GetKind()
2695 Local<JSValueRef> result; in GetKind()
2719 Local<JSValueRef> SetIteratorRef::GetKind(const EcmaVM *vm) in GetKind()
2725 Local<JSValueRef> result; in GetKind()
2747 Local<JSValueRef> GeneratorObjectRef::GetGeneratorState(const EcmaVM *vm) in GetGeneratorState()
2758 Local<JSValueRef> GeneratorObjectRef::GetGeneratorFunction(const EcmaVM *vm) in GetGeneratorFunction()
2769 Local<JSValueRef> GeneratorObjectRef::GetGeneratorReceiver(const EcmaVM *vm) in GetGeneratorReceiver()
2780 Local<JSValueRef> CollatorRef::GetCompareFunction(const EcmaVM *vm) in GetCompareFunction()
2795 Local<JSValueRef> DataTimeFormatRef::GetFormatFunction(const EcmaVM *vm) in GetFormatFunction()
2810 Local<JSValueRef> NumberFormatRef::GetFormatFunction(const EcmaVM *vm) in GetFormatFunction()
2851 Local<JSValueRef> result = nativeFunc(&jsiRuntimeCallInfo); in RegisterCallback()
2872 Local<PrimitiveRef> JSValueRef::Undefined(const EcmaVM *vm) in Undefined()
2879 Local<PrimitiveRef> JSValueRef::Null(const EcmaVM *vm) in Null()
2884 Local<PrimitiveRef> JSValueRef::True(const EcmaVM *vm) in True()
2889 Local<PrimitiveRef> JSValueRef::False(const EcmaVM *vm) in False()
2894 Local<ObjectRef> JSValueRef::ToObject(const EcmaVM *vm) in ToObject()
2903 RETURN_VALUE_IF_ABRUPT(thread, JSValueRef::Undefined(vm)); in ToObject()
2907 Local<StringRef> JSValueRef::ToString(const EcmaVM *vm) in ToString()
2915 RETURN_VALUE_IF_ABRUPT(thread, JSValueRef::Undefined(vm)); in ToString()
2920 Local<NativePointerRef> JSValueRef::ToNativePointer(const EcmaVM *vm) in ToNativePointer()
2926 RETURN_VALUE_IF_ABRUPT(thread, JSValueRef::Undefined(vm)); in ToNativePointer()
2930 bool JSValueRef::BooleaValue() in BooleaValue()
2935 int64_t JSValueRef::IntegerValue(const EcmaVM *vm) in IntegerValue()
2953 uint32_t JSValueRef::Uint32Value(const EcmaVM *vm) in Uint32Value()
2962 int32_t JSValueRef::Int32Value(const EcmaVM *vm) in Int32Value()
2971 Local<BooleanRef> JSValueRef::ToBoolean(const EcmaVM *vm) in ToBoolean()
2981 Local<NumberRef> JSValueRef::ToNumber(const EcmaVM *vm) in ToNumber()
2988 RETURN_VALUE_IF_ABRUPT(thread, JSValueRef::Undefined(vm)); in ToNumber()
2992 bool JSValueRef::IsStrictEquals(const EcmaVM *vm, Local<JSValueRef> value) in IsStrictEquals()
3002 Local<StringRef> JSValueRef::Typeof(const EcmaVM *vm) in Typeof()
3010 bool JSValueRef::InstanceOf(const EcmaVM *vm, Local<JSValueRef> value) in InstanceOf()
3022 bool JSValueRef::IsUndefined() in IsUndefined()
3027 bool JSValueRef::IsNull() in IsNull()
3032 bool JSValueRef::IsHole() in IsHole()
3037 bool JSValueRef::IsTrue() in IsTrue()
3042 bool JSValueRef::IsFalse() in IsFalse()
3047 bool JSValueRef::IsNumber() in IsNumber()
3052 bool JSValueRef::IsBigInt() in IsBigInt()
3057 bool JSValueRef::IsInt() in IsInt()
3062 bool JSValueRef::WithinInt32() in WithinInt32()
3067 bool JSValueRef::IsBoolean() in IsBoolean()
3072 bool JSValueRef::IsString() in IsString()
3077 bool JSValueRef::IsSymbol() in IsSymbol()
3082 bool JSValueRef::IsObject() in IsObject()
3087 bool JSValueRef::IsArray(const EcmaVM *vm) in IsArray()
3094 bool JSValueRef::IsJSArray(const EcmaVM *vm) in IsJSArray()
3100 bool JSValueRef::IsConstructor() in IsConstructor()
3106 bool JSValueRef::IsFunction() in IsFunction()
3112 bool JSValueRef::IsProxy() in IsProxy()
3117 bool JSValueRef::IsPromise() in IsPromise()
3122 bool JSValueRef::IsDataView() in IsDataView()
3127 bool JSValueRef::IsTypedArray() in IsTypedArray()
3132 bool JSValueRef::IsNativePointer() in IsNativePointer()
3137 bool JSValueRef::IsDate() in IsDate()
3142 bool JSValueRef::IsError() in IsError()
3147 bool JSValueRef::IsMap() in IsMap()
3152 bool JSValueRef::IsSet() in IsSet()
3157 bool JSValueRef::IsWeakRef() in IsWeakRef()
3162 bool JSValueRef::IsWeakMap() in IsWeakMap()
3167 bool JSValueRef::IsWeakSet() in IsWeakSet()
3172 bool JSValueRef::IsRegExp() in IsRegExp()
3177 bool JSValueRef::IsArrayIterator() in IsArrayIterator()
3182 bool JSValueRef::IsStringIterator() in IsStringIterator()
3187 bool JSValueRef::IsSetIterator() in IsSetIterator()
3192 bool JSValueRef::IsMapIterator() in IsMapIterator()
3197 bool JSValueRef::IsArrayBuffer() in IsArrayBuffer()
3202 bool JSValueRef::IsBuffer() in IsBuffer()
3207 bool JSValueRef::IsUint8Array() in IsUint8Array()
3212 bool JSValueRef::IsInt8Array() in IsInt8Array()
3217 bool JSValueRef::IsUint8ClampedArray() in IsUint8ClampedArray()
3222 bool JSValueRef::IsInt16Array() in IsInt16Array()
3227 bool JSValueRef::IsUint16Array() in IsUint16Array()
3232 bool JSValueRef::IsInt32Array() in IsInt32Array()
3237 bool JSValueRef::IsUint32Array() in IsUint32Array()
3242 bool JSValueRef::IsFloat32Array() in IsFloat32Array()
3247 bool JSValueRef::IsFloat64Array() in IsFloat64Array()
3252 bool JSValueRef::IsBigInt64Array() in IsBigInt64Array()
3257 bool JSValueRef::IsBigUint64Array() in IsBigUint64Array()
3262 bool JSValueRef::IsJSPrimitiveRef() in IsJSPrimitiveRef()
3267 bool JSValueRef::IsJSPrimitiveNumber() in IsJSPrimitiveNumber()
3274 bool JSValueRef::IsJSPrimitiveInt() in IsJSPrimitiveInt()
3281 bool JSValueRef::IsJSPrimitiveBoolean() in IsJSPrimitiveBoolean()
3288 bool JSValueRef::IsJSPrimitiveString() in IsJSPrimitiveString()
3295 bool JSValueRef::IsJSPrimitiveSymbol() in IsJSPrimitiveSymbol()
3302 bool JSValueRef::IsGeneratorObject() in IsGeneratorObject()
3310 bool JSValueRef::IsModuleNamespaceObject() in IsModuleNamespaceObject()
3318 bool JSValueRef::IsSharedArrayBuffer() in IsSharedArrayBuffer()
3326 bool JSValueRef::IsJSLocale() in IsJSLocale()
3331 bool JSValueRef::IsJSDateTimeFormat() in IsJSDateTimeFormat()
3336 bool JSValueRef::IsJSRelativeTimeFormat() in IsJSRelativeTimeFormat()
3341 bool JSValueRef::IsJSIntl() in IsJSIntl()
3346 bool JSValueRef::IsJSNumberFormat() in IsJSNumberFormat()
3351 bool JSValueRef::IsJSCollator() in IsJSCollator()
3356 bool JSValueRef::IsJSPluralRules() in IsJSPluralRules()
3361 bool JSValueRef::IsJSListFormat() in IsJSListFormat()
3366 bool JSValueRef::IsAsyncGeneratorObject() in IsAsyncGeneratorObject()
3373 bool JSValueRef::IsAsyncFunction() in IsAsyncFunction()
3381 bool JSValueRef::IsArgumentsObject() in IsArgumentsObject()
3389 bool JSValueRef::IsGeneratorFunction() in IsGeneratorFunction()
3397 bool JSValueRef::IsAsyncGeneratorFunction() in IsAsyncGeneratorFunction()
3404 bool JSValueRef::IsArrayList() in IsArrayList()
3409 bool JSValueRef::IsDeque() in IsDeque()
3414 bool JSValueRef::IsHashMap() in IsHashMap()
3419 bool JSValueRef::IsHashSet() in IsHashSet()
3424 bool JSValueRef::IsLightWeightMap() in IsLightWeightMap()
3429 bool JSValueRef::IsLightWeightSet() in IsLightWeightSet()
3434 bool JSValueRef::IsLinkedList() in IsLinkedList()
3439 bool JSValueRef::IsLinkedListIterator() in IsLinkedListIterator()
3444 bool JSValueRef::IsList() in IsList()
3449 bool JSValueRef::IsPlainArray() in IsPlainArray()
3454 bool JSValueRef::IsQueue() in IsQueue()
3459 bool JSValueRef::IsStack() in IsStack()
3464 bool JSValueRef::IsTreeMap() in IsTreeMap()
3469 bool JSValueRef::IsTreeSet() in IsTreeSet()
3474 bool JSValueRef::IsVector() in IsVector()
3581 bool JSNApi::InitForConcurrentFunction(EcmaVM *vm, Local<JSValueRef> function, void *taskInfo) in InitForConcurrentFunction()