Home
last modified time | relevance | path

Searched full:convert (Results 1 – 25 of 79) sorted by relevance

1234

/arkcompiler/runtime_core/tests/cts-assembly/
Dintrinsics-23.pa15 .record Convert <external>
16 .function i32 Convert.stringToI32(panda.String a0) <external>
19 # Convert.stringToI32("-1") == -1
22 call Convert.stringToI32, v0
26 # Convert.stringToI32("1") == 1
29 call Convert.stringToI32, v0
33 # Convert.stringToI32("-2147483648") == -2147483648
36 call Convert.stringToI32, v0
40 # Convert.stringToI32("-2147483649") == 2147483647
43 call Convert.stringToI32, v0
[all …]
Dintrinsics-24.pa15 .record Convert <external>
16 .function u32 Convert.stringToU32(panda.String a0) <external>
19 # Convert.stringToI32("-1") == -1
22 call Convert.stringToU32, v0
27 # Convert.stringToU32("1") == 1
30 call Convert.stringToU32, v0
35 # Convert.stringToU32("4294967295") == 4294967295
38 call Convert.stringToU32, v0
43 # Convert.stringToU32("4294967296") == 0
46 call Convert.stringToU32, v0
Dintrinsics-25.pa15 .record Convert <external>
16 .function i64 Convert.stringToI64(panda.String a0) <external>
19 # Convert.stringToI64("-1") == -1
22 call Convert.stringToI64, v0
27 # Convert.stringToI64("1") == 1
30 call Convert.stringToI64, v0
35 # Convert.stringToI64("-9223372036854775808") == -9223372036854775808
38 call Convert.stringToI64, v0
43 # Convert.stringToI64("9223372036854775807") == 9223372036854775807
46 call Convert.stringToI64, v0
Dintrinsics-26.pa15 .record Convert <external>
16 .function u64 Convert.stringToU64(panda.String a0) <external>
19 # Convert.stringToU64("-1") == 18446744073709551615
22 call Convert.stringToU64, v0
27 # Convert.stringToU64("1") == 1
30 call Convert.stringToU64, v0
35 # Convert.stringToU64("18446744073709551615") == 18446744073709551615
38 call Convert.stringToU64, v0
Dintrinsics-28.pa15 .record Convert <external>
16 .function f64 Convert.stringToF64(panda.String a0) <external>
19 # Convert.stringToF64("-1.0") == -1.0
22 call Convert.stringToF64, v0
27 # Convert.stringToF64("1.0") == 1.0
30 call Convert.stringToF64, v0
/arkcompiler/runtime_core/compiler/optimizer/code_generator/target/aarch32/
Dencode.cpp101 GetMasm()->B(Convert(cc), label); in EncodeJump()
125 GetMasm()->B(Convert(Condition::NE), label); in EncodeBitTestAndBranch()
127 GetMasm()->B(Convert(Condition::EQ), label); in EncodeBitTestAndBranch()
153 GetMasm()->Tst(Convert(Condition::EQ), VixlReg(src), VixlImm(value)); in TestImmHelper()
164 GetMasm()->Cmn(Convert(Condition::EQ), VixlReg(src), VixlImm(-value)); in CompareNegImmHelper()
183 GetMasm()->Cmp(Convert(Condition::EQ), VixlReg(src), VixlImm(value)); in ComparePosImmHelper()
228 GetMasm()->B(Convert(cc), label); in EncodeJump()
305 GetMasm()->B(Convert(cc), label); in EncodeJump()
615 GetMasm()->Mov(Convert(Condition::NE), VixlReg(dst), VixlImm(NANF)); in EncodeFpToBits()
624 GetMasm()->Mov(Convert(Condition::NE), VixlReg(dst), VixlImm(0)); in EncodeFpToBits()
[all …]
/arkcompiler/runtime_core/
D.clang-tidy28 - key: modernize-loop-convert.MaxCopySize
30 - key: modernize-loop-convert.MinConfidence
32 - key: modernize-loop-convert.NamingStyle
/arkcompiler/runtime_core/libpandabase/utils/
Dtype_converter.h92 * Convert time from nanoseconds to readable format
98 * Convert memory from bytes to readable format
104 * Convert any value
Dcframe_layout.h112 // NOLINTNEXTLINE(readability-convert-member-functions-to-static)
138 // NOLINTNEXTLINE(readability-convert-member-functions-to-static)
204 // NOLINTNEXTLINE(readability-convert-member-functions-to-static)
/arkcompiler/ets_runtime/ecmascript/compiler/tests/
Dlowering_relate_gate_test.cpp122 … auto convert = builder.TypeConvert(MachineType::I64, GateType::NJSValue(), GateType::NumberType(), in HWTEST_F_L0() local
124 builder.Return(convert, convert, convert); in HWTEST_F_L0()
152 auto convert = builder.PrimitiveToNumber(arg1, arg1Type); in HWTEST_F_L0() local
153 auto result = builder.NumberBinaryOp<TypedBinOp::TYPED_ADD>(arg0, convert); in HWTEST_F_L0()
/arkcompiler/runtime_core/runtime/
Druntime.yaml438 class_name: Convert
449 class_name: Convert
460 class_name: Convert
471 class_name: Convert
482 class_name: Convert
493 class_name: Convert
Dtiming.cpp59 // NOLINTNEXTLINE(modernize-loop-convert) in Process()
/arkcompiler/runtime_core/runtime/include/coretypes/
Dtagged_value.h224 ASSERT_PRINT(IsDouble(), "can not convert TaggedValue to Double : " << std::hex << value_); in GetDouble()
230 ASSERT_PRINT(IsInt(), "can not convert TaggedValue to Int :" << std::hex << value_); in GetInt()
241 … ASSERT_PRINT(IsHeapObject(), "can not convert TaggedValue to HeapObject :" << std::hex << value_); in GetHeapObject()
249 … ASSERT_PRINT(IsHeapObject(), "can not convert TaggedValue to HeapObject :" << std::hex << value_); in GetRawHeapObject()
255 …ASSERT_PRINT(IsWeak(), "can not convert TaggedValue to WeakRef HeapObject :" << std::hex << value_… in GetWeakReferent()
/arkcompiler/ets_runtime/ecmascript/base/tests/
Dnumber_helper_test.cpp76 …* @tc.desc: This function Convert the double type data into a string.first convert it into the cor…
77 …* hexadecimal number according to the transmitted radix, and convert the hexadecimal num…
224 …* is 15 ~ 16, add one to convert to integer.According to the binary digits of the intege…
285 …* @tc.desc: The function is to convert double type to int type,The maximum value of integer part o…
377 …* @tc.desc: Convert double decimal type to Precision type through "DoubleToPrecision" function.If …
414 …* @tc.desc: Convert double decimal type to Precision type through "DoubleToPrecision" function.If …
469 * @tc.desc: Convert integer type to string type through "IntToString" function.
483 …* @tc.desc: Convert the decimal number into the hexadecimal number corresponding to Radix and conv…
/arkcompiler/ets_runtime/ecmascript/ic/tests/
Dproto_change_details_test.cpp128 …* vector.the vector is not fully set,convert the weakvector object into a ChangeListener…
159 …* vector the vector is fully set but exist hole,convert the weakvector object into a Cha…
192 …* vector the vector is fully set and not exist hole,convert the weakvector object into a…
224 …* vector the vector is fully set,convert the weakvector object into a ChangeListener obj…
246 …* vector the vector is fully set,convert the weakvector object into a ChangeListener obj…
Dprofile_type_info_test.cpp53 * @tc.desc: Convert its name into a string according to different types of IC.
67 …* @tc.desc: Define a TaggedArray object with a length of six. Set different values and convert it …
114 …* @tc.desc: Define a TaggedArray object with a length of two.Set values and convert it into a prof…
173 …* @tc.desc: Define a TaggedArray object with a length of four.Set values and convert it into a pro…
205 …* @tc.desc: Define a TaggedArray object with a length of two.Set values and convert it into a prof…
259 …* @tc.desc: Define a TaggedArray object with a length of two.Set values and convert it into a prof…
302 …* @tc.desc: Define a TaggedArray object with a length of two.Set no values and convert it into a p…
/arkcompiler/runtime_core/pandastdlib/
Dpandastdlib.pa23 .record Convert {}
664 # Convert methods
666 .function i32 Convert.stringToI32(panda.String a0) <native>
668 .function u32 Convert.stringToU32(panda.String a0) <native>
670 .function i64 Convert.stringToI64(panda.String a0) <native>
672 .function u64 Convert.stringToU64(panda.String a0) <native>
674 .function f32 Convert.stringToF32(panda.String a0) <native>
676 .function f64 Convert.stringToF64(panda.String a0) <native>
/arkcompiler/runtime_core/runtime/mem/
Dpanda_string.cpp89 … // Should convert utf-16 to utf-8, because uint16_t likely great than MAX_CHAR, will convert fail in ConvertToString()
/arkcompiler/runtime_core/compiler/docs/
Dcodegen_doc.md134 __ Mov(Convert(cc), VixlReg(dst), 0x1);
135 __ Mov(Convert(cc).Negate(), VixlReg(dst), 0x0);
141 __ Cset(VixlReg(dst), Convert(cc));
/arkcompiler/ets_runtime/ecmascript/
Djs_tagged_number.h37 ASSERT_PRINT(v.IsNumber(), "can not convert non Number JSTaggedValue to JSTaggedNumber"); in JSTaggedNumber()
167 …THROW_TYPE_ERROR_AND_RETURN(thread, "Cannot convert value to a number", JSTaggedNumber::Exception(… in FromIntOrDouble()
Djs_tagged_value.h253 … ASSERT_PRINT(IsDouble(), "can not convert JSTaggedValue to Double : " << std::hex << value_); in GetDouble()
259 ASSERT_PRINT(IsInt(), "can not convert JSTaggedValue to Int :" << std::hex << value_); in GetInt()
271 …ASSERT_PRINT(IsHeapObject(), "can not convert JSTaggedValue to HeapObject :" << std::hex << value_… in GetRawHeapObject()
277 …ASSERT_PRINT(IsWeak(), "can not convert JSTaggedValue to WeakRef HeapObject :" << std::hex << valu… in GetWeakReferent()
381 "can not convert JSTaggedValue to HeapObject :" << std::hex << value_); in GetTaggedObject()
/arkcompiler/runtime_core/compiler/optimizer/
Dpass_manager.h146 // NOLINTNEXTLINE(readability-convert-member-functions-to-static)
152 // NOLINTNEXTLINE(readability-convert-member-functions-to-static)
/arkcompiler/runtime_core/dprof/daemon/
Dmain.cpp47 LOG(ERROR, DPROF) << "Cannot convert data to version message"; in CheckVersion()
76 LOG(ERROR, DPROF) << "Cannot convert data to a app info message"; in ProcessingConnect()
97 LOG(ERROR, DPROF) << "Cannot convert data to a feature data"; in ProcessingConnect()
/arkcompiler/ets_frontend/es2panda/test/parser/ts/type_checker/
Das_expression_1-expected.txt100 …ther type sufficiently overlaps with the other. If this was intentional, convert the expression to…
/arkcompiler/runtime_core/tests/cts-generator/cts-template/
Dlda.str.yaml226 .record Convert {} <external>
227 .function i32 Convert.stringToI32(panda.String a0) <external>
233 call.short Convert.stringToI32, v0

1234