Home
last modified time | relevance | path

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

/external/libselinux/src/
Dlabel_file.c28 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/
Drc_test_helpers.c36 const char * regex_str, in regex_helper() argument
46 err_code = regcomp(&regex, 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/
DCommandCompletions.cpp627 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/
Dsefcontext_compile.c81 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/
Dlabel_file.c79 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()
Dlabel_file.h21 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/
Dgtest-death-test_test.cc448 const string regex_str(regex_c_str); in TEST_F() local
449 EXPECT_DEATH(GlobalFunction(), regex_str); in TEST_F()
/external/gtest/test/
Dgtest-death-test_test.cc513 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/
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()