/arkcompiler/ets_runtime/ecmascript/napi/test/ |
H A D | jsnapi_sendable_tests.cpp | 263 ASSERT_TRUE(JSFunction::InstanceOf(thread_, JSNApiHelper::ToJSHandle(obj), JSNApiHelper::ToJSHandle(constructor))); in HWTEST_F_L0() 264 ASSERT_TRUE(JSFunction::InstanceOf(thread_, JSNApiHelper::ToJSHandle(obj0), JSNApiHelper::ToJSHandle(constructor))); in HWTEST_F_L0() 306 ASSERT_TRUE(JSFunction::InstanceOf(thread_, JSNApiHelper::ToJSHandle(obj), JSNApiHelper::ToJSHandle(constructor))); in HWTEST_F_L0() 307 ASSERT_TRUE(JSFunction::InstanceOf(thread_, JSNApiHelper::ToJSHandle(obj0), JSNApiHelper::ToJSHandle(constructor))); in HWTEST_F_L0() 350 ASSERT_TRUE(JSFunction::InstanceOf(thread_, JSNApiHelper::ToJSHandle(obj), JSNApiHelper::ToJSHandle(parent))); in HWTEST_F_L0() 351 ASSERT_TRUE(JSFunction::InstanceOf(thread_, JSNApiHelper::ToJSHandle(obj0), JSNApiHelper::ToJSHandle(parent))); in HWTEST_F_L0() 377 ASSERT_TRUE(JSFunction::InstanceOf(thread_, JSNApiHelper::ToJSHandle(obj), JSNApiHelper::ToJSHandle(parent))); in HWTEST_F_L0() 378 ASSERT_TRUE(JSFunction::InstanceOf(thread_, JSNApiHelper::ToJSHandle(obj0), JSNApiHelper::ToJSHandle(parent))); in HWTEST_F_L0() 403 ASSERT_TRUE(JSFunction::InstanceOf(thread_, JSNApiHelper::ToJSHandle(obj), JSNApiHelper::ToJSHandle(parent))); in HWTEST_F_L0()
|
H A D | jsnapi_first_tests.cpp | 269 * @tc.name: InstanceOf 270 * @tc.desc:Verifying whether the InstanceOf method can correctly determine whether an object is an 275 HWTEST_F_L0(JSNApiTests, InstanceOf) in HWTEST_F_L0() 281 ASSERT_FALSE(origin->InstanceOf(vm_, target)); in HWTEST_F_L0() 1194 // son = new Son(), Son() inherit from Parent(), Test whether son.InstanceOf(Parent) is true in HWTEST_F_L0() 1196 bool isInstance = JSObject::InstanceOf(thread_, JSHandle<JSTaggedValue>::Cast(sonObj), set); in HWTEST_F_L0()
|
H A D | ffi_workload.cpp | 686 (void)origin->InstanceOf(vm_, value); in HWTEST_F_L0() 689 TEST_TIME(JSValueRef::InstanceOf); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_relative_time_format.cpp | 51 bool isInstanceOf = JSObject::InstanceOf(thread, thisValue, env->GetRelativeTimeFormatFunction()); in RelativeTimeFormatConstructor()
|
/arkcompiler/ets_runtime/ecmascript/stubs/ |
H A D | runtime_stub_list.h | 263 V(InstanceOf) \
|
H A D | runtime_stubs.cpp | 933 DEF_RUNTIME_STUBS(InstanceOf) in DEF_RUNTIME_STUBS() 935 RUNTIME_STUBS_HEADER(InstanceOf); in DEF_RUNTIME_STUBS() 946 LOG_ECMA(INFO) << "InstanceOf Stability Testing Num: " << targetId->GetInt(); in DEF_RUNTIME_STUBS()
|
H A D | runtime_stubs-inl.h | 135 bool ret = JSObject::InstanceOf(thread, obj, target); in RuntimeInstanceof() 167 THROW_TYPE_ERROR_AND_RETURN(thread, "InstanceOf error when target is not Callable", JSTaggedValue::Exception()); in RuntimeInstanceofByHandler()
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | js_relative_time_format.cpp | 242 bool isInstanceOf = JSFunction::InstanceOf(thread, rtf, env->GetRelativeTimeFormatFunction()); in UnwrapRelativeTimeFormat()
|
H A D | js_object.h | 591 static bool InstanceOf(JSThread *thread, const JSHandle<JSTaggedValue> &object,
|
H A D | js_function.cpp | 347 return JSObject::InstanceOf(thread, obj, JSHandle<JSTaggedValue>(thread, boundTarget)); in OrdinaryHasInstance()
|
H A D | js_object.cpp | 2162 bool JSObject::InstanceOf(JSThread *thread, const JSHandle<JSTaggedValue> &object, in InstanceOf() function in panda::ecmascript::JSObject 2167 THROW_TYPE_ERROR_AND_RETURN(thread, "InstanceOf error when type of target is not Object", false); in InstanceOf() 2192 THROW_TYPE_ERROR_AND_RETURN(thread, "InstanceOf error when target is not Callable", false); in InstanceOf()
|
/arkcompiler/ets_runtime/test/fuzztest/arraylist_fuzzer/ |
H A D | arraylist_fuzzer.cpp | 961 (void)origin->InstanceOf(vm, value); in JSValueRefInstanceOfValueFuzzTest()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | common_stubs.cpp | 287 Return(InstanceOf(glue, object, target, profileTypeInfo, slotId, ProfileOperation())); in GenerateCircuit()
|
H A D | stub_builder.h | 500 GateRef InstanceOf(GateRef glue, GateRef object, GateRef target, GateRef profileTypeInfo, GateRef slotId,
|
H A D | stub_builder.cpp | 5557 GateRef StubBuilder::InstanceOf( in InstanceOf() function in panda::ecmascript::kungfu::StubBuilder 5962 result = CallRuntime(glue, RTSTUB_ID(InstanceOf), { obj, boundTarget }); in OrdinaryHasInstance()
|
H A D | typed_hcr_lowering.cpp | 2810 result = builder_.CallRuntime(glue, RTSTUB_ID(InstanceOf), Gate::InvalidGateRef, in LowerOrdinaryHasInstance()
|
H A D | interpreter_stub.cpp | 1295 GateRef result = InstanceOf(glue, obj, target, profileTypeInfo, slotId, callback);
in DECLARE_ASM_HANDLER()
|
/arkcompiler/ets_runtime/ecmascript/napi/include/ |
H A D | jsnapi_expo.h | 588 bool InstanceOf(const EcmaVM *vm, Local<JSValueRef> value);
|
/arkcompiler/ets_runtime/ecmascript/napi/ |
H A D | jsnapi_expo.cpp | 414 bool JSValueRef::InstanceOf(const EcmaVM *vm, Local<JSValueRef> value) in InstanceOf() function in panda::JSValueRef 421 return JSObject::InstanceOf(thread, origin, target); in InstanceOf()
|
/arkcompiler/ets_runtime/ecmascript/compiler/baseline/ |
H A D | baseline_stubs.cpp | 1264 GateRef result = InstanceOf(glue, obj, acc, profileTypeInfo, slotId, callback); in GenerateCircuit()
|