| /arkcompiler/ets_runtime/test/moduletest/stringsplit/ |
| D | stringsplit.js | 17 * @tc.name:split 18 * @tc.desc:test String.split 24 ("X").split("00QP", -32297n); 29 // Test String.prototype.split and cache 34 let res1 = shortString.split(''); 35 let res2 = shortString.split(''); 39 let res3 = longString.split(''); 40 let res4 = longString.split(''); 44 let res5 = shortTwoBytesString.split(''); 45 let res6 = shortTwoBytesString.split(''); [all …]
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/analysis/ |
| D | live_registers.cpp | 23 struct Split { struct 24 Split(LifeIntervalsIt pBegin, LifeIntervalsIt pEnd, LifeNumber pMin, LifeNumber pMax, in Split() function 46 …for (auto split = interval; !interval->IsPhysical() && split != nullptr; split = split->GetSibling… in CopyIntervals() local 47 if (split->HasReg()) { in CopyIntervals() 48 minLn = std::min(minLn, split->GetBegin()); in CopyIntervals() 49 maxLn = std::max(maxLn, split->GetEnd()); in CopyIntervals() 50 destination->push_back(split); in CopyIntervals() 100 ArenaQueue<const Split *> queue(lalloc->Adapter()); in BuildIntervalsTree() 106 …queue.push(lalloc->New<Split>(intervals->begin(), intervals->end(), lnRange.first, lnRange.second,… in BuildIntervalsTree() 110 // Split each interval into three parts: in BuildIntervalsTree() [all …]
|
| /arkcompiler/runtime_core/panda_guard/util/ |
| D | string_util.h | 28 * Split str by delimiter 29 * @param str split str 30 * @param delimiter split delimiter 31 * @return split tokens, if split failed return empty vector 32 * e.g. Split("##a#", "#"); => ["a"] 34 static std::vector<std::string> Split(const std::string &str, const std::string &delimiter); 37 * Strictly split str by delimiter, which will gives empty part 38 * @param str split str 39 * @param delimiter split delimiter 40 * @return split tokens, if split failed return empty vector [all …]
|
| /arkcompiler/ets_runtime/test/moduletest/string/ |
| D | string.js | 104 var b = a.split(""); 105 var c = a.split("1"); 111 var b1 = a1.split(); 112 var c1 = a1.split(""); 113 var d1 = a1.split(" "); 114 var e1 = a1.split("_"); 115 var f1 = a1.split("_", 2); 116 var g1 = a2.split("尼", 3); 117 var r1 = a3.split("尼", 44); 118 var k1 = a3.split("尼", 0); [all …]
|
| /arkcompiler/toolchain/test/autotest/aw/ |
| D | fport.py | 60 for fport_item in [item for item in list_fport_result.split('[Forward]') if 'ark' in item]: 61 un_fport_command = (f"fport rm {fport_item.split(' ')[1].split(' ')[0]} " 62 f"{fport_item.split(' ')[1].split(' ')[1]}")
|
| /arkcompiler/runtime_core/compiler/tests/ |
| D | life_intervals_test.cpp | 72 auto split = interval->SplitAt(4, GetAllocator()); in TEST_F() local 74 CheckSiblings({interval, split}); in TEST_F() 76 CheckRanges(split, {}); in TEST_F() 82 auto split = interval->SplitAt(6, GetAllocator()); in TEST_F() local 84 CheckSiblings({interval, split}); in TEST_F() 86 CheckRanges(split, {{8, 10}}); in TEST_F() 92 auto split = interval->SplitAt(6, GetAllocator()); in TEST_F() local 94 CheckSiblings({interval, split}); in TEST_F() 96 CheckRanges(split, {{6, 10}}); in TEST_F() 102 auto split = interval->SplitAt(8, GetAllocator()); in TEST_F() local [all …]
|
| D | split_resolver_new_test.cpp | 152 // Split param_interval at add inst and mul inst in __anonca3494300102() 153 auto split = param_interval->SplitAt(add_interval->GetBegin() - 1, graph->GetAllocator()); in __anonca3494300102() local 154 split->SetLocation(Location::MakeStackSlot(SLOT_AT_ADD)); in __anonca3494300102() 155 split = split->SplitAt(mul_interval->GetBegin() - 1, graph->GetAllocator()); in __anonca3494300102() 156 split->SetReg(REG_AT_MUL); in __anonca3494300102() 214 // Split at call inst in __anonca3494300502() 264 // Split in `if` branch in __anonca3494300802() 265 auto split = param_interval->SplitAt(mul_interval->GetBegin() - 1, graph->GetAllocator()); in __anonca3494300802() local 266 split->SetLocation(Location::MakeStackSlot(SLOT_AT_MUL)); in __anonca3494300802()
|
| /arkcompiler/runtime_core/docs/diagrams/ |
| D | static-analyzer-gc-func-list-gen.puactivity | 18 split 21 split again 32 end split
|
| /arkcompiler/runtime_core/static_core/docs/diagrams/ |
| D | static-analyzer-gc-func-list-gen-activity.plantuml | 18 split 21 split again 32 end split
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/checked/ |
| D | string_split_test.ets | 16 //! CHECKER AOT test check no deoptimization occurs in String.split 22 //! CHECKER JIT test check no deoptimization occurs in String.split 30 let arr: String[] = str.split(" ", -5); 41 arr = str.split(" ", 3);
|
| /arkcompiler/runtime_core/templates/ |
| D | common.rb | 53 n = name.split(Regexp.union(['-', '.'])).map(&:capitalize).join 90 n = "#{lang}.#{name}".split(Regexp.union(['-', '.'])).map(&:capitalize).join 117 split = s.split(k); 118 for i in 1..split.length() - 1 119 ret += v + ' + ' + Common::to_raw(split[i])+ ' + ' 138 'Event' + name.split('-').map(&:capitalize).join
|
| /arkcompiler/ets_runtime/test/perform/string/ |
| D | expect_output.txt | 17 string split number of input parameters is 2 : 70 18 string split number of input parameters is 1 : 35 19 string split into regexp.split : 22
|
| /arkcompiler/runtime_core/libpandafile/templates/ |
| D | file_format_version.h.erb | 34 constexpr std::array<uint8_t, File::VERSION_SIZE> version {<%= Panda::version.split('.').join(', ')… 35 constexpr std::array<uint8_t, File::VERSION_SIZE> minVersion {<%= Panda::min_version.split('.').joi… 38 {<%= api_version.split('.').join(', ') %>}, 58 % current_version_raw = Panda::version.split('.') 63 {<%= api_version[0] %>, {<%= api_version[1].split('.').join(', ') %>}},
|
| /arkcompiler/ets_runtime/test/moduletest/regexpcache/ |
| D | regexpcache.js | 44 // 6. String.prototype.split() 45 const split_res1 = str.split(regex); 46 const split_res2 = str.split(regex);
|
| /arkcompiler/runtime_core/static_core/compiler/tests/ |
| D | life_intervals_test.cpp | 86 auto split = interval->SplitAt(4U, GetAllocator()); in TEST_F() local 88 CheckSiblings({interval, split}); in TEST_F() 90 CheckRanges(split, {}); in TEST_F() 96 auto split = interval->SplitAt(6U, GetAllocator()); in TEST_F() local 98 CheckSiblings({interval, split}); in TEST_F() 100 CheckRanges(split, {{8U, 10U}}); in TEST_F() 106 auto split = interval->SplitAt(6U, GetAllocator()); in TEST_F() local 108 CheckSiblings({interval, split}); in TEST_F() 110 CheckRanges(split, {{6U, 10U}}); in TEST_F() 116 auto split = interval->SplitAt(8U, GetAllocator()); in TEST_F() local [all …]
|
| /arkcompiler/runtime_core/panda_guard/tests/unittest/ |
| D | string_util_test.cpp | 25 * @tc.desc: test string util split function 34 auto result = StringUtil::Split(str, delimiter); 39 result = StringUtil::Split(str, delimiter); 46 * @tc.desc: test string util strict split function
|
| /arkcompiler/runtime_core/static_core/verification/util/ |
| D | mem.h | 29 Linux is using a split address space for 32 bit systems, although in the past there 30 were options for supporting 4/4s split or dedicated kernel address space (on those 31 …architecture that supports it, e.g. x86). Linux always uses split address space for 64 bit systems. 33 [For 32-bit Linux, the split is usually 3/1, i.e. 0x00000000-0xc0000000 is user space,
|
| /arkcompiler/ets_frontend/ets2panda/linter/homecheck/src/codeFix/engines/ |
| D | EsLintFixEngine.ts | 96 const fixEndCol = Number.parseInt(issue.defect.fixKey.split('%')[2]); 98 const originLineNum = sourceText.slice(start, end).split(eof).length; 99 const fixTextLineNUM = fix.text.split(eof).length; 103 const defectOldEndCol = Number.parseInt(defectOld.fixKey.split('%')[2]); 128 const splitText = fix.text.split(eof); 133 … const colLen = Number.parseInt(defectNew.fixKey.split('%')[2]) - defectNew.reportColumn; 140 endCol = Number.parseInt(defectNew.fixKey.split('%')[2]) + subCol;
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/regression/ |
| D | function_params_optional_union.ets | 17 public split (separator: String | Int, limit?: Number) : String[] { 24 assertEQ( a.split("123", 1)[0], "")
|
| /arkcompiler/ets_frontend/testTs/ |
| D | run_testTs.py | 74 path_list = file.split(os.sep) 80 ts_list = temp_out_file_path.split(os.sep) 83 path_list = out_file_path.split(os.sep) 165 out_list = out_content.split('}\n{') 168 out_list.append(''.join(out_content.split('\n'))) 175 out_do = ''.join(out_list[i].split('\n')).strip(' ') + '}' 177 out_do = '{' + ''.join(out_list[i].split('\n')).strip(' ') 182 out_list[i].split('\n')).strip(' ') + 195 path_list = file.split(os.sep) 201 path_list = out_path.split(os.sep)
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner-2/runner/ |
| D | descriptor.py | 57 includes += [incl.strip() for incl in match.group("includes").split(",")] if match else [] 60 … includes += [incl.strip() for incl in match.group("includes").split("-")][1:] if match else [] 66 result["flags"] = [flag.strip() for flag in match.group("flags").split(",")] 79 result["issues"] = [issue.strip() for issue in match.group("issues").split(",")]
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/ |
| D | descriptor.py | 57 includes += [incl.strip() for incl in match.group("includes").split(",")] if match else [] 60 … includes += [incl.strip() for incl in match.group("includes").split("-")][1:] if match else [] 66 result["flags"] = [flag.strip() for flag in match.group("flags").split(",")] 79 result["issues"] = [issue.strip() for issue in match.group("issues").split(",")]
|
| /arkcompiler/runtime_core/taihe/test/ani_string/user/ |
| D | main.ets | 31 function split() { 32 let strPair = StringOp.split("abcd", 2); 108 suite.addTest("split", split)
|
| /arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/prop+strProp+top/15_symbol/ |
| D | 01_symbol_01_expected.txt | 32 Symbol.split; 45 [Symbol.split]: 9, 57 assert(j[Symbol.split] === 9);
|
| /arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/strProp+export/15_symbol/ |
| D | 01_symbol_01_expected.txt | 32 Symbol.split; 45 [Symbol.split]: 9, 57 assert(o1[Symbol.split] === 9);
|