/arkcompiler/ets_runtime/test/typeinfer/automatedcases/ |
D | useRegexpGroups.ts | 21 let re = /(?<year>\d{4})-(?<month>\d{2})-(?<day>\d{2})/u; 22 AssertType(re, "RegExp"); 25 let result = re.exec("2015-01-02"); 27 AssertType(re.exec("2015-01-02"), "RegExpExecArray"); 28 AssertType(re.exec, "(string) => RegExpExecArray");
|
D | typeGuardsNestedAssignments.ts | 118 const re = /./g constant 119 AssertType(re, "RegExp"); 126 while ((match = re.exec("xxx")) != null) {
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | typed_array_stub_builder.cpp | 213 GateRef re = Load(VariableType::INT8(), block, byteIndex); in GetValueFromBuffer() local 214 result = IntToTaggedPtr(SExtInt8ToInt32(re)); in GetValueFromBuffer() 222 GateRef re = Load(VariableType::INT8(), block, byteIndex); in GetValueFromBuffer() local 223 result = IntToTaggedPtr(ZExtInt8ToInt32(re)); in GetValueFromBuffer() 231 GateRef re = Load(VariableType::INT8(), block, byteIndex); in GetValueFromBuffer() local 232 result = IntToTaggedPtr(ZExtInt8ToInt32(re)); in GetValueFromBuffer() 249 GateRef re = Load(VariableType::INT16(), block, byteIndex); in GetValueFromBuffer() local 250 result = IntToTaggedPtr(SExtInt16ToInt32(re)); in GetValueFromBuffer() 258 GateRef re = Load(VariableType::INT16(), block, byteIndex); in GetValueFromBuffer() local 259 result = IntToTaggedPtr(ZExtInt16ToInt32(re)); in GetValueFromBuffer() [all …]
|
/arkcompiler/ets_runtime/test/aottest/createregexpwithliteral/ |
D | createregexpwithliteral.ts | 17 var re = /abc+/; 20 var res1 = re.test(str1); 21 var res2 = re.test(str2);
|
/arkcompiler/ets_frontend/es2panda/test/ |
D | test262util.py | 20 import re 27 self.header = re.compile( 28 r"\/\*---(?P<header>.+)---\*\/", re.DOTALL) 29 self.includes = re.compile(r"includes:\s+\[(?P<includes>.+)\]") 30 self.includes2 = re.compile(r"includes:(?P<includes>(\s+-[^-].+)+)") 31 self.flags = re.compile(r"flags:\s+\[(?P<flags>.+)\]") 32 self.negative = re.compile( 34 re.DOTALL) 35 self.async_ok = re.compile(r"Test262:AsyncTestComplete")
|
D | runner.py | 24 import re 383 options = re.findall(r"//\s?@\w+:.*\n", lines) 387 opt = re.findall(r"\w+", separated[0])[0].lower() 405 if 'module' not in test_options and re.search(r"export ", lines):
|
/arkcompiler/runtime_core/bytecode_optimizer/templates/ |
D | check_width.cpp.erb | 19 [[maybe_unused]] auto re = static_cast<RegEncoder*>(v); 28 re->Check8Width(inst); 33 re->success_ = false; 37 [[maybe_unused]] auto re = static_cast<RegEncoder*>(v); 50 re->success_ = false; 57 [[maybe_unused]] auto re = static_cast<RegEncoder*>(v);
|
/arkcompiler/runtime_core/scripts/ |
D | run_check_atomic_format.py | 20 import re 37 parsed_res = re.search(r"memory_order_(\w+)", parsed_line) 53 res = re.search(r"// Atomic with (\w+) order reason: (.+)", line) 59 res = re.search(r"(.*)(\.|->)(store|load|fetch_add|fetch_sub|"
|
/arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/ |
D | spill_fills_resolver.cpp | 289 auto re = remap->at(src); in AddMovesChain() local 291 if (re == INVALID_LOCATION_INDEX) { in AddMovesChain() 295 spill_fill_inst->AddSpillFill(ToLocation(re), ToLocation(dst), type); in AddMovesChain() 308 auto re = remap->at(first_dst); in AddMovesChain() local 309 ASSERT(re != INVALID_LOCATION_INDEX); in AddMovesChain() 310 remap->at(first_src) = re; in AddMovesChain()
|
/arkcompiler/runtime_core/gn/build/ |
D | cmake_configure_file.py | 16 import re 54 in_line = re.sub(pattern, replace, in_line)
|
/arkcompiler/ets_runtime/test/ |
D | run_ts_test262.py | 19 import re 79 if len(re.findall(filename + r':(\d+)', strs)) > 0: 80 line_number = re.findall(filename + r':(\d+)', strs) 186 start_pattern = re.compile(r'^\/\*\-*')
|
D | runtest.py | 23 import re
|
/arkcompiler/runtime_core/bytecode_optimizer/ |
D | reg_encoder.h | 179 auto *re = static_cast<RegEncoder *>(visitor); in CallHelper() local 180 re->Check4Width(inst); in CallHelper()
|
D | reg_encoder.cpp | 490 auto re = static_cast<RegEncoder *>(visitor); in VisitIntrinsic() local 492 re->Check4Width(inst->CastToIntrinsic()); in VisitIntrinsic() 496 re->Check8Width(inst->CastToIntrinsic()); in VisitIntrinsic()
|
/arkcompiler/ets_runtime/test/perform/string/ |
D | string.js | 29 const re = /apples/gi; constant 33 str.replace(re, 'Christmas'); 77 const re = /\s*(?:;|$)\s*/; constant 80 str.split(re);
|
/arkcompiler/ets_frontend/test262/ |
D | utils.py | 28 import re 176 … module_import_list = re.findall(r'(import|from)(?:\s*)\(?(\'(\.\/.*)\'|"(\.\/.*)")\)?', content)
|
D | run_sunspider.py | 27 import re 240 module_mode_list = re.findall(module_pattern, content_file) 426 import_line = re.findall(r"^(?:ex|im)port.*\.js", line) 428 import_file = re.findall(r"['\"].*\.js", import_line[0])
|
/arkcompiler/ets_frontend/es2panda/lexer/regexp/ |
D | regexp.h | 54 explicit RegExpParser(const RegExp &re, ArenaAllocator *allocator);
|
D | regexp.cpp | 31 RegExpParser::RegExpParser(const RegExp &re, ArenaAllocator *allocator) in RegExpParser() argument 32 : re_(re), allocator_ {allocator}, iter_(re_.patternStr), capturingGroupCount_(0) in RegExpParser()
|
/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
|
D | reg_alloc_graph_coloring_doc.md | 37 … coalescing. Or alternatively on post-coalescing potentially big amount of re-coloring may be requ…
|
/arkcompiler/runtime_core/cmake/ark-third-party/zlib/ |
D | CMakeLists.txt | 70 # If we're doing an out of source build and the user has a zconf.h
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_string.cpp | 604 JSHandle<JSRegExp> re(regexp); in Match() local 605 JSHandle<JSTaggedValue> pattern(thread, re->GetOriginalSource()); in Match() 606 JSHandle<JSTaggedValue> flags(thread, re->GetOriginalFlags()); in Match() 841 JSHandle<JSRegExp> re(searchTag); in Replace() local 842 JSHandle<JSTaggedValue> pattern(thread, re->GetOriginalSource()); in Replace() 843 JSHandle<JSTaggedValue> flags(thread, re->GetOriginalFlags()); in Replace()
|
/arkcompiler/ets_frontend/test/scripts/sdk_test/ |
D | execution.py | 23 import re 776 match_result = re.search(pattern, compile_stdout)
|
/arkcompiler/runtime_core/cmake/ |
D | ClangTidy.cmake | 64 # that a subsequent build re-runs clang-tidy on all sources even if they
|