/external/libcxx/utils/libcxx/sym_check/ |
D | match.py | 20 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/ |
D | label_file.c | 71 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 …]
|
D | label_file.h | 48 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/ |
D | output_test_helper.cc | 101 << 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()
|
D | output_test.h | 34 std::string regex_str; member
|
/external/libcxx/utils/google-benchmark/test/ |
D | output_test_helper.cc | 101 << 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()
|
D | output_test.h | 34 std::string regex_str; member
|
/external/mesa3d/src/gallium/drivers/r300/compiler/tests/ |
D | rc_test_helpers.c | 82 const char * regex_str, in regex_helper() argument 92 err_code = regcomp(®ex, 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/ |
D | sefcontext_compile.c | 179 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/ |
D | gtest-death-test_test.cc | 515 const string regex_str(regex_c_str); in TEST_F() local 516 EXPECT_DEATH(GlobalFunction(), regex_str); in TEST_F()
|