| /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/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/ets_frontend/es2panda/test/parser/ts/type_checker/ |
| D | expression_2.ts | 2 * Copyright (c) 2022 Huawei Device Co., Ltd. 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; [all …]
|
| /arkcompiler/ets_frontend/es2panda/test/compiler/ts/cases/conformance/expressions/ |
| D | ts-test-expression-1.ts | 2 * Copyright (c) 2022 Huawei Device Co., Ltd. 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; [all …]
|
| /arkcompiler/runtime_core/verification/util/parser/ |
| D | parser.h | 2 * Copyright (c) 2021-2022 Huawei Device Co., Ltd. 42 template <typename A, typename B, typename C> 46 template <typename A, typename C> 47 struct if_type<A, A, C> { 48 using type = C; 76 static next<charset<Char>> of_charset(const charset<Char> &c) 78 static const auto l = [c](Context &, Iter &start, Iter end) { 80 while (s != end && c(*s)) { 96 Iter c = str; 97 while (s != end && *c != 0 && *c == *s) { [all …]
|
| D | charset.h | 2 * Copyright (c) 2021-2022 Huawei Device Co., Ltd. 30 uint8_t c = static_cast<uint8_t>(c_); in operator() local 31 return (bitmap[(c) >> 0x6U] & (0x1ULL << ((c)&0x3FU))) != 0; in operator() 35 charset(const charset &c) = default; 36 charset(charset &&c) = default; 37 charset &operator=(const charset &c) = default; 38 charset &operator=(charset &&c) = default; 45 uint8_t c = static_cast<uint8_t>(*s); in charset() local 47 … bitmap[(c) >> 0x6U] = static_cast<uint64_t>(bitmap[(c) >> 0x6U] | (0x1ULL << ((c)&0x3FU))); in charset() 52 constexpr charset operator+(const charset &c) const [all …]
|
| /arkcompiler/runtime_core/gn/ark-third-party/zlib/ |
| D | BUILD.gn | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 30 "adler32.c", 31 "compress.c", 32 "contrib/minizip/ioapi.c", 33 "contrib/minizip/unzip.c", 34 "contrib/minizip/zip.c", 35 "crc32.c", 37 "deflate.c", 39 "gzclose.c", 41 "gzlib.c", [all …]
|
| /arkcompiler/toolchain/build/third_party_gn/zlib/ |
| D | BUILD.gn | 1 # Copyright (c) 2022 Huawei Device Co., Ltd. 31 "//third_party/zlib/adler32.c", 32 "//third_party/zlib/compress.c", 33 "//third_party/zlib/contrib/minizip/ioapi.c", 34 "//third_party/zlib/contrib/minizip/unzip.c", 35 "//third_party/zlib/contrib/minizip/zip.c", 36 "//third_party/zlib/crc32.c", 38 "//third_party/zlib/deflate.c", 40 "//third_party/zlib/gzclose.c", 42 "//third_party/zlib/gzlib.c", [all …]
|
| /arkcompiler/ets_frontend/es2panda/test/parser/js/ |
| D | test-arrow-function.js | 2 * Copyright (c) 2022 Huawei Device Co., Ltd. 19 a, b, c => c; 21 a, b, c => a += b = c++; 23 a, b, c => { return c } 25 (a, b, c) => a, b, c; 27 (a, b, c) => a, b, c 29 a, b, c => c, b, a
|
| /arkcompiler/runtime_core/verification/util/ |
| D | lazy.h | 2 * Copyright (c) 2021-2022 Huawei Device Co., Ltd. 66 template <typename C> 67 auto LazyFetch(C &c) in LazyFetch() argument 69 …return [end = c.end(), it = c.begin()]() mutable -> std::optional<std::decay_t<decltype(*(c.begin(… in LazyFetch() 77 template <typename C> 78 auto LazyFetch(const C &c) in LazyFetch() argument 80 …return [end = c.end(), it = c.begin()]() mutable -> std::optional<std::decay_t<decltype(*(c.begin(… in LazyFetch() 88 template <typename C> 89 auto ConstLazyFetch(const C &c) in ConstLazyFetch() argument 91 …return [cend = c.cend(), it = c.cbegin()]() mutable -> std::optional<std::decay_t<decltype(*(c.cbe… in ConstLazyFetch() [all …]
|
| D | synchronized.h | 2 * Copyright (c) 2021-2022 Huawei Device Co., Ltd. 28 template <class C, class Friend1 = C, class Friend2 = C> 43 const C *operator->() const 46 return &obj->c; 69 C *operator->() 72 return &obj->c; 82 C c; variable 84 …// GetObj() should be ideally annotated with REQUIRES/REQUIRES_SHARED and c with GUARDED_BY, but t… 86 C &GetObj() in GetObj() 88 return c; in GetObj() [all …]
|
| /arkcompiler/ets_frontend/es2panda/test/ |
| D | test262skiplist-compiler-arm64.txt | 112 built-ins/Array/prototype/reduce/15.4.4.21-9-c-1.js 113 built-ins/Array/prototype/reduce/15.4.4.21-9-c-i-1.js 114 built-ins/Array/prototype/reduce/15.4.4.21-9-c-i-10.js 115 built-ins/Array/prototype/reduce/15.4.4.21-9-c-i-11.js 116 built-ins/Array/prototype/reduce/15.4.4.21-9-c-i-12.js 117 built-ins/Array/prototype/reduce/15.4.4.21-9-c-i-13.js 118 built-ins/Array/prototype/reduce/15.4.4.21-9-c-i-14.js 119 built-ins/Array/prototype/reduce/15.4.4.21-9-c-i-15.js 120 built-ins/Array/prototype/reduce/15.4.4.21-9-c-i-16.js 121 built-ins/Array/prototype/reduce/15.4.4.21-9-c-i-17.js [all …]
|
| /arkcompiler/runtime_core/verification/config/options/ |
| D | msg_set_parser.h | 2 * Copyright (c) 2021-2022 Huawei Device Co., Ltd. 33 static const auto NAME_HANDLER = [](action a, MessageSetContext &c, auto from, auto to) { 37 c.stack.push_back(std::make_pair(num, num)); 42 static const auto NUM_HANDLER = [](action a, MessageSetContext &c, auto from) { 45 c.stack.push_back(std::make_pair(num, num)); 50 static const auto RANGE_HANDLER = [](action a, MessageSetContext &c) { 52 auto num_end = c.stack.back(); 53 c.stack.pop_back(); 54 auto num_start = c.stack.back(); 55 c.stack.pop_back(); [all …]
|
| /arkcompiler/runtime_core/verification/config/parse/ |
| D | config_parse.cpp | 2 * Copyright (c) 2021-2022 Huawei Device Co., Ltd. 54 static const auto NAME_HANDLER = [](auto a, Context &c, auto from, auto to) { in ParseConfig() argument 56 c.current.name = PandaString {from, to}; in ParseConfig() 65 static const auto LINE_HANDLER = [](auto a, Context &c, auto from, auto to) { in ParseConfig() argument 67 c.current.items.push_back(PandaString {from, to}); in ParseConfig() 78 static const auto SECTION_HANDLER = [](auto a, Context &c) { in ParseConfig() argument 80 c.sections.push_back(c.current); in ParseConfig() 81 c.current.sections.clear(); in ParseConfig() 84 c.current = c.sections.back(); in ParseConfig() 85 c.sections.pop_back(); in ParseConfig() [all …]
|
| /arkcompiler/ets_frontend/es2panda/test/compiler/ts/cases/compiler/ |
| D | test-ts-namespace-10.ts | 2 * Copyright (c) 2022 Huawei Device Co., Ltd. 19 export class C { class 26 export class C { class 34 var c : ns.ns2.ns3.C = new ns.ns2.ns3.C(); variable 35 print(c.s); 36 c.f(); 38 var d : ns.ns2.C = new ns.ns2.C();
|
| /arkcompiler/runtime_core/cmake/ark-third-party/zlib/ |
| D | CMakeLists.txt | 4 project(zlib C) 109 ${ZLIB_ROOT}/adler32.c 110 ${ZLIB_ROOT}/compress.c 111 ${ZLIB_ROOT}/contrib/minizip/ioapi.c 112 ${ZLIB_ROOT}/contrib/minizip/unzip.c 113 ${ZLIB_ROOT}/contrib/minizip/zip.c 114 ${ZLIB_ROOT}/crc32.c 115 ${ZLIB_ROOT}/deflate.c 116 ${ZLIB_ROOT}/gzclose.c 117 ${ZLIB_ROOT}/gzlib.c [all …]
|
| /arkcompiler/ets_runtime/test/aottest/suspendgeneratorbranch/ |
| D | suspendgeneratorbranch.ts | 2 * Copyright (c) 2022 Huawei Device Co., Ltd. 18 var c:number = 0; 22 c = b + 11; 23 d = c + 55; 24 yield c; 27 c = b + 33; 28 d = c + 66; 29 yield c; 40 var c = gen2.next().value; variable 45 print(c);
|
| /arkcompiler/runtime_core/runtime/entrypoints/ |
| D | entrypoints.h | 2 * Copyright (c) 2021-2022 Huawei Device Co., Ltd. 25 extern "C" Frame *CreateFrameWithSize(uint32_t size, uint32_t nregs, Method *method, Frame *prev); 27 extern "C" Frame *CreateFrameWithActualArgsAndSize(uint32_t size, uint32_t nregs, uint32_t num_actu… 30 extern "C" Frame *CreateNativeFrameWithActualArgsAndSize(uint32_t size, uint32_t nregs, uint32_t nu… 33 extern "C" Frame *CreateFrameForMethod(Method *method, Frame *prev); 35 extern "C" Frame *CreateFrameForMethodDyn(Method *method, Frame *prev); 37 extern "C" Frame *CreateFrameForMethodWithActualArgs(uint32_t num_actual_args, Method *method, Fram… 39 extern "C" Frame *CreateFrameForMethodWithActualArgsDyn(uint32_t num_actual_args, Method *method, F… 41 extern "C" void FreeFrame(Frame *frame); 43 extern "C" void ThrowInstantiationErrorEntrypoint(Class *klass);
|
| /arkcompiler/ets_frontend/es2panda/test/parser/ts/ |
| D | test-intersection.ts | 2 * Copyright (c) 2022 Huawei Device Co., Ltd. 19 type C = string; alias 24 type Type1 = (A | & B) & (& C | D); 25 type Type2 = A & (| C | D) | B & (C | D) 26 type Type3 = A & C | A & D | B & C | B & D; 27 type Type4 = A & (B & C) & D; 28 type Type5 = (A | (B & C) & D) & E | F;
|
| /arkcompiler/runtime_core/libpandabase/utils/ |
| D | utils.h | 2 * Copyright (c) 2021-2022 Huawei Device Co., Ltd. 26 // Returns the value (0 .. 15) of a hexadecimal character c. 27 // If c is not a legal hexadecimal character, returns a value < 0. 28 inline uint32_t HexValue(uint32_t c) in HexValue() argument 34 c -= '0'; in HexValue() 35 if (static_cast<unsigned>(c) < BASE10) { in HexValue() 36 return c; in HexValue() 39 c = (c | MASK) - ('a' - '0'); in HexValue() 40 if (static_cast<unsigned>(c) < (BASE16 - BASE10)) { in HexValue() 41 return c + BASE10; in HexValue()
|
| /arkcompiler/runtime_core/verification/config/debug_breakpoint/ |
| D | config_handler_breakpoints.cpp | 2 * Copyright (c) 2021-2022 Huawei Device Co., Ltd. 63 static const auto OFFSET_HANDLER = [](action a, Context &c, auto from) { in BreakpointParser() argument 65 c.Offsets.push_back(std::strtol(from, nullptr, 0)); in BreakpointParser() 72 static const auto METHOD_NAME_HANDLER = [](action a, Context &c, auto from, auto to) { in BreakpointParser() argument 74 c.Method = PandaString {from, to}; in BreakpointParser() 79 static const auto BREAKPOINT_HANDLER = [](action a, Context &c) { in BreakpointParser() argument 81 c.Method.clear(); in BreakpointParser() 82 c.Offsets.clear(); in BreakpointParser() 99 Context c; in RegisterConfigHandlerBreakpoints() local 102 if (!BreakpointParser()(c, start, end)) { in RegisterConfigHandlerBreakpoints() [all …]
|
| /arkcompiler/runtime_core/irtoc/lang/tests/ |
| D | regmask_test.rb | 3 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 43 r5 = r3 + {c: 7} 44 assert_equal(r5, {a: 3, b: 6, c: 7}) 45 r6 = r5 - {a: 2, c: 7} 57 map = Regmap.from_hash({a: 1, b: 2, c: 3, d: 4, e: 5, f: 6}) 58 mask = RegMask.new(map, :a, :b, :c, :d, :e, :f) 62 m3 = RegMask.new(map, :a, :c, :e) 64 assert_equal(m4, RegMask.new(map, :a, :b, :c, :d, :e)) 71 assert_equal(RegMask.new(map, :b, :d) + :a + :c + :e + :f, mask) 72 assert_equal(mask - :c - :e - :f, RegMask.new(map, :a, :b, :d)) [all …]
|
| /arkcompiler/ets_runtime/test/aottest/newobjspread/ |
| D | newobjspread.ts | 2 * Copyright (c) 2022 Huawei Device Co., Ltd. 20 a; b; c; 24 this.c = arguments[2]; 27 let c = new obj(...A); variable 28 print(c.a); 29 print(c.b); 30 print(c.c);
|
| /arkcompiler/runtime_core/libpandabase/templates/ |
| D | logger_impl_gen.inc.erb | 2 * Copyright (c) 2021-2022 Huawei Device Co., Ltd. 20 % LoggerData.components.each do |c| 21 if (component == Logger::Component::<%= c.enum %>) { 22 return "<%= c.name %>"; 55 % LoggerData.components.each do |c| 56 if (s == "<%= c.name %>") { 57 return panda::Logger::ComponentMask().set(Logger::Component::<%= c.enum %>); 72 % LoggerData.dfx_components.each do |c| 73 case Logger::LogDfxComponent::<%= c.enum %>: 74 return "<%= c.name %>"; [all …]
|
| /arkcompiler/ets_runtime/test/aottest/suspendgeneratorphi/ |
| D | suspendgeneratorphi.ts | 2 * Copyright (c) 2022 Huawei Device Co., Ltd. 18 let c:number = a - 1; 19 if (c == 0) { 20 yield c; 22 let d = c + 33; 25 yield c; 33 var c = gen2.next().value; variable 38 print(c);
|