Home
last modified time | relevance | path

Searched refs:ToInteger (Results 1 – 14 of 14) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_number.cpp107 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()
Dbuiltins_sharedarraybuffer.cpp185 JSTaggedNumber relativeStart = JSTaggedValue::ToInteger(thread, startHandle); in Slice()
203 JSTaggedNumber relativeEnd = JSTaggedValue::ToInteger(thread, endHandle); in Slice()
Dbuiltins_string.cpp262 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 …]
Dbuiltins_array.cpp540 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 …]
Dbuiltins_bigint.cpp168 JSTaggedNumber radixNumber = JSTaggedValue::ToInteger(thread, radixValue); in ToString()
Dbuiltins_typedarray.cpp1033 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()
Dbuiltins_arraybuffer.cpp139 JSTaggedNumber relativeStart = JSTaggedValue::ToInteger(thread, startHandle); in Slice()
157 JSTaggedNumber relativeEnd = JSTaggedValue::ToInteger(thread, endHandle); in Slice()
/arkcompiler/ets_runtime/ecmascript/base/
Datomic_helper.cpp112 JSTaggedNumber integerValue = JSTaggedValue::ToInteger(thread, value); in AtomicStore()
/arkcompiler/ets_runtime/ecmascript/tests/
Dtagged_value_test.cpp369 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/
Djs_typed_array.cpp412 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()
Djs_tagged_value-inl.h199 inline JSTaggedNumber JSTaggedValue::ToInteger(JSThread *thread, const JSHandle<JSTaggedValue> &tag… in ToInteger() function
263 JSTaggedNumber len = ToInteger(thread, tagged); in ToLength()
Djs_tagged_value.h416 static JSTaggedNumber ToInteger(JSThread *thread, const JSHandle<JSTaggedValue> &tagged);
Djs_stable_array.cpp715 … JSTaggedNumber index = JSTaggedValue::ToInteger(thread, base::BuiltinsBase::GetCallArg(argv, 0)); in At()
/arkcompiler/ets_runtime/ecmascript/napi/
Djsnapi.cpp2948 JSTaggedNumber number = JSTaggedValue::ToInteger(thread, tagged); in IntegerValue()