Home
last modified time | relevance | path

Searched refs:ToInt8 (Results 1 – 5 of 5) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
Djs_tagged_number.h77 inline int8_t ToInt8() const in ToInt8() function
84 return ToInt8(); in ToUint8()
Djs_tagged_value-inl.h232 inline int8_t JSTaggedValue::ToInt8(JSThread *thread, const JSHandle<JSTaggedValue> &tagged) in ToInt8() function
242 return ToInt8(thread, tagged); in ToUint8()
Djs_tagged_value.h422 static int8_t ToInt8(JSThread *thread, const JSHandle<JSTaggedValue> &tagged);
/arkcompiler/ets_runtime/ecmascript/tests/
Dtagged_value_test.cpp614 HWTEST_F_L0(JSTaggedValueTest, ToInt8) in HWTEST_F_L0() argument
619 result = JSTaggedValue::ToInt8(thread, JSHandle<JSTaggedValue>(thread, intV)); in HWTEST_F_L0()
623 result = JSTaggedValue::ToInt8(thread, JSHandle<JSTaggedValue>(thread, doubleV1)); in HWTEST_F_L0()
627 result = JSTaggedValue::ToInt8(thread, JSHandle<JSTaggedValue>(thread, doubleV2)); in HWTEST_F_L0()
632 result = JSTaggedValue::ToInt8(thread, JSHandle<JSTaggedValue>(thread, doubleV3)); in HWTEST_F_L0()
637 result = JSTaggedValue::ToInt8(thread, JSHandle<JSTaggedValue>(thread, doubleV4)); in HWTEST_F_L0()
642 result = JSTaggedValue::ToInt8(thread, JSHandle<JSTaggedValue>(thread, doubleV5)); in HWTEST_F_L0()
646 result = JSTaggedValue::ToInt8(thread, JSHandle<JSTaggedValue>(thread, undefinedV)); in HWTEST_F_L0()
650 result = JSTaggedValue::ToInt8(thread, JSHandle<JSTaggedValue>(thread, holeV)); in HWTEST_F_L0()
654 result = JSTaggedValue::ToInt8(thread, JSHandle<JSTaggedValue>(thread, nullV)); in HWTEST_F_L0()
[all …]
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_atomics.cpp367 int8_t tag = JSTaggedValue::ToInt8(thread, value); in HandleWithInt8()
373 int8_t newTag = JSTaggedValue::ToInt8(thread, newValue); in HandleWithInt8()