• Home
  • Raw
  • Download

Lines Matching refs:GetJSThread

259         if (vm->GetJSThread()->HasPendingException()) {                               \
273 if (vm->GetJSThread()->HasPendingException()) { \
315 JSThread *thread = vm->GetJSThread(); in CreateJSContext()
321 JSThread *thread = vm->GetJSThread(); in SwitchCurrentContext()
327 JSThread *thread = vm->GetJSThread(); in DestroyJSContext()
371 if (vm->GetJSThread() != nullptr && vm->IsInitialized()) { in TriggerGC()
391 auto thread = vm->GetJSThread(); in ThrowException()
401 JSThread* thread = vm->GetJSThread(); in PrintExceptionInfo()
545 vm->GetJSThread()->GetCurrentEcmaContext()->LoadAOTFiles(aotFileName); in LoadAotFile()
691 return vm->GetJSThread()->HasPendingException(); in HasPendingException()
696 return vm->GetJSThread()->GetCurrentEcmaContext()->EnableUserUncaughtErrorHandler(); in EnableUserUncaughtErrorHandler()
702 JSHandle<JSTaggedValue> global(vm->GetJSThread(), globalEnv->GetGlobalObject()); in GetGlobalObject()
709 EcmaVM::ConstCast(vm)->GetJSThread()->GetCurrentEcmaContext()->ExecutePromisePendingJob(); in ExecutePendingJob()
718 return ecmascript::EcmaHandleScope::NewHandle(vm->GetJSThread(), value); in GetHandleAddr()
727 return vm->GetJSThread()->NewGlobalHandle(value); in GetGlobalHandleAddr()
736 return vm->GetJSThread()->SetWeak(localAddress); in SetWeak()
746 … return vm->GetJSThread()->SetWeak(localAddress, ref, freeGlobalCallBack, nativeFinalizeCallback); in SetWeakCallback()
760 return vm->GetJSThread()->ClearWeak(localAddress); in ClearWeak()
769 return vm->GetJSThread()->IsWeak(localAddress); in IsWeak()
777 vm->GetJSThread()->DisposeGlobalHandle(addr); in DisposeGlobalHandleAddr()
783 ecmascript::JSThread *thread = vm->GetJSThread(); in SerializeValue()
801 ecmascript::JSThread *thread = vm->GetJSThread(); in DeserializeValue()
823 vm->GetJSThread()->GetCurrentEcmaContext()->GetPromiseRejectCallback(); in HostPromiseRejectionTracker()
834 …vm->GetJSThread()->GetCurrentEcmaContext()->SetHostPromiseRejectionTracker(HostPromiseRejectionTra… in SetHostPromiseRejectionTracker()
835 vm->GetJSThread()->GetCurrentEcmaContext()->SetPromiseRejectCallback( in SetHostPromiseRejectionTracker()
837 vm->GetJSThread()->GetCurrentEcmaContext()->SetData(data); in SetHostPromiseRejectionTracker()
861 JSHandle<MicroJobQueue> job = vm->GetJSThread()->GetCurrentEcmaContext()->GetMicroJobQueue(); in SetHostEnqueueJob()
862 MicroJobQueue::EnqueueJob(vm->GetJSThread(), job, QueueType::QUEUE_PROMISE, fun, array); in SetHostEnqueueJob()
904 JSThread *thread = vm->GetJSThread(); in GetExportObject()
938 JSThread *thread = vm->GetJSThread(); in GetExportObjectFromBuffer()
1007 JSThread *thread = vm_->GetJSThread(); in ~FunctionCallScope()
1013 LocalScope::LocalScope(const EcmaVM *vm) : thread_(vm->GetJSThread()) in LocalScope()
1022 LocalScope::LocalScope(const EcmaVM *vm, JSTaggedType value) : thread_(vm->GetJSThread()) in LocalScope()
1046 auto thread = vm->GetJSThread(); in EscapeLocalScope()
1059 JSHandle<JSTaggedValue> value(vm->GetJSThread(), primitiveValue); in GetValue()
1069 JSThread *thread = vm->GetJSThread(); in New()
1080 JSThread *thread = vm->GetJSThread(); in New()
1088 JSThread *thread = vm->GetJSThread(); in New()
1096 JSThread *thread = vm->GetJSThread(); in New()
1110 JSThread *thread = vm->GetJSThread(); in New()
1119 JSThread *thread = vm->GetJSThread(); in New()
1128 JSThread *thread = vm->GetJSThread(); in CreateBigWords()
1137 JSThread *thread = vm->GetJSThread(); in BigIntToInt64()
1146 JSThread *thread = vm->GetJSThread(); in BigIntToUint64()
1184 JSThread *thread = vm->GetJSThread(); in New()
1198 JSThread *thread = vm->GetJSThread(); in New()
1206 JSThread *thread = vm->GetJSThread(); in NewFromUnsigned()
1252 …JSHandle<EcmaString> strHandle(vm->GetJSThread(), EcmaString::Cast(JSNApiHelper::ToJSTaggedValue(t… in Utf8Length()
1276 …JSHandle<JSTaggedValue> napiWapperString = vm->GetJSThread()->GlobalConstants()->GetHandledNapiWra… in GetNapiWrapperString()
1287 symbol->SetDescription(vm->GetJSThread(), desc); in New()
1296 auto constants = vm->GetJSThread()->GlobalConstants(); in GetDescription()
1299 JSHandle<JSTaggedValue> descriptionHandle(vm->GetJSThread(), description); in GetDescription()
1352 JSTaggedValue::SetProperty(vm->GetJSThread(), object, detachKey, detachValue); in New()
1353 JSTaggedValue::SetProperty(vm->GetJSThread(), object, attachKey, attachValue); in New()
1354 RETURN_VALUE_IF_ABRUPT(vm->GetJSThread(), JSValueRef::Undefined(vm)); in New()
1369 … bool detachResult = JSTaggedValue::SetProperty(vm->GetJSThread(), object, detachKey, detachValue); in Set()
1370 … bool attachResult = JSTaggedValue::SetProperty(vm->GetJSThread(), object, attachKey, attachValue); in Set()
1371 RETURN_VALUE_IF_ABRUPT(vm->GetJSThread(), false); in Set()
1383 bool result = JSTaggedValue::SetProperty(vm->GetJSThread(), obj, keyValue, valueValue); in Set()
1384 RETURN_VALUE_IF_ABRUPT(vm->GetJSThread(), false); in Set()
1401 JSThread *thread = vm->GetJSThread(); in SetAccessorProperty()
1420 JSThread *thread = vm->GetJSThread(); in Get()
1442 JSThread *thread = vm->GetJSThread(); in GetOwnProperty()
1474 JSThread *thread = vm->GetJSThread(); in GetOwnPropertyNames()
1488 JSThread *thread = vm->GetJSThread(); in GetAllPropertyNames()
1500 JSThread *thread = vm->GetJSThread(); in GetOwnEnumerablePropertyNames()
1512 JSThread *thread = vm->GetJSThread(); in GetPrototype()
1522 JSThread *thread = vm->GetJSThread(); in SetPrototype()
1533 JSThread *thread = vm->GetJSThread(); in DefineProperty()
1547 JSThread *thread = vm->GetJSThread(); in Has()
1559 JSThread *thread = vm->GetJSThread(); in Has()
1570 JSThread *thread = vm->GetJSThread(); in Delete()
1582 JSThread *thread = vm->GetJSThread(); in Delete()
1595 JSThread *thread = vm->GetJSThread(); in Freeze()
1620 JSThread *thread = vm->GetJSThread(); in Seal()
1675 JSThread *thread = vm->GetJSThread(); in New()
1689 JSThread *thread = vm->GetJSThread(); in NewClassFunction()
1723 JSThread *thread = vm->GetJSThread(); in Call()
1755 JSThread *thread = vm->GetJSThread(); in Constructor()
1780 JSThread *thread = vm->GetJSThread(); in GetFunctionPrototype()
1791 JSThread *thread = vm->GetJSThread(); in Inherit()
1811 JSThread *thread = vm->GetJSThread(); in SetName()
1821 JSThread *thread = vm->GetJSThread(); in GetName()
1832 JSThread *thread = vm->GetJSThread(); in GetSourceCode()
1868 JSThread *thread = vm->GetJSThread(); in IsNative()
1878 JSThread *thread = vm->GetJSThread(); in New()
1894 JSThread *thread = vm->GetJSThread(); in GetValueAt()
1903 JSThread *thread = vm->GetJSThread(); in SetValueAt()
1913 JSThread *thread = vm->GetJSThread(); in New()
1923 JSThread *thread = vm->GetJSThread(); in GetPromise()
1932 JSThread *thread = vm->GetJSThread(); in Resolve()
1956 JSThread *thread = vm->GetJSThread(); in Reject()
1981 JSThread *thread = vm->GetJSThread(); in Catch()
2002 JSThread *thread = vm->GetJSThread(); in Finally()
2023 JSThread *thread = vm->GetJSThread(); in Then()
2044 JSThread *thread = vm->GetJSThread(); in Then()
2104 JSThread *thread = vm->GetJSThread(); in Detach()
2153 JSThread *thread = vm->GetJSThread(); in New()
2162 bool result = JSTaggedValue::SetProperty(vm->GetJSThread(), obj, keyValue, currentTaggedValue); in New()
2175 JSThread *thread = vm->GetJSThread(); in New()
2186 bool result = JSTaggedValue::SetProperty(vm->GetJSThread(), obj, keyValue, currentTaggedValue); in New()
2218 JSThread *thread = vm->GetJSThread(); in New()
2244 JSThread *thread = vm->GetJSThread(); in GetArrayBuffer()
2280 JSThread *thread = vm->GetJSThread(); in GetArrayBuffer()
2293 …JSThread *thread = vm->GetJSThread(); \
2321 JSThread *thread = vm->GetJSThread(); \
2341 JSThread *thread = vm->GetJSThread(); in EXCEPTION_ERROR_ALL()
2358 JSThread *thread = vm->GetJSThread(); in Stringify()
2370 JSThread *thread = vm->GetJSThread(); in GetOriginalSource()
2480 JSThread *thread = vm->GetJSThread(); in New()
2492 JSThread *thread = vm->GetJSThread(); in ToString()
2517 JSThread *thread = vm->GetJSThread(); in GetHandler()
2524 JSThread *thread = vm->GetJSThread(); in GetTarget()
2539 return JSNApiHelper::ToLocal<JSValueRef>(JSHandle<JSTaggedValue>(vm->GetJSThread(), in Get()
2548 …JSMap::Set(vm->GetJSThread(), map, JSNApiHelper::ToJSHandle(key), JSNApiHelper::ToJSHandle(value)); in Set()
2554 JSThread *thread = vm->GetJSThread(); in New()
2586 JSThread *thread = vm->GetJSThread(); in GetKey()
2595 JSThread *thread = vm->GetJSThread(); in GetValue()
2620 JSThread *thread = vm->GetJSThread(); in GetKey()
2629 JSThread *thread = vm->GetJSThread(); in GetValue()
2653 JSThread *thread = vm->GetJSThread(); in GetValue()
2678 JSThread *thread = vm->GetJSThread(); in GetValue()
2761 JSThread *thread = vm->GetJSThread(); in GetGeneratorFunction()
2772 JSThread *thread = vm->GetJSThread(); in GetGeneratorReceiver()
2783 JSThread *thread = vm->GetJSThread(); in GetCompareFunction()
2798 JSThread *thread = vm->GetJSThread(); in GetFormatFunction()
2813 JSThread *thread = vm->GetJSThread(); in GetFormatFunction()
2874 JSThread *thread = vm->GetJSThread(); in Undefined()
2881 …return JSNApiHelper::ToLocal<PrimitiveRef>(JSHandle<JSTaggedValue>(vm->GetJSThread(), JSTaggedValu… in Null()
2886 …return JSNApiHelper::ToLocal<PrimitiveRef>(JSHandle<JSTaggedValue>(vm->GetJSThread(), JSTaggedValu… in True()
2891 …return JSNApiHelper::ToLocal<PrimitiveRef>(JSHandle<JSTaggedValue>(vm->GetJSThread(), JSTaggedValu… in False()
2897 JSThread *thread = vm->GetJSThread(); in ToObject()
2910 JSThread *thread = vm->GetJSThread(); in ToString()
2923 JSThread *thread = vm->GetJSThread(); in ToNativePointer()
2938 JSThread *thread = vm->GetJSThread(); in IntegerValue()
2956 JSThread *thread = vm->GetJSThread(); in Uint32Value()
2965 JSThread *thread = vm->GetJSThread(); in Int32Value()
2974 JSThread *thread = vm->GetJSThread(); in ToBoolean()
2984 JSThread *thread = vm->GetJSThread(); in ToNumber()
2995 JSThread *thread = vm->GetJSThread(); in IsStrictEquals()
3005 JSThread *thread = vm->GetJSThread(); in Typeof()
3013 JSThread *thread = vm->GetJSThread(); in InstanceOf()
3090 JSThread *thread = vm->GetJSThread(); in IsArray()
3497 JSThread *thread = vm->GetJSThread(); in LoadPatch()
3507 JSThread *thread = vm->GetJSThread(); in LoadPatch()
3516 JSThread *thread = vm->GetJSThread(); in UnloadPatch()
3529 JSThread *thread = vm->GetJSThread(); in IsQuickFixCausedException()
3591 ecmascript::JSThread *thread = vm->GetJSThread(); in InitForConcurrentFunction()
3641 auto thread = vm->GetJSThread(); in GetCurrentTaskInfo()