Searched refs:MethodIndex (Results 1 - 18 of 18) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | js_async_function_test.cpp | 45 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 D | dump_test.cpp | 639 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 D | js_async_function.cpp | 60 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 D | js_promise.cpp | 36 MethodIndex::BUILTINS_PROMISE_HANDLER_RESOLVE); in CreateResolvingFunctions() 43 MethodIndex::BUILTINS_PROMISE_HANDLER_REJECT); in CreateResolvingFunctions()
|
H A D | ecma_vm.cpp | 725 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 D | ecma_vm.h | 570 JSTaggedValue GetMethodByIndex(MethodIndex idx); 900 static void *InternalMethodTable[static_cast<uint8_t>(MethodIndex::METHOD_END)];
|
H A D | object_factory.cpp | 2107 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 D | object_factory.h | 190 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 D | builtins_method_index.h | 22 enum class MethodIndex : uint8_t { class
|
H A D | builtins_collator.cpp | 104 MethodIndex::BUILTINS_COLLATOR_ANONYMOUS_COLLATOR, FUNCTION_LENGTH_TWO); in Compare()
|
H A D | builtins_number_format.cpp | 128 MethodIndex::BUILTINS_NUMBER_FORMAT_NUMBER_FORMAT_INTERNAL_FORMAT_NUMBER); in Format()
|
H A D | builtins_date_time_format.cpp | 135 MethodIndex::BUILTINS_DATE_TIME_FORMAT_ANONYMOUS_DATE_TIME_FORMAT); in Format()
|
H A D | builtins_object.cpp | 1118 thread->GetEcmaVM()->GetMethodByIndex(MethodIndex::BUILTINS_OBJECT_CREATE_DATA_PROPERTY_ON_OBJECT_FUNCTIONS)); in FromEntries()
|
/arkcompiler/runtime_core/compiler/optimizer/ir/ |
H A D | runtime_interface.h | 57 using MethodIndex = uint16_t;
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/ |
H A D | runtime_interface.h | 67 using MethodIndex = uint16_t; 131 [[maybe_unused]] MethodIndex index) const in ResolveMethodIndex()
|
/arkcompiler/runtime_core/static_core/bytecode_optimizer/ |
H A D | runtime_adapter.h | 45 MethodId ResolveMethodIndex(MethodPtr parentMethod, MethodIndex index) const override
|
/arkcompiler/runtime_core/static_core/runtime/ |
H A D | compiler.h | 131 MethodId ResolveMethodIndex(MethodPtr parentMethod, MethodIndex index) const override;
|
H A D | compiler.cpp | 65 MethodIndex index) const in ResolveMethodIndex()
|
Completed in 29 milliseconds