Home
last modified time | relevance | path

Searched refs:regex_str (Results 1 – 11 of 11) 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/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()
1038 char* regex_str = matches[i]->regex_str; in hash_all_partial_matches() local
1042 Sha1Update(&context, regex_str, strlen(regex_str) + 1); in hash_all_partial_matches()
1133 i, spec1->regex_str, spec1->mode, spec1->lr.ctx_raw, in incomp()
[all …]
Dlabel_file.h44 char *regex_str; /* regular expession string for diagnostics */ member
159 c = spec->regex_str; in spec_hasMetaChars()
160 len = strlen(spec->regex_str); in spec_hasMetaChars()
181 spec->prefix_len = c - spec->regex_str; in spec_hasMetaChars()
380 reg_buf = spec->regex_str; in compile_regex()
481 spec_arr[nspec].regex_str = regex; in process_line()
/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/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/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/google-breakpad/src/testing/gtest/test/
Dgtest-death-test_test.cc515 const string regex_str(regex_c_str); in TEST_F() local
516 EXPECT_DEATH(GlobalFunction(), regex_str); in TEST_F()
/external/googletest/googletest/test/
Dgoogletest-death-test-test.cc498 const ::string regex_str(regex_c_str); in TEST_F() local
499 EXPECT_DEATH(GlobalFunction(), regex_str); in TEST_F()