/external/libselinux/src/ |
D | label_file.c | 28 char *regex_str; /* regular expession string for diagnostics */ member 159 (spec_arr[jj].regex_str, curr_spec->regex_str)) in nodups_specs() 170 path, curr_spec->regex_str, in nodups_specs() 177 path, curr_spec->regex_str); in nodups_specs() 192 c = spec->regex_str; in spec_hasMetaChars() 193 len = strlen(spec->regex_str); in spec_hasMetaChars() 214 spec->prefix_len = c - spec->regex_str; in spec_hasMetaChars() 242 reg_buf = spec->regex_str; in compile_regex() 323 spec_arr[nspec].regex_str = strdup(regex); in process_line() 324 if (!spec_arr[nspec].regex_str) { in process_line() [all …]
|
/external/mesa3d/src/gallium/drivers/r300/compiler/tests/ |
D | rc_test_helpers.c | 36 const char * regex_str, in regex_helper() argument 46 err_code = regcomp(®ex, regex_str, REG_EXTENDED); in regex_helper() 93 const char * regex_str = "(-*)(\\|*)([[:lower:]]*)\\[([[:digit:]])\\](\\.*[[:lower:]-]*)"; in init_rc_normal_src() local 100 if (!regex_helper(regex_str, src_str, matches, REGEX_SRC_MATCHES)) { in init_rc_normal_src() 220 const char * regex_str = "([[:lower:]]*)\\[([[:digit:]]*)\\](\\.*[[:lower:]]*)"; in init_rc_normal_dst() local 226 if (!regex_helper(regex_str, dst_str, matches, REGEX_DST_MATCHES)) { in init_rc_normal_dst() 318 const char * regex_str = "([[:upper:]]+)(_SAT)* ([^,]*)[, ]*([^,]*)[, ]*([^,]*)[, ]*([^;]*)"; in init_rc_normal_instruction() local 328 if (!regex_helper(regex_str, inst_str, matches, REGEX_INST_MATCHES)) { in init_rc_normal_instruction()
|
/external/lldb/source/Commands/ |
D | CommandCompletions.cpp | 627 std::string regex_str; in SymbolCompleter() local 630 regex_str.append("^"); in SymbolCompleter() 631 regex_str.append(completion_str); in SymbolCompleter() 636 regex_str.append("."); in SymbolCompleter() 638 std::string::iterator pos = find_if(regex_str.begin() + 1, regex_str.end(), regex_chars); in SymbolCompleter() 639 while (pos < regex_str.end()) in SymbolCompleter() 641 pos = regex_str.insert(pos, '\\'); in SymbolCompleter() 642 pos = find_if(pos + 2, regex_str.end(), regex_chars); in SymbolCompleter() 644 m_regex.Compile(regex_str.c_str()); in SymbolCompleter()
|
/external/selinux/libselinux/utils/ |
D | sefcontext_compile.c | 81 spec->regex_str = regex; in process_file() 219 char *regex_str = specs[i].regex_str; in write_binary_file() local 239 to_write = strlen(regex_str) + 1; in write_binary_file() 245 len = fwrite(regex_str, sizeof(char), to_write, bin_file); in write_binary_file() 316 free(specs[i].regex_str); in free_specs()
|
/external/selinux/libselinux/src/ |
D | label_file.c | 79 if ((!strcmp(spec_arr[jj].regex_str, curr_spec->regex_str)) in nodups_specs() 88 path, curr_spec->regex_str, in nodups_specs() 95 path, curr_spec->regex_str); in nodups_specs() 115 reg_buf = spec->regex_str; in compile_regex() 205 spec_arr[nspec].regex_str = regex; in process_line() 401 spec->regex_str = (char *)addr; in load_mmap() 584 free(spec->regex_str); in closef() 708 spec_arr[i].regex_str, in stats() 714 spec_arr[i].regex_str, in stats()
|
D | label_file.h | 21 char *regex_str; /* regular expession string for diagnostics */ member 140 c = spec->regex_str; in spec_hasMetaChars() 141 len = strlen(spec->regex_str); in spec_hasMetaChars()
|
/external/protobuf/gtest/test/ |
D | gtest-death-test_test.cc | 448 const string regex_str(regex_c_str); in TEST_F() local 449 EXPECT_DEATH(GlobalFunction(), regex_str); in TEST_F()
|
/external/gtest/test/ |
D | gtest-death-test_test.cc | 513 const string regex_str(regex_c_str); in TEST_F() local 514 EXPECT_DEATH(GlobalFunction(), regex_str); in TEST_F()
|
/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()
|