| /arkcompiler/ets_frontend/ets2panda/linter/test/main/ |
| D | template_literals.ets | 27 function tag1(strings: TemplateStringsArray): void { 28 console.log(strings); 30 function tag2(strings: TemplateStringsArray, ...values: any[]): void { 31 console.log(strings, values); 34 strings: TemplateStringsArray, 37 console.log(strings, values);
|
| /arkcompiler/runtime_core/disassembler/tests/ |
| D | disassembler_string_test.cpp | 34 bool ValidateString(const std::vector<std::string> &strings, in ValidateString() argument 38 const auto string_iter = std::find(strings.begin(), strings.end(), expected_string); in ValidateString() 39 if (string_iter == strings.end()) { in ValidateString() 59 std::vector<std::string> strings = disasm.GetStrings(); variable 60 bool has_string = ValidateString(strings, expected_strings); 75 std::vector<std::string> strings = disasm.GetStrings(); variable 76 bool has_string = ValidateString(strings, expected_strings);
|
| /arkcompiler/runtime_core/static_core/scripts/code_style/ |
| D | doxygen_style_check.py | 83 def check_javadoc(src_path: str, strings: list) -> bool: 89 for string in strings: 111 def check_additional_slashes(src_path: str, strings: list) -> bool: 119 strings = list(set(strings)) # Only unique strings left 120 for string in strings: 150 def check_less_than_slashes(src_path: str, strings: list) -> bool: 157 for string in strings: 199 strings = [] 201 strings = regexp.findall(f.read()) 202 for s in strings: [all …]
|
| /arkcompiler/ets_frontend/es2panda/test/compiler/merge_hap/projects/merge_hap_replace_pkg_name/ |
| D | main_hap-expected.pa.txt | 76 ======> strings <====== 140 ======> strings <====== 144 ======> strings <====== 148 ======> strings <====== 152 ======> strings <====== 229 ======> strings <====== 293 ======> strings <====== 297 ======> strings <====== 301 ======> strings <====== 305 ======> strings <======
|
| /arkcompiler/ets_frontend/es2panda/test/compiler/merge_hap/projects/merge_hap_replace_perfix_pkg_name/ |
| D | main_hap-expected.pa.txt | 76 ======> strings <====== 140 ======> strings <====== 144 ======> strings <====== 148 ======> strings <====== 152 ======> strings <====== 229 ======> strings <====== 293 ======> strings <====== 297 ======> strings <====== 301 ======> strings <====== 305 ======> strings <======
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/checked/example/ |
| D | strings.ets | 17 //! RUN force_jit: true, entry: "testString", options: "--compiler-regex=strings.ETSGLOBAL… 24 //! RUN force_jit: true, entry: "testString", options: "--compiler-regex=strings.ETSGLOBAL… 41 //! RUN_AOT options: "--compiler-regex=strings.ETSGLOBAL::testString --compiler-enable-fast-in… 50 //! RUN_PAOC options: "--compiler-regex=strings.ETSGLOBAL::testString" 68 import { addString } from "checked/example/strings.js"
|
| /arkcompiler/runtime_core/abc2program/tests/cpp_sources/ |
| D | abc2program_test_utils.cpp | 79 bool Abc2ProgramTestUtils::ValidateStrings(const T &strings, const T &expected_strings) in ValidateStrings() argument 81 if (strings.size() != expected_strings.size()) { in ValidateStrings() 85 const auto string_iter = std::find(strings.begin(), strings.end(), expected_string); in ValidateStrings() 86 if (string_iter == strings.end()) { in ValidateStrings() 152 // Split input strings by white spaces. in ValidateLine() 160 // Compare all divived sub-strings. in ValidateLine() 166 * 0. the sub-strings are same. in ValidateLine() 169 * 2. the sub-strings are literal array names with offset, offset could be modified when in ValidateLine()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/compiler/docs/ |
| D | interop_string_constpool_doc.md | 1 # Constant pool for interop strings 25 - consider these qualified names as arrays of strings 30 … strings in dynamic calls. We need to unite this indexings into a single one. To do so, when we *u… 35 …s corresponding to it are populated with the `napi_string`s created from strings in `jscall` class…
|
| /arkcompiler/ets_frontend/es2panda/test/compiler/bytecodehar/projects/bytecodehar-annotations-string/ |
| D | importAnno-exec-expected.pa.txt | 76 ======> strings <====== 80 ======> strings <====== 249 ======> strings <====== 253 ======> strings <====== 257 ======> strings <====== 261 ======> strings <====== 265 ======> strings <====== 269 ======> strings <======
|
| /arkcompiler/runtime_core/static_core/plugins/ets/playground/frontend/src/models/ |
| D | syntax.test.ts | 20 it('should convert regex strings to RegExp objects', () => { 36 it('should handle deeply nested regex strings', () => { 52 it('should return an identical structure if no regex strings are present', () => { 67 it('should ignore invalid regex format strings', () => {
|
| /arkcompiler/ets_frontend/es2panda/test/compiler/abc2program/update-version/ |
| D | expected.txt | 3 ======> strings <====== 7 ======> strings <====== 11 ======> strings <====== 95 ======> strings <======
|
| /arkcompiler/ets_frontend/es2panda/test/compiler/bytecodehar/projects/bytecodehar-annotations-merged-abc/ |
| D | importAnno-exec-expected.pa.txt | 76 ======> strings <====== 80 ======> strings <====== 237 ======> strings <====== 241 ======> strings <====== 245 ======> strings <====== 249 ======> strings <====== 253 ======> strings <======
|
| /arkcompiler/ets_frontend/es2panda/test/compiler/bytecodehar/projects/bytecodehar-annotations-non-merged-abc/ |
| D | importAnno-exec-expected.pa.txt | 76 ======> strings <====== 80 ======> strings <====== 237 ======> strings <====== 241 ======> strings <====== 245 ======> strings <====== 249 ======> strings <====== 253 ======> strings <======
|
| /arkcompiler/ets_frontend/es2panda/test/compiler/bytecodehar/projects/bytecodehar-annotations-number/ |
| D | importAnno-exec-expected.pa.txt | 76 ======> strings <====== 80 ======> strings <====== 237 ======> strings <====== 241 ======> strings <====== 245 ======> strings <====== 249 ======> strings <====== 253 ======> strings <======
|
| /arkcompiler/ets_frontend/es2panda/test/compiler/bytecodehar/projects/bytecodehar-annotations-3d-array-boolean/ |
| D | importAnno-exec-expected.pa.txt | 76 ======> strings <====== 80 ======> strings <====== 237 ======> strings <====== 241 ======> strings <====== 245 ======> strings <====== 249 ======> strings <====== 253 ======> strings <======
|
| /arkcompiler/ets_frontend/ets2panda/bindings/src/ |
| D | arrays.ts | 18 import { CustomTextDecoder, CustomTextEncoder } from './strings'; 36 export function withStringArray(strings: Array<string> | undefined): Uint8Array { 37 if (strings === undefined || strings.length === 0) { 38 throwError('Error in strings array'); 41 let array = encoder.encodeArray(strings);
|
| /arkcompiler/runtime_core/panda_guard/obfuscate/ |
| D | module_record.h | 37 void ExtractNames(std::set<std::string> &strings) const override; 54 void ExtractNames(std::set<std::string> &strings) const override; 85 void ExtractNames(std::set<std::string> &strings) const override; 112 void ExtractNames(std::set<std::string> &strings) const override; 141 void ExtractNames(std::set<std::string> &strings) const override; 167 void ExtractNames(std::set<std::string> &strings) const override;
|
| /arkcompiler/runtime_core/libabckit/tests/ut/metadata_core/modify_api/strings/ |
| D | strings_test.cpp | 84 ABCKIT_ABC_DIR "ut/metadata_core/modify_api/strings/strings_static.abc", in TEST_F() 85 ABCKIT_ABC_DIR "ut/metadata_core/modify_api/strings/strings_static_modified.abc", "main", in TEST_F() 115 ABCKIT_ABC_DIR "ut/metadata_core/modify_api/strings/strings_static.abc", in TEST_F() 116 ABCKIT_ABC_DIR "ut/metadata_core/modify_api/strings/strings_static_modify.abc", "main", in TEST_F() 155 ABCKIT_ABC_DIR "ut/metadata_core/modify_api/strings/strings_dynamic.abc", in TEST_F() 156 ABCKIT_ABC_DIR "ut/metadata_core/modify_api/strings/strings_dynamic.abc", "main", in TEST_F() 169 …auto output = helpers::ExecuteDynamicAbc(ABCKIT_ABC_DIR "ut/metadata_core/modify_api/strings/strin… in TEST_F() 196 ABCKIT_ABC_DIR "ut/metadata_core/modify_api/strings/strings_dynamic.abc", in TEST_F() 197 ABCKIT_ABC_DIR "ut/metadata_core/modify_api/strings/strings_dynamic_modified.abc", "main", in TEST_F()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/checked/ |
| D | ets_string_builder_reserve_part20-29.ets | 209 let strings: FixedArray<string> = ["0", "1", "2"] 211 for (let i = 0; i < strings.length; ++i) 212 sb.append(strings[i]) 217 let strings: FixedArray<string> = ["0", "1", "2"] 219 for (let s : string of strings) 224 function lenArray_reserve27(strings: FixedArray<string>) : string { 226 for (let i = 0; i < strings.length; ++i) 227 sb.append(strings[i]) 231 function lenArray_reserve28(strings: FixedArray<string>) : string { 233 for (let s : string of strings)
|
| /arkcompiler/runtime_core/static_core/runtime/tests/ |
| D | epsilon_gcs_test.cpp | 145 std::vector<VMHandle<coretypes::String>> strings; in TEST_F() local 153 if (strings.size() < NUM_OF_ELEMS_CHECKED) { in TEST_F() 154 strings.emplace_back(thread, objString); in TEST_F() 155 size_t lastElemIndx = strings.size() - 1; in TEST_F() 156 nonmovable->Set<ObjectHeader *>(lastElemIndx, strings[lastElemIndx].GetPtr()); in TEST_F() 162 ASSERT_EQ(strings.size(), NUM_OF_ELEMS_CHECKED); in TEST_F() 165 for (size_t i = 0; i < strings.size(); ++i) { in TEST_F() 166 ASSERT_EQ(strings[i].GetPtr(), nonmovable->Get<ObjectHeader *>(i)); in TEST_F() 175 for (size_t i = 0; i < strings.size(); ++i) { in TEST_F() 176 ASSERT_EQ(strings[i].GetPtr(), nonmovable->Get<ObjectHeader *>(i)); in TEST_F() [all …]
|
| /arkcompiler/ets_frontend/es2panda/test/compiler/bytecodehar/projects/bytecodehar-annotations-array-boolean/ |
| D | importAnno-exec-expected.pa.txt | 108 ======> strings <====== 112 ======> strings <====== 301 ======> strings <====== 305 ======> strings <====== 309 ======> strings <====== 313 ======> strings <====== 317 ======> strings <======
|
| /arkcompiler/ets_frontend/ets2panda/test/ast/parser/ets/ |
| D | named_types_2.ets | 21 /* @@@ label Error SyntaxError: Newline is not allowed in strings */ 22 /* @@@ label1 Error SyntaxError: Newline is not allowed in strings */
|
| /arkcompiler/ets_frontend/ets2panda/test/ast/parser/js/ |
| D | test-multi-line-string.js | 22 /* @@? 17:1 Error SyntaxError: Newline is not allowed in strings */ 23 /* @@@ label1 Error SyntaxError: Newline is not allowed in strings */
|
| /arkcompiler/ets_frontend/es2panda/test/compiler/bytecodehar/projects/bytecodehar-annotations-3d-array-enum-string/ |
| D | importAnno-exec-expected.pa.txt | 138 ======> strings <====== 142 ======> strings <====== 335 ======> strings <====== 339 ======> strings <====== 343 ======> strings <====== 347 ======> strings <====== 351 ======> strings <====== 355 ======> strings <======
|
| /arkcompiler/ets_frontend/es2panda/test/compiler/bytecodehar/projects/bytecodehar-annotations-3d-array-string/ |
| D | importAnno-exec-expected.pa.txt | 132 ======> strings <====== 136 ======> strings <====== 349 ======> strings <====== 353 ======> strings <====== 357 ======> strings <====== 361 ======> strings <====== 365 ======> strings <====== 369 ======> strings <======
|