/ark/js_runtime/ecmascript/tests/ |
D | js_promise_test.cpp | 70 EXPECT_EQ(resolve->IsCallable(), true); in HWTEST_F_L0() 71 EXPECT_EQ(reject->IsCallable(), true); in HWTEST_F_L0() 86 EXPECT_EQ(resolve.GetTaggedValue().IsCallable(), true); in HWTEST_F_L0() 87 EXPECT_EQ(resolve.GetTaggedValue().IsCallable(), true); in HWTEST_F_L0()
|
D | object_factory_test.cpp | 123 EXPECT_TRUE(cls->IsCallable()); in HWTEST_F_L0()
|
/ark/runtime_core/runtime/include/coretypes/ |
D | dyn_objects.h | 75 bool IsCallable() in IsCallable() function 77 return ClassAddr<HClass>()->IsCallable(); in IsCallable()
|
/ark/js_runtime/ecmascript/builtins/ |
D | builtins_function.cpp | 82 if (!GetThis(argv)->IsCallable()) { in FunctionPrototypeApply() 120 if (!target->IsCallable()) { in FunctionPrototypeBind() 209 if (!GetThis(argv)->IsCallable()) { in FunctionPrototypeCall() 237 if (!thisValue->IsCallable()) { in FunctionPrototypeToString()
|
D | builtins_set.cpp | 67 if (!adder->IsCallable()) { in SetConstructor() 195 if (!func->IsCallable()) { in ForEach()
|
D | builtins_json.cpp | 60 if (reviver.IsCallable()) { in Parse()
|
D | builtins_array.cpp | 153 if (!mapfn->IsCallable()) { in From() 678 if (!callbackFnHandle->IsCallable()) { in Every() 821 if (!callbackFnHandle->IsCallable()) { in Filter() 904 if (!callbackFnHandle->IsCallable()) { in Find() 964 if (!callbackFnHandle->IsCallable()) { in FindIndex() 1023 if (!callbackFnHandle->IsCallable()) { in ForEach() 1345 if (!callbackFnHandle->IsCallable()) { in Map() 1536 if (!callbackFnHandle->IsCallable()) { in Reduce() 1638 if (!callbackFnHandle->IsCallable()) { in ReduceRight() 2044 if (!callbackFnHandle->IsCallable()) { in Some() [all …]
|
D | builtins_map.cpp | 66 if (!adder->IsCallable()) { in MapConstructor() 232 if (!func->IsCallable()) { in ForEach()
|
D | builtins_promise.cpp | 54 if (!executor->IsCallable()) { in PromiseConstructor() 384 if (!fulfilled->IsCallable()) { in PerformPromiseThen() 388 if (!rejected->IsCallable()) { in PerformPromiseThen()
|
D | builtins_weak_set.cpp | 66 if (!adder->IsCallable()) { in WeakSetConstructor()
|
D | builtins_typedarray.cpp | 137 if (!mapfn->IsCallable()) { in From() 454 if (!callbackFnHandle->IsCallable()) { in Every() 526 if (!callbackFnHandle->IsCallable()) { in Filter() 633 if (!callbackFnHandle->IsCallable()) { in ForEach() 847 if (!callbackfnHandle->IsCallable()) { in Map()
|
D | builtins_weak_map.cpp | 68 if (!adder->IsCallable()) { in WeakMapConstructor()
|
D | builtins_promise_handler.cpp | 86 if (!thenValue->IsCallable()) { in Resolve()
|
/ark/js_runtime/ecmascript/ |
D | js_promise.cpp | 109 if (!promiseCapability->GetResolve().IsCallable()) { in NewPromiseCapability() 114 if (!promiseCapability->GetReject().IsCallable()) { in NewPromiseCapability()
|
D | js_object-inl.h | 41 inline bool ECMAObject::IsCallable() const in IsCallable() function 43 return GetClass()->IsCallable(); in IsCallable()
|
D | js_iterator.cpp | 78 ASSERT(next->IsCallable()); in IteratorNext() 96 ASSERT(next->IsCallable()); in IteratorNext()
|
D | js_object.cpp | 1169 if (!result->IsCallable()) { in GetMethod() 1395 ASSERT(object->IsCallable()); in GetFunctionRealm() 1451 if (!target->IsCallable()) { in InstanceOf() 1559 if (!value.IsCallable()) { in ToPropertyDescriptorFast() 1565 if (!value.IsCallable()) { in ToPropertyDescriptorFast() 1640 if (!getter->IsCallable() && !getter->IsUndefined()) { in ToPropertyDescriptor() 1653 if (!setter->IsCallable() && !setter->IsUndefined()) { in ToPropertyDescriptor()
|
D | js_tagged_value-inl.h | 302 inline bool JSTaggedValue::IsCallable() const in IsCallable() function 304 return IsHeapObject() && GetTaggedObject()->GetClass()->IsCallable(); in IsCallable()
|
D | js_function.cpp | 167 if (!constructor->IsCallable()) { in OrdinaryHasInstance() 257 if (!func->IsCallable()) { in Call()
|
/ark/js_runtime/ecmascript/jobs/ |
D | pending_job.h | 49 ASSERT(job->IsCallable()); in ExecutePendingJob()
|
/ark/js_runtime/ecmascript/base/ |
D | json_stringifier.cpp | 300 if (UNLIKELY(toJsonFun->IsCallable())) { in GetSerializeValue() 310 if (UNLIKELY(replacer->IsCallable())) { in GetSerializeValue() 377 if (!tagValue.IsCallable()) { in SerializeJSONProperty() 466 (serializeValue.IsECMAObject() && serializeValue.IsCallable()))) { in SerializeJSONObject() 498 (serializeValue.IsECMAObject() && serializeValue.IsCallable()))) { in SerializeJSONObject() 790 (serializeValue.IsECMAObject() && serializeValue.IsCallable()))) { in AppendJsonString()
|
/ark/runtime_core/runtime/include/ |
D | hclass.h | 109 bool IsCallable() const in IsCallable() function
|
/ark/js_runtime/ecmascript/containers/ |
D | containers_treeset.cpp | 53 if (!compareFn->IsCallable()) { in TreeSetConstructor() 277 if (!func->IsCallable()) { in ForEach()
|
D | containers_arraylist.cpp | 344 if (!callbackFnHandle->IsCallable()) { in ReplaceAllElements() 409 if (callbackFnHandle->IsUndefined() || !callbackFnHandle->IsCallable()) { in Sort() 502 if (!callbackFnHandle->IsCallable()) { in ForEach()
|
D | containers_treemap.cpp | 54 if (!compareFn->IsCallable()) { in TreeMapConstructor() 322 if (!func->IsCallable()) { in ForEach()
|