Home
last modified time | relevance | path

Searched refs:InstanceOf (Results 1 - 20 of 20) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/napi/test/
H A Djsnapi_sendable_tests.cpp263 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 Djsnapi_first_tests.cpp269 * @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 Dffi_workload.cpp686 (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 Dbuiltins_relative_time_format.cpp51 bool isInstanceOf = JSObject::InstanceOf(thread, thisValue, env->GetRelativeTimeFormatFunction()); in RelativeTimeFormatConstructor()
/arkcompiler/ets_runtime/ecmascript/stubs/
H A Druntime_stub_list.h263 V(InstanceOf) \
H A Druntime_stubs.cpp933 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 Druntime_stubs-inl.h135 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 Djs_relative_time_format.cpp242 bool isInstanceOf = JSFunction::InstanceOf(thread, rtf, env->GetRelativeTimeFormatFunction()); in UnwrapRelativeTimeFormat()
H A Djs_object.h591 static bool InstanceOf(JSThread *thread, const JSHandle<JSTaggedValue> &object,
H A Djs_function.cpp347 return JSObject::InstanceOf(thread, obj, JSHandle<JSTaggedValue>(thread, boundTarget)); in OrdinaryHasInstance()
H A Djs_object.cpp2162 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 Darraylist_fuzzer.cpp961 (void)origin->InstanceOf(vm, value); in JSValueRefInstanceOfValueFuzzTest()
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dcommon_stubs.cpp287 Return(InstanceOf(glue, object, target, profileTypeInfo, slotId, ProfileOperation())); in GenerateCircuit()
H A Dstub_builder.h500 GateRef InstanceOf(GateRef glue, GateRef object, GateRef target, GateRef profileTypeInfo, GateRef slotId,
H A Dstub_builder.cpp5557 GateRef StubBuilder::InstanceOf( in InstanceOf() function in panda::ecmascript::kungfu::StubBuilder
5962 result = CallRuntime(glue, RTSTUB_ID(InstanceOf), { obj, boundTarget }); in OrdinaryHasInstance()
H A Dtyped_hcr_lowering.cpp2810 result = builder_.CallRuntime(glue, RTSTUB_ID(InstanceOf), Gate::InvalidGateRef, in LowerOrdinaryHasInstance()
H A Dinterpreter_stub.cpp1295 GateRef result = InstanceOf(glue, obj, target, profileTypeInfo, slotId, callback); in DECLARE_ASM_HANDLER()
/arkcompiler/ets_runtime/ecmascript/napi/include/
H A Djsnapi_expo.h588 bool InstanceOf(const EcmaVM *vm, Local<JSValueRef> value);
/arkcompiler/ets_runtime/ecmascript/napi/
H A Djsnapi_expo.cpp414 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 Dbaseline_stubs.cpp1264 GateRef result = InstanceOf(glue, obj, acc, profileTypeInfo, slotId, callback); in GenerateCircuit()

Completed in 113 milliseconds