Home
last modified time | relevance | path

Searched refs:IsCallable (Results 1 – 25 of 46) sorted by relevance

12

/ark/js_runtime/ecmascript/tests/
Djs_promise_test.cpp70 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()
Dobject_factory_test.cpp123 EXPECT_TRUE(cls->IsCallable()); in HWTEST_F_L0()
/ark/runtime_core/runtime/include/coretypes/
Ddyn_objects.h75 bool IsCallable() in IsCallable() function
77 return ClassAddr<HClass>()->IsCallable(); in IsCallable()
/ark/js_runtime/ecmascript/builtins/
Dbuiltins_function.cpp82 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()
Dbuiltins_set.cpp67 if (!adder->IsCallable()) { in SetConstructor()
195 if (!func->IsCallable()) { in ForEach()
Dbuiltins_json.cpp60 if (reviver.IsCallable()) { in Parse()
Dbuiltins_array.cpp153 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 …]
Dbuiltins_map.cpp66 if (!adder->IsCallable()) { in MapConstructor()
232 if (!func->IsCallable()) { in ForEach()
Dbuiltins_promise.cpp54 if (!executor->IsCallable()) { in PromiseConstructor()
384 if (!fulfilled->IsCallable()) { in PerformPromiseThen()
388 if (!rejected->IsCallable()) { in PerformPromiseThen()
Dbuiltins_weak_set.cpp66 if (!adder->IsCallable()) { in WeakSetConstructor()
Dbuiltins_typedarray.cpp137 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()
Dbuiltins_weak_map.cpp68 if (!adder->IsCallable()) { in WeakMapConstructor()
Dbuiltins_promise_handler.cpp86 if (!thenValue->IsCallable()) { in Resolve()
/ark/js_runtime/ecmascript/
Djs_promise.cpp109 if (!promiseCapability->GetResolve().IsCallable()) { in NewPromiseCapability()
114 if (!promiseCapability->GetReject().IsCallable()) { in NewPromiseCapability()
Djs_object-inl.h41 inline bool ECMAObject::IsCallable() const in IsCallable() function
43 return GetClass()->IsCallable(); in IsCallable()
Djs_iterator.cpp78 ASSERT(next->IsCallable()); in IteratorNext()
96 ASSERT(next->IsCallable()); in IteratorNext()
Djs_object.cpp1169 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()
Djs_tagged_value-inl.h302 inline bool JSTaggedValue::IsCallable() const in IsCallable() function
304 return IsHeapObject() && GetTaggedObject()->GetClass()->IsCallable(); in IsCallable()
Djs_function.cpp167 if (!constructor->IsCallable()) { in OrdinaryHasInstance()
257 if (!func->IsCallable()) { in Call()
/ark/js_runtime/ecmascript/jobs/
Dpending_job.h49 ASSERT(job->IsCallable()); in ExecutePendingJob()
/ark/js_runtime/ecmascript/base/
Djson_stringifier.cpp300 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/
Dhclass.h109 bool IsCallable() const in IsCallable() function
/ark/js_runtime/ecmascript/containers/
Dcontainers_treeset.cpp53 if (!compareFn->IsCallable()) { in TreeSetConstructor()
277 if (!func->IsCallable()) { in ForEach()
Dcontainers_arraylist.cpp344 if (!callbackFnHandle->IsCallable()) { in ReplaceAllElements()
409 if (callbackFnHandle->IsUndefined() || !callbackFnHandle->IsCallable()) { in Sort()
502 if (!callbackFnHandle->IsCallable()) { in ForEach()
Dcontainers_treemap.cpp54 if (!compareFn->IsCallable()) { in TreeMapConstructor()
322 if (!func->IsCallable()) { in ForEach()

12