Home
last modified time | relevance | path

Searched +full:0 +full:x1f (Results 1 – 25 of 59) sorted by relevance

123

/arkcompiler/ets_runtime/ecmascript/compiler/
Dnumber_gate_info.h39 static constexpr uint8_t UNUSED = 0;
40 static constexpr uint8_t BOOL = 1 << 0;
61 return ((tag_ & NATIVE) != 0); in UsedAsNative()
65 return ((tag_ & TAGGED) != 0); in UsedAsTagged()
88 uint8_t tag_ {0};
108 static constexpr int32_t UINT30_MAX = 0x3fffffff;
112 -UINT18_MAX, -TYPED_ARRAY_ONHEAP_MAX, -1, 0, 1, TYPED_ARRAY_ONHEAP_MAX - 1,
153 return (rhs.max_ > 0) && (max_ > INT32_MAX - rhs.max_); in MaybeAddOverflow()
158 return (rhs.min_ < 0) && (min_ < INT32_MIN - rhs.min_); in MaybeAddUnderflow()
177 RangeInfo result = RangeInfo(0, 0);
[all …]
/arkcompiler/runtime_core/disassembler/tests/
Ddisassembler_imm_tests.cpp24 panda_file::File::EntityId method_id {0x00};
31 const uint8_t bytecode[] = {0x4f, 0x17}; in TEST()
34 EXPECT_EQ(static_cast<uint8_t>(inst.GetOpcode()), 0x4f); in TEST()
35 EXPECT_EQ(std::get<int64_t>(ins.imms[0]), static_cast<int64_t>(0x17)); in TEST()
40 const uint8_t bytecode[] = {0x4d, 0xea}; in TEST()
43 EXPECT_EQ(static_cast<uint8_t>(inst.GetOpcode()), 0x4d); in TEST()
44 EXPECT_EQ(std::get<int64_t>(ins.imms[0]), static_cast<int8_t>(-22)); in TEST()
49 const uint8_t bytecode[] = {0x62, 0x1e, 0x00, 0x00, 0x00}; in TEST()
52 EXPECT_EQ(static_cast<uint8_t>(inst.GetOpcode()), 0x62); in TEST()
53 EXPECT_EQ(std::get<int64_t>(ins.imms[0]), static_cast<int32_t>(0x1e)); in TEST()
[all …]
/arkcompiler/runtime_core/libpandafile/tests/
Dbytecode_imm_fetch_tests.cpp30 const uint8_t bytecode[] = {0x4f, 0x17}; in TEST()
32 EXPECT_EQ(static_cast<uint8_t>(inst.GetOpcode()), 0x4f); in TEST()
33 …PECT_EQ((inst.GetImm<BytecodeInstruction::Format::IMM8_V8_V8_V8, 0>()), static_cast<int8_t>(0x17)); in TEST()
34 EXPECT_EQ((inst.GetImm<BytecodeInstruction::Format::IMM8_V8_V8_V8, 0, true>()), in TEST()
35 static_cast<int8_t>(0x17)); in TEST()
40 const uint8_t bytecode[] = {0x4d, 0xea}; in TEST()
42 EXPECT_EQ(static_cast<uint8_t>(inst.GetOpcode()), 0x4d); in TEST()
43 EXPECT_EQ((inst.GetImm<BytecodeInstruction::Format::IMM8, 0>()), static_cast<int8_t>(-22)); in TEST()
44 … EXPECT_EQ((inst.GetImm<BytecodeInstruction::Format::IMM8, 0, true>()), static_cast<int8_t>(-22)); in TEST()
49 const uint8_t bytecode[] = {0x62, 0x1e, 0x00, 0x00, 0x00}; in TEST()
[all …]
/arkcompiler/ets_frontend/es2panda/test/optimizer/ts/branch-elimination/projects/ts_ohmurl_project/
Dtest-import-exec-expected.pa.txt3 slotNum = 0x0
8 stmodulevar 0x0
10 stmodulevar 0x1
19 slotNum = 0x0
24 stmodulevar 0x0
33 slotNum = 0x0
38 stmodulevar 0x0
47 slotNum = 0x0
52 stmodulevar 0x5
54 stmodulevar 0x6
[all …]
/arkcompiler/ets_runtime/test/moduletest/createarray/
Dcreatearray.js23 0x01, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00,
24 0x00, 0x02, 0x00, 0x00, 0xcd, 0x1f, 0x40, 0xcd, 0x37, 0x56, 0x2f, 0x78, 0xbb, 0x27, 0x1e, 0xba,
25 0x66, 0xba, 0x84, 0xc6, 0xdb, 0xa0, 0x72, 0xf3, 0x1b, 0x53, 0x8c, 0x46, 0x99, 0x65, 0x0d, 0xf7,
26 0xb4, 0xae, 0x19, 0x46, 0x1e, 0x05, 0xb0, 0xbc, 0xe1, 0x84, 0x9b, 0x44, 0xc5, 0x06, 0x18, 0xef,
27 0x68, 0x4b, 0x80, 0xf4, 0xfc, 0x00, 0x79, 0x8e, 0x21, 0x5e, 0x8f, 0x26, 0x65, 0x69, 0x09, 0x31,
28 0x4b, 0xa0, 0x95, 0x37, 0x53, 0xa2, 0xf5, 0x52, 0x78, 0xb5, 0x3c, 0xec, 0x58, 0x25, 0x1f, 0x23,
29 0x99, 0x89, 0xc1, 0x46, 0x29, 0x65, 0xbb, 0xbe, 0x59, 0x4c, 0xe4, 0x6f, 0xfc, 0xeb, 0x53, 0xe5,
30 0x33, 0x6e, 0x9a, 0x14, 0x57, 0x2a, 0x39, 0xc5, 0xec, 0x4e, 0xc3, 0x3e, 0xcf, 0x76, 0xa3, 0xe9,
31 0xf8, 0xe3, 0x8a, 0x40, 0x1b, 0x3d, 0x07, 0x0e, 0xe4, 0x8e, 0xc7, 0x03, 0xbe, 0xf0, 0x3b, 0xb1,
32 0x25, 0x4d, 0x20, 0x07, 0x9d, 0x2a, 0x18, 0x92, 0x4b, 0x62, 0x34, 0x73, 0xbc, 0x60, 0x3c, 0x18,
[all …]
/arkcompiler/ets_frontend/es2panda/test/optimizer/js/opt-try-catch-func/
Dtest-raw-try-catch-expected.pa.txt3 slotNum = 0x1a
7 ldai 0x8
9 ldai 0x9
13 ldai 0x1
21 ldai 0x2
25 tryldglobalbyname 0x0, print
26 callarg1 0x1, v8
34 ldai 0x4
38 tryldglobalbyname 0x3, print
39 callarg1 0x4, v7
[all …]
/arkcompiler/runtime_core/static_core/isa/
Disa.yaml84 - Positive zero (+0.0, hexadecimal representation is `0x0000000000000000`)
85 - Negative zero (-0.0, hexadecimal representation is `0x8000000000000000`)
86 - Minimal positive value (4.9E-324, hexadecimal representation is `0x0000000000000001`)
87 - Maximal negative value (-4.9E-324, hexadecimal representation is `0x8000000000000001`)
88 …- Maximal positive value (1.7976931348623157e308, hexadecimal representation is `0x7feffffffffffff…
89 …- Minimal negative value (-1.7976931348623157e308, hexadecimal representation is `0xffefffffffffff…
90 - Positive infinity (hexadecimal representation is `0x7ff0000000000000`)
91 - Negative infinity (hexadecimal representation is `0xfff0000000000000`)
92 …- Not a number - set of all NaN values (one of hexadecimal representations is `0x7ff8000000000000`)
163 description: Bytecode throws ArithmeticException if the divisor is 0.
[all …]
/arkcompiler/ets_frontend/es2panda/test/bytecode/js/destructuring/
Dtest-array-pattern-iterator-close-expected.txt3 slotNum = 0x2e
8 createarraywithbuffer 0x0, _1
9 getiterator 0x1
11 ldobjbyname 0x3, next
24 callruntime.istrue 0x5
28 callthis0 0x7, v0
31 ldobjbyname 0x9, done
35 callruntime.isfalse 0xb
46 ldobjbyname 0xd, value
69 sttoglobalrecord 0xf, a
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/02.lexical_elements/09.literals/05.string_literals/
Dhex.sts21 …0c\x0d\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20\x21\x22\x23\x24…
23 for (let i = 0; i < s.length; i++) {
/arkcompiler/ets_frontend/es2panda/test/parser/binder/
Dloop-scope-name-js-expected.txt3 slotNum = 0x0
12 slotNum = 0x0
16 ldai 0x1
21 slotNum = 0x0
30 slotNum = 0x0
39 slotNum = 0x0
48 slotNum = 0x0
57 slotNum = 0x24
62 newlexenv 0x2
64 stlexvar 0x0, 0x0
[all …]
Dloop-scope-name-ts-expected.txt3 slotNum = 0x0
12 slotNum = 0x0
16 ldai 0x1
21 slotNum = 0x0
30 slotNum = 0x0
39 slotNum = 0x0
48 slotNum = 0x0
57 slotNum = 0x24
62 newlexenv 0x2
64 stlexvar 0x0, 0x0
[all …]
/arkcompiler/ets_runtime/ecmascript/ic/
Dic_binary_op.h299 int32_t opNumber0 = 0; in ShlWithTSType()
300 int32_t opNumber1 = 0; in ShlWithTSType()
303 …static_cast<uint32_t>(opNumber1) & 0x1f; // NOLINT(hicpp-signed-bitwise, readability-magic-number… in ShlWithTSType()
315 int32_t opNumber0 = 0; in ShrWithTSType()
316 int32_t opNumber1 = 0; in ShrWithTSType()
319 …static_cast<uint32_t>(opNumber1) & 0x1f; // NOLINT(hicpp-signed-bitwise, readability-magic-num… in ShrWithTSType()
329 int32_t opNumber0 = 0; in AshrWithTSType()
330 int32_t opNumber1 = 0; in AshrWithTSType()
333 …static_cast<uint32_t>(opNumber1) & 0x1f; // NOLINT(hicpp-signed-bitwise, readability-magic-number… in AshrWithTSType()
345 int32_t opNumber0 = 0; in AndWithTSType()
[all …]
/arkcompiler/runtime_core/libpandabase/utils/
Dutf.h32 * 1 7 U+0000 U+007F 0xxxxxxx
37 constexpr size_t MASK1 = 0x80;
38 constexpr size_t MASK2 = 0x20;
39 constexpr size_t MASK3 = 0x10;
41 constexpr size_t MASK_4BIT = 0x0f;
42 constexpr size_t MASK_5BIT = 0x1f;
43 constexpr size_t MASK_6BIT = 0x3f;
44 constexpr size_t MASK_10BIT = 0x03ff;
45 constexpr size_t MASK_16BIT = 0xffff;
50 constexpr size_t HI_SURROGATE_MIN = 0xd800;
[all …]
/arkcompiler/ets_frontend/es2panda/test/optimizer/js/branch-elimination/
Dtest-branch-elimination-expected.pa.txt3 slotNum = 0x28
7 tryldglobalbyname 0x4, print
12 callarg1 0x5, v1
18 slotNum = 0x1a
22 tryldglobalbyname 0x17, print
27 callarg1 0x18, v1
33 slotNum = 0x20
37 tryldglobalbyname 0x1d, print
42 callarg1 0x1e, v1
48 slotNum = 0x20
[all …]
/arkcompiler/ets_runtime/ecmascript/base/
Dutf_helper.h30 static constexpr size_t MASK1 = 0x80;
31 static constexpr size_t MASK2 = 0x20;
32 static constexpr size_t MASK3 = 0x10;
33 static constexpr size_t LOW_3BITS = 0x7;
34 static constexpr size_t LOW_4BITS = 0xF;
35 static constexpr size_t LOW_5BITS = 0x1F;
36 static constexpr size_t LOW_6BITS = 0x3F;
37 static constexpr size_t L_SURROGATE_START = 0xDC00;
38 static constexpr size_t H_SURROGATE_START = 0xD800;
39 static constexpr size_t SURROGATE_RAIR_START = 0x10000;
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/01.character_type_and_literals/01.character_literals/
Dchar_literals.sts24 for (let i = 0; i < escaped_chars.length; i++) {
32 c'\x19', c'\x1a', c'\x1b', c'\x1c', c'\x1d', c'\x1e', c'\x1f', c'\x20', c'\x21',
45 for (let i = 0; i < 128; i++) {
60 let j = 0;
/arkcompiler/runtime_core/static_core/libpandabase/utils/
Dutf.h32 * 1 7 U+0000 U+007F 0xxxxxxx
37 constexpr size_t MASK1 = 0x80;
38 constexpr size_t MASK2 = 0x20;
39 constexpr size_t MASK3 = 0x10;
41 constexpr size_t MASK_4BIT = 0x0f;
42 constexpr size_t MASK_5BIT = 0x1f;
43 constexpr size_t MASK_6BIT = 0x3f;
44 constexpr size_t MASK_10BIT = 0x03ff;
45 constexpr size_t MASK_16BIT = 0xffff;
50 constexpr size_t U16_LEAD = 0xd7c0;
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/
Dmir_pragma.h47 kValueByte = 0x00, // (none; must be 0) ubyte[1]
48 kValueShort = 0x02, // size - 1 (0…1) ubyte[size]
49 kValueChar = 0x03, // size - 1 (0…1) ubyte[size]
50 kValueInt = 0x04, // size - 1 (0…3) ubyte[size]
51 kValueLong = 0x06, // size - 1 (0…7) ubyte[size]
52 kValueFloat = 0x10, // size - 1 (0…3) ubyte[size]
53 kValueDouble = 0x11, // size - 1 (0…7) ubyte[size]
54 kValueMethodType = 0x15, // size - 1 (0…3) ubyte[size]
55 kValueMethodHandle = 0x16, // size - 1 (0…3) ubyte[size]
56 kValueString = 0x17, // size - 1 (0…3) ubyte[size]
[all …]
/arkcompiler/runtime_core/tests/cts-generator/cts-template/
Dmuli.yaml34 ldai 0
36 movi v0, 0
38 ldai 0
47 - values: ["0"]
50 - values: ["0xF"]
51 - values: ["-0xF"]
52 - values: ["0x7F"]
53 - values: ["-0x7F"]
54 - values: ["0x80"]
55 - values: ["-0x80"]
[all …]
Dshli.yaml34 ldai 0
36 movi v0, 0
38 ldai 0
46 - values: ["0"]
49 - values: ["0xF"]
50 - values: ["-0xF"]
51 - values: ["0x7F"]
52 - values: ["-0x7F"]
53 - values: ["0x80"]
54 - values: ["-0x80"]
[all …]
Dmodi.yaml34 ldai 0
36 movi v0, 0
38 ldai 0
48 - values: ["0xF"]
49 - values: ["-0xF"]
50 - values: ["0x7F"]
51 - values: ["-0x7F"]
52 - values: ["0x80"]
53 - values: ["-0x80"]
54 - values: ["0xFF"]
[all …]
/arkcompiler/runtime_core/static_core/tests/cts-generator/cts-template/
Dshli.yaml34 ldai 0
36 movi v0, 0
38 ldai 0
46 - values: ["0"]
49 - values: ["0xF"]
50 - values: ["-0xF"]
51 - values: ["0x7F"]
52 - values: ["-0x7F"]
53 - values: ["0x80"]
54 - values: ["-0x80"]
[all …]
Dmuli.yaml34 ldai 0
36 movi v0, 0
38 ldai 0
47 - values: ["0"]
50 - values: ["0xF"]
51 - values: ["-0xF"]
52 - values: ["0x7F"]
53 - values: ["-0x7F"]
54 - values: ["0x80"]
55 - values: ["-0x80"]
[all …]
Dmodi.yaml34 ldai 0
36 movi v0, 0
38 ldai 0
48 - values: ["0xF"]
49 - values: ["-0xF"]
50 - values: ["0x7F"]
51 - values: ["-0x7F"]
52 - values: ["0x80"]
53 - values: ["-0x80"]
54 - values: ["0xFF"]
[all …]
Dshl2.yaml33 ldai 0
37 movi v0, 0
39 ldai 0
47 - "0"
54 - "0x7FFFFFFF"
57 - "0x80000000"
60 - "-0x7FFFFFFF"
63 - "-0x80000000"
66 - "0xFFFFFFFF"
69 - "-0xFFFFFFFF"
[all …]

123