• Home
  • Raw
  • Download

Lines Matching defs:vm

250 void JSNApi::TriggerGC(const EcmaVM *vm,  TRIGGER_GC_TYPE gcType)  in TriggerGC()
269 void JSNApi::ThrowException(const EcmaVM *vm, Local<JSValueRef> error) in ThrowException()
277 bool JSNApi::StartDebugger(const char *libraryPath, EcmaVM *vm, bool isDebugMode, int32_t instanceI… in StartDebugger()
307 bool JSNApi::StopDebugger(EcmaVM *vm) in StopDebugger()
327 bool JSNApi::StartDebugger(EcmaVM *vm, bool isDebugMode, int32_t instanceId, const DebuggerPostTask… in StartDebugger()
336 bool JSNApi::StopDebugger(EcmaVM *vm) in StopDebugger()
348 bool JSNApi::IsMixedDebugEnabled(const EcmaVM *vm) in IsMixedDebugEnabled()
353 void JSNApi::NotifyNativeCalling(const EcmaVM *vm, const void *nativeAddress) in NotifyNativeCalling()
359 void JSNApi::LoadAotFile(EcmaVM *vm, const std::string &hapPath) in LoadAotFile()
370 bool JSNApi::Execute(EcmaVM *vm, const std::string &fileName, const std::string &entry, bool needUp… in Execute()
382 bool JSNApi::Execute(EcmaVM *vm, const uint8_t *data, int32_t size, const std::string &entry, in Execute()
396 bool JSNApi::ExecuteModuleBuffer(EcmaVM *vm, const uint8_t *data, int32_t size, const std::string &… in ExecuteModuleBuffer()
408 void JSNApi::PreFork(EcmaVM *vm) in PreFork()
413 void JSNApi::PostFork(EcmaVM *vm, const RuntimeOption &option) in PostFork()
445 Local<ObjectRef> JSNApi::GetUncaughtException(const EcmaVM *vm) in GetUncaughtException()
450 Local<ObjectRef> JSNApi::GetAndClearUncaughtException(const EcmaVM *vm) in GetAndClearUncaughtException()
455 bool JSNApi::HasPendingException(const EcmaVM *vm) in HasPendingException()
460 void JSNApi::EnableUserUncaughtErrorHandler(EcmaVM *vm) in EnableUserUncaughtErrorHandler()
465 Local<ObjectRef> JSNApi::GetGlobalObject(const EcmaVM *vm) in GetGlobalObject()
472 void JSNApi::ExecutePendingJob(const EcmaVM *vm) in ExecutePendingJob()
477 uintptr_t JSNApi::GetHandleAddr(const EcmaVM *vm, uintptr_t localAddress) in GetHandleAddr()
486 uintptr_t JSNApi::GetGlobalHandleAddr(const EcmaVM *vm, uintptr_t localAddress) in GetGlobalHandleAddr()
495 uintptr_t JSNApi::SetWeak(const EcmaVM *vm, uintptr_t localAddress) in SetWeak()
503 uintptr_t JSNApi::SetWeakCallback(const EcmaVM *vm, uintptr_t localAddress, void *ref, in SetWeakCallback()
512 uintptr_t JSNApi::ClearWeak(const EcmaVM *vm, uintptr_t localAddress) in ClearWeak()
525 bool JSNApi::IsWeak(const EcmaVM *vm, uintptr_t localAddress) in IsWeak()
533 void JSNApi::DisposeGlobalHandleAddr(const EcmaVM *vm, uintptr_t addr) in DisposeGlobalHandleAddr()
541 void *JSNApi::SerializeValue(const EcmaVM *vm, Local<JSValueRef> value, Local<JSValueRef> transfer) in SerializeValue()
558 Local<JSValueRef> JSNApi::DeserializeValue(const EcmaVM *vm, void *recoder, void *hint) in DeserializeValue()
574 void HostPromiseRejectionTracker(const EcmaVM *vm, in HostPromiseRejectionTracker()
589 void JSNApi::SetHostPromiseRejectionTracker(EcmaVM *vm, void *cb, void* data) in SetHostPromiseRejectionTracker()
596 void JSNApi::SetHostResolveBufferTracker(EcmaVM *vm, in SetHostResolveBufferTracker()
602 void JSNApi::SetNativePtrGetter(EcmaVM *vm, void* cb) in SetNativePtrGetter()
607 void JSNApi::SetHostEnqueueJob(const EcmaVM *vm, Local<JSValueRef> cb) in SetHostEnqueueJob()
639 bool JSNApi::ExecuteModuleFromBuffer(EcmaVM *vm, const void *data, int32_t size, const std::string … in ExecuteModuleFromBuffer()
649 Local<ObjectRef> JSNApi::GetExportObject(EcmaVM *vm, const std::string &file, const std::string &ke… in GetExportObject()
682 Local<ObjectRef> JSNApi::GetExportObjectFromBuffer(EcmaVM *vm, const std::string &file, in GetExportObjectFromBuffer()
746 LocalScope::LocalScope(const EcmaVM *vm) : thread_(vm->GetJSThread()) in LocalScope()
755 LocalScope::LocalScope(const EcmaVM *vm, JSTaggedType value) : thread_(vm->GetJSThread()) in LocalScope()
777 EscapeLocalScope::EscapeLocalScope(const EcmaVM *vm) : LocalScope(vm, JSTaggedValue::Undefined().Ge… in EscapeLocalScope()
785 Local<JSValueRef> PrimitiveRef::GetValue(const EcmaVM *vm) in GetValue()
797 Local<NumberRef> NumberRef::New(const EcmaVM *vm, double input) in New()
807 Local<NumberRef> NumberRef::New(const EcmaVM *vm, int32_t input) in New()
814 Local<NumberRef> NumberRef::New(const EcmaVM *vm, uint32_t input) in New()
821 Local<NumberRef> NumberRef::New(const EcmaVM *vm, int64_t input) in New()
834 Local<BigIntRef> BigIntRef::New(const EcmaVM *vm, uint64_t input) in New()
842 Local<BigIntRef> BigIntRef::New(const EcmaVM *vm, int64_t input) in New()
850 Local<JSValueRef> BigIntRef::CreateBigWords(const EcmaVM *vm, bool sign, uint32_t size, const uint6… in CreateBigWords()
858 void BigIntRef::BigIntToInt64(const EcmaVM *vm, int64_t *cValue, bool *lossless) in BigIntToInt64()
865 void BigIntRef::BigIntToUint64(const EcmaVM *vm, uint64_t *cValue, bool *lossless) in BigIntToUint64()
899 Local<BooleanRef> BooleanRef::New(const EcmaVM *vm, bool input) in New()
912 Local<IntegerRef> IntegerRef::New(const EcmaVM *vm, int input) in New()
919 Local<IntegerRef> IntegerRef::NewFromUnsigned(const EcmaVM *vm, unsigned int input) in NewFromUnsigned()
932 Local<StringRef> StringRef::NewFromUtf8(const EcmaVM *vm, const char *utf8, int length) in NewFromUtf8()
964 Local<StringRef> StringRef::GetNapiWrapperString(const EcmaVM *vm) in GetNapiWrapperString()
971 Local<SymbolRef> SymbolRef::New(const EcmaVM *vm, Local<StringRef> description) in New()
980 Local<StringRef> SymbolRef::GetDescription(const EcmaVM *vm) in GetDescription()
992 Local<NativePointerRef> NativePointerRef::New(const EcmaVM *vm, void *nativePointer, size_t nativeB… in New()
1001const EcmaVM *vm, void *nativePointer, NativePointerCallback callBack, void *data, size_t nativeBi… in New()
1016 Local<ObjectRef> ObjectRef::New(const EcmaVM *vm) in New()
1025 Local<ObjectRef> ObjectRef::New(const EcmaVM *vm, void *detach, void *attach) in New()
1041 bool ObjectRef::Set(const EcmaVM *vm, void *detach, void *attach) in Set()
1056 bool ObjectRef::Set(const EcmaVM *vm, Local<JSValueRef> key, Local<JSValueRef> value) in Set()
1067 bool ObjectRef::Set(const EcmaVM *vm, uint32_t key, Local<JSValueRef> value) in Set()
1074 bool ObjectRef::SetAccessorProperty(const EcmaVM *vm, Local<JSValueRef> key, Local<FunctionRef> get… in SetAccessorProperty()
1092 Local<JSValueRef> ObjectRef::Get(const EcmaVM *vm, Local<JSValueRef> key) in Get()
1106 Local<JSValueRef> ObjectRef::Get(const EcmaVM *vm, int32_t key) in Get()
1112 bool ObjectRef::GetOwnProperty(const EcmaVM *vm, Local<JSValueRef> key, PropertyAttribute &property) in GetOwnProperty()
1142 Local<ArrayRef> ObjectRef::GetOwnPropertyNames(const EcmaVM *vm) in GetOwnPropertyNames()
1152 Local<ArrayRef> ObjectRef::GetOwnEnumerablePropertyNames(const EcmaVM *vm) in GetOwnEnumerablePropertyNames()
1162 Local<JSValueRef> ObjectRef::GetPrototype(const EcmaVM *vm) in GetPrototype()
1171 bool ObjectRef::DefineProperty(const EcmaVM *vm, Local<JSValueRef> key, PropertyAttribute attribute) in DefineProperty()
1183 bool ObjectRef::Has(const EcmaVM *vm, Local<JSValueRef> key) in Has()
1193 bool ObjectRef::Has(const EcmaVM *vm, uint32_t key) in Has()
1202 bool ObjectRef::Delete(const EcmaVM *vm, Local<JSValueRef> key) in Delete()
1212 bool ObjectRef::Delete(const EcmaVM *vm, uint32_t key) in Delete()
1248 Local<FunctionRef> FunctionRef::New(EcmaVM *vm, FunctionCallback nativeFunc, in New()
1260 Local<FunctionRef> FunctionRef::NewClassFunction(EcmaVM *vm, FunctionCallback nativeFunc, in NewClassFunction()
1291 Local<JSValueRef> FunctionRef::Call(const EcmaVM *vm, Local<JSValueRef> thisObj, in Call()
1322 Local<JSValueRef> FunctionRef::Constructor(const EcmaVM *vm, in Constructor()
1347 Local<JSValueRef> FunctionRef::GetFunctionPrototype(const EcmaVM *vm) in GetFunctionPrototype()
1355 bool FunctionRef::Inherit(const EcmaVM *vm, Local<FunctionRef> parent) in Inherit()
1373 void FunctionRef::SetName(const EcmaVM *vm, Local<StringRef> name) in SetName()
1382 Local<StringRef> FunctionRef::GetName(const EcmaVM *vm) in GetName()
1392 Local<StringRef> FunctionRef::GetSourceCode(const EcmaVM *vm, int lineNumber) in GetSourceCode()
1428 bool FunctionRef::IsNative(const EcmaVM *vm) in IsNative()
1437 Local<ArrayRef> ArrayRef::New(const EcmaVM *vm, uint32_t length) in New()
1446 int32_t ArrayRef::Length([[maybe_unused]] const EcmaVM *vm) in Length()
1452 Local<JSValueRef> ArrayRef::GetValueAt(const EcmaVM *vm, Local<JSValueRef> obj, uint32_t index) in GetValueAt()
1460 bool ArrayRef::SetValueAt(const EcmaVM *vm, Local<JSValueRef> obj, uint32_t index, Local<JSValueRef… in SetValueAt()
1468 Local<PromiseCapabilityRef> PromiseCapabilityRef::New(const EcmaVM *vm) in New()
1477 Local<PromiseRef> PromiseCapabilityRef::GetPromise(const EcmaVM *vm) in GetPromise()
1484 bool PromiseCapabilityRef::Resolve(const EcmaVM *vm, Local<JSValueRef> value) in Resolve()
1506 bool PromiseCapabilityRef::Reject(const EcmaVM *vm, Local<JSValueRef> reason) in Reject()
1529 Local<PromiseRef> PromiseRef::Catch(const EcmaVM *vm, Local<FunctionRef> handler) in Catch()
1548 Local<PromiseRef> PromiseRef::Finally(const EcmaVM *vm, Local<FunctionRef> handler) in Finally()
1567 Local<PromiseRef> PromiseRef::Then(const EcmaVM *vm, Local<FunctionRef> handler) in Then()
1586 Local<PromiseRef> PromiseRef::Then(const EcmaVM *vm, Local<FunctionRef> onFulfilled, Local<Function… in Then()
1608 Local<ArrayBufferRef> ArrayBufferRef::New(const EcmaVM *vm, int32_t length) in New()
1616 const EcmaVM *vm, void *buffer, int32_t length, const Deleter &deleter, void *data) in New()
1624 int32_t ArrayBufferRef::ByteLength([[maybe_unused]] const EcmaVM *vm) in ByteLength()
1643 const EcmaVM *vm, Local<ArrayBufferRef> arrayBuffer, uint32_t byteOffset, uint32_t byteLength) in New()
1666 Local<ArrayBufferRef> DataViewRef::GetArrayBuffer(const EcmaVM *vm) in GetArrayBuffer()
1676 uint32_t TypedArrayRef::ByteLength([[maybe_unused]] const EcmaVM *vm) in ByteLength()
1682 uint32_t TypedArrayRef::ByteOffset([[maybe_unused]] const EcmaVM *vm) in ByteOffset()
1688 uint32_t TypedArrayRef::ArrayLength([[maybe_unused]] const EcmaVM *vm) in ArrayLength()
1694 Local<ArrayBufferRef> TypedArrayRef::GetArrayBuffer(const EcmaVM *vm) in GetArrayBuffer()
1767 Local<JSValueRef> JSON::Stringify(const EcmaVM *vm, Local<JSValueRef> json) in Stringify()
1778 Local<StringRef> RegExpRef::GetOriginalSource(const EcmaVM *vm) in GetOriginalSource()
1819 Local<JSValueRef> RegExpRef::IsGlobal(const EcmaVM *vm) in IsGlobal()
1828 Local<JSValueRef> RegExpRef::IsIgnoreCase(const EcmaVM *vm) in IsIgnoreCase()
1837 Local<JSValueRef> RegExpRef::IsMultiline(const EcmaVM *vm) in IsMultiline()
1846 Local<JSValueRef> RegExpRef::IsDotAll(const EcmaVM *vm) in IsDotAll()
1855 Local<JSValueRef> RegExpRef::IsUtf16(const EcmaVM *vm) in IsUtf16()
1864 Local<JSValueRef> RegExpRef::IsStick(const EcmaVM *vm) in IsStick()
1873 Local<DateRef> DateRef::New(const EcmaVM *vm, double time) in New()
1884 Local<StringRef> DateRef::ToString(const EcmaVM *vm) in ToString()
1906 Local<JSValueRef> MapRef::Get(const EcmaVM *vm, Local<JSValueRef> key) in Get()
1913 void MapRef::Set(const EcmaVM *vm, Local<JSValueRef> key, Local<JSValueRef> value) in Set()
1919 Local<MapRef> MapRef::New(const EcmaVM *vm) in New()
1945 Local<JSValueRef> MapRef::GetKey(const EcmaVM *vm, int entry) in GetKey()
1952 Local<JSValueRef> MapRef::GetValue(const EcmaVM *vm, int entry) in GetValue()
1971 Local<JSValueRef> SetRef::GetValue(const EcmaVM *vm, int entry) in GetValue()
1984 Local<JSValueRef> MapIteratorRef::GetKind(const EcmaVM *vm) in GetKind()
2011 Local<JSValueRef> SetIteratorRef::GetKind(const EcmaVM *vm) in GetKind()
2037 Local<JSValueRef> GeneratorObjectRef::GetGeneratorState(const EcmaVM *vm) in GetGeneratorState()
2046 Local<JSValueRef> GeneratorObjectRef::GetGeneratorFunction(const EcmaVM *vm) in GetGeneratorFunction()
2055 Local<JSValueRef> GeneratorObjectRef::GetGeneratorReceiver(const EcmaVM *vm) in GetGeneratorReceiver()
2064 Local<JSValueRef> CollatorRef::GetCompareFunction(const EcmaVM *vm) in GetCompareFunction()
2072 Local<JSValueRef> DataTimeFormatRef::GetFormatFunction(const EcmaVM *vm) in GetFormatFunction()
2080 Local<JSValueRef> NumberFormatRef::GetFormatFunction(const EcmaVM *vm) in GetFormatFunction()
2123 JSExecutionScope::JSExecutionScope(const EcmaVM *vm) in JSExecutionScope()
2135 Local<PrimitiveRef> JSValueRef::Undefined(const EcmaVM *vm) in Undefined()
2142 Local<PrimitiveRef> JSValueRef::Null(const EcmaVM *vm) in Null()
2147 Local<PrimitiveRef> JSValueRef::True(const EcmaVM *vm) in True()
2152 Local<PrimitiveRef> JSValueRef::False(const EcmaVM *vm) in False()
2157 Local<ObjectRef> JSValueRef::ToObject(const EcmaVM *vm) in ToObject()
2168 Local<StringRef> JSValueRef::ToString(const EcmaVM *vm) in ToString()
2179 Local<NativePointerRef> JSValueRef::ToNativePointer(const EcmaVM *vm) in ToNativePointer()
2192 int64_t JSValueRef::IntegerValue(const EcmaVM *vm) in IntegerValue()
2208 uint32_t JSValueRef::Uint32Value(const EcmaVM *vm) in Uint32Value()
2216 int32_t JSValueRef::Int32Value(const EcmaVM *vm) in Int32Value()
2224 Local<BooleanRef> JSValueRef::ToBoolean(const EcmaVM *vm) in ToBoolean()
2232 Local<NumberRef> JSValueRef::ToNumber(const EcmaVM *vm) in ToNumber()
2241 bool JSValueRef::IsStrictEquals(const EcmaVM *vm, Local<JSValueRef> value) in IsStrictEquals()
2249 Local<StringRef> JSValueRef::Typeof(const EcmaVM *vm) in Typeof()
2256 bool JSValueRef::InstanceOf(const EcmaVM *vm, Local<JSValueRef> value) in InstanceOf()
2331 bool JSValueRef::IsArray(const EcmaVM *vm) in IsArray()
2637 bool JSNApi::LoadPatch(EcmaVM *vm, const std::string &patchFileName, const std::string &baseFileNam… in LoadPatch()
2644 bool JSNApi::LoadPatch(EcmaVM *vm, const std::string &patchFileName, const void *patchBuffer, size_… in LoadPatch()
2652 bool JSNApi::UnloadPatch(EcmaVM *vm, const std::string &patchFileName) in UnloadPatch()
2662 bool JSNApi::IsQuickFixCausedException(EcmaVM *vm, Local<ObjectRef> exception, const std::string &p… in IsQuickFixCausedException()
2676 void JSNApi::RegisterQuickFixQueryFunc(EcmaVM *vm, QuickFixQueryCallBack callBack) in RegisterQuickFixQueryFunc()
2682 bool JSNApi::IsBundle(EcmaVM *vm) in IsBundle()
2687 void JSNApi::SetBundle(EcmaVM *vm, bool value) in SetBundle()
2693 void JSNApi::SetAssetPath(EcmaVM *vm, const std::string &assetPath) in SetAssetPath()
2699 std::string JSNApi::GetAssetPath(EcmaVM *vm) in GetAssetPath()
2704 void JSNApi::SetBundleName(EcmaVM *vm, std::string bundleName) in SetBundleName()
2710 std::string JSNApi::GetBundleName(EcmaVM *vm) in GetBundleName()
2715 void JSNApi::SetModuleName(EcmaVM *vm, std::string moduleName) in SetModuleName()
2721 std::string JSNApi::GetModuleName(EcmaVM *vm) in GetModuleName()
2726 void JSNApi::SetLoop(EcmaVM *vm, void *loop) in SetLoop()
2731 bool JSNApi::InitForConcurrentThread(EcmaVM *vm, ConcurrentCallback cb, void *data) in InitForConcurrentThread()
2738 bool JSNApi::InitForConcurrentFunction(EcmaVM *vm, Local<JSValueRef> function) in InitForConcurrentFunction()