Home
last modified time | relevance | path

Searched refs:runtimeInfo (Results 1 - 13 of 13) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/ohos/tests/
H A Dcrash_test.cpp59 ohos::AotRuntimeInfo *runtimeInfo = new MockAotRuntimeInfo(); in HWTEST_F_L0() local
60 runtimeInfo->GetRuntimeBuildId(soBuildId, NAME_MAX); in HWTEST_F_L0()
68 ohos::AotRuntimeInfo *runtimeInfo = new MockAotRuntimeInfo(); in HWTEST_F_L0() local
69 runtimeInfo->GetMicrosecondsTimeStamp(timestamp, ohos::AotRuntimeInfo::TIME_STAMP_SIZE); in HWTEST_F_L0()
78 ohos::AotRuntimeInfo *runtimeInfo = new MockAotRuntimeInfo(); in HWTEST_F_L0() local
79 runtimeInfo->GetMicrosecondsTimeStamp(timestamp, ohos::AotRuntimeInfo::TIME_STAMP_SIZE); in HWTEST_F_L0()
80 runtimeInfo->GetRuntimeBuildId(soBuildId, NAME_MAX); in HWTEST_F_L0()
85 runtimeInfo->GetCrashSandBoxRealPath(sanboxRealPath, NAME_MAX); in HWTEST_F_L0()
87 runtimeInfo->BuildCrashRuntimeInfo(ecmascript::ohos::RuntimeInfoType::AOT_CRASH); in HWTEST_F_L0()
88 runtimeInfo in HWTEST_F_L0()
109 ohos::AotRuntimeInfo *runtimeInfo = new MockAotRuntimeInfo(); HWTEST_F_L0() local
139 ohos::AotRuntimeInfo *runtimeInfo = new MockAotRuntimeInfo(true); HWTEST_F_L0() local
[all...]
/arkcompiler/ets_runtime/ecmascript/js_vm/
H A Dmain.cpp75 Local<JSValueRef> AssertEqual(JsiRuntimeCallInfo *runtimeInfo) in AssertEqual() argument
77 EcmaVM *vm = runtimeInfo->GetVM(); in AssertEqual()
79 uint32_t argsCount = runtimeInfo->GetArgsNumber(); in AssertEqual()
87 Local<JSValueRef> jsArg0 = runtimeInfo->GetCallArgRef(0); in AssertEqual()
88 Local<JSValueRef> jsArg1 = runtimeInfo->GetCallArgRef(1); in AssertEqual()
100 Local<JSValueRef> AssertTrue(JsiRuntimeCallInfo *runtimeInfo) in AssertTrue() argument
102 EcmaVM *vm = runtimeInfo->GetVM(); in AssertTrue()
104 uint32_t argsCount = runtimeInfo->GetArgsNumber(); in AssertTrue()
112 Local<JSValueRef> jsArg0 = runtimeInfo->GetCallArgRef(0); in AssertTrue()
124 Local<JSValueRef> AssertUnreachable(JsiRuntimeCallInfo *runtimeInfo) in AssertUnreachable() argument
[all...]
/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dbuiltins_promise_job.cpp52 EcmaRuntimeCallInfo *runtimeInfo = in PromiseReactionJob() local
59 runtimeInfo->SetCallArg(argument.GetTaggedValue()); in PromiseReactionJob()
62 runtimeInfo->SetFunction(capability->GetReject()); in PromiseReactionJob()
76 runtimeInfo->SetCallArg(throwValue.GetTaggedValue()); in PromiseReactionJob()
78 runtimeInfo->SetFunction(capability->GetReject()); in PromiseReactionJob()
80 runtimeInfo->SetCallArg(taggedValue); in PromiseReactionJob()
84 return JSFunction::Call(runtimeInfo); in PromiseReactionJob()
116 EcmaRuntimeCallInfo *runtimeInfo = in PromiseResolveThenableJob() local
119 runtimeInfo->SetCallArg(thenResult.GetTaggedValue()); in PromiseResolveThenableJob()
120 return JSFunction::Call(runtimeInfo); in PromiseResolveThenableJob()
262 EcmaRuntimeCallInfo *runtimeInfo = CatchException() local
[all...]
H A Dbuiltins_promise.cpp78 EcmaRuntimeCallInfo *runtimeInfo = in PromiseConstructor() local
81 runtimeInfo->SetCallArg(completionValue.GetTaggedValue()); in PromiseConstructor()
82 JSFunction::Call(runtimeInfo); in PromiseConstructor()
543 EcmaRuntimeCallInfo *runtimeInfo = in PerformPromiseAll() local
547 runtimeInfo->SetCallArg(resoleveElement.GetTaggedValue(), capa->GetReject()); in PerformPromiseAll()
548 JSTaggedValue taggedResult = JSFunction::Invoke(runtimeInfo, thenKey); in PerformPromiseAll()
617 EcmaRuntimeCallInfo *runtimeInfo = in PerformPromiseRace() local
620 runtimeInfo->SetCallArg(capability->GetResolve(), capability->GetReject()); in PerformPromiseRace()
621 result = JSFunction::Invoke(runtimeInfo, thenStr); in PerformPromiseRace()
H A Dbuiltins_regexp.cpp791 EcmaRuntimeCallInfo *runtimeInfo = in RegExpMatchAll() local
794 runtimeInfo->SetCallArg(regexp.GetTaggedValue(), flagsStrHandle.GetTaggedValue()); in RegExpMatchAll()
795 JSTaggedValue taggedMatcher = JSFunction::Construct(runtimeInfo); in RegExpMatchAll()
1488 EcmaRuntimeCallInfo *runtimeInfo = in RegExpSplit() local
1491 runtimeInfo->SetCallArg(regexp.GetTaggedValue(), newFlagsHandle.GetTaggedValue()); in RegExpSplit()
1492 JSTaggedValue taggedSplitter = JSFunction::Construct(runtimeInfo); in RegExpSplit()
/arkcompiler/ets_runtime/ecmascript/napi/test/
H A Djsnapi_sample.cpp786 Local<FunctionRef> FuncTest = FunctionRef::New(vm_, [](JsiRuntimeCallInfo *runtimeInfo) -> Local<JSValueRef> { in HWTEST_F_L0()
787 EcmaVM *vm = runtimeInfo->GetVM(); in HWTEST_F_L0()
807 Local<FunctionRef> Add = FunctionRef::New(vm_, [](JsiRuntimeCallInfo *runtimeInfo) -> Local<JSValueRef> { in HWTEST_F_L0()
808 EcmaVM *vm = runtimeInfo->GetVM(); in HWTEST_F_L0()
811 uint32_t argsCount = runtimeInfo->GetArgsNumber(); in HWTEST_F_L0()
814 Local<JSValueRef> arg = runtimeInfo->GetCallArgRef(i); in HWTEST_F_L0()
818 Local<JSValueRef> jsArg0 = runtimeInfo->GetCallArgRef(0); in HWTEST_F_L0()
819 Local<JSValueRef> jsArg1 = runtimeInfo->GetCallArgRef(1); in HWTEST_F_L0()
838 Local<JSValueRef> AddFunc(JsiRuntimeCallInfo *runtimeInfo) in AddFunc() argument
840 EcmaVM *vm = runtimeInfo in AddFunc()
859 AddProxyFunc(JsiRuntimeCallInfo *runtimeInfo) AddProxyFunc() argument
[all...]
H A Djsnapi_sendable_tests.cpp417 [](JsiRuntimeCallInfo *runtimeInfo) -> JSValueRef { in HWTEST_F_L0()
418 EcmaVM *vm = runtimeInfo->GetVM(); in HWTEST_F_L0()
435 [](JsiRuntimeCallInfo *runtimeInfo) -> JSValueRef { in HWTEST_F_L0()
436 EcmaVM *vm = runtimeInfo->GetVM(); in HWTEST_F_L0()
H A Djsnapi_third_tests.cpp1203 [](JsiRuntimeCallInfo *runtimeInfo) -> Local<JSValueRef> { in HWTEST_F_L0()
1204 EcmaVM *vm = runtimeInfo->GetVM(); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/
H A Djs_proxy.cpp954 EcmaRuntimeCallInfo *runtimeInfo = in CallInternal() local
957 runtimeInfo->SetCallArg(argc, 0, info, 0); in CallInternal()
958 return JSFunction::Call(runtimeInfo); in CallInternal()
970 EcmaRuntimeCallInfo *runtimeInfo = in CallInternal() local
973 runtimeInfo->SetCallArg(target.GetTaggedValue(), thisArg.GetTaggedValue(), arrHandle.GetTaggedValue()); in CallInternal()
974 return JSFunction::Call(runtimeInfo); in CallInternal()
1036 EcmaRuntimeCallInfo *runtimeInfo = in ConstructInternal() local
1039 runtimeInfo->SetCallArg(target.GetTaggedValue(), arrHandle.GetTaggedValue(), newTarget.GetTaggedValue()); in ConstructInternal()
1040 JSTaggedValue newObj = JSFunction::Call(runtimeInfo); in ConstructInternal()
H A Djs_function.cpp765 EcmaRuntimeCallInfo *runtimeInfo = in ConstructInternal() local
769 runtimeInfo->SetCallArg(boundLength, boundArgs); in ConstructInternal()
772 runtimeInfo->SetCallArg(static_cast<uint32_t>(index + boundLength), JSTaggedValue(argArray[index])); in ConstructInternal()
774 return JSFunction::Construct(runtimeInfo); in ConstructInternal()
/arkcompiler/runtime_core/static_core/compiler/tests/
H A Dvixl_exec_module.h74 VixlExecModule(ark::ArenaAllocator *allocator, RuntimeInterface *runtimeInfo) in VixlExecModule() argument
77 runtimeInfo_(runtimeInfo), in VixlExecModule()
/arkcompiler/ets_runtime/ecmascript/tests/
H A Djs_proxy_test.cpp534 EcmaRuntimeCallInfo *runtimeInfo = in HWTEST_F_L0() local
537 JSTaggedValue res2 = JSProxy::CallInternal(runtimeInfo); in HWTEST_F_L0()
597 EcmaRuntimeCallInfo *runtimeInfo = in HWTEST_F_L0() local
599 JSTaggedValue res2 = JSProxy::ConstructInternal(runtimeInfo); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/stubs/
H A Druntime_stubs.cpp3567 EcmaRuntimeCallInfo *runtimeInfo = EcmaInterpreter::NewRuntimeCallInfo(thread, in CallBoundFunction() local
3572 runtimeInfo->SetCallArg(argsLength, 0, info, 0); in CallBoundFunction()
3575 runtimeInfo->SetCallArg(boundLength, boundArgs); in CallBoundFunction()
3576 runtimeInfo->SetCallArg(argsLength, boundLength, info, 0); in CallBoundFunction()
3578 return EcmaInterpreter::Execute(runtimeInfo); in CallBoundFunction()

Completed in 30 milliseconds