Home
last modified time | relevance | path

Searched refs:regex_str (Results 1 – 17 of 17) sorted by relevance

/external/libcxx/utils/libcxx/sym_check/
Dmatch.py20 for regex_str in regex_list:
21 report += 'Matching regex "%s":\n' % regex_str
22 matching_list = find_matching_symbols(symbol_list, regex_str)
34 def find_matching_symbols(symbol_list, regex_str): argument
35 regex = re.compile(regex_str)
/external/llvm-project/libcxx/utils/libcxx/sym_check/
Dmatch.py19 for regex_str in regex_list:
20 report += 'Matching regex "%s":\n' % regex_str
21 matching_list = find_matching_symbols(symbol_list, regex_str)
33 def find_matching_symbols(symbol_list, regex_str): argument
34 regex = re.compile(regex_str)
/external/llvm-project/llvm/utils/benchmark/test/
Doutput_test_helper.cc92 << NC.regex_str << "\"" in CheckCase()
98 << "Expected line \"" << line << "\" to match regex \"" << TC.regex_str in CheckCase()
104 << "End of output reached before match for regex \"" << TC.regex_str in CheckCase()
230 VLOG(2) << "checking for benchmarks matching " << p.regex_str << "...\n"; in CheckResults()
233 VLOG(2) << p.regex_str << " is not matched by " << r.name << "\n"; in CheckResults()
236 VLOG(2) << p.regex_str << " is matched by " << r.name << "\n"; in CheckResults()
331 : regex_str(std::move(re)), in TestCase()
333 substituted_regex(internal::PerformSubstitutions(regex_str)), in TestCase()
339 << "\n originally \"" << regex_str << "\"" in TestCase()
Doutput_test.h34 std::string regex_str; member
/external/libcxx/utils/google-benchmark/test/
Doutput_test_helper.cc101 << NC.regex_str << "\"" in CheckCase()
107 << "Expected line \"" << line << "\" to match regex \"" << TC.regex_str in CheckCase()
113 << "End of output reached before match for regex \"" << TC.regex_str in CheckCase()
236 VLOG(2) << "checking for benchmarks matching " << p.regex_str << "...\n"; in CheckResults()
239 VLOG(2) << p.regex_str << " is not matched by " << r.name << "\n"; in CheckResults()
242 VLOG(2) << p.regex_str << " is matched by " << r.name << "\n"; in CheckResults()
340 : regex_str(std::move(re)), in TestCase()
342 substituted_regex(internal::PerformSubstitutions(regex_str)), in TestCase()
348 << "\n originally \"" << regex_str << "\"" in TestCase()
Doutput_test.h34 std::string regex_str; member
/external/llvm-project/libcxx/utils/google-benchmark/test/
Doutput_test_helper.cc101 << NC.regex_str << "\"" in CheckCase()
107 << "Expected line \"" << line << "\" to match regex \"" << TC.regex_str in CheckCase()
113 << "End of output reached before match for regex \"" << TC.regex_str in CheckCase()
236 VLOG(2) << "checking for benchmarks matching " << p.regex_str << "...\n"; in CheckResults()
239 VLOG(2) << p.regex_str << " is not matched by " << r.name << "\n"; in CheckResults()
242 VLOG(2) << p.regex_str << " is matched by " << r.name << "\n"; in CheckResults()
340 : regex_str(std::move(re)), in TestCase()
342 substituted_regex(internal::PerformSubstitutions(regex_str)), in TestCase()
348 << "\n originally \"" << regex_str << "\"" in TestCase()
Doutput_test.h34 std::string regex_str; member
/external/selinux/libselinux/src/
Dlabel_file.c71 if ((!strcmp(spec_arr[jj].regex_str, in nodups_specs()
72 curr_spec->regex_str)) in nodups_specs()
82 path, curr_spec->regex_str, in nodups_specs()
89 path, curr_spec->regex_str); in nodups_specs()
347 spec->regex_str = (char *)mmap_area->next_addr; in load_mmap()
352 if (spec->regex_str[entry_len - 1] != '\0') { in load_mmap()
869 free(spec->regex_str); in closef()
1092 char* regex_str = matches[i]->regex_str; in hash_all_partial_matches() local
1096 Sha1Update(&context, regex_str, strlen(regex_str) + 1); in hash_all_partial_matches()
1187 i, spec1->regex_str, spec1->mode, spec1->lr.ctx_raw, in incomp()
[all …]
Dlabel_file.h48 char *regex_str; /* regular expression string for diagnostics */ member
163 c = spec->regex_str; in spec_hasMetaChars()
164 len = strlen(spec->regex_str); in spec_hasMetaChars()
185 spec->prefix_len = c - spec->regex_str; in spec_hasMetaChars()
384 reg_buf = spec->regex_str; in compile_regex()
485 spec_arr[nspec].regex_str = regex; in process_line()
/external/google-benchmark/test/
Doutput_test_helper.cc106 << NC.regex_str << "\"" in CheckCase()
112 << "Expected line \"" << line << "\" to match regex \"" << TC.regex_str in CheckCase()
118 << "End of output reached before match for regex \"" << TC.regex_str in CheckCase()
241 VLOG(2) << "checking for benchmarks matching " << p.regex_str << "...\n"; in CheckResults()
244 VLOG(2) << p.regex_str << " is not matched by " << r.name << "\n"; in CheckResults()
247 VLOG(2) << p.regex_str << " is matched by " << r.name << "\n"; in CheckResults()
345 : regex_str(std::move(re)), in TestCase()
347 substituted_regex(internal::PerformSubstitutions(regex_str)), in TestCase()
353 << "\n originally \"" << regex_str << "\"" in TestCase()
Doutput_test.h34 std::string regex_str; member
/external/mesa3d/src/gallium/drivers/r300/compiler/tests/
Drc_test_helpers.c82 const char * regex_str, in regex_helper() argument
92 err_code = regcomp(&regex, regex_str, REG_EXTENDED); in regex_helper()
139 const char * regex_str = "(-*)(\\|*)([[:lower:]]*)\\[*([[:digit:]]*)\\]*(\\.*[[:lower:]_]*)"; in init_rc_normal_src() local
146 if (!regex_helper(regex_str, src_str, matches, REGEX_SRC_MATCHES)) { in init_rc_normal_src()
268 const char * regex_str = "([[:lower:]]*)\\[*([[:digit:]]*)\\]*(\\.*[[:lower:]]*)"; in init_rc_normal_dst() local
274 if (!regex_helper(regex_str, dst_str, matches, REGEX_DST_MATCHES)) { in init_rc_normal_dst()
373 …const char * regex_str = "[[:digit:]: ]*([[:upper:][:digit:]]+)(_SAT)*[ ]*([^,;]*)[, ]*([^,;]*)[, … in parse_rc_normal_instruction() local
379 if (!regex_helper(regex_str, inst_str, matches, REGEX_INST_MATCHES)) { in parse_rc_normal_instruction()
/external/selinux/libselinux/utils/
Dsefcontext_compile.c179 char *regex_str = specs[i].regex_str; in write_binary_file() local
198 to_write = strlen(regex_str) + 1; in write_binary_file()
204 len = fwrite(regex_str, sizeof(char), to_write, bin_file); in write_binary_file()
255 free(specs[i].regex_str); in free_specs()
/external/llvm-project/lldb/source/Commands/
DCommandCompletions.cpp192 std::string regex_str; in SymbolCompleter() local
194 regex_str.append("^"); in SymbolCompleter()
195 regex_str.append(std::string(m_request.GetCursorArgumentPrefix())); in SymbolCompleter()
198 regex_str.append("."); in SymbolCompleter()
201 find_if(regex_str.begin() + 1, regex_str.end(), regex_chars); in SymbolCompleter()
202 while (pos < regex_str.end()) { in SymbolCompleter()
203 pos = regex_str.insert(pos, '\\'); in SymbolCompleter()
204 pos = find_if(pos + 2, regex_str.end(), regex_chars); in SymbolCompleter()
206 m_regex = RegularExpression(regex_str); in SymbolCompleter()
/external/libabigail/src/
Dabg-suppression-priv.h732 set_type_name_not_regex_str(const string regex_str) in set_type_name_not_regex_str() argument
733 {type_name_not_regex_str_ = regex_str;} in set_type_name_not_regex_str()
/external/llvm-project/lldb/source/Plugins/Process/gdb-remote/
DGDBRemoteCommunication.cpp330 std::string regex_str = "^"; in WaitForPacketNoLock() local
331 regex_str += echo_packet; in WaitForPacketNoLock()
332 regex_str += "$"; in WaitForPacketNoLock()
333 response_regex = RegularExpression(regex_str); in WaitForPacketNoLock()