/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_test_suite/intrinsics/ |
D | string_from_chars.ets | 2 * Copyright (c) 2023 Huawei Device Co., Ltd. 18 [c'\u00b0'], 19 [c'\u00b0', c'\u00b1'], 20 [c'\u00b0', c'\u00b1', c'\u00b2'], 21 [c'\u00b0', c'\u00b1', c'\u00b2', c'\u00b3'], 22 [c'\u00b0', c'\u00b1', c'\u00b2', c'\u00b3', c'\u00b4'], 23 [c'\u00b0', c'\u00b1', c'\u00b2', c'\u00b3', c'\u00b4', c'\u00b5'], 24 [c'\u00b0', c'\u00b1', c'\u00b2', c'\u00b3', c'\u00b4', c'\u00b5', c'\u00b6'], 25 [c'\u00b0', c'\u00b1', c'\u00b2', c'\u00b3', c'\u00b4', c'\u00b5', c'\u00b6', c'\u00b7'], 26 …[c'\u00b0', c'\u00b1', c'\u00b2', c'\u00b3', c'\u00b4', c'\u00b5', c'\u00b6', c'\u00b7', c'\u00b8'… [all …]
|
D | string_getchars.ets | 2 * Copyright (c) 2023 Huawei Device Co., Ltd. 22 …[c'a', c'b', c'c', c'Σ', c'Ψ', c'Ω', c'0', c'1', c'2', c'3', c'4', c'5', c'6', c'7', c'8', c'9', c… 23 … [c'b', c'c', c'Σ', c'Ψ', c'Ω', c'0', c'1', c'2', c'3', c'4', c'5', c'6', c'7', c'8', c'9', c'!'], 24 [c'c', c'Σ', c'Ψ', c'Ω', c'0', c'1', c'2', c'3', c'4', c'5', c'6', c'7', c'8', c'9', c'!'], 25 [c'Σ', c'Ψ', c'Ω', c'0', c'1', c'2', c'3', c'4', c'5', c'6', c'7', c'8', c'9', c'!'], 26 [c'Ψ', c'Ω', c'0', c'1', c'2', c'3', c'4', c'5', c'6', c'7', c'8', c'9', c'!'], 27 [c'Ω', c'0', c'1', c'2', c'3', c'4', c'5', c'6', c'7', c'8', c'9', c'!'], 28 [c'0', c'1', c'2', c'3', c'4', c'5', c'6', c'7', c'8', c'9', c'!'], 29 [c'1', c'2', c'3', c'4', c'5', c'6', c'7', c'8', c'9', c'!'], 30 [c'2', c'3', c'4', c'5', c'6', c'7', c'8', c'9', c'!'], [all …]
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/01.char_literals/ |
D | char_literals.ets | 2 Copyright (c) 2021-2022 Huawei Device Co., Ltd. 22 let escaped_chars: char[] = [ c'\b', c'\f', c'\n', c'\r', c'\t', c'\v', c'\\', c'\'', c'\"' ] 29 let hex_chars: char[] = [ c'\x00', c'\x01', c'\x02', c'\x03', c'\x04', c'\x05', c'\x06', 30 c'\x07', c'\x08', c'\x09', c'\x0a', c'\x0b', c'\x0c', c'\x0d', c'\x0e', c'\x0f', 31 c'\x10', c'\x11', c'\x12', c'\x13', c'\x14', c'\x15', c'\x16', c'\x17', c'\x18', 32 c'\x19', c'\x1a', c'\x1b', c'\x1c', c'\x1d', c'\x1e', c'\x1f', c'\x20', c'\x21', 33 c'\x22', c'\x23', c'\x24', c'\x25', c'\x26', c'\x27', c'\x28', c'\x29', c'\x2a', 34 c'\x2b', c'\x2c', c'\x2d', c'\x2e', c'\x2f', c'\x30', c'\x31', c'\x32', c'\x33', 35 c'\x34', c'\x35', c'\x36', c'\x37', c'\x38', c'\x39', c'\x3a', c'\x3b', c'\x3c', 36 c'\x3d', c'\x3e', c'\x3f', c'\x40', c'\x41', c'\x42', c'\x43', c'\x44', c'\x45', [all …]
|
/arkcompiler/toolchain/build/third_party_gn/musl/ |
D | musl_src.gni | 1 # Copyright (c) 2023 Huawei Device Co., Ltd. 19 "src/exit/arm/__aeabi_atexit.c", 21 "src/fenv/arm/fenv.c", 25 "src/ldso/arm/find_exidx.c", 27 "src/math/arm/fabs.c", 28 "src/math/arm/fabsf.c", 29 "src/math/arm/fma.c", 30 "src/math/arm/fmaf.c", 31 "src/math/arm/sqrt.c", 32 "src/math/arm/sqrtf.c", [all …]
|
/arkcompiler/ets_frontend/ets2panda/linter-4.2/test/ |
D | limited_stdlib_api.ts | 35 let c = new C(); variable 38 Object.assign<C, C>(c, c); 39 Object.create(c); 40 Object.defineProperties<C>(c, {}); 41 Object.defineProperty<C>(c, 'p', c); 44 Object.getOwnPropertyDescriptor(c, 'p'); 45 Object.getOwnPropertyDescriptors<C>(c); 46 Object.getOwnPropertySymbols(c); 47 Object.getPrototypeOf(c); 49 Object.is(c, c); [all …]
|
/arkcompiler/ets_frontend/ets2panda/linter/test/ |
D | limited_stdlib_api.ts | 38 let c = new C(); variable 42 c: boolean; property 47 c: false, 56 Object.assign<C, C>(c, c); 57 Object.create(c); 58 Object.defineProperties<C>(c, {}); 59 Object.defineProperty<C>(c, 'p', c); 63 Object.getOwnPropertyDescriptor(c, 'p'); 64 Object.getOwnPropertyDescriptors<C>(c); 65 Object.getOwnPropertySymbols(c); [all …]
|
/arkcompiler/toolchain/build/third_party_gn/openssl/ |
D | BUILD.gn | 1 # Copyright (c) 2020-2022 Huawei Device Co., Ltd. 244 "${openssl_selected_platform_full_path}/providers/common/der/der_digests_gen.c", 245 "${openssl_selected_platform_full_path}/providers/common/der/der_dsa_gen.c", 246 "${openssl_selected_platform_full_path}/providers/common/der/der_ec_gen.c", 247 "${openssl_selected_platform_full_path}/providers/common/der/der_ecx_gen.c", 248 "${openssl_selected_platform_full_path}/providers/common/der/der_rsa_gen.c", 249 "${openssl_selected_platform_full_path}/providers/common/der/der_wrap_gen.c", 254 "${openssl_selected_platform_full_path}/providers/common/der/der_sm2_gen.c", 289 outputs += [ "${openssl_selected_platform_full_path}/apps/progs.c" ] 298 …# ../../third_party/openssl/crypto/o_str.c:309:9: error: incompatible integer to pointer conversio… [all …]
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/src/ |
D | lexer.cpp | 27 int32 HexCharToDigit(char c) in HexCharToDigit() argument 29 int32 ret = utils::ToDigit<16, int32>(c); in HexCharToDigit() 33 static uint8 Char2num(char c) in Char2num() argument 35 uint8 ret = utils::ToDigit<16>(c); in Char2num() 126 char c = GetNextCurrentCharWithUpperCheck(); in GenName() local 128 if (c == '@' && (cp == 'h' || cp == 'f')) { in GenName() 130 c = GetNextCurrentCharWithUpperCheck(); in GenName() 132 …while (utils::IsAlnum(c) || c < 0 || c == '_' || c == '$' || c == ';' || c == '/' || c == '|' || c… in GenName() 133 c == '?' || c == '@') { in GenName() 134 c = GetNextCurrentCharWithUpperCheck(); in GenName() [all …]
|
/arkcompiler/ets_frontend/es2panda/test/parser/ts/type_checker/ |
D | expression_2.ts | 17 var c = 1; variable 19 switch (c) { 20 case 0 : c += c; 21 case 1 : c *= c; 22 case 2 : c -= c; 23 case 3 : c = +c; 24 case 4 : c = -c; 25 case 5 : c++; 26 case 6 : ++c; 27 case 7 : c--; [all …]
|
/arkcompiler/ets_frontend/ets2panda/test/runtime/ets/ |
D | ClassMemberAccess.ets | 2 * Copyright (c) 2023 Huawei Device Co., Ltd. 17 static static_name: char = c'A'; 18 name: char = c'A'; 34 static static_name: char = c'B'; 35 name: char = c'B'; 51 static static_name: char = c'C'; 52 name: char = c'C'; 70 assert A.static_name == c'A'; 71 assert A.get_static_name() == c'A'; 72 assert a.name == c'A'; [all …]
|
D | UnaryExpression.ets | 2 * Copyright (c) 2023 Huawei Device Co., Ltd. 25 let c = +a; 26 assert c == -10.0; 27 assert +c == -10.0; 28 assert -c == 10.0; 39 let c = +a; 40 assert c == -20; 41 assert +c == -20; 42 assert -c == 20; 54 let c = +a; [all …]
|
D | ObjectIndexing_2.ets | 2 * Copyright (c) 2023 Huawei Device Co., Ltd. 52 let c = new C(); 54 let u = c[0]; 55 let v = c.$_get(1); 56 c[1] = c[2]; 57 c[2] *= 2; 61 assert(x[1] == c[1]) 62 assert(x[2] == c[2]) 63 assert(x[0] == c[0]) 65 assert(c['1'] == "one") [all …]
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/include/ |
D | utils.h | 26 constexpr bool IsDigit(char c) in IsDigit() argument 28 return (c >= '0' && c <= '9'); in IsDigit() 31 constexpr bool IsLower(char c) in IsLower() argument 33 return (c >= 'a' && c <= 'z'); in IsLower() 36 constexpr bool IsUpper(char c) in IsUpper() argument 38 return (c >= 'A' && c <= 'Z'); in IsUpper() 41 constexpr bool IsAlpha(char c) in IsAlpha() argument 43 return (IsLower(c) || IsUpper(c)); in IsAlpha() 46 constexpr bool IsAlnum(char c) in IsAlnum() argument 48 return (IsAlpha(c) || IsDigit(c)); in IsAlnum() [all …]
|
/arkcompiler/ets_frontend/es2panda/test/compiler/ts/cases/conformance/expressions/ |
D | ts-test-expression-1.ts | 25 var c = 1; variable 26 c += c; 27 c *= c; 28 c -= c; 29 c = -c; 30 c++; 31 ++c; 32 c--; 33 --c; 34 print(c) [all …]
|
/arkcompiler/toolchain/build/third_party_gn/libuv/ |
D | BUILD.gn | 1 # Copyright (c) 2023 Huawei Device Co., Ltd. 17 "//third_party/libuv/src/fs-poll.c", 18 "//third_party/libuv/src/idna.c", 19 "//third_party/libuv/src/inet.c", 20 "//third_party/libuv/src/random.c", 21 "//third_party/libuv/src/strscpy.c", 22 "//third_party/libuv/src/threadpool.c", 23 "//third_party/libuv/src/timer.c", 24 "//third_party/libuv/src/uv-common.c", 25 "//third_party/libuv/src/uv-data-getter-setters.c", [all …]
|
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/ |
D | Functions.ets | 2 * Copyright (c) 2021-2023 Huawei Device Co., Ltd. 18 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… 22 for (let i = c'a'; i <= c'z'; i++) { 25 for (let i = c'A'; i <= c'Z'; i++) { 28 for (let i = c'0'; i <= c'9'; i++) { 31 arr[c'-'] = true 32 arr[c'_'] = true 33 arr[c'.'] = true 34 arr[c'!'] = true 35 arr[c'~'] = true [all …]
|
/arkcompiler/ets_runtime/test/typeinfer/classwithproperty/ |
D | classwithproperty.ts | 21 public c(): string { 33 let c = new C(); variable 34 AssertType(c, "C"); 38 let r1: string = c.x; 40 AssertType(c.x, "any"); 43 let value1: string = c[tmp] 44 AssertType(c[tmp], "any"); 47 let r3: string = c.b; 49 AssertType(c.b, "string"); 52 let value2: string = c[tmp] [all …]
|
/arkcompiler/runtime_core/static_core/cmake/third_party/securec/ |
D | CMakeLists.txt | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 19 ${SECUREC_ROOT}/src/securec/vsprintf_s.c 20 ${SECUREC_ROOT}/src/securec/wmemmove_s.c 21 ${SECUREC_ROOT}/src/securec/strncat_s.c 22 ${SECUREC_ROOT}/src/securec/vsnprintf_s.c 23 ${SECUREC_ROOT}/src/securec/fwscanf_s.c 24 ${SECUREC_ROOT}/src/securec/scanf_s.c 25 ${SECUREC_ROOT}/src/securec/strcat_s.c 26 ${SECUREC_ROOT}/src/securec/sscanf_s.c 27 ${SECUREC_ROOT}/src/securec/secureprintoutput_w.c [all …]
|
/arkcompiler/runtime_core/cmake/ark-third-party/securec/ |
D | CMakeLists.txt | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 19 ${SECUREC_ROOT}/src/securec/vsprintf_s.c 20 ${SECUREC_ROOT}/src/securec/wmemmove_s.c 21 ${SECUREC_ROOT}/src/securec/strncat_s.c 22 ${SECUREC_ROOT}/src/securec/vsnprintf_s.c 23 ${SECUREC_ROOT}/src/securec/fwscanf_s.c 24 ${SECUREC_ROOT}/src/securec/scanf_s.c 25 ${SECUREC_ROOT}/src/securec/strcat_s.c 26 ${SECUREC_ROOT}/src/securec/sscanf_s.c 27 ${SECUREC_ROOT}/src/securec/secureprintoutput_w.c [all …]
|
/arkcompiler/runtime_core/static_core/verification/util/parser/ |
D | charset.h | 30 auto c = static_cast<uint8_t>(chartype); in operator() local 32 return (bitmap_[(c) >> 0x6U] & (0x1ULL << ((c)&0x3FU))) != 0; in operator() 36 Charset(const Charset &c) = default; 37 Charset(Charset &&c) = default; 38 Charset &operator=(const Charset &c) = default; 39 Charset &operator=(Charset &&c) = default; 47 auto c = static_cast<uint8_t>(*s); in Charset() local 50 … bitmap_[(c) >> 0x6U] = static_cast<uint64_t>(bitmap_[(c) >> 0x6U] | (0x1ULL << ((c)&0x3FU))); in Charset() 56 constexpr Charset operator+(const Charset &c) const 59 cs.bitmap_[0x0] = bitmap_[0x0] | c.bitmap_[0x0]; [all …]
|
/arkcompiler/runtime_core/gn/ark-third-party/securec/ |
D | BUILD.gn | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 22 "$ark_third_party_root/utils_native/base/src/securec/fscanf_s.c", 23 "$ark_third_party_root/utils_native/base/src/securec/fwscanf_s.c", 24 "$ark_third_party_root/utils_native/base/src/securec/gets_s.c", 25 "$ark_third_party_root/utils_native/base/src/securec/memcpy_s.c", 26 "$ark_third_party_root/utils_native/base/src/securec/memmove_s.c", 27 "$ark_third_party_root/utils_native/base/src/securec/memset_s.c", 28 "$ark_third_party_root/utils_native/base/src/securec/scanf_s.c", 29 "$ark_third_party_root/utils_native/base/src/securec/securecutil.c", 30 "$ark_third_party_root/utils_native/base/src/securec/secureinput_a.c", [all …]
|
/arkcompiler/runtime_core/static_core/gn/third_party/securec/ |
D | BUILD.gn | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 22 "$ark_third_party_root/utils_native/base/src/securec/fscanf_s.c", 23 "$ark_third_party_root/utils_native/base/src/securec/fwscanf_s.c", 24 "$ark_third_party_root/utils_native/base/src/securec/gets_s.c", 25 "$ark_third_party_root/utils_native/base/src/securec/memcpy_s.c", 26 "$ark_third_party_root/utils_native/base/src/securec/memmove_s.c", 27 "$ark_third_party_root/utils_native/base/src/securec/memset_s.c", 28 "$ark_third_party_root/utils_native/base/src/securec/scanf_s.c", 29 "$ark_third_party_root/utils_native/base/src/securec/securecutil.c", 30 "$ark_third_party_root/utils_native/base/src/securec/secureinput_a.c", [all …]
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/src/ |
D | muid.cpp | 34 #define TRANS(f, a, b, c, d, x, t, s) \ argument 35 (a) += f((b), (c), (d)) + (x) + (t); \ 65 unsigned int a, b, c, d; in MuidTransform() local 75 c = status.c; in MuidTransform() 79 TRANS(F, a, b, c, d, status.block[0], 0xd76aa478, 7) in MuidTransform() 80 TRANS(F, d, a, b, c, status.block[1], 0xe8c7b756, 12) in MuidTransform() 81 TRANS(F, c, d, a, b, status.block[2], 0x242070db, 17) in MuidTransform() 82 TRANS(F, b, c, d, a, status.block[3], 0xc1bdceee, 22) in MuidTransform() 83 TRANS(F, a, b, c, d, status.block[4], 0xf57c0faf, 7) in MuidTransform() 84 TRANS(F, d, a, b, c, status.block[5], 0x4787c62a, 12) in MuidTransform() [all …]
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/std/containers/ |
D | BasicMapTest.ets | 2 * Copyright (c) 2021-2024 Huawei Device Co., Ltd. 56 map.set(c'c', 1.0); 57 map.set(c'x', 2.0); 58 map.set(c'a', 3.0); 61 if (entries.next().value.key == c'c' && 62 entries.next().value.key == c'x' && 63 entries.next().value.key == c'a') { 72 map.set(c'c', 1.0); 73 map.set(c'x', 2.0); 74 map.set(c'a', 3.0); [all …]
|
/arkcompiler/toolchain/tooling/test/testcases/js/ |
D | dropframe.js | 25 c = 4; 37 c = 5; 42 c = 6; 57 c = c * b; 58 d = d * c + b * a; 69 c = c + b * a; 87 c = c + a + b; 88 d = d * i * j + c; 124 var c = 3; 141 c += args[i]; [all …]
|