/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/ |
H A D | descriptor.py | 45 header_comment = self.header.search(self.content) 56 match = self.includes.search(header) 59 match = self.includes2.search(header) 64 match = self.flags.search(header) 68 match = self.negative.search(header) 73 match = self.spec.search(header) 77 match = self.issues.search(header)
|
/arkcompiler/ets_frontend/es2panda/typescript/core/ |
H A D | typeCreation.cpp | 23 auto search = numberLiteralMap_.find(value); in CreateNumberLiteralType() local 24 if (search != numberLiteralMap_.end()) { in CreateNumberLiteralType() 25 return search->second; in CreateNumberLiteralType() 35 auto search = bigintLiteralMap_.find(str); in CreateBigintLiteralType() local 36 if (search != bigintLiteralMap_.end()) { in CreateBigintLiteralType() 37 return search->second; in CreateBigintLiteralType() 47 auto search = stringLiteralMap_.find(str); in CreateStringLiteralType() local 48 if (search != stringLiteralMap_.end()) { in CreateStringLiteralType() 49 return search->second; in CreateStringLiteralType()
|
/arkcompiler/ets_frontend/ets2panda/checker/ts/ |
H A D | typeCreation.cpp | 22 auto search = numberLiteralMap_.find(value); in CreateNumberLiteralType() local 23 if (search != numberLiteralMap_.end()) { in CreateNumberLiteralType() 24 return search->second; in CreateNumberLiteralType() 34 auto search = bigintLiteralMap_.find(str); in CreateBigintLiteralType() local 35 if (search != bigintLiteralMap_.end()) { in CreateBigintLiteralType() 36 return search->second; in CreateBigintLiteralType() 46 auto search = stringLiteralMap_.find(str); in CreateStringLiteralType() local 47 if (search != stringLiteralMap_.end()) { in CreateStringLiteralType() 48 return search->second; in CreateStringLiteralType()
|
/arkcompiler/ets_frontend/es2panda/ir/expressions/literals/ |
H A D | stringLiteral.cpp | 40 auto search = checker->StringLiteralMap().find(str_); in Check() local 41 if (search != checker->StringLiteralMap().end()) { in Check() 42 return search->second; in Check()
|
H A D | bigIntLiteral.cpp | 39 auto search = checker->BigintLiteralMap().find(src_); in Check() local 40 if (search != checker->BigintLiteralMap().end()) { in Check() 41 return search->second; in Check()
|
H A D | numberLiteral.cpp | 52 auto search = checker->NumberLiteralMap().find(number_); in Check() local 53 if (search != checker->NumberLiteralMap().end()) { in Check() 54 return search->second; in Check()
|
/arkcompiler/ets_frontend/ets2panda/parser/ |
H A D | ETSNolintParser.cpp | 136 const auto search = linesCollection_.find(line); in AddToETSNolintLinesCollection() local 137 if (search != linesCollection_.end()) { in AddToETSNolintLinesCollection() 138 search->second.insert(collection.begin(), collection.end()); in AddToETSNolintLinesCollection() 217 const auto search = warningsMap_.find(warningName); in MapETSNolintArg() local 218 ASSERT(search != warningsMap_.end()); in MapETSNolintArg() 220 return search->second; in MapETSNolintArg() 278 const auto search = linesCollection_.find(line); in GetWarningsCollectionByLine() local 279 return search == linesCollection_.end() ? std::set<ETSWarnings> {} : search->second; in GetWarningsCollectionByLine()
|
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/ |
H A D | lang.py | 78 m = re.search(self.re_state, line) 84 m = re.search(self.re_param, line) 92 m = re.search(self.re_func, line) # type: ignore 99 m = re.search(self.re_import, line) # type: ignore
|
H A D | doclet.py | 145 m = DocletParser.re_returns.search(value) 153 m = self.re_doclet.search(line) 280 re.search(self.re_comment_open, self.current): 283 if comment and re.search(self.re_comment_close, self.current):
|
H A D | shell.py | 51 m = re.search(regex, line) 62 matches = re.search(r"__RET_VAL__=(\d*)", self.out) 73 tm_val = re.search(tm_re, self.err) 84 rss_val = re.search(rss_re, self.err)
|
H A D | unit.py | 83 m = re.search(self.__real_tm_patt, rss_out) 95 mtch = re.search(self.__result_patt, res.out) 135 # search all libs on filesystem:
|
/arkcompiler/ets_runtime/test/jsperftest/ |
H A D | prerun_proc.py | 66 if(re.search("^__.*__=.*$", arg)): 69 elif(re.search("^.*.js$", arg)): 100 if(re.search(f"const {var} =", data[i].strip())):
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/tests/ |
H A D | test_runtime_capture.py | 18 from re import search namespace 49 assert search("Assertion failed", stdout_text) 51 assert search(r"Unhandled exception: std.core.AssertionError", error_log)
|
/arkcompiler/ets_frontend/ets2panda/linter/ |
H A D | compare_branches.py | 37 if merge_re.search(msg) is not None: 40 revert_match = revert_re.search(msg) 47 cherry_pick_match = cherry_pick_re.search(msg)
|
/arkcompiler/ets_frontend/es2panda/test/ |
H A D | test262util.py | 121 header_comment = self.header.search(content) 126 match = self.includes.search(header) 130 match = self.includes2.search(header) 136 match = self.flags.search(header) 143 match = self.negative.search(header)
|
/arkcompiler/runtime_core/static_core/scripts/clang-tidy/ |
H A D | clang_tidy_check.py | 297 if regexp.search(file_path): 327 if regexp and not regexp.search(file_path): 334 sysroot = re.search(r' --sysroot[\w\d\S]+', compile_args) 357 if not regexp.search(file_path): 385 if not regexp.search(keys): 438 match = regexp.search(compile_args)
|
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/plugins/langs/ |
H A D | ts.py | 61 m = re.search(self.re_func, line) # type: ignore 64 m = re.search(self.__re_func_void, line) # type: ignore
|
/arkcompiler/runtime_core/scripts/ |
H A D | run_check_atomic_format.py | 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/ets_runtime/ecmascript/compiler/ |
H A D | circuit.cpp | 496 auto search = constantCache_.find({machineType, value, type}); in GetConstantGate() local 497 if (search != constantCache_.end()) { in GetConstantGate() 498 return search->second; in GetConstantGate() 513 auto search = constantCache_.find({machineType, value, type}); in ClearConstantCache() local 514 if (search != constantCache_.end()) { in ClearConstantCache() 515 constantCache_.erase(search); in ClearConstantCache() 528 auto search = initialEnvCache_.find(jsFunc); in GetInitialEnvGate() local 529 if (search != initialEnvCache_.end()) { in GetInitialEnvGate()
|
/arkcompiler/runtime_core/static_core/scripts/code_style/ |
H A D | doxygen_style_check.py | 53 if comm.search(s): 93 pattern_to_check = re.search(r' */\*\* *\n( *\* *[^\n]*\n)+ *\*/', string) 125 pattern_to_check = re.search(r' */// [^ ]+?[^\n]*', lines[line_num - 1]) 159 pattern_to_check = re.search(r' *[^ \n]+[^\n]* +///< [^\n]+', lines[line_num - 1])
|
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/gclog/ark/ |
H A D | ark_fallback_parser.py | 37 m = self.PATTERN.search(line)
|
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/gclog/ |
H A D | fw_time_parser.py | 32 m = self.PATTERN.search(text)
|
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
H A D | builtins_collator_stub_builder.cpp | 125 Label search(env); in UsageOptionsToEcmaString() 135 BRANCH_NO_WEIGHT(Int32Equal(usage, Int32(static_cast<int32_t>(UsageOption::SEARCH))), &search, &fatal) in UsageOptionsToEcmaString() local 136 Bind(&search); in UsageOptionsToEcmaString()
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/arkdb/ |
H A D | source_meta.py | 64 match = BREAKPOINT_PATTERN.search(line)
|
/arkcompiler/runtime_core/static_core/scripts/cmake-checker/ |
H A D | cmake_checker.py | 31 # List of functions to search for 44 # don't search in following files and folders 49 # search in following third_party folders 84 if re.search(r'\b{}\b'.format(function_name[0]), line.split('#')[0]):
|