Home
last modified time | relevance | path

Searched refs:callbackFnHandle (Results 1 – 19 of 19) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dcontainers_stub_builder.cpp45 GateRef callbackFnHandle; in ContainersCommonFuncCall() local
73 callbackFnHandle = GetCallArg0(numArgs); in ContainersCommonFuncCall()
74 Branch(TaggedIsHeapObject(callbackFnHandle), &isHeapObj, slowPath); in ContainersCommonFuncCall()
76 Branch(IsCallable(callbackFnHandle), &isCall, &notCall); 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, &notCall); in QueueCommonFuncCall()
224 … GateRef retValue = JSCallDispatch(glue, callbackFnHandle, Int32(NUM_MANDATORY_JSFUNC_ARGS), 0, in QueueCommonFuncCall()
[all …]
/arkcompiler/ets_runtime/ecmascript/
Djs_stable_array.h35 JSHandle<JSTaggedValue> callbackFnHandle,
38 JSHandle<JSTaggedValue> callbackFnHandle,
41 JSHandle<JSTaggedValue> callbackFnHandle,
44 JSHandle<JSTaggedValue> callbackFnHandle,
66 JSHandle<JSTaggedValue> callbackFnHandle,
Djs_stable_array.cpp310 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/
Dbuiltins_array.cpp679 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 …]
Dbuiltins_typedarray.cpp503 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/
Dcontainers_list.cpp312 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 …]
Dcontainers_arraylist.cpp475 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 …]
Dcontainers_queue.cpp143 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()
Dcontainers_stack.cpp192 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()
Dcontainers_hashset.cpp248 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()
Dcontainers_deque.cpp237 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()
Dcontainers_vector.cpp533 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()
Dcontainers_hashmap.cpp138 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()
Dcontainers_plainarray.cpp223 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()
Dcontainers_lightweightset.cpp357 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()
Dcontainers_linked_list.cpp544 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/
Darray_helper.h46 … int64_t len, const JSHandle<JSTaggedValue> &callbackFnHandle,
Darray_helper.cpp255 … int64_t len, const JSHandle<JSTaggedValue> &callbackFnHandle, in SortIndexedProperties() argument
298 JSArray::Sort(thread, arrayObj, callbackFnHandle); in SortIndexedProperties()
/arkcompiler/ets_runtime/ecmascript/stubs/
Druntime_stubs.cpp2033 …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()