/external/lldb/source/Plugins/SymbolFile/DWARF/ |
H A D | HashedNameToDIE.h | 710 AppendHashDataForRegularExpression (const lldb_private::RegularExpression& regex, argument 730 const bool match = regex.Execute(strp_cstr); 734 // If the regex doesn't match and we have fixed size data, 779 AppendAllDIEsThatMatchingRegex (const lldb_private::RegularExpression& regex, argument 790 Result hash_result = AppendHashDataForRegularExpression (regex, &hash_data_offset, pair);
|
H A D | SymbolFileDWARFDebugMap.cpp | 938 SymbolFileDWARFDebugMap::FindGlobalVariables (const RegularExpression& regex, bool append, uint32_t max_matches, VariableList& variables) argument 952 const uint32_t oso_matches = oso_dwarf->FindGlobalVariables (regex, 1113 SymbolFileDWARFDebugMap::FindFunctions (const RegularExpression& regex, bool include_inlines, bool append, SymbolContextList& sc_list) argument 1116 "SymbolFileDWARFDebugMap::FindFunctions (regex = '%s')", 1117 regex.GetText()); 1131 if (oso_dwarf->FindFunctions(regex, include_inlines, true, sc_list)) 1263 //SymbolFileDWARFDebugMap::FindTypes (const SymbolContext& sc, const RegularExpression& regex, bool append, uint32_t max_matches, Type::Encoding encoding, lldb::user_id_t udt_uid, TypeList& types) 1267 // return oso_dwarf->FindTypes (sc, regex, append, max_matches, encoding, udt_uid, types);
|
/external/pcre/dist/ |
H A D | pcre_jit_test.c | 828 pcre *regex; local 831 pcre16 *regex; local 834 pcre32 *regex; local 850 regex = pcre_compile(null_str, 0, &errorptr, &erroroffset, NULL); 851 if (regex) { 852 pcre_fullinfo(regex, NULL, PCRE_INFO_DEFAULT_TABLES, &default_tables); 853 pcre_free(regex); 856 regex = pcre16_compile(null_str, 0, &errorptr, &erroroffset, NULL); 857 if (regex) { 858 pcre16_fullinfo(regex, NUL [all...] |
H A D | pcrecpp_unittest.cc | 566 const char *regex, 575 regex, 580 RE(regex,options).FullMatch(str, &captured); 582 RE(regex,options).PartialMatch(str, &captured); 588 const char *regex, 599 regex); 602 CHECK(RE(regex,options).FullMatch(str)); 604 CHECK(RE(regex,options).PartialMatch(str)); 607 CHECK(!RE(regex,options).FullMatch(str)); 609 CHECK(!RE(regex,option 564 GetOneOptionResult( const char *option_name, const char *regex, const char *str, RE_Options options, bool full, string expected) argument 586 TestOneOption( const char *option_name, const char *regex, const char *str, RE_Options options, bool full, bool assertive = true) argument [all...] |
/external/qemu/distrib/libselinux/src/ |
H A D | label_file.c | 14 #include <regex.h> 30 regex_t regex; /* compiled regular expression */ member in struct:spec 31 char regcomp; /* regex_str has been compiled to regex */ 92 * the root directory or a regex that is too complex for us). */ 126 * there is no match - IE for a file in the root directory or a regex that is 257 regerr = regcomp(&spec->regex, anchored_regex, 261 errsz = regerror(regerr, &spec->regex, NULL, 0); 265 (void)regerror(regerr, &spec->regex, 286 char *buf_p, *regex = buf1, *type = buf2, *context = buf3; local 300 items = sscanf(line_buf, "%255s %255s %255s", regex, typ [all...] |
/external/chromium_org/components/policy/core/common/ |
H A D | schema.cc | 563 "/" + it.key() + "/ is a invalid regex: " + compiled_regex->error(); 682 *error = "/" + pattern + "/ is invalid regex: " + compiled_regex->error(); 1103 re2::RE2* regex = storage_->CompileRegex(*storage_->string_enums(index)); local 1104 return re2::RE2::PartialMatch(str, *regex);
|
/external/chromium_org/components/url_matcher/ |
H A D | url_matcher.cc | 453 const std::string& regex) { 454 return CreateCondition(URLMatcherCondition::URL_MATCHES, regex); 459 const std::string& regex) { 460 return CreateCondition(URLMatcherCondition::ORIGIN_AND_PATH_MATCHES, regex); 452 CreateURLMatchesCondition( const std::string& regex) argument 458 CreateOriginAndPathMatchesCondition( const std::string& regex) argument
|
/external/chromium_org/testing/gtest/src/ |
H A D | gtest-port.cc | 526 // regfree'ing an invalid regex might crash because the content 527 // of the regex is undefined. Since the regex's are essentially 554 void RE::Init(const char* regex) { argument 555 pattern_ = posix::StrDup(regex); 559 const size_t full_regex_len = strlen(regex) + 10; 562 snprintf(full_pattern, full_regex_len, "^(%s)$", regex); 569 // Some implementation of POSIX regex (e.g. on at least some 571 // regex. We change it to an equivalent form "()" to be safe. 573 const char* const partial_regex = (*regex 634 FormatRegexSyntaxError(const char* regex, int index) argument 641 ValidateRegex(const char* regex) argument 704 MatchRepetitionAndRegexAtHead( bool escaped, char c, char repeat, const char* regex, const char* str) argument 731 MatchRegexAtHead(const char* regex, const char* str) argument 767 MatchRegexAnywhere(const char* regex, const char* str) argument 801 Init(const char* regex) argument [all...] |
H A D | gtest-death-test.cc | 345 bool DeathTest::Create(const char* statement, const RE* regex, argument 348 statement, regex, file, line, test); 380 const RE* regex() const { return regex_; } function in class:testing::internal::DeathTestImpl 519 // regex: A regular expression object to be applied to 555 const bool matched = RE::PartialMatch(error_message.c_str(), *regex()); 560 << " Expected: " << regex()->pattern() << "\n" 778 ForkingDeathTest(const char* statement, const RE* regex); 1155 bool DefaultDeathTestFactory::Create(const char* statement, const RE* regex, argument 1184 *test = new WindowsDeathTest(statement, regex, file, line); 1190 *test = new ExecDeathTest(statement, regex, fil [all...] |
/external/chromium_org/testing/gtest/test/ |
H A D | gtest-death-test_test.cc | 319 // TODO(wan@google.com): <regex.h> doesn't support matching strings 503 const testing::internal::RE regex(regex_c_str); 504 EXPECT_DEATH(GlobalFunction(), regex); local 595 const char* regex = "DieIf"; local 596 const char* regex_save = regex; 597 EXPECT_DEATH(DieIfLessThan(3, 4), regex++); 598 EXPECT_EQ(regex_save + 1, regex); 880 const ::testing::internal::RE* regex, 996 const ::testing::internal::RE* /*regex*/,
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/source_frame/ |
H A D | SourceFrame.js | 73 var regex; 76 // First try creating regex if user knows the / / hint. 79 regex = new RegExp(query.substring(1, query.length - 1), modifiers); 80 regex.__fromRegExpQuery = true; 87 if (!regex) 88 regex = createPlainTextSearchRegex(query, "i" + modifiers); 90 return regex; 427 var regex = WebInspector.SourceFrame.createSearchRegex(query); variable 428 this._searchRegex = regex; 429 this._searchResults = this._collectRegexMatches(regex); 581 var regex = WebInspector.SourceFrame.createSearchRegex(query, "g"); variable [all...] |
/external/chromium_org/third_party/pymock/ |
H A D | mock.py | 106 regex = re.compile(r'^[a-z_][a-z0-9_]*$', re.I) variable 110 return regex.match(string)
|
/external/gtest/test/ |
H A D | gtest-death-test_test.cc | 319 // TODO(wan@google.com): <regex.h> doesn't support matching strings 508 const testing::internal::RE regex(regex_c_str); 509 EXPECT_DEATH(GlobalFunction(), regex); local 600 const char* regex = "DieIf"; local 601 const char* regex_save = regex; 602 EXPECT_DEATH(DieIfLessThan(3, 4), regex++); 603 EXPECT_EQ(regex_save + 1, regex); 819 const ::testing::internal::RE* regex, 935 const ::testing::internal::RE* /*regex*/,
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
H A D | machine.c | 1169 static bool symbol__match_regex(struct symbol *sym, regex_t *regex) argument 1171 if (sym->name && !regexec(regex, sym->name, 0, NULL, 0))
|
/external/lldb/source/Core/ |
H A D | ModuleList.cpp | 496 ModuleList::FindGlobalVariables (const RegularExpression& regex, argument 506 (*pos)->FindGlobalVariables (regex, append, max_matches, variable_list); 530 ModuleList::FindSymbolsMatchingRegExAndType (const RegularExpression ®ex, argument 542 (*pos)->FindSymbolsMatchingRegExAndType (regex, symbol_type, sc_list);
|
H A D | Module.cpp | 553 Module::FindGlobalVariables (const RegularExpression& regex, argument 560 return symbols->FindGlobalVariables(regex, append, max_matches, variables); 676 Module::FindFunctions (const RegularExpression& regex, argument 690 symbols->FindFunctions(regex, include_inlines, append, sc_list); 699 symtab->AppendSymbolIndexesMatchingRegExAndType (regex, eSymbolTypeAny, Symtab::eDebugAny, Symtab::eVisibilityAny, symbol_indexes); 1230 Module::FindSymbolsMatchingRegExAndType (const RegularExpression ®ex, SymbolType symbol_type, SymbolContextList &sc_list) argument 1236 "Module::FindSymbolsMatchingRegExAndType (regex = %s, type = %i)", 1237 regex.GetText(), 1247 symtab->FindAllSymbolsMatchingRexExAndType (regex, symbol_type, Symtab::eDebugAny, Symtab::eVisibilityAny, symbol_indexes);
|
/external/lldb/source/Symbol/ |
H A D | Symtab.cpp | 823 Symtab::FindAllSymbolsMatchingRexExAndType (const RegularExpression ®ex, SymbolType symbol_type, Debug symbol_debug_type, Visibility symbol_visibility, std::vector<uint32_t>& symbol_indexes) argument 827 AppendSymbolIndexesMatchingRegExAndType(regex, symbol_type, symbol_debug_type, symbol_visibility, symbol_indexes);
|
/external/protobuf/gtest/include/gtest/internal/ |
H A D | gtest-port.h | 103 // GTEST_USES_POSIX_RE - enhanced POSIX regex is used. 104 // GTEST_USES_SIMPLE_RE - our own simple regex is used; 210 // On some platforms, <regex.h> needs someone to define size_t, and 214 #include <regex.h> // NOLINT 228 // <regex.h> is not available on Windows. Use our own simple regex 234 // <regex.h> may not be available on this platform. Use our own 235 // simple regex implementation instead. 620 // A simple C++ wrapper for <regex.h>. It uses the POSIX Enxtended 626 RE(const ::std::string& regex) { Ini argument 630 RE(const ::string& regex) argument 633 RE(const char* regex) argument [all...] |
/external/protobuf/gtest/src/ |
H A D | gtest-death-test.cc | 292 bool DeathTest::Create(const char* statement, const RE* regex, argument 295 statement, regex, file, line, test); 311 DeathTestImpl(const char* statement, const RE* regex) argument 313 regex_(regex), 327 const RE* regex() const { return regex_; } function in class:testing::internal::DeathTestImpl 436 // regex: A regular expression object to be applied to 468 const bool matched = RE::PartialMatch(error_message.c_str(), *regex()); 473 << " Expected: " << regex()->pattern() << "\n" 523 const RE* regex, 526 : DeathTestImpl(statement, regex), file 522 WindowsDeathTest(const char* statement, const RE* regex, const char* file, int line) argument 708 ForkingDeathTest(const char* statement, const RE* regex) argument 731 NoExecDeathTest(const char* statement, const RE* regex) argument 785 ExecDeathTest(const char* statement, const RE* regex, const char* file, int line) argument 991 Create(const char* statement, const RE* regex, const char* file, int line, DeathTest** test) argument [all...] |
/external/protobuf/gtest/test/ |
H A D | gtest-death-test_test.cc | 307 // TODO(wan@google.com): <regex.h> doesn't support matching strings 444 const testing::internal::RE regex(regex_c_str); 445 EXPECT_DEATH(GlobalFunction(), regex); local 536 const char* regex = "DieIf"; local 537 const char* regex_save = regex; 538 EXPECT_DEATH(DieIfLessThan(3, 4), regex++); 539 EXPECT_EQ(regex_save + 1, regex); 722 const ::testing::internal::RE* regex, 837 const ::testing::internal::RE* /*regex*/,
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/components/ |
H A D | FilterBar.js | 226 this._filterElement.classList.add("supports-regex"); 229 this._regexCheckBox.id = "text-filter-regex"; 233 this._regexLabel.htmlFor = "text-filter-regex"; 275 regex: function()
|
/external/chromium_org/third_party/mesa/src/src/gtest/include/gtest/internal/ |
H A D | gtest-port.h | 119 // GTEST_USES_POSIX_RE - enhanced POSIX regex is used. Do not confuse with 122 // GTEST_USES_SIMPLE_RE - our own simple regex is used; 273 // On some platforms, <regex.h> needs someone to define size_t, and 277 # include <regex.h> // NOLINT 283 // <regex.h> is not available on Windows. Use our own simple regex 289 // <regex.h> may not be available on this platform. Use our own 290 // simple regex implementation instead. 807 // A simple C++ wrapper for <regex.h>. It uses the POSIX Extended 816 RE(const ::std::string& regex) { Ini argument 820 RE(const ::string& regex) argument 824 RE(const char* regex) argument [all...] |
/external/chromium_org/third_party/mesa/src/src/gtest/src/ |
H A D | gtest-death-test.cc | 305 bool DeathTest::Create(const char* statement, const RE* regex, argument 308 statement, regex, file, line, test); 340 const RE* regex() const { return regex_; } function in class:testing::internal::DeathTestImpl 479 // regex: A regular expression object to be applied to 515 const bool matched = RE::PartialMatch(error_message.c_str(), *regex()); 520 << " Expected: " << regex()->pattern() << "\n" 742 ForkingDeathTest(const char* statement, const RE* regex); 1044 bool DefaultDeathTestFactory::Create(const char* statement, const RE* regex, argument 1072 *test = new WindowsDeathTest(statement, regex, file, line); 1078 *test = new ExecDeathTest(statement, regex, fil [all...] |
/external/gtest/src/ |
H A D | gtest-death-test.cc | 345 bool DeathTest::Create(const char* statement, const RE* regex, argument 348 statement, regex, file, line, test); 380 const RE* regex() const { return regex_; } function in class:testing::internal::DeathTestImpl 519 // regex: A regular expression object to be applied to 555 const bool matched = RE::PartialMatch(error_message.c_str(), *regex()); 560 << " Expected: " << regex()->pattern() << "\n" 778 ForkingDeathTest(const char* statement, const RE* regex); 1153 bool DefaultDeathTestFactory::Create(const char* statement, const RE* regex, argument 1182 *test = new WindowsDeathTest(statement, regex, file, line); 1188 *test = new ExecDeathTest(statement, regex, fil [all...] |
/external/lldb/source/Commands/ |
H A D | CommandObjectType.cpp | 658 RegularExpression* regex; member in struct:CommandObjectTypeFormatList_LoopCallbackParam 660 RegularExpression* X = NULL) : self(S), result(R), regex(X) {} 697 RegularExpression* regex = new RegularExpression(command.GetArgumentAtIndex(0)); local 698 regex->Compile(command.GetArgumentAtIndex(0)); 699 param = new CommandObjectTypeFormatList_LoopCallbackParam(this,&result,regex); 714 RegularExpression* regex, 717 if (regex == NULL || regex->Execute(type.AsCString())) 736 return param->self->LoopCallback(type, entry, param->regex, param->result); 1373 error->SetErrorString("regex forma 712 LoopCallback(ConstString type, const lldb::TypeFormatImplSP& entry, RegularExpression* regex, CommandReturnObject *result) argument 1720 RegularExpression* regex; member in struct:CommandObjectTypeSummaryList_LoopCallbackParam 1827 RegularExpression* regex = new RegularExpression(command.GetArgumentAtIndex(0)); local 1841 RegularExpression* regex = new RegularExpression(command.GetArgumentAtIndex(0)); local 1895 LoopCallback(const char* type, const lldb::TypeSummaryImplSP& entry, RegularExpression* regex, CommandReturnObject *result) argument 1920 CommandObjectTypeRXSummaryList_LoopCallback( void* pt2self, lldb::RegularExpressionSP regex, const lldb::TypeSummaryImplSP& entry) argument 2189 RegularExpression* regex; member in struct:CommandObjectTypeCategoryList::CommandObjectTypeCategoryList_CallbackParam 2207 RegularExpression* regex = param->regex; local 2244 RegularExpression* regex = NULL; local 2283 RegularExpression* regex; member in struct:CommandObjectTypeFilterList_LoopCallbackParam 2390 RegularExpression* regex = new RegularExpression(command.GetArgumentAtIndex(0)); local 2443 LoopCallback(const char* type, const SyntheticChildren::SharedPointer& entry, RegularExpression* regex, CommandReturnObject *result) argument 2467 CommandObjectTypeFilterRXList_LoopCallback(void* pt2self, lldb::RegularExpressionSP regex, const SyntheticChildren::SharedPointer& entry) argument 2497 RegularExpression* regex; member in struct:CommandObjectTypeSynthList_LoopCallbackParam 2604 RegularExpression* regex = new RegularExpression(command.GetArgumentAtIndex(0)); local 2657 LoopCallback(const char* type, const SyntheticChildren::SharedPointer& entry, RegularExpression* regex, CommandReturnObject *result) argument 2681 CommandObjectTypeSynthRXList_LoopCallback(void* pt2self, lldb::RegularExpressionSP regex, const SyntheticChildren::SharedPointer& entry) argument [all...] |