Home
last modified time | relevance | path

Searched +full:0 +full:x3f (Results 1 – 25 of 37) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/src/
Dnamemangler.cpp25 #define DEBUG_ASSERT(f) ((void)0)
31 #define GETHEXCHAR(n) static_cast<char>((n) < 10 ? (n) + '0' : (n) - 10 + 'a')
32 #define GETHEXCHARU(n) static_cast<char>((n) < 10 ? (n) + '0' : (n) - 10 + 'A')
39 if (maxLen == 0) { in AllocCodecBuf()
63 size_t pos = 0; in EncodeName()
64 size_t i = 0; in EncodeName()
76 } else if (c <= 0x7F) { in EncodeName()
92 unsigned short m = str16[0]; in EncodeName()
94 buf[pos++] = GETHEXCHAR((m & 0xF000) >> 12); in EncodeName()
95 buf[pos++] = GETHEXCHAR((m & 0x0F00) >> 8); in EncodeName()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/
DFunctions.sts18 const hexChars: char[] = [c'0', c'1', c'2', c'3', c'4', c'5', c'6', c'7', c'8', c'9', c'A', c'B', c…
28 for (let i = c'0'; i <= c'9'; i++) {
93 c &= 0xff
100 if (c <= 0x7f) {
102 } else if (c <= 0x7ff) {
103 putByteAsHex(ret, c >> 6 | 0xc0)
104 putByteAsHex(ret, c & 0x3f | 0x80)
105 } else if (c <= 0xffff) {
106 putByteAsHex(ret, c >> 12 | 0xe0)
107 putByteAsHex(ret, (c >> 6) & 0x3f | 0x80)
[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/runtime_core/static_core/tests/irtoc-interpreter-tests/
Dbinary.pa15 movi v0, 0x55
16 movi v1, 0x0
17 movi v2, 0xFF
18 movi v3, 0xA0
22 movi v1, 0x1
25 movi v1, 0x2
28 movi v1, 0x3
31 movi v1, 0x1
35 movi v0, 0x55
38 shri 0x0
[all …]
/arkcompiler/runtime_core/tests/irtoc-interpreter-tests/
Dbinary.pa15 movi v0, 0x55
16 movi v1, 0x0
17 movi v2, 0xFF
18 movi v3, 0xA0
22 movi v1, 0x1
25 movi v1, 0x2
28 movi v1, 0x3
31 movi v1, 0x1
35 movi v0, 0x55
38 shri 0x0
[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/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/runtime_core/static_core/plugins/ets/tests/ets-templates/02.lexical_elements/09.literals/05.string_literals/
Dhex.sts21 …2c\x2d\x2e\x2f\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40\x41\x42\x43\x44…
23 for (let i = 0; i < s.length; i++) {
/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/compiler/codegen/maple/maple_ir/include/
Ddwarf.def48 DW_TAG(0x0000, null)
49 DW_TAG(0x0001, array_type)
50 DW_TAG(0x0002, class_type)
51 DW_TAG(0x0004, enumeration_type)
52 DW_TAG(0x0005, formal_parameter)
53 DW_TAG(0x000a, label)
54 DW_TAG(0x000b, lexical_block)
55 DW_TAG(0x000d, member)
56 DW_TAG(0x000f, pointer_type)
57 DW_TAG(0x0011, compile_unit)
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/include/
Dmuid.h29 constexpr unsigned int kSystemNamespace = 0xc0;
30 constexpr unsigned int kApkNamespace = 0x80;
31 constexpr unsigned int kBitMask = 0x3f;
70 uint32_t words[kNumLowAndHigh] = {0};
74 uint64_t words[kNumLowAndHigh] = {0};
100 (data.words[1] == muid.data.words[1] && data.words[0] < muid.data.words[0]));
105 (data.words[1] == muid.data.words[1] && data.words[0] > muid.data.words[0]));
109 return data.words[1] == muid.data.words[1] && data.words[0] == muid.data.words[0];
113 return data.words[1] != muid.data.words[1] || data.words[0] != muid.data.words[0];
120 …sbuf << std::setfill('0') << std::setw(8) << std::hex << data.words[1] << std::setfill('0') << std… in ToStr()
[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++) {
36 c'\x3d', c'\x3e', c'\x3f', c'\x40', c'\x41', c'\x42', c'\x43', c'\x44', c'\x45',
45 for (let i = 0; i < 128; i++) {
60 let j = 0;
/arkcompiler/ets_frontend/ets2panda/test/runtime/ets/
DStringBase64.sts19 …-1, -1, -1, 63, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, -1, -1, -1, 0, -1, -1, -1, 0, 1, 2, 3, 4, …
24 for (i = 0; i < (length - 2); i += 3) {
26 …result.append(StringBase64.TO_BASE64_TABLE.charAt(((data.charAt(i) & 0x03) << 4) + (data.charAt(i …
27 …result.append(StringBase64.TO_BASE64_TABLE.charAt(((data.charAt(i + 1) & 0x0f) << 2) + (data.charA…
28 result.append(StringBase64.TO_BASE64_TABLE.charAt(data.charAt(i + 2) & 0x3f));
30 if (length % 3 != 0) {
34 …result.append(StringBase64.TO_BASE64_TABLE.charAt(((data.charAt(i) & 0x03) << 4) + (data.charAt(i …
35 … result.append(StringBase64.TO_BASE64_TABLE.charAt((data.charAt(i + 1) & 0x0f) << 2));
39 result.append(StringBase64.TO_BASE64_TABLE.charAt((data.charAt(i) & 0x03) << 4));
48 let leftbits : int = 0;
[all …]
/arkcompiler/ets_frontend/ets2panda/test/parser/ets/
DStringBase64.sts19 …-1, -1, -1, 63, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, -1, -1, -1, 0, -1, -1, -1, 0, 1, 2, 3, 4, …
24 for (i = 0; i < (length - 2); i += 3) {
26 …result.append(StringBase64.TO_BASE64_TABLE.charAt(((data.charAt(i) & 0x03) << 4) + (data.charAt(i …
27 …result.append(StringBase64.TO_BASE64_TABLE.charAt(((data.charAt(i + 1) & 0x0f) << 2) + (data.charA…
28 result.append(StringBase64.TO_BASE64_TABLE.charAt(data.charAt(i + 2) & 0x3f));
30 if (length % 3 != 0) {
34 …result.append(StringBase64.TO_BASE64_TABLE.charAt(((data.charAt(i) & 0x03) << 4) + (data.charAt(i …
35 … result.append(StringBase64.TO_BASE64_TABLE.charAt((data.charAt(i + 1) & 0x0f) << 2));
39 result.append(StringBase64.TO_BASE64_TABLE.charAt((data.charAt(i) & 0x03) << 4));
48 let leftbits : int = 0;
[all …]
/arkcompiler/ets_frontend/es2panda/lexer/token/
Dletters.h23 #define LEX_CHAR_NULL 0x00 /* \0 */
26 #define LEX_CHAR_LF 0x0A /* line feed */
27 #define LEX_CHAR_CR 0x0D /* carriage return */
28 #define LEX_CHAR_LS 0x2028 /* line separator */
29 #define LEX_CHAR_PS 0x2029 /* paragraph separator */
31 #define LEX_CHAR_LOWERCASE_A 0x61 /* a */
32 #define LEX_CHAR_LOWERCASE_B 0x62 /* b */
33 #define LEX_CHAR_LOWERCASE_C 0x63 /* c */
34 #define LEX_CHAR_LOWERCASE_D 0x64 /* d */
35 #define LEX_CHAR_LOWERCASE_E 0X65 /* e */
[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_frontend/es2panda/util/
Dbase64.cpp23 if (strLen % TO_TRANSFORM_CHAR_NUM != 0) { in Base64Encode()
26 std::string encodedRes = std::string(encodedStrLen, '\0'); in Base64Encode()
29 …for (size_t i = 0, j = 0; i < encodedRes.length() - 2; i += TRANSFORMED_CHAR_NUM, j += TO_TRANSFOR… in Base64Encode()
30 // convert three 8bit into four 6bit; then add two 0 bit in each 6 bit in Base64Encode()
32 encodedRes[i] = base64CharSet[(static_cast<unsigned int>(inputString[j]) & 0xff) >> 2]; in Base64Encode()
34 encodedRes[i + 1] = base64CharSet[(static_cast<unsigned int>(inputString[j]) & 0x03) << 4 | in Base64Encode()
35 (static_cast<unsigned int>(inputString[j + 1]) & 0xf0) >> 4]; in Base64Encode()
37 … encodedRes[i + 2] = base64CharSet[(static_cast<unsigned int>(inputString[j + 1]) & 0x0f) << 2 | in Base64Encode()
38 (static_cast<unsigned int>(inputString[j + 2]) & 0xc0) >> 6]; in Base64Encode()
40 encodedRes[i + 3] = base64CharSet[static_cast<unsigned int>(inputString[j + 2]) & 0x3f]; in Base64Encode()
[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/toolchain/tooling/base/
Dpt_base64.cpp24 255, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
46 if (len < ENCODED_GROUP_BYTES || len % ENCODED_GROUP_BYTES != 0) { in Decode()
47 return {0, false}; in Decode()
53 int8_t i = 0; in Decode()
62 …*dest++ = (base64Chars[0] << 2) | ((base64Chars[1] & 0x30) >> 4); // 2: shift 2bits, 4: shift 4bits in Decode()
63 …*dest++ = (base64Chars[1] << 4) | ((base64Chars[2] & 0x3c) >> 2); // 2: shift 2bits, 4: shift 4bits in Decode()
65 i = 0; in Decode()
70 if (i != 0) { in Decode()
72 … tmp[0] = (base64Chars[0] << 2) | ((base64Chars[1] & 0x30) >> 4); // 2: shift 2bits, 4: shift 4bits in Decode()
73 … tmp[1] = (base64Chars[1] << 4) | ((base64Chars[2] & 0x3c) >> 2); // 2: shift 2bits, 4: shift 4bits in Decode()
[all …]
/arkcompiler/ets_frontend/ets2panda/lexer/token/
Dletters.h23 inline constexpr char32_t LEX_CHAR_NULL = 0x00; /* \0 */
26 inline constexpr char32_t LEX_CHAR_LF = 0x0A; /* line feed */
27 inline constexpr char32_t LEX_CHAR_CR = 0x0D; /* carriage return */
28 inline constexpr char32_t LEX_CHAR_LS = 0x2028; /* line separator */
29 inline constexpr char32_t LEX_CHAR_PS = 0x2029; /* paragraph separator */
31 inline constexpr char32_t LEX_CHAR_LOWERCASE_A = 0x61; /* a */
32 inline constexpr char32_t LEX_CHAR_LOWERCASE_B = 0x62; /* b */
33 inline constexpr char32_t LEX_CHAR_LOWERCASE_C = 0x63; /* c */
34 inline constexpr char32_t LEX_CHAR_LOWERCASE_D = 0x64; /* d */
35 inline constexpr char32_t LEX_CHAR_LOWERCASE_E = 0X65; /* e */
[all …]
/arkcompiler/ets_frontend/es2panda/test/optimizer/js/opt-try-catch-func/
Dtest-nested-try-catch-expected.pa.txt3 slotNum = 0x1e
14 ldai 0x1
25 tryldglobalbyname 0x0, print
26 callarg1 0x1, v4
27 tryldglobalbyname 0x3, print
28 callarg1 0x4, v5
37 tryldglobalbyname 0x6, print
38 callarg1 0x7, v3
44 ldai 0x3
62 ldai 0x5
[all …]
/arkcompiler/toolchain/tooling/test/
Dpt_base64_test.cpp52 EXPECT_EQ(numOctets, 0u); in HWTEST_F_L0()
56 EXPECT_EQ(len, 0u); in HWTEST_F_L0()
64 size_t len = 0; in HWTEST_F_L0()
165 EXPECT_EQ(numOctets, 0u); in HWTEST_F_L0()
174 EXPECT_EQ(numOctets, 0u); in HWTEST_F_L0()
183 EXPECT_EQ(numOctets, 0u); in HWTEST_F_L0()
1910x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, in HWTEST_F_L0()
1920x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, in HWTEST_F_L0()
1930x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, 0x29, 0x2a, 0x2b, 0x2c, 0x2d, 0x2e, 0x2f, in HWTEST_F_L0()
1940x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x3a, 0x3b, 0x3c, 0x3d, 0x3e, 0x3f, in HWTEST_F_L0()
[all …]
/arkcompiler/ets_frontend/es2panda/test/parser/binder/
Dindex-hex-name-ts-expected.txt3 slotNum = 0x5a
9 defineclasswithbuffer 0x0, .#~A=A~BB=#BB, _2, 0x0, v0
11 ldobjbyname 0x1, prototype
13 stobjbyname 0x3, B, a2
16 defineclasswithbuffer 0x5, .#~A=A~@0=#CCC, _3, 0x0, v0
18 ldobjbyname 0x6, prototype
20 stobjbyname 0x8, C, a2
23 defineclasswithbuffer 0xa, .#~A=A~@1=#DDD, _4, 0x0, v0
25 ldobjbyname 0xb, prototype
27 stobjbyname 0xd, D, a2
[all …]
/arkcompiler/ets_frontend/es2panda/test/parser/binder/noModule/
DscopeNames-order-without-module-expected.txt3 slotNum = 0x5a
9 defineclasswithbuffer 0x0, .#~A=A~BB=#BB, _1, 0x0, v0
11 ldobjbyname 0x1, prototype
13 stobjbyname 0x3, B, a2
16 defineclasswithbuffer 0x5, .#~A=A~@0=#CCC, _2, 0x0, v0
18 ldobjbyname 0x6, prototype
20 stobjbyname 0x8, C, a2
23 defineclasswithbuffer 0xa, .#~A=A~@1=#DDD, _3, 0x0, v0
25 ldobjbyname 0xb, prototype
27 stobjbyname 0xd, D, a2
[all …]

12