| /arkcompiler/ets_frontend/test262/ |
| D | es2015_tests.txt | 1 built-ins/Array/15.4.5.1-5-1.js 2 built-ins/Array/15.4.5.1-5-2.js 3 built-ins/Array/15.4.5-1.js 4 built-ins/Array/constructor.js 5 built-ins/Array/from/Array.from_arity.js 6 built-ins/Array/from/Array.from_forwards-length-for-array-likes.js 7 built-ins/Array/from/Array.from-descriptor.js 8 built-ins/Array/from/Array.from-name.js 9 built-ins/Array/from/calling-from-valid-1-noStrict.js 10 built-ins/Array/from/calling-from-valid-1-onlyStrict.js [all …]
|
| D | CI_tests.txt | 1 built-ins/Error/length.js 2 built-ins/Error/message_property.js 3 built-ins/Error/prototype/S15.11.3.1_A1_T1.js 4 built-ins/Error/prototype/S15.11.3.1_A3_T1.js 5 built-ins/Error/prototype/S15.11.4_A3.js 6 built-ins/Error/prototype/constructor/S15.11.4.1_A1_T2.js 7 built-ins/Error/prototype/message/S15.11.4.3_A2.js 8 built-ins/Error/prototype/name/S15.11.4.2_A1.js 9 built-ins/Error/prototype/toString/15.11.4.4-10-1.js 10 built-ins/Error/prototype/toString/15.11.4.4-6-1.js [all …]
|
| D | es2021_tests.txt | 1 built-ins/AsyncGeneratorFunction/name.js 2 built-ins/AsyncGeneratorFunction/length.js 3 built-ins/AsyncGeneratorFunction/prototype/constructor.js 4 built-ins/AsyncGeneratorFunction/prototype/prop-desc.js 5 built-ins/AsyncGeneratorFunction/prototype/Symbol.toStringTag.js 6 built-ins/AsyncGeneratorFunction/prototype/not-callable.js 7 built-ins/AsyncGeneratorFunction/prototype/prototype.js 8 built-ins/AsyncGeneratorFunction/prototype/extensibility.js 9 built-ins/AsyncGeneratorFunction/extensibility.js 10 built-ins/AsyncGeneratorPrototype/Symbol.toStringTag.js [all …]
|
| D | es2abc_skip_tests.json | 5 "language/expressions/async-arrow-function/dflt-params-ref-later.js", 6 "language/expressions/async-arrow-function/dflt-params-ref-self.js", 7 "language/expressions/async-arrow-function/escaped-async-line-terminator.js", 8 "language/expressions/async-arrow-function/rest-params-trailing-comma-early-error.js", 9 "language/expressions/async-function/named-dflt-params-ref-later.js", 10 "language/expressions/async-function/named-dflt-params-ref-self.js", 11 "language/expressions/async-function/nameless-dflt-params-ref-later.js", 12 "language/expressions/async-function/nameless-dflt-params-ref-self.js", 13 "language/statements/async-function/dflt-params-ref-later.js", 14 "language/statements/async-function/dflt-params-ref-self.js", [all …]
|
| D | intl_skip_tests.json | 5 "intl402/RelativeTimeFormat/constructor/constructor/proto-from-ctor-realm.js", 6 "intl402/Collator/proto-from-ctor-realm.js", 7 "intl402/DisplayNames/proto-from-ctor-realm.js", 8 "intl402/DateTimeFormat/proto-from-ctor-realm.js", 9 "intl402/ListFormat/constructor/constructor/proto-from-ctor-realm.js", 10 "intl402/Segmenter/constructor/constructor/proto-from-ctor-realm.js", 11 "intl402/Segmenter/proto-from-ctor-realm.js", 12 "intl402/NumberFormat/proto-from-ctor-realm.js", 13 "intl402/Locale/proto-from-ctor-realm.js", 14 "intl402/PluralRules/proto-from-ctor-realm.js", [all …]
|
| D | ts2abc_skip_tests.json | 5 "language/expressions/async-arrow-function/array-destructuring-param-strict-body.js", 6 …"language/expressions/async-arrow-function/await-as-param-rest-nested-arrow-parameter-position.js", 7 "language/expressions/async-arrow-function/dflt-params-abrupt.js", 8 … "language/expressions/async-arrow-function/await-as-param-nested-arrow-body-position.js", 9 "language/expressions/async-arrow-function/dflt-params-ref-later.js", 10 "language/expressions/async-arrow-function/dflt-params-ref-self.js", 11 "language/expressions/async-arrow-function/object-destructuring-param-strict-body.js", 12 "language/expressions/async-function/named-array-destructuring-param-strict-body.js", 13 "language/expressions/async-function/named-dflt-params-abrupt.js", 14 "language/expressions/async-function/named-dflt-params-ref-later.js", [all …]
|
| D | intl_tests.txt | 1 intl402/Array/prototype/toLocaleString/calls-toLocaleString-number-elements.js 2 intl402/BigInt/prototype/toLocaleString/default-options-object-prototype.js 3 intl402/BigInt/prototype/toLocaleString/taint-Intl-NumberFormat.js 6 intl402/BigInt/prototype/toLocaleString/en-US.js 7 intl402/BigInt/prototype/toLocaleString/de-DE.js 8 intl402/BigInt/prototype/toLocaleString/prop-desc.js 10 intl402/BigInt/prototype/toLocaleString/this-value-invalid.js 11 intl402/BigInt/prototype/toLocaleString/throws-same-exceptions-as-NumberFormat.js 12 intl402/BigInt/prototype/toLocaleString/returns-same-results-as-NumberFormat.js 13 intl402/Collator/numeric-and-caseFirst.js [all …]
|
| D | skip_tests.json | 5 "built-ins/Promise/all/species-get-error.js", 6 "built-ins/Promise/race/species-get-error.js", 7 "language/global-code/decl-lex.js" 11 … "reason": "There is a type error when testing the array, and the prototype name is incorrect", 13 "built-ins/Promise/allSettled/invoke-resolve-on-promises-every-iteration-of-custom.js", 14 "built-ins/Promise/allSettled/invoke-resolve-on-promises-every-iteration-of-promise.js", 15 "built-ins/Promise/allSettled/invoke-resolve-on-values-every-iteration-of-promise.js", 16 "built-ins/Promise/allSettled/reject-element-function-name.js", 17 "built-ins/Promise/allSettled/resolve-element-function-name.js", 18 "built-ins/Promise/any/invoke-resolve.js", [all …]
|
| /arkcompiler/runtime_core/tests/cts-coverage-tool/lib/ |
| D | spec.rb | 2 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 7 # http://www.apache.org/licenses/LICENSE-2.0 27 # Array of tests not matching the spec 37 warn "Non testable group \"#{ntg['title']}\" not found in ISA." 119 warn "Non testable description \"#{ntda}\" in group \"#{ntg['title']}\" not found in iSA." 130 … warn "Non testable instruction \"#{nti['sig']}\" in group \"#{ntg['title']}\" not found in ISA." 141 warn "Non testable exception \"#{nte}\" in group \"#{ntg['title']}\" not found in ISA." 152 warn "Non testable verification \"#{ntv}\" in group \"#{ntg['title']}\" not found in ISA." 159 # split long-text description into array of assertions 165 result[-1] += ".#{p}" [all …]
|
| /arkcompiler/runtime_core/compiler/docs/ |
| D | avoid-calculating-start-of-array.md | 1 # Avoid re-calculating the address of array data for consequent array accesses 5 Since accessing an array element is done via an object and an element index, 6 the address of the actual array data has to be infered from the object address. 11 Having multiple access to the same array on a control flow path results in 20 Detect multiple array accesses to an array that belong to one basic block or 24 array acesses instead of object address. Replace the `{Store, Load}Array` 25 instructions with the low-level `{Store, Load}` intructions. 27 Do not process array accesses that are not inside a loop as optimizing 28 non-repetetive sequences of instructions will not bring a measurable performance 36 …# [inst] 7.ref NewArray 181 v8(r21), v6(r2), v5 -> r21 (v31, v24, v17, v20, v27… [all …]
|
| /arkcompiler/runtime_core/docs/diagrams/ |
| D | stacktrace.pusequence | 1 ' Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 ' http://www.apache.org/licenses/LICENSE-2.0 20 ManagedThread -> stacktrace.cpp: GetStacktrace 21 stacktrace.cpp -> ManagedThread: stacktrace (array of function call instruction addresses) 22 ManagedThread -> StackPrinter: Print the stacktrace 23 StackPrinter -> "~/proc~/self~/maps": ReadVma (read used libraries and associated addresses) 24 "~/proc~/self~/maps" -> StackPrinter: Array of VMA (virtual memory area) 25 StackPrinter -> StackPrinter: For each address, find the corresponding VMA and determine the librar… 26 StackPrinter -> libdwarf: Read debug info from the library file 27 libdwarf -> StackPrinter: Debug info [all …]
|
| /arkcompiler/runtime_core/verification/ |
| D | messages.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 34 message: ( constructor is array constructor ) 180 …Wrong array element type '${type}'. Expected a subtype of '${expected_type}'. Compatible subtypes … 186 Wrong type of array elements '${type}'. Expected '${expected_type}'. 192 Wrong type of array elements '${type}'. Expected one of ${expected_types}. 198 Cannot create array of non-array type '${type}'. Possible types are ${array_types}. 204 Cannot create object of non-object type '${type}'. Possible types are ${object_types}. 266 …Wrong type for 'checkcast'. It is a non-object type '${type}'. Possible types are ${possible_types… 298 … Element type in array in accumulator is of incompatible type '${acc_elt_type}'. Possible types are [all …]
|
| /arkcompiler/runtime_core/cmake/ |
| D | ClangTidy.cmake | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 14 option(PANDA_ENABLE_CLANG_TIDY "Enable clang-tidy checks during compilation" true) 16 # There seems to be a bug in either clang-tidy or CMake: 17 # When clang/gcc is used for cross-compilation, it is ran on host and use defines and options for h… 18 # For example for arm32 cross-compilation Clang-Tidy: 19 # - don't know about -march=armv7-a 20 # - believes that size of pointer is 64 instead of 32 for aarch32 36 # Currently we fix a certain version of clang-tidy to avoid unstable linting, 38 set(panda_clang_tidy "clang-tidy-9") [all …]
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | js_date_time_format.h | 7 * http://www.apache.org/licenses/LICENSE-2.0 62 std::string property; // NOLINT(misc-non-private-member-variables-in-classes) 63 std::vector<IcuPatternEntry> pairs; // NOLINT(misc-non-private-member-variables-in-classes) 64 …ap<const std::string, const std::string> map; // NOLINT(misc-non-private-member-variables-in-class… 65 std::vector<std::string> allowedValues; // NOLINT(misc-non-private-member-variables-in-classes) 68 // NOLINT(performance-noexcept-move-constructor, hicpp-noexcept-move) 75 … IcuPatternDesc("hour", {{data1, "2-digit"}, {data2, "numeric"}}, {"2-digit", "numeric"}))) {} in Pattern() 167 static Value TrackValue(int32_t beginning, int32_t ending, std::array<int32_t, 2> begin, 168 std::array<int32_t, 2> end);
|
| /arkcompiler/ets_frontend/es2panda/test/ |
| D | test262skiplist-long.txt | 1 # RUNTIME-TIMEOUT 2 built-ins/Array/prototype/concat/Array.prototype.concat_large-typed-array.js 3 built-ins/Array/prototype/concat/Array.prototype.concat_small-typed-array.js 4 built-ins/Array/prototype/every/15.4.4.16-7-c-ii-2.js 5 built-ins/Array/prototype/filter/15.4.4.20-9-c-ii-1.js 6 built-ins/Array/prototype/forEach/15.4.4.18-7-c-ii-1.js 7 built-ins/Array/prototype/indexOf/15.4.4.14-10-1.js 8 built-ins/Array/prototype/lastIndexOf/15.4.4.15-9-1.js 9 built-ins/Array/prototype/map/15.4.4.19-8-c-ii-1.js 10 built-ins/Array/prototype/some/15.4.4.17-7-c-ii-2.js [all …]
|
| D | test262skiplist.txt | 2 annexB/built-ins/RegExp/RegExp-decimal-escape-class-range.js 3 annexB/built-ins/RegExp/incomplete_hex_unicode_escape.js 4 annexB/language/comments/multi-line-html-close.js 5 annexB/language/comments/single-line-html-close-asi.js 6 annexB/language/comments/single-line-html-close-unicode-separators.js 7 annexB/language/comments/single-line-html-close.js 8 annexB/language/comments/single-line-html-open.js 9 annexB/language/literals/regexp/class-escape.js 10 built-ins/Atomics/add/bigint/bad-range.js 11 built-ins/Atomics/add/bigint/good-views.js [all …]
|
| /arkcompiler/runtime_core/runtime/include/coretypes/ |
| D | string.h | 2 * Copyright (c) 2021-2022 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 30 class Array; variable 61 static String *CreateNewStringFromChars(uint32_t offset, uint32_t length, Array *chararray, 64 …g *CreateNewStringFromBytes(uint32_t offset, uint32_t length, uint32_t high_byte, Array *bytearray, 72 Array *ToCharArray(const LanguageContext &ctx); 137 // NOLINTNEXTLINE(cppcoreguidelines-pro-bounds-pointer-arithmetic) in CopyDataMUtf8() 138 buf[max_length - 1] = '\0'; in CopyDataMUtf8() 155 constexpr size_t MAX_LEN = std::numeric_limits<size_t>::max() / 2 - 1; in CopyDataRegionMUtf8() 159 // NOLINTNEXTLINE(cppcoreguidelines-pro-bounds-pointer-arithmetic) in CopyDataRegionMUtf8() [all …]
|
| /arkcompiler/runtime_core/runtime/mem/gc/ |
| D | gc_types.h | 2 * Copyright (c) 2021-2022 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 18 #include <array> 24 GC_STW_NO_MT, // Stop-the-world, single thread 67 constexpr std::array<char const *, GC_TYPE_SIZE> GC_NAMES = {"Invalid GC", "Epsilon GC", "Stop-T… 77 static_assert(StringsEqual(GC_NAMES[ToIndex(GCType::STW_GC)], "Stop-The-World GC")); 90 if (gc_type_str == "gen-gc") { in GCTypeFromString() 93 if (gc_type_str == "hybrid-gc") { in GCTypeFromString() 96 if (gc_type_str == "g1-gc") { in GCTypeFromString() 111 return "gen-gc"; in GCStringFromType() [all …]
|
| /arkcompiler/runtime_core/libpandabase/utils/ |
| D | span.h | 2 * Copyright (c) 2021-2022 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 48 // The following constructor is non-explicit to be aligned with std::span 50 // NOLINTNEXTLINE(google-explicit-constructor,modernize-avoid-c-arrays) 51 constexpr Span(U (&array)[N]) : Span(array, N) in Span() 55 Span(Iterator begin, Iterator end) : Span(begin, end - begin) {} in Span() 69 // NOLINTNEXTLINE(readability-identifier-naming) 74 // NOLINTNEXTLINE(readability-identifier-naming) 79 // NOLINTNEXTLINE(readability-identifier-naming) 84 // NOLINTNEXTLINE(readability-identifier-naming) [all …]
|
| /arkcompiler/runtime_core/libpandafile/ |
| D | file.h | 2 * Copyright (c) 2021-2022 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 27 #include <array> 58 static const std::array<uint8_t, MAGIC_SIZE> MAGIC; 61 std::array<uint8_t, MAGIC_SIZE> magic; 63 std::array<uint8_t, VERSION_SIZE> version; 93 uint32_t utf16_length; // NOLINT(misc-non-private-member-variables-in-classes) 94 bool is_ascii; // NOLINT(misc-non-private-member-variables-in-classes) 95 const uint8_t *data; // NOLINT(misc-non-private-member-variables-in-classes) 98 // NOLINTNEXTLINE(cppcoreguidelines-special-member-functions, hicpp-special-member-functions) [all …]
|
| /arkcompiler/runtime_core/tests/cts-generator/cts-template/ |
| D | stobj.v.obj.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 15 - name: pandasm_header 42 - name: PandaAssembly_header 70 - file-name: "stobj.v.obj" 76 - sig: stobj.v.obj v1:in:ref, v2:in:ref, field_id 81 - file-name: "check_if_regs_initialized" 85 header-template: ['pandasm_header'] 86 check-type: exit-positive 88 runner-options: ['verifier-failure', 'verifier-config'] [all …]
|
| /arkcompiler/runtime_core/assembler/ |
| D | assembly-ins.h | 2 * Copyright (c) 2021-2022 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 19 #include <array> 26 #include "assembly-debug.h" 60 constexpr int INVALID_REG_IDX = -1; 62 constexpr size_t MAX_NUMBER_OF_SRC_REGS = 4; // TODO(mbolshov): auto-generate 71 constexpr std::array<unsigned, static_cast<size_t>(Opcode::NUM_OPCODES)> INST_FLAGS_TABLE = { 76 constexpr std::array<size_t, static_cast<size_t>(Opcode::NUM_OPCODES)> INST_WIDTH_TABLE = { 81 constexpr std::array<int, static_cast<size_t>(Opcode::NUM_OPCODES)> DEF_IDX_TABLE = {PANDA_INSTRUCT… 85 // clang-format off [all …]
|
| /arkcompiler/runtime_core/runtime/coretypes/ |
| D | string.cpp | 2 * Copyright (c) 2021-2022 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 23 #include "runtime/include/coretypes/array.h" 24 #include "runtime/include/coretypes/string-inl.h" 26 #include "runtime/handle_base-inl.h" 41 auto string = AllocStringObject(str_handle->GetLength(), !str_handle->IsUtf16(), ctx, vm); in CreateFromString() 48 string->length_ = str->length_; in CreateFromString() 49 string->hashcode_ = str->hashcode_; in CreateFromString() 51 uint32_t length = str->GetLength(); in CreateFromString() 52 // After memcpy we should have a full barrier, so this writes should happen-before barrier in CreateFromString() [all …]
|
| /arkcompiler/runtime_core/docs/ |
| D | file_format.md | 13 doesn't fit in 16-bit unsigned integer. It leads to application developer have to create several 24 But to achieve more compactness 16-bit indexes are used to refer classes, methods and fields in 65 The version field in the header is 4 bytes long and is encoded as byte array to 68 Any tool which supports format version `N` must support format version `N - 1` too. 73 | ---- | ----------- | 74 | `uint8_t` | 8-bit unsigned integer value | 75 | `uint16_t` | 16-bit unsigned integer value | 76 | `uint32_t` | 32-bit little endian unsigned integer value. | 80 ### MUTF-8 Encoding 82 Binary file format uses MUTF-8 (Modified UTF-8) encoding for strings. [all …]
|
| /arkcompiler/runtime_core/runtime/mem/gc/stw-gc/ |
| D | stw-gc.h | 2 * Copyright (c) 2021-2022 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 18 #include "runtime/include/coretypes/array-inl.h" 78 * \brief Stop the world, non-concurrent GC
|