/arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
D | containers_stub_builder.cpp | 45 GateRef callbackFnHandle; in ContainersCommonFuncCall() local 73 callbackFnHandle = GetCallArg0(numArgs); in ContainersCommonFuncCall() 74 Branch(TaggedIsHeapObject(callbackFnHandle), &isHeapObj, slowPath); in ContainersCommonFuncCall() 76 Branch(IsCallable(callbackFnHandle), &isCall, ¬Call); in ContainersCommonFuncCall() 109 … GateRef retValue = JSCallDispatch(glue, callbackFnHandle, Int32(NUM_MANDATORY_JSFUNC_ARGS), 0, in ContainersCommonFuncCall() 163 GateRef callbackFnHandle; in QueueCommonFuncCall() local 191 callbackFnHandle = GetCallArg0(numArgs); in QueueCommonFuncCall() 192 Branch(TaggedIsHeapObject(callbackFnHandle), &isHeapObj, slowPath); in QueueCommonFuncCall() 194 Branch(IsCallable(callbackFnHandle), &isCall, ¬Call); in QueueCommonFuncCall() 224 … GateRef retValue = JSCallDispatch(glue, callbackFnHandle, Int32(NUM_MANDATORY_JSFUNC_ARGS), 0, in QueueCommonFuncCall() [all …]
|
/arkcompiler/ets_runtime/ecmascript/ |
D | js_stable_array.h | 35 JSHandle<JSTaggedValue> callbackFnHandle, 38 JSHandle<JSTaggedValue> callbackFnHandle, 41 JSHandle<JSTaggedValue> callbackFnHandle, 44 JSHandle<JSTaggedValue> callbackFnHandle, 66 JSHandle<JSTaggedValue> callbackFnHandle,
|
D | js_stable_array.cpp | 310 JSHandle<JSTaggedValue> callbackFnHandle, in HandleFindIndexOfStable() argument 325 …EcmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, thisArgHandle, undefined, argsLength… in HandleFindIndexOfStable() 348 JSHandle<JSTaggedValue> callbackFnHandle, in HandleFindLastIndexOfStable() argument 362 …EcmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, thisArgHandle, undefined, argsLength… in HandleFindLastIndexOfStable() 382 JSHandle<JSTaggedValue> callbackFnHandle, in HandleEveryOfStable() argument 398 …EcmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, thisArgHandle, undefined, argsLength… in HandleEveryOfStable() 410 …EcmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, thisArgHandle, undefined, argsLength… in HandleEveryOfStable() 428 JSHandle<JSTaggedValue> callbackFnHandle, in HandleforEachOfStable() argument 448 …EcmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, thisArgHandle, undefined, argsLength… in HandleforEachOfStable() 461 …EcmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, thisArgHandle, undefined, argsLength… in HandleforEachOfStable() [all …]
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_array.cpp | 679 JSHandle<JSTaggedValue> callbackFnHandle = GetCallArg(argv, 0); in Every() local 680 if (!callbackFnHandle->IsCallable()) { in Every() 703 …callResult = JSStableArray::HandleEveryOfStable(thread, thisObjHandle, callbackFnHandle, thisArgHa… in Every() 719 …EcmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, thisArgHandle, undefined, argsLength… in Every() 856 JSHandle<JSTaggedValue> callbackFnHandle = GetCallArg(argv, 0); in Filter() local 857 if (!callbackFnHandle->IsCallable()) { in Filter() 905 …EcmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, thisArgHandle, undefined, argsLength… in Filter() 945 JSHandle<JSTaggedValue> callbackFnHandle = GetCallArg(argv, 0); in Find() local 946 if (!callbackFnHandle->IsCallable()) { in Find() 971 …EcmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, thisArgHandle, undefined, argsLength… in Find() [all …]
|
D | builtins_typedarray.cpp | 503 JSHandle<JSTaggedValue> callbackFnHandle = GetCallArg(argv, 0); in Every() local 504 if (!callbackFnHandle->IsCallable()) { in Every() 533 …EcmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, thisArgHandle, undefined, argsLength… in Every() 579 JSHandle<JSTaggedValue> callbackFnHandle = GetCallArg(argv, 0); in Filter() local 580 if (!callbackFnHandle->IsCallable()) { in Filter() 611 EcmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, thisArgHandle, in Filter() 691 JSHandle<JSTaggedValue> callbackFnHandle = GetCallArg(argv, 0); in ForEach() local 692 if (!callbackFnHandle->IsCallable()) { in ForEach() 719 …EcmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, thisArgHandle, undefined, argsLength… in ForEach() 1396 JSHandle<JSTaggedValue> callbackFnHandle = GetCallArg(argv, 0); in Sort() local [all …]
|
/arkcompiler/ets_runtime/ecmascript/containers/ |
D | containers_list.cpp | 312 JSHandle<JSTaggedValue> callbackFnHandle(GetCallArg(argv, 0)); in ForEach() local 313 if (!callbackFnHandle->IsCallable()) { in ForEach() 314 … JSHandle<EcmaString> result = JSTaggedValue::ToString(thread, callbackFnHandle.GetTaggedValue()); in ForEach() 336 …EcmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, thisArgHandle, undefined, argsLength… in ForEach() 434 JSHandle<JSTaggedValue> callbackFnHandle = GetCallArg(argv, 0); in ReplaceAllElements() local 435 if (!callbackFnHandle->IsCallable()) { in ReplaceAllElements() 436 … JSHandle<EcmaString> result = JSTaggedValue::ToString(thread, callbackFnHandle.GetTaggedValue()); in ReplaceAllElements() 444 return JSAPIList::ReplaceAllElements(thread, thisHandle, callbackFnHandle, thisArgHandle); in ReplaceAllElements() 492 JSHandle<JSTaggedValue> callbackFnHandle = GetCallArg(argv, 0); in Sort() local 493 if (!callbackFnHandle->IsUndefined() && !callbackFnHandle->IsCallable()) { in Sort() [all …]
|
D | containers_arraylist.cpp | 475 JSHandle<JSTaggedValue> callbackFnHandle = GetCallArg(argv, 0); in ReplaceAllElements() local 476 if (!callbackFnHandle->IsCallable()) { in ReplaceAllElements() 477 JSHandle<EcmaString> result = JSTaggedValue::ToString(thread, callbackFnHandle); in ReplaceAllElements() 486 return JSAPIArrayList::ReplaceAllElements(thread, self, callbackFnHandle, thisArgHandle); in ReplaceAllElements() 575 JSHandle<JSTaggedValue> callbackFnHandle = GetCallArg(argv, 0); in Sort() local 576 …if (!callbackFnHandle->IsUndefined() && !callbackFnHandle->IsCallable() && !callbackFnHandle->IsNu… in Sort() 577 JSHandle<EcmaString> result = JSTaggedValue::ToString(thread, callbackFnHandle); in Sort() 596 int32_t compareResult = base::ArrayHelper::SortCompare(thread, callbackFnHandle, in Sort() 686 JSHandle<JSTaggedValue> callbackFnHandle = GetCallArg(argv, 0); in ForEach() local 687 if (!callbackFnHandle->IsCallable()) { in ForEach() [all …]
|
D | containers_queue.cpp | 143 JSHandle<JSTaggedValue> callbackFnHandle = GetCallArg(argv, 0); in ForEach() local 145 if (!callbackFnHandle->IsCallable()) { in ForEach() 146 … JSHandle<EcmaString> result = JSTaggedValue::ToString(thread, callbackFnHandle.GetTaggedValue()); in ForEach() 167 …EcmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, thisArgHandle, undefined, argsLength… in ForEach()
|
D | containers_stack.cpp | 192 JSHandle<JSTaggedValue> callbackFnHandle = GetCallArg(argv, 0); in ForEach() local 193 if (!callbackFnHandle->IsCallable()) { in ForEach() 194 … JSHandle<EcmaString> result = JSTaggedValue::ToString(thread, callbackFnHandle.GetTaggedValue()); in ForEach() 208 …EcmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, thisArgHandle, undefined, 3); // 3:t… in ForEach()
|
D | containers_hashset.cpp | 248 JSHandle<JSTaggedValue> callbackFnHandle = GetCallArg(argv, 0); in ForEach() local 249 if (!callbackFnHandle->IsCallable()) { in ForEach() 250 JSHandle<EcmaString> result = JSTaggedValue::ToString(thread, callbackFnHandle); in ForEach() 272 EcmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, in ForEach()
|
D | containers_deque.cpp | 237 JSHandle<JSTaggedValue> callbackFnHandle = GetCallArg(argv, 0); in ForEach() local 238 if (!callbackFnHandle->IsCallable()) { in ForEach() 239 JSHandle<EcmaString> result = JSTaggedValue::ToString(thread, callbackFnHandle); in ForEach() 260 …EcmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, thisArgHandle, undefined, 3); // 3:t… in ForEach()
|
D | containers_vector.cpp | 533 JSHandle<JSTaggedValue> callbackFnHandle = GetCallArg(argv, 0); in ForEach() local 534 if (!callbackFnHandle->IsCallable()) { in ForEach() 540 return JSAPIVector::ForEach(thread, thisHandle, callbackFnHandle, thisArgHandle); in ForEach() 560 JSHandle<JSTaggedValue> callbackFnHandle = GetCallArg(argv, 0); in ReplaceAllElements() local 561 if (!callbackFnHandle->IsCallable()) { in ReplaceAllElements() 566 return JSAPIVector::ReplaceAllElements(thread, thisHandle, callbackFnHandle, thisArgHandle); in ReplaceAllElements() 758 JSHandle<JSTaggedValue> callbackFnHandle = GetCallArg(argv, 0); in Sort() local 773 …int32_t compareResult = base::ArrayHelper::SortCompare(thread, callbackFnHandle, middleValue, pres… in Sort()
|
D | containers_hashmap.cpp | 138 JSHandle<JSTaggedValue> callbackFnHandle = GetCallArg(argv, 0); in ForEach() local 139 if (!callbackFnHandle->IsCallable()) { in ForEach() 140 JSHandle<EcmaString> result = JSTaggedValue::ToString(thread, callbackFnHandle); in ForEach() 164 EcmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, in ForEach()
|
D | containers_plainarray.cpp | 223 JSHandle<JSTaggedValue> callbackFnHandle = GetCallArg(argv, 0); in ForEach() local 224 if (!callbackFnHandle->IsCallable()) { in ForEach() 225 … JSHandle<EcmaString> result = JSTaggedValue::ToString(thread, callbackFnHandle.GetTaggedValue()); in ForEach() 233 return JSAPIPlainArray::ForEach(thread, thisHandle, callbackFnHandle, thisArgHandle); in ForEach()
|
D | containers_lightweightset.cpp | 357 JSHandle<JSTaggedValue> callbackFnHandle = GetCallArg(argv, 0); in ForEach() local 369 if (!callbackFnHandle->IsCallable()) { in ForEach() 370 … JSHandle<EcmaString> result = JSTaggedValue::ToString(thread, callbackFnHandle.GetTaggedValue()); in ForEach() 378 return JSAPILightWeightSet::ForEach(thread, thisHandle, callbackFnHandle, thisArgHandle); in ForEach()
|
D | containers_linked_list.cpp | 544 JSHandle<JSTaggedValue> callbackFnHandle(GetCallArg(argv, 0)); in ForEach() local 545 if (!callbackFnHandle->IsCallable()) { in ForEach() 546 … JSHandle<EcmaString> result = JSTaggedValue::ToString(thread, callbackFnHandle.GetTaggedValue()); in ForEach() 567 …EcmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, thisArgHandle, undefined, argsLength… in ForEach()
|
/arkcompiler/ets_runtime/ecmascript/base/ |
D | array_helper.h | 46 … int64_t len, const JSHandle<JSTaggedValue> &callbackFnHandle,
|
D | array_helper.cpp | 255 … int64_t len, const JSHandle<JSTaggedValue> &callbackFnHandle, in SortIndexedProperties() argument 298 JSArray::Sort(thread, arrayObj, callbackFnHandle); in SortIndexedProperties()
|
/arkcompiler/ets_runtime/ecmascript/stubs/ |
D | runtime_stubs.cpp | 2033 …JSHandle<JSTaggedValue> callbackFnHandle = GetHArg<JSTaggedValue>(argv, argc, 1); // 1: param ind… in DEF_RUNTIME_STUBS() local 2039 ASSERT(callbackFnHandle->IsCallable()); in DEF_RUNTIME_STUBS() 2048 …EcmaRuntimeCallInfo *info = EcmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, thisArgH… in DEF_RUNTIME_STUBS()
|