/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_number.cpp | 107 JSTaggedNumber number = JSTaggedValue::ToInteger(thread, msg); in IsInteger() 145 JSTaggedNumber number = JSTaggedValue::ToInteger(thread, msg); in IsSafeInteger() 223 JSTaggedNumber digitInt = JSTaggedValue::ToInteger(thread, digits); in ToExponential() 270 JSTaggedNumber digitInt = JSTaggedValue::ToInteger(thread, digitArgv); in ToFixed() 381 JSTaggedNumber digitInt = JSTaggedValue::ToInteger(thread, digitArgv); in ToPrecision() 425 JSTaggedNumber radixNumber = JSTaggedValue::ToInteger(thread, radixValue); in ToString()
|
D | builtins_sharedarraybuffer.cpp | 185 JSTaggedNumber relativeStart = JSTaggedValue::ToInteger(thread, startHandle); in Slice() 203 JSTaggedNumber relativeEnd = JSTaggedValue::ToInteger(thread, endHandle); in Slice()
|
D | builtins_string.cpp | 262 JSTaggedNumber posVal = JSTaggedValue::ToInteger(thread, posTag); in CharAt() 293 JSTaggedNumber posVal = JSTaggedValue::ToInteger(thread, posTag); in CharCodeAt() 404 JSTaggedNumber posVal = JSTaggedValue::ToInteger(thread, posTag); in EndsWith() 479 JSTaggedNumber posVal = JSTaggedValue::ToInteger(thread, posTag); in IndexOf() 511 JSTaggedNumber posVal = JSTaggedValue::ToInteger(thread, posTag); in LastIndexOf() 794 JSTaggedNumber num = JSTaggedValue::ToInteger(thread, countTag); in Repeat() 1324 JSTaggedNumber startVal = JSTaggedValue::ToInteger(thread, startTag); in Slice() 1332 JSTaggedNumber endVal = JSTaggedValue::ToInteger(thread, endTag); in Slice() 1398 lim = JSTaggedValue::ToInteger(thread, limitTag).ToUint32(); in Split() 1490 JSTaggedNumber posVal = JSTaggedValue::ToInteger(thread, posTag); in StartsWith() [all …]
|
D | builtins_array.cpp | 540 JSTaggedNumber targetTemp = JSTaggedValue::ToInteger(thread, GetCallArg(argv, 0)); in CopyWithin() 552 JSTaggedNumber start_t = JSTaggedValue::ToInteger(thread, GetCallArg(argv, 1)); in CopyWithin() 567 JSTaggedNumber temp = JSTaggedValue::ToInteger(thread, msg3); in CopyWithin() 768 JSTaggedNumber argStartTemp = JSTaggedValue::ToInteger(thread, msg1); in Fill() 785 JSTaggedNumber argEndTemp = JSTaggedValue::ToInteger(thread, msg2); in Fill() 2019 JSTaggedNumber argStartTemp = JSTaggedValue::ToInteger(thread, msg0); in Slice() 2043 JSTaggedNumber argEndTemp = JSTaggedValue::ToInteger(thread, msg1); in Slice() 2293 JSTaggedNumber argStartTemp = JSTaggedValue::ToInteger(thread, msg0); in Splice() 2321 JSTaggedNumber argDeleteCount = JSTaggedValue::ToInteger(thread, msg1); in Splice() 2934 JSTaggedNumber index = JSTaggedValue::ToInteger(thread, GetCallArg(argv, 0)); in At() [all …]
|
D | builtins_bigint.cpp | 168 JSTaggedNumber radixNumber = JSTaggedValue::ToInteger(thread, radixValue); in ToString()
|
D | builtins_typedarray.cpp | 1033 JSTaggedNumber tTargetOffset = JSTaggedValue::ToInteger(thread, srcOffset); in Set() 1265 JSTaggedNumber tRelativeStart = JSTaggedValue::ToInteger(thread, GetCallArg(argv, 0)); in Slice() 1278 JSTaggedNumber tRelativeEnd = JSTaggedValue::ToInteger(thread, end); in Slice() 1468 JSTaggedNumber tRelativeBegin = JSTaggedValue::ToInteger(thread, GetCallArg(argv, 0)); in Subarray() 1488 JSTaggedNumber tRelativeEnd = JSTaggedValue::ToInteger(thread, end); in Subarray() 1622 JSTaggedNumber indexVal = JSTaggedValue::ToInteger(thread, GetCallArg(argv, 0)); in At() 1743 JSTaggedNumber indexVal = JSTaggedValue::ToInteger(thread, GetCallArg(argv, 0)); in With()
|
D | builtins_arraybuffer.cpp | 139 JSTaggedNumber relativeStart = JSTaggedValue::ToInteger(thread, startHandle); in Slice() 157 JSTaggedNumber relativeEnd = JSTaggedValue::ToInteger(thread, endHandle); in Slice()
|
/arkcompiler/ets_runtime/ecmascript/base/ |
D | atomic_helper.cpp | 112 JSTaggedNumber integerValue = JSTaggedValue::ToInteger(thread, value); in AtomicStore()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | tagged_value_test.cpp | 369 HWTEST_F_L0(JSTaggedValueTest, ToInteger) in HWTEST_F_L0() argument 374 result = JSTaggedValue::ToInteger(thread, JSHandle<JSTaggedValue>(thread, intV)); in HWTEST_F_L0() 378 result = JSTaggedValue::ToInteger(thread, JSHandle<JSTaggedValue>(thread, doubleV1)); in HWTEST_F_L0() 382 result = JSTaggedValue::ToInteger(thread, JSHandle<JSTaggedValue>(thread, doubleV2)); in HWTEST_F_L0() 386 result = JSTaggedValue::ToInteger(thread, JSHandle<JSTaggedValue>(thread, undefinedV)); in HWTEST_F_L0() 390 result = JSTaggedValue::ToInteger(thread, JSHandle<JSTaggedValue>(thread, holeV)); in HWTEST_F_L0() 394 result = JSTaggedValue::ToInteger(thread, JSHandle<JSTaggedValue>(thread, nullV)); in HWTEST_F_L0() 398 result = JSTaggedValue::ToInteger(thread, JSHandle<JSTaggedValue>(thread, falseV)); in HWTEST_F_L0() 402 result = JSTaggedValue::ToInteger(thread, JSHandle<JSTaggedValue>(thread, trueV)); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/ |
D | js_typed_array.cpp | 412 uint32_t k = static_cast<uint32_t>(JSTaggedValue::ToInteger(thread, indexHandle).ToInt32()); in IntegerIndexedElementGet() 590 uint32_t k = JSTaggedValue::ToInteger(thread, indexHandle).ToUint32(); in IntegerIndexedElementSet()
|
D | js_tagged_value-inl.h | 199 inline JSTaggedNumber JSTaggedValue::ToInteger(JSThread *thread, const JSHandle<JSTaggedValue> &tag… in ToInteger() function 263 JSTaggedNumber len = ToInteger(thread, tagged); in ToLength()
|
D | js_tagged_value.h | 416 static JSTaggedNumber ToInteger(JSThread *thread, const JSHandle<JSTaggedValue> &tagged);
|
D | js_stable_array.cpp | 715 … JSTaggedNumber index = JSTaggedValue::ToInteger(thread, base::BuiltinsBase::GetCallArg(argv, 0)); in At()
|
/arkcompiler/ets_runtime/ecmascript/napi/ |
D | jsnapi.cpp | 2948 JSTaggedNumber number = JSTaggedValue::ToInteger(thread, tagged); in IntegerValue()
|