Home
last modified time | relevance | path

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

123

/arkcompiler/ets_frontend/ets2panda/bindings/src/
Dstrings.ts43 let length = 0;
44 for (let i = 0; i < input.length; i++) {
47 if (cp >= 0x10000) {
55 let length = 0;
56 for (let i = 0; i < input.length; i++) {
58 if (cp < 0x80) {
60 } else if (cp < 0x800) {
62 } else if (cp < 0x10000) {
73 array[offset] = len & 0xff;
74 array[offset + 1] = (len >> 8) & 0xff;
[all …]
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_global_uri.h22 static constexpr uint8_t SIX_BIT_MASK = 0x3F;
23 static constexpr uint16_t BITMAP_SIZE = 0x3F;
24 static constexpr uint64_t RESERVED_URI_MASK = 0xAC00985000000000; // $&+,/:;=?
25 static constexpr uint64_t MARK_URI_MASK = 0x678200000000; // !'()*-.
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/src/
Dnamemangler.cpp23 #define DEBUG_ASSERT(f) ((void)0)
26 #define GETHEXCHAR(n) static_cast<char>((n) < 10 ? (n) + '0' : (n)-10 + 'a')
27 #define GETHEXCHARU(n) static_cast<char>((n) < 10 ? (n) + '0' : (n)-10 + 'A')
65 std::string newName(nameLen, '\0'); in DecodeName()
68 int splitNo = 0; // split: class 0 | method 1 | signature 2 in DecodeName()
69 size_t pos = 0; in DecodeName()
72 for (size_t i = 0; i < nameLen;) { in DecodeName()
86 uint8_t b1 = (c <= '9') ? c - '0' : c - 'a' + kNumLimit; in DecodeName()
88 uint8_t b2 = (c <= '9') ? c - '0' : c - 'a' + kNumLimit; in DecodeName()
90 uint8_t b3 = (c <= '9') ? c - '0' : c - 'a' + kNumLimit; in DecodeName()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/
DFunctions.ets29 for (let i = c'0'; i <= c'9'; i++) {
97 c &= 0xff
104 if (c <= 0x7f) {
106 } else if (c <= 0x7ff) {
107 putByteAsHex(ret, c >> 6 | 0xc0)
108 putByteAsHex(ret, c & 0x3f | 0x80)
109 } else if (c <= 0xffff) {
110 putByteAsHex(ret, c >> 12 | 0xe0)
111 putByteAsHex(ret, (c >> 6) & 0x3f | 0x80)
112 putByteAsHex(ret, (c >> 0) & 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/runtime_core/libpandafile/tests/
Dbytecode_rerturn_throw_tests.cpp30 const uint8_t bytecode[] = {0x65}; in TEST()
36 const uint8_t bytecode[] = {0xfe}; in TEST()
42 const uint8_t bytecode[] = {0x3f, 0x00, 0x0c, 0x00}; in TEST()
Dbytecode_jump_range_tests.cpp30 const uint8_t bytecode[] = {0x4d, 0xea}; in TEST()
36 const uint8_t bytecode[] = {0x08, 0x0b, 0x03, 0x06}; in TEST()
45 // newobjrange 0xb, 0x3, v6 in TEST()
46 const uint8_t bytecode[] = {0x08, 0x0b, 0x03, 0x06}; in TEST()
52 const uint8_t bytecode[] = {0x44, 0x58}; in TEST()
61 const uint8_t bytecode[] = {0x3f, 0x0a, 0x00, 0x00}; in TEST()
66 // newobjrange 0xb, 0x3, v6 in TEST()
67 const uint8_t bytecode[] = {0x08, 0x0b, 0x03, 0x06}; in TEST()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/02.widening_primitive_conversions/
Dbytetofloat.ets28 for (let i = 0; i < bytes.length; i++) {
32 return dataView.getFloat32(0, true);
36 const bytes1 = new Uint8Array([0x40, 0x49, 0x0F, 0xDB]);
40 const bytes2 = new Uint8Array([0x3F, 0x80, 0x00, 0x00]);
44 const bytes3 = new Uint8Array([0xBF, 0x80, 0x00, 0x00]);
48 const bytes4 = new Uint8Array([0x00, 0x00, 0x00, 0x00]);
/arkcompiler/ets_runtime/common_components/base/
Dutf_helper.h26 constexpr size_t HI_SURROGATE_MIN = 0xd800;
27 constexpr size_t HI_SURROGATE_MAX = 0xdbff;
28 constexpr size_t LO_SURROGATE_MIN = 0xdc00;
29 constexpr size_t LO_SURROGATE_MAX = 0xdfff;
31 constexpr size_t LO_SUPPLEMENTS_MIN = 0x10000;
36 static constexpr size_t MASK1 = 0x80;
37 static constexpr size_t MASK2 = 0x20;
38 static constexpr size_t MASK3 = 0x10;
39 static constexpr size_t LOW_3BITS = 0x7;
40 static constexpr size_t LOW_4BITS = 0xF;
[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/ets_frontend/ets2panda/linter/homecheck/src/utils/checker/imageFormat/
Dwebp.ts28 height: 1 + (((input[4] & 0xf) << 10) | (input[3] << 2) | ((input[2] & 0xc0) >> 6)),
29 width: 1 + (((input[2] & 0x3f) << 8) | input[1]),
35 height: readInt16LE(input, 8) & 0x3fff,
36 width: readInt16LE(input, 6) & 0x3fff,
42 const riffHeader = 'RIFF' === toUTF8String(input, 0, 4);
51 const extendedHeader = input[0];
52 const validStart = (extendedHeader & 0xc0) === 0;
53 const validEnd = (extendedHeader & 0x01) === 0;
59 if (chunkHeader === 'VP8' && input[0] !== 0x2f) {
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/02.lexical_elements/09.literals/06.string_literals/
Dhex.ets21 …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/ets_frontend/es2panda/test/bytecode/ts/ic/
Dic-slot-8-16-bit-sort-expected.txt1 slotNum = 0x0
11 slotNum = 0x81
16 ldai 0x0
17 trystglobalbyname 0x0, a0
18 ldai 0x1
19 trystglobalbyname 0x1, a1
21 callruntime.isfalse 0x2
23 callruntime.isfalse 0x3
25 callruntime.isfalse 0x4
27 callruntime.isfalse 0x5
[all …]
Dic-slot-8-16-bit-no-sort-expected.txt1 slotNum = 0x0
11 slotNum = 0x80
16 ldai 0x0
17 trystglobalbyname 0x0, a0
18 ldai 0x1
19 trystglobalbyname 0x1, a1
21 callruntime.isfalse 0x2
23 callruntime.isfalse 0x3
25 callruntime.isfalse 0x4
27 callruntime.isfalse 0x5
[all …]
Dic-slot-no-overflow-expected.txt1 slotNum = 0x0
11 slotNum = 0x80
17 callruntime.isfalse 0x0
19 callruntime.isfalse 0x1
21 callruntime.isfalse 0x2
23 callruntime.isfalse 0x3
25 callruntime.isfalse 0x4
27 callruntime.isfalse 0x5
29 callruntime.isfalse 0x6
31 callruntime.isfalse 0x7
[all …]
Dic-slot-8-overflow-gap-0xfe-expected.txt1 slotNum = 0x0
11 slotNum = 0x81
17 callruntime.isfalse 0x0
19 callruntime.isfalse 0x1
21 callruntime.isfalse 0x2
23 callruntime.isfalse 0x3
25 callruntime.isfalse 0x4
27 callruntime.isfalse 0x5
29 callruntime.isfalse 0x6
31 callruntime.isfalse 0x7
[all …]
Dic-slot-8-overflow-16-gap-expected.txt1 slotNum = 0x0
11 slotNum = 0x83
16 ldai 0x0
17 trystglobalbyname 0x0, a0
18 ldai 0x1
19 trystglobalbyname 0x1, a1
21 callruntime.isfalse 0x2
23 callruntime.isfalse 0x3
25 callruntime.isfalse 0x4
27 callruntime.isfalse 0x5
[all …]
Dic-slot-8-overflow-no-gap-expected.txt1 slotNum = 0x0
11 slotNum = 0x81
17 callruntime.isfalse 0x0
19 callruntime.isfalse 0x1
21 callruntime.isfalse 0x2
23 callruntime.isfalse 0x3
25 callruntime.isfalse 0x4
27 callruntime.isfalse 0x5
29 callruntime.isfalse 0x6
31 callruntime.isfalse 0x7
[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_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/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/01.character_type_and_literals/01.character_literals/
Dchar_literals.ets24 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: Int = 0; i < 128; i++) {
60 let j = 0;
/arkcompiler/ets_frontend/ets2panda/test/runtime/ets/
DStringBase64.ets19 …-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.ets19 …-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 …]

123