Home
last modified time | relevance | path

Searched refs:re (Results 1 – 25 of 32) sorted by relevance

12

/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DuseRegexpGroups.ts21 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");
DtypeGuardsNestedAssignments.ts118 const re = /./g constant
119 AssertType(re, "RegExp");
126 while ((match = re.exec("xxx")) != null) {
/arkcompiler/ets_runtime/ecmascript/compiler/
Dtyped_array_stub_builder.cpp213 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/
Dcreateregexpwithliteral.ts17 var re = /abc+/;
20 var res1 = re.test(str1);
21 var res2 = re.test(str2);
/arkcompiler/ets_frontend/es2panda/test/
Dtest262util.py20 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")
Drunner.py24 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/
Dcheck_width.cpp.erb19 [[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/
Drun_check_atomic_format.py20 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/
Dspill_fills_resolver.cpp289 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/
Dcmake_configure_file.py16 import re
54 in_line = re.sub(pattern, replace, in_line)
/arkcompiler/ets_runtime/test/
Drun_ts_test262.py19 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'^\/\*\-*')
Druntest.py23 import re
/arkcompiler/runtime_core/bytecode_optimizer/
Dreg_encoder.h179 auto *re = static_cast<RegEncoder *>(visitor); in CallHelper() local
180 re->Check4Width(inst); in CallHelper()
Dreg_encoder.cpp490 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/
Dstring.js29 const re = /apples/gi; constant
33 str.replace(re, 'Christmas');
77 const re = /\s*(?:;|$)\s*/; constant
80 str.split(re);
/arkcompiler/ets_frontend/test262/
Dutils.py28 import re
176 … module_import_list = re.findall(r'(import|from)(?:\s*)\(?(\'(\.\/.*)\'|"(\.\/.*)")\)?', content)
Drun_sunspider.py27 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/
Dregexp.h54 explicit RegExpParser(const RegExp &re, ArenaAllocator *allocator);
Dregexp.cpp31 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/
Davoid-calculating-start-of-array.md1 # Avoid re-calculating the address of array data for consequent array accesses
Dreg_alloc_graph_coloring_doc.md37 … coalescing. Or alternatively on post-coalescing potentially big amount of re-coloring may be requ…
/arkcompiler/runtime_core/cmake/ark-third-party/zlib/
DCMakeLists.txt70 # If we're doing an out of source build and the user has a zconf.h
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_string.cpp604 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/
Dexecution.py23 import re
776 match_result = re.search(pattern, compile_stdout)
/arkcompiler/runtime_core/cmake/
DClangTidy.cmake64 # that a subsequent build re-runs clang-tidy on all sources even if they

12