Home
last modified time | relevance | path

Searched refs:MethodIndex (Results 1 - 18 of 18) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/tests/
H A Djs_async_function_test.cpp45 factory->NewJSAsyncAwaitStatusFunction(MethodIndex::BUILTINS_PROMISE_HANDLER_ASYNC_AWAIT_FULFILLED); in HWTEST_F_L0()
50 factory->NewJSAsyncAwaitStatusFunction(MethodIndex::BUILTINS_PROMISE_HANDLER_ASYNC_AWAIT_REJECTED); in HWTEST_F_L0()
H A Ddump_test.cpp639 MethodIndex::BUILTINS_NUMBER_FORMAT_NUMBER_FORMAT_INTERNAL_FORMAT_NUMBER); in HWTEST_F_L0()
646 MethodIndex::BUILTINS_PROMISE_HANDLER_ASYNC_AWAIT_FULFILLED); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/
H A Djs_async_function.cpp60 MethodIndex::BUILTINS_PROMISE_HANDLER_ASYNC_AWAIT_FULFILLED); in AsyncFunctionAwait()
64 MethodIndex::BUILTINS_PROMISE_HANDLER_ASYNC_AWAIT_REJECTED); in AsyncFunctionAwait()
119 MethodIndex::BUILTINS_PROMISE_HANDLER_ASYNC_AWAIT_FULFILLED); in AsyncFunctionAwait()
123 MethodIndex::BUILTINS_PROMISE_HANDLER_ASYNC_AWAIT_REJECTED); in AsyncFunctionAwait()
H A Djs_promise.cpp36 MethodIndex::BUILTINS_PROMISE_HANDLER_RESOLVE); in CreateResolvingFunctions()
43 MethodIndex::BUILTINS_PROMISE_HANDLER_REJECT); in CreateResolvingFunctions()
H A Decma_vm.cpp725 size_t length = static_cast<size_t>(MethodIndex::METHOD_END); in GenerateInternalNativeMethods()
736 CacheToGlobalConstants(GetMethodByIndex(MethodIndex::BUILTINS_GLOBAL_CALL_JS_BOUND_FUNCTION), in GenerateInternalNativeMethods()
738 CacheToGlobalConstants(GetMethodByIndex(MethodIndex::BUILTINS_GLOBAL_CALL_JS_PROXY), in GenerateInternalNativeMethods()
750 JSTaggedValue EcmaVM::GetMethodByIndex(MethodIndex idx) in GetMethodByIndex()
H A Decma_vm.h570 JSTaggedValue GetMethodByIndex(MethodIndex idx);
900 static void *InternalMethodTable[static_cast<uint8_t>(MethodIndex::METHOD_END)];
H A Dobject_factory.cpp2107 bundleFunction->SetMethod(thread_, vm_->GetMethodByIndex(MethodIndex::BUILTINS_GLOBAL_CALL_JS_BOUND_FUNCTION)); in NewJSBoundFunction()
2111 JSHandle<JSIntlBoundFunction> ObjectFactory::NewJSIntlBoundFunction(MethodIndex idx, int functionLength) in NewJSIntlBoundFunction()
2144 function->SetMethod(thread_, vm_->GetMethodByIndex(MethodIndex::BUILTINS_PROXY_INVALIDATE_PROXY_FUNCTION)); in NewJSProxyRevocFunction()
2154 JSHandle<JSAsyncAwaitStatusFunction> ObjectFactory::NewJSAsyncAwaitStatusFunction(MethodIndex idx) in NewJSAsyncAwaitStatusFunction()
2536 proxy->SetMethod(thread_, vm_->GetMethodByIndex(MethodIndex::BUILTINS_GLOBAL_CALL_JS_PROXY)); in NewJSProxy()
3562 JSHandle<JSPromiseReactionsFunction> ObjectFactory::CreateJSPromiseReactionsFunction(MethodIndex idx) in CreateJSPromiseReactionsFunction()
3588 thread_, vm_->GetMethodByIndex(MethodIndex::BUILTINS_PROMISE_HANDLER_EXECUTOR)); in CreateJSPromiseExecutorFunction()
3603 thread_, vm_->GetMethodByIndex(MethodIndex::BUILTINS_ASYNC_MODULE_FULFILLED_FUNCTION)); in CreateJSAsyncModuleFulfilledFunction()
3618 thread_, vm_->GetMethodByIndex(MethodIndex::BUILTINS_ASYNC_MODULE_REJECTED_FUNCTION)); in CreateJSAsyncModuleRejectedFunction()
3631 thread_, vm_->GetMethodByIndex(MethodIndex in NewJSPromiseAllResolveElementFunction()
[all...]
H A Dobject_factory.h190 enum class MethodIndex : uint8_t;
269 JSHandle<JSIntlBoundFunction> NewJSIntlBoundFunction(MethodIndex idx, int functionLength = 1);
273 JSHandle<JSAsyncAwaitStatusFunction> NewJSAsyncAwaitStatusFunction(MethodIndex idx);
463 JSHandle<JSPromiseReactionsFunction> CreateJSPromiseReactionsFunction(MethodIndex idx);
/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dbuiltins_method_index.h22 enum class MethodIndex : uint8_t { class
H A Dbuiltins_collator.cpp104 MethodIndex::BUILTINS_COLLATOR_ANONYMOUS_COLLATOR, FUNCTION_LENGTH_TWO); in Compare()
H A Dbuiltins_number_format.cpp128 MethodIndex::BUILTINS_NUMBER_FORMAT_NUMBER_FORMAT_INTERNAL_FORMAT_NUMBER); in Format()
H A Dbuiltins_date_time_format.cpp135 MethodIndex::BUILTINS_DATE_TIME_FORMAT_ANONYMOUS_DATE_TIME_FORMAT); in Format()
H A Dbuiltins_object.cpp1118 thread->GetEcmaVM()->GetMethodByIndex(MethodIndex::BUILTINS_OBJECT_CREATE_DATA_PROPERTY_ON_OBJECT_FUNCTIONS)); in FromEntries()
/arkcompiler/runtime_core/compiler/optimizer/ir/
H A Druntime_interface.h57 using MethodIndex = uint16_t;
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/
H A Druntime_interface.h67 using MethodIndex = uint16_t;
131 [[maybe_unused]] MethodIndex index) const in ResolveMethodIndex()
/arkcompiler/runtime_core/static_core/bytecode_optimizer/
H A Druntime_adapter.h45 MethodId ResolveMethodIndex(MethodPtr parentMethod, MethodIndex index) const override
/arkcompiler/runtime_core/static_core/runtime/
H A Dcompiler.h131 MethodId ResolveMethodIndex(MethodPtr parentMethod, MethodIndex index) const override;
H A Dcompiler.cpp65 MethodIndex index) const in ResolveMethodIndex()

Completed in 29 milliseconds