• Home
  • Raw
  • Download

Lines Matching defs:vm

257 #define CHECK_HAS_PENDING_EXCEPTION(vm, returnVal)                                    \  argument
268 #define CHECK_HAS_PENDING_EXCEPTION_RETURN_UNDEFINED(vm) \ argument
271 #define CHECK_HAS_PENDING_EXCEPTION_WITHOUT_RETURN(vm) \ argument
313 EcmaContext *JSNApi::CreateJSContext(EcmaVM *vm) in CreateJSContext()
319 void JSNApi::SwitchCurrentContext(EcmaVM *vm, EcmaContext *context) in SwitchCurrentContext()
325 void JSNApi::DestroyJSContext(EcmaVM *vm, EcmaContext *context) in DestroyJSContext()
369 void JSNApi::TriggerGC(const EcmaVM *vm, TRIGGER_GC_TYPE gcType) in TriggerGC()
389 void JSNApi::ThrowException(const EcmaVM *vm, Local<JSValueRef> error) in ThrowException()
399 void JSNApi::PrintExceptionInfo(const EcmaVM *vm) in PrintExceptionInfo()
420 bool JSNApi::StartDebugger([[maybe_unused]] EcmaVM *vm, [[maybe_unused]] const DebugOption &option, in StartDebugger()
477 bool JSNApi::StopDebugger([[maybe_unused]] EcmaVM *vm) in StopDebugger()
516 bool JSNApi::IsMixedDebugEnabled([[maybe_unused]] const EcmaVM *vm) in IsMixedDebugEnabled()
526 void JSNApi::NotifyNativeCalling([[maybe_unused]] const EcmaVM *vm, [[maybe_unused]] const void *na… in NotifyNativeCalling()
536 void JSNApi::LoadAotFile(EcmaVM *vm, const std::string &moduleName) in LoadAotFile()
548 bool JSNApi::ExecuteInContext(EcmaVM *vm, const std::string &fileName, const std::string &entry, bo… in ExecuteInContext()
562 bool JSNApi::Execute(EcmaVM *vm, const std::string &fileName, const std::string &entry, bool needUp… in Execute()
576 bool JSNApi::Execute(EcmaVM *vm, const uint8_t *data, int32_t size, const std::string &entry, in Execute()
591 bool JSNApi::ExecuteModuleBuffer(EcmaVM *vm, const uint8_t *data, int32_t size, const std::string &… in ExecuteModuleBuffer()
604 bool JSNApi::ExecuteSecure(EcmaVM *vm, uint8_t *data, int32_t size, const std::string &entry, in ExecuteSecure()
622 bool JSNApi::ExecuteModuleBufferSecure(EcmaVM *vm, uint8_t* data, int32_t size, const std::string &… in ExecuteModuleBufferSecure()
639 void JSNApi::PreFork(EcmaVM *vm) in PreFork()
644 void JSNApi::PostFork(EcmaVM *vm, const RuntimeOption &option) in PostFork()
679 Local<ObjectRef> JSNApi::GetUncaughtException(const EcmaVM *vm) in GetUncaughtException()
684 Local<ObjectRef> JSNApi::GetAndClearUncaughtException(const EcmaVM *vm) in GetAndClearUncaughtException()
689 bool JSNApi::HasPendingException(const EcmaVM *vm) in HasPendingException()
694 void JSNApi::EnableUserUncaughtErrorHandler(EcmaVM *vm) in EnableUserUncaughtErrorHandler()
699 Local<ObjectRef> JSNApi::GetGlobalObject(const EcmaVM *vm) in GetGlobalObject()
706 void JSNApi::ExecutePendingJob(const EcmaVM *vm) in ExecutePendingJob()
712 uintptr_t JSNApi::GetHandleAddr(const EcmaVM *vm, uintptr_t localAddress) in GetHandleAddr()
721 uintptr_t JSNApi::GetGlobalHandleAddr(const EcmaVM *vm, uintptr_t localAddress) in GetGlobalHandleAddr()
730 uintptr_t JSNApi::SetWeak(const EcmaVM *vm, uintptr_t localAddress) in SetWeak()
739 uintptr_t JSNApi::SetWeakCallback(const EcmaVM *vm, uintptr_t localAddress, void *ref, in SetWeakCallback()
749 uintptr_t JSNApi::ClearWeak(const EcmaVM *vm, uintptr_t localAddress) in ClearWeak()
763 bool JSNApi::IsWeak(const EcmaVM *vm, uintptr_t localAddress) in IsWeak()
772 void JSNApi::DisposeGlobalHandleAddr(const EcmaVM *vm, uintptr_t addr) in DisposeGlobalHandleAddr()
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()
815 void HostPromiseRejectionTracker(const EcmaVM *vm, in HostPromiseRejectionTracker()
832 void JSNApi::SetHostPromiseRejectionTracker(EcmaVM *vm, void *cb, void* data) in SetHostPromiseRejectionTracker()
840 void JSNApi::SetHostResolveBufferTracker(EcmaVM *vm, in SetHostResolveBufferTracker()
846 void JSNApi::SetUnloadNativeModuleCallback(EcmaVM *vm, const std::function<bool(const std::string &… in SetUnloadNativeModuleCallback()
851 void JSNApi::SetNativePtrGetter(EcmaVM *vm, void* cb) in SetNativePtrGetter()
856 void JSNApi::SetHostEnqueueJob(const EcmaVM *vm, Local<JSValueRef> cb) in SetHostEnqueueJob()
889 bool JSNApi::ExecuteModuleFromBuffer(EcmaVM *vm, const void *data, int32_t size, const std::string … in ExecuteModuleFromBuffer()
900 Local<ObjectRef> JSNApi::GetExportObject(EcmaVM *vm, const std::string &file, const std::string &ke… in GetExportObject()
934 Local<ObjectRef> JSNApi::GetExportObjectFromBuffer(EcmaVM *vm, const std::string &file, in GetExportObjectFromBuffer()
998 FunctionCallScope::FunctionCallScope(EcmaVM *vm) : vm_(vm) 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()
1044 EscapeLocalScope::EscapeLocalScope(const EcmaVM *vm) : LocalScope(vm, JSTaggedValue::Undefined().Ge… in EscapeLocalScope()
1052 Local<JSValueRef> PrimitiveRef::GetValue(const EcmaVM *vm) in GetValue()
1066 Local<NumberRef> NumberRef::New(const EcmaVM *vm, double input) in New()
1077 Local<NumberRef> NumberRef::New(const EcmaVM *vm, int32_t input) in New()
1085 Local<NumberRef> NumberRef::New(const EcmaVM *vm, uint32_t input) in New()
1093 Local<NumberRef> NumberRef::New(const EcmaVM *vm, int64_t input) in New()
1107 Local<BigIntRef> BigIntRef::New(const EcmaVM *vm, uint64_t input) in New()
1116 Local<BigIntRef> BigIntRef::New(const EcmaVM *vm, int64_t input) in New()
1125 Local<JSValueRef> BigIntRef::CreateBigWords(const EcmaVM *vm, bool sign, uint32_t size, const uint6… in CreateBigWords()
1134 void BigIntRef::BigIntToInt64(const EcmaVM *vm, int64_t *cValue, bool *lossless) in BigIntToInt64()
1143 void BigIntRef::BigIntToUint64(const EcmaVM *vm, uint64_t *cValue, bool *lossless) in BigIntToUint64()
1181 Local<BooleanRef> BooleanRef::New(const EcmaVM *vm, bool input) in New()
1195 Local<IntegerRef> IntegerRef::New(const EcmaVM *vm, int input) in New()
1203 Local<IntegerRef> IntegerRef::NewFromUnsigned(const EcmaVM *vm, unsigned int input) in NewFromUnsigned()
1217 Local<StringRef> StringRef::NewFromUtf8(const EcmaVM *vm, const char *utf8, int length) in NewFromUtf8()
1228 Local<StringRef> StringRef::NewFromUtf16(const EcmaVM *vm, const char16_t *utf16, int length) in NewFromUtf16()
1249 int32_t StringRef::Utf8Length(const EcmaVM *vm) in Utf8Length()
1274 Local<StringRef> StringRef::GetNapiWrapperString(const EcmaVM *vm) in GetNapiWrapperString()
1281 Local<SymbolRef> SymbolRef::New(const EcmaVM *vm, Local<StringRef> description) in New()
1291 Local<StringRef> SymbolRef::GetDescription(const EcmaVM *vm) in GetDescription()
1304 Local<NativePointerRef> NativePointerRef::New(const EcmaVM *vm, void *nativePointer, size_t nativeB… in New()
1314const EcmaVM *vm, void *nativePointer, NativePointerCallback callBack, void *data, size_t nativeBi… in New()
1331 Local<ObjectRef> ObjectRef::New(const EcmaVM *vm) in New()
1341 Local<ObjectRef> ObjectRef::New(const EcmaVM *vm, void *detach, void *attach) in New()
1358 bool ObjectRef::Set(const EcmaVM *vm, void *detach, void *attach) in Set()
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()
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()
1432 Local<JSValueRef> ObjectRef::Get(const EcmaVM *vm, int32_t key) in Get()
1439 bool ObjectRef::GetOwnProperty(const EcmaVM *vm, Local<JSValueRef> key, PropertyAttribute &property) in GetOwnProperty()
1471 Local<ArrayRef> ObjectRef::GetOwnPropertyNames(const EcmaVM *vm) in GetOwnPropertyNames()
1483 Local<ArrayRef> ObjectRef::GetAllPropertyNames(const EcmaVM *vm, uint32_t filter) in GetAllPropertyNames()
1497 Local<ArrayRef> ObjectRef::GetOwnEnumerablePropertyNames(const EcmaVM *vm) in GetOwnEnumerablePropertyNames()
1509 Local<JSValueRef> ObjectRef::GetPrototype(const EcmaVM *vm) in GetPrototype()
1520 bool ObjectRef::SetPrototype(const EcmaVM *vm, Local<ObjectRef> prototype) in SetPrototype()
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()
1556 bool ObjectRef::Has(const EcmaVM *vm, uint32_t key) in Has()
1567 bool ObjectRef::Delete(const EcmaVM *vm, Local<JSValueRef> key) in Delete()
1579 bool ObjectRef::Delete(const EcmaVM *vm, uint32_t key) in Delete()
1591 Local<JSValueRef> ObjectRef::Freeze(const EcmaVM *vm) in Freeze()
1616 Local<JSValueRef> ObjectRef::Seal(const EcmaVM *vm) in Seal()
1671 Local<FunctionRef> FunctionRef::New(EcmaVM *vm, FunctionCallback nativeFunc, in New()
1684 Local<FunctionRef> FunctionRef::NewClassFunction(EcmaVM *vm, FunctionCallback nativeFunc, in NewClassFunction()
1716 Local<JSValueRef> FunctionRef::Call(const EcmaVM *vm, Local<JSValueRef> thisObj, in Call()
1749 Local<JSValueRef> FunctionRef::Constructor(const EcmaVM *vm, in Constructor()
1777 Local<JSValueRef> FunctionRef::GetFunctionPrototype(const EcmaVM *vm) in GetFunctionPrototype()
1787 bool FunctionRef::Inherit(const EcmaVM *vm, Local<FunctionRef> parent) in Inherit()
1807 void FunctionRef::SetName(const EcmaVM *vm, Local<StringRef> name) in SetName()
1817 Local<StringRef> FunctionRef::GetName(const EcmaVM *vm) in GetName()
1828 Local<StringRef> FunctionRef::GetSourceCode(const EcmaVM *vm, int lineNumber) in GetSourceCode()
1865 bool FunctionRef::IsNative(const EcmaVM *vm) in IsNative()
1875 Local<ArrayRef> ArrayRef::New(const EcmaVM *vm, uint32_t length) in New()
1885 uint32_t ArrayRef::Length([[maybe_unused]] const EcmaVM *vm) in Length()
1891 Local<JSValueRef> ArrayRef::GetValueAt(const EcmaVM *vm, Local<JSValueRef> obj, uint32_t index) in GetValueAt()
1900 bool ArrayRef::SetValueAt(const EcmaVM *vm, Local<JSValueRef> obj, uint32_t index, Local<JSValueRef… in SetValueAt()
1910 Local<PromiseCapabilityRef> PromiseCapabilityRef::New(const EcmaVM *vm) in New()
1920 Local<PromiseRef> PromiseCapabilityRef::GetPromise(const EcmaVM *vm) in GetPromise()
1929 bool PromiseCapabilityRef::Resolve(const EcmaVM *vm, Local<JSValueRef> value) in Resolve()
1953 bool PromiseCapabilityRef::Reject(const EcmaVM *vm, Local<JSValueRef> reason) in Reject()
1978 Local<PromiseRef> PromiseRef::Catch(const EcmaVM *vm, Local<FunctionRef> handler) in Catch()
1999 Local<PromiseRef> PromiseRef::Finally(const EcmaVM *vm, Local<FunctionRef> handler) in Finally()
2020 Local<PromiseRef> PromiseRef::Then(const EcmaVM *vm, Local<FunctionRef> handler) in Then()
2041 Local<PromiseRef> PromiseRef::Then(const EcmaVM *vm, Local<FunctionRef> onFulfilled, Local<Function… in Then()
2065 Local<ArrayBufferRef> ArrayBufferRef::New(const EcmaVM *vm, int32_t length) in New()
2074 const EcmaVM *vm, void *buffer, int32_t length, const Deleter &deleter, void *data) in New()
2083 int32_t ArrayBufferRef::ByteLength([[maybe_unused]] const EcmaVM *vm) in ByteLength()
2102 void ArrayBufferRef::Detach(const EcmaVM *vm) in Detach()
2149 Local<BufferRef> BufferRef::New(const EcmaVM *vm, int32_t length) in New()
2171 const EcmaVM *vm, void *buffer, int32_t length, const Deleter &deleter, void *data) in New()
2194 int32_t BufferRef::ByteLength([[maybe_unused]] const EcmaVM *vm) in ByteLength()
2215 const EcmaVM *vm, Local<ArrayBufferRef> arrayBuffer, uint32_t byteOffset, uint32_t byteLength) in New()
2241 Local<ArrayBufferRef> DataViewRef::GetArrayBuffer(const EcmaVM *vm) in GetArrayBuffer()
2253 uint32_t TypedArrayRef::ByteLength([[maybe_unused]] const EcmaVM *vm) in ByteLength()
2261 uint32_t TypedArrayRef::ByteOffset([[maybe_unused]] const EcmaVM *vm) in ByteOffset()
2269 uint32_t TypedArrayRef::ArrayLength([[maybe_unused]] const EcmaVM *vm) in ArrayLength()
2277 Local<ArrayBufferRef> TypedArrayRef::GetArrayBuffer(const EcmaVM *vm) in GetArrayBuffer()
2355 Local<JSValueRef> JSON::Stringify(const EcmaVM *vm, Local<JSValueRef> json) in Stringify()
2367 Local<StringRef> RegExpRef::GetOriginalSource(const EcmaVM *vm) in GetOriginalSource()
2411 Local<JSValueRef> RegExpRef::IsGlobal(const EcmaVM *vm) in IsGlobal()
2422 Local<JSValueRef> RegExpRef::IsIgnoreCase(const EcmaVM *vm) in IsIgnoreCase()
2433 Local<JSValueRef> RegExpRef::IsMultiline(const EcmaVM *vm) in IsMultiline()
2444 Local<JSValueRef> RegExpRef::IsDotAll(const EcmaVM *vm) in IsDotAll()
2455 Local<JSValueRef> RegExpRef::IsUtf16(const EcmaVM *vm) in IsUtf16()
2466 Local<JSValueRef> RegExpRef::IsStick(const EcmaVM *vm) in IsStick()
2477 Local<DateRef> DateRef::New(const EcmaVM *vm, double time) in New()
2489 Local<StringRef> DateRef::ToString(const EcmaVM *vm) in ToString()
2514 Local<JSValueRef> ProxyRef::GetHandler(const EcmaVM *vm) in GetHandler()
2521 Local<JSValueRef> ProxyRef::GetTarget(const EcmaVM *vm) in GetTarget()
2534 Local<JSValueRef> MapRef::Get(const EcmaVM *vm, Local<JSValueRef> key) in Get()
2543 void MapRef::Set(const EcmaVM *vm, Local<JSValueRef> key, Local<JSValueRef> value) in Set()
2551 Local<MapRef> MapRef::New(const EcmaVM *vm) in New()
2581 Local<JSValueRef> MapRef::GetKey(const EcmaVM *vm, int entry) in GetKey()
2590 Local<JSValueRef> MapRef::GetValue(const EcmaVM *vm, int entry) in GetValue()
2614 Local<JSValueRef> WeakMapRef::GetKey(const EcmaVM *vm, int entry) in GetKey()
2624 Local<JSValueRef> WeakMapRef::GetValue(const EcmaVM *vm, int entry) in GetValue()
2648 Local<JSValueRef> SetRef::GetValue(const EcmaVM *vm, int entry) in GetValue()
2672 Local<JSValueRef> WeakSetRef::GetValue(const EcmaVM *vm, int entry) in GetValue()
2689 Local<JSValueRef> MapIteratorRef::GetKind(const EcmaVM *vm) in GetKind()
2719 Local<JSValueRef> SetIteratorRef::GetKind(const EcmaVM *vm) 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()
2861 JSExecutionScope::JSExecutionScope([[maybe_unused]] const EcmaVM *vm) in JSExecutionScope()
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()
2907 Local<StringRef> JSValueRef::ToString(const EcmaVM *vm) in ToString()
2920 Local<NativePointerRef> JSValueRef::ToNativePointer(const EcmaVM *vm) in ToNativePointer()
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()
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()
3087 bool JSValueRef::IsArray(const EcmaVM *vm) in IsArray()
3094 bool JSValueRef::IsJSArray(const EcmaVM *vm) in IsJSArray()
3493 PatchErrorCode JSNApi::LoadPatch(EcmaVM *vm, const std::string &patchFileName, const std::string &b… in LoadPatch()
3501 PatchErrorCode JSNApi::LoadPatch(EcmaVM *vm, in LoadPatch()
3512 PatchErrorCode JSNApi::UnloadPatch(EcmaVM *vm, const std::string &patchFileName) in UnloadPatch()
3523 bool JSNApi::IsQuickFixCausedException(EcmaVM *vm, Local<ObjectRef> exception, const std::string &p… in IsQuickFixCausedException()
3537 void JSNApi::RegisterQuickFixQueryFunc(EcmaVM *vm, std::function<bool(std::string baseFileName, in RegisterQuickFixQueryFunc()
3547 bool JSNApi::IsBundle(EcmaVM *vm) in IsBundle()
3552 void JSNApi::SetBundle(EcmaVM *vm, bool value) in SetBundle()
3558 void JSNApi::SetAssetPath(EcmaVM *vm, const std::string &assetPath) in SetAssetPath()
3564 void JSNApi::SetLoop(EcmaVM *vm, void *loop) in SetLoop()
3569 std::string JSNApi::GetAssetPath(EcmaVM *vm) in GetAssetPath()
3574 bool JSNApi::InitForConcurrentThread(EcmaVM *vm, ConcurrentCallback cb, void *data) in InitForConcurrentThread()
3581 bool JSNApi::InitForConcurrentFunction(EcmaVM *vm, Local<JSValueRef> function, void *taskInfo) in InitForConcurrentFunction()
3638 void* JSNApi::GetCurrentTaskInfo(const EcmaVM *vm) in GetCurrentTaskInfo()
3667 void JSNApi::SetBundleName(EcmaVM *vm, const std::string &bundleName) in SetBundleName()
3673 std::string JSNApi::GetBundleName(EcmaVM *vm) in GetBundleName()
3678 void JSNApi::SetModuleName(EcmaVM *vm, const std::string &moduleName) in SetModuleName()
3684 std::string JSNApi::GetModuleName(EcmaVM *vm) in GetModuleName()
3690 void JSNApi::AllowCrossThreadExecution(EcmaVM *vm) in AllowCrossThreadExecution()
3695 void JSNApi::SynchronizVMInfo(EcmaVM *vm, const EcmaVM *hostVM) in SynchronizVMInfo()