/external/v8/src/ |
D | property-descriptor.cc | 97 if (!value->IsCallable()) return false; in ToPropertyDescriptorFastPath() 101 if (!value->IsCallable()) return false; in ToPropertyDescriptorFastPath() 259 if (!getter->IsCallable() && !getter->IsUndefined(isolate)) { in ToPropertyDescriptor() 277 if (!setter->IsCallable() && !setter->IsUndefined(isolate)) { in ToPropertyDescriptor()
|
D | objects-debug.cc | 80 CHECK(!IsConstructor() || IsCallable()); in ObjectVerify() 109 CHECK(!IsCallable()); in SmiVerify() 935 CHECK(IsCallable()); in JSBoundFunctionVerify() 938 CHECK(bound_target_function()->IsCallable()); in JSBoundFunctionVerify() 1247 CHECK(callable()->IsCallable()); in CallableTaskVerify() 1266 CHECK(handler()->IsUndefined(isolate) || handler()->IsCallable()); in PromiseReactionJobTaskVerify() 1293 CHECK(then()->IsCallable()); in PromiseResolveThenableJobTaskVerify() 1315 reject_handler()->IsCallable()); in PromiseReactionVerify() 1318 fulfill_handler()->IsCallable()); in PromiseReactionVerify() 1436 CHECK_EQ(target()->IsCallable(), map()->is_callable()); in JSProxyVerify()
|
D | json-parser.h | 46 if (reviver->IsCallable()) { in Parse()
|
D | json-stringifier.cc | 257 } else if (replacer->IsCallable()) { in InitializeReplacer() 320 if (!fun->IsCallable()) return object; in ApplyToJsonFunction() 457 if (object->IsCallable()) return UNCHANGED; in Serialize_()
|
D | json-parser.cc | 57 DCHECK(reviver->IsCallable()); in Internalize()
|
D | objects-inl.h | 219 bool HeapObject::IsCallable() const { return map()->is_callable(); } in IsCallable() function 2911 return obj->IsCallable() || obj->IsUndefined(); in IsJSAccessor()
|
D | objects.cc | 727 if (object->IsCallable()) return isolate->factory()->function_string(); in TypeOf() 764 if (!callable->IsCallable()) return isolate->factory()->false_value(); in OrdinaryHasInstance() 827 if (!callable->IsCallable()) { in InstanceOf() 851 if (!func->IsCallable()) { in GetMethod() 1595 } else if (getter->IsCallable()) { in GetPropertyWithAccessor() 1705 } else if (setter->IsCallable()) { in SetPropertyWithAccessor() 8849 if (method->IsCallable()) { in OrdinaryToPrimitive() 9192 DCHECK(getter->IsCallable() || getter->IsUndefined(isolate) || in DefineAccessor() 9194 DCHECK(setter->IsCallable() || setter->IsUndefined(isolate) || in DefineAccessor() 16365 if (!then_action->IsCallable()) { in Resolve()
|
/external/google-fruit/include/fruit/impl/meta/ |
D | metaprogramming.h | 64 struct IsCallable { 163 …using type = If(Not(IsCallable(Type<Function>)), ConstructError(NotALambdaErrorTag, Type<Function>…
|
/external/v8/src/builtins/ |
D | builtins-proxy-gen.cc | 34 Branch(IsCallable(target), &callable_target, &none_target); in AllocateProxy() 290 CSA_ASSERT(this, IsCallable(proxy)); in TF_BUILTIN() 345 CSA_ASSERT(this, IsCallable(proxy)); in TF_BUILTIN() 439 GotoIfNot(IsCallable(trap), &trap_not_callable); in TF_BUILTIN()
|
D | builtins-promise-gen.cc | 177 GotoIfNot(IsCallable(resolve), &if_notcallable); in TF_BUILTIN() 182 GotoIfNot(IsCallable(reject), &if_notcallable); in TF_BUILTIN() 318 Word32Or(IsCallable(on_fulfilled), IsUndefined(on_fulfilled))); in PerformPromiseThen() 319 CSA_ASSERT(this, Word32Or(IsCallable(on_rejected), IsUndefined(on_rejected))); in PerformPromiseThen() 1019 Branch(IsCallable(on_fulfilled), &if_fulfilled_done, in TF_BUILTIN() 1031 Branch(IsCallable(on_rejected), &if_rejected_done, in TF_BUILTIN() 1155 CSA_ASSERT(this, Word32Or(IsUndefined(handler), IsCallable(handler))); in PromiseReactionJob() 1492 CSA_ASSERT(this, IsCallable(on_finally)); in TF_BUILTIN() 1549 CSA_ASSERT(this, IsCallable(on_finally)); in TF_BUILTIN() 1615 GotoIfNot(IsCallable(on_finally), &if_notcallable); in TF_BUILTIN()
|
D | builtins-iterator-gen.cc | 37 Branch(IsCallable(method), &if_callable, &if_not_callable); in GetIterator()
|
D | builtins-typed-array-gen.cc | 641 CSA_ASSERT(this, IsCallable(iterator_fn)); in ConstructByIterable() 713 GotoIfNot(IsCallable(CAST(iteratorFn)), &if_iteratornotcallable); in TF_BUILTIN() 1654 GotoIfNot(IsCallable(CAST(map_fn)), &if_map_fn_not_callable); in TF_BUILTIN() 1677 GotoIfNot(IsCallable(CAST(iterator_fn)), &if_iterator_fn_not_callable); in TF_BUILTIN() 1826 GotoIfNot(IsCallable(CAST(callbackfn)), &if_callback_not_callable); in TF_BUILTIN()
|
D | builtins-function.cc | 208 if (!args.receiver()->IsCallable()) { in DoFunctionBind()
|
D | array-foreach.tq | 151 // 3. If IsCallable(callbackfn) is false, throw a TypeError exception.
|
D | builtins-call-gen.cc | 77 Branch(IsCallable(CAST(target)), &if_target_callable, in CallOrConstructWithArrayLike()
|
D | builtins-object.cc | 69 if (!accessor->IsCallable()) { in ObjectDefineAccessor()
|
D | typed-array.tq | 259 // 1. If comparefn is not undefined and IsCallable(comparefn) is false,
|
D | builtins-array-gen.cc | 2037 Branch(IsCallable(CAST(map_function)), &no_error, &error); in TF_BUILTIN() 2074 GotoIfNot(IsCallable(CAST(iterator_method)), &get_method_not_callable); in TF_BUILTIN() 2114 CSA_ASSERT(this, IsCallable(CAST(map_function))); in TF_BUILTIN() 2192 CSA_ASSERT(this, IsCallable(CAST(map_function))); in TF_BUILTIN() 3756 IsCallable(mapper_function))); in FlattenIntoArray() 3938 GotoIfNot(IsCallable(mapper_function), &if_not_callable); in TF_BUILTIN()
|
D | builtins-collections-gen.cc | 387 GotoIfNot(IsCallable(CAST(add_func)), &if_notcallable); in GetAddFunction() 1567 GotoIfNot(IsCallable(callback), &callback_not_callable); in TF_BUILTIN() 1798 GotoIfNot(IsCallable(callback), &callback_not_callable); in TF_BUILTIN()
|
D | builtins-date.cc | 916 if (!function->IsCallable()) { in BUILTIN()
|
D | base.tq | 738 extern macro IsCallable(HeapObject): bool;
|
/external/v8/src/regexp/ |
D | regexp-utils.cc | 84 if (exec->IsCallable()) { in RegExpExec()
|
/external/v8/src/heap/ |
D | factory.cc | 1595 DCHECK(callable->IsCallable()); in NewCallableTask() 1615 DCHECK(then->IsCallable()); in NewPromiseResolveThenableJobTask() 3306 DCHECK(target_function->IsCallable()); in NewJSBoundFunction() 3357 if (target->IsCallable()) { in NewJSProxy()
|
/external/v8/src/runtime/ |
D | runtime-object.cc | 791 return obj->IsNullOrUndefined(isolate) || obj->IsCallable(); in IsValidAccessor()
|
/external/v8/src/compiler/ |
D | js-native-context-specialization.cc | 212 if (receiver->IsCallable()) { in ReduceJSInstanceOf() 262 DCHECK(constant->IsCallable()); in ReduceJSInstanceOf()
|