/external/chromium_org/chrome/common/extensions/docs/examples/api/infobars/sandwichbar/ |
contentscript.js | 5 var regex = /sandwich/gi; variable 6 matches = document.body.innerText.match(regex);
|
/external/chromium_org/v8/test/webkit/ |
gmail-re-re.js | 58 var regex = /^([^#<\u2264]+)([#<\u2264])(.*)$/; variable 59 shouldBe('regex.exec("24#Midnight").toString()', '"24#Midnight,24,#,Midnight"');
|
/external/easymock/src/org/easymock/internal/matchers/ |
Find.java | 19 import java.util.regex.Pattern;
27 private final String regex;
field in class:Find 29 public Find(String regex) {
30 this.regex = regex;
35 && Pattern.compile(regex).matcher((String) actual).find();
39 buffer.append("find(\"" + regex.replaceAll("\\\\", "\\\\\\\\") + "\")");
|
Matches.java | 26 private final String regex;
field in class:Matches 28 public Matches(String regex) {
29 this.regex = regex;
33 return (actual instanceof String) && ((String) actual).matches(regex);
37 buffer.append("matches(\"" + regex.replaceAll("\\\\", "\\\\\\\\")
|
/external/mockito/src/org/mockito/internal/matchers/ |
Find.java | 9 import java.util.regex.Pattern; 17 private final String regex; field in class:Find 19 public Find(String regex) { 20 this.regex = regex; 24 return actual != null && Pattern.compile(regex).matcher((String) actual).find(); 28 description.appendText("find(\"" + regex.replaceAll("\\\\", "\\\\\\\\") + "\")");
|
Matches.java | 17 private final String regex; field in class:Matches 19 public Matches(String regex) { 20 this.regex = regex; 24 return (actual instanceof String) && ((String) actual).matches(regex); 28 description.appendText("matches(\"" + regex.replaceAll("\\\\", "\\\\\\\\")
|
/external/oprofile/libregex/ |
demangle_symbol.cpp | 59 static regular_expression_replace regex; local 61 setup_regex(regex, OP_DATADIR "/stl.pat"); 66 regex.execute(result);
|
op_regex.cpp | 4 * libc regex, providing regular expression match and replace facility. 46 bool op_regexec(regex_t const & regex, string const & str, regmatch_t * match, 49 return regexec(®ex, str.c_str(), nmatch, match, 0) != REG_NOMATCH; 110 replace_t regex = { regexp, replace }; local 111 regex_replace.push_back(regex); 255 void setup_regex(regular_expression_replace & regex, 295 regex.add_pattern(left, right); 306 regex.add_definition(var_name, var_value);
|
/external/chromium_org/chrome/common/extensions/docs/server2/ |
link_converter.py | 56 regex = re.compile(r'<a(.*?)href=(.*?)>(.*?)</a>', flags=re.DOTALL) 58 contents = re.sub(regex, 76 regex = re.compile(r'<a(.*?)href=(.*?)>(.*?)</a>', flags=re.DOTALL) variable
|
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/ |
ScriptRegexp.cpp | 52 v8::Local<v8::RegExp> regex = v8::RegExp::New(v8String(isolate, pattern), static_cast<v8::RegExp::Flags>(flags)); local 54 // If the regex failed to compile we'll get an empty handle. 55 if (!regex.IsEmpty()) 56 m_regex.set(isolate, regex); 78 v8::Local<v8::RegExp> regex = m_regex.newLocal(isolate); local 79 v8::Local<v8::Function> exec = regex->Get(v8AtomicString(isolate, "exec")).As<v8::Function>(); 81 v8::Local<v8::Value> returnValue = V8ScriptRunner::callInternalFunction(exec, regex, WTF_ARRAY_LENGTH(argv), argv, isolate);
|
/external/lldb/include/lldb/Interpreter/ |
CommandObjectRegexCommand.h | 66 RegularExpression regex; member in struct:lldb_private::CommandObjectRegexCommand::Entry
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
ContentSearchUtils.cpp | 59 static Vector<pair<int, String> > getScriptRegexpMatchesByLines(const ScriptRegexp* regex, const String& text) 75 if (regex->match(line, 0, &matchLength) != -1) 101 OwnPtr<ScriptRegexp> regex = ContentSearchUtils::createSearchRegex(query, caseSensitive, isRegex); local 102 Vector<pair<int, String> > matches = getScriptRegexpMatchesByLines(regex.get(), text);
|
/external/ltrace/ |
glob.c | 22 #include <regex.h> 182 char *regex = NULL; local 183 int status = glob_to_regex(glob, ®ex); 186 assert(regex != NULL); 187 status = regcomp(preg, regex, cflags); 188 free(regex);
|
/external/chromium_org/chrome/browser/ui/webui/extensions/ |
extension_loader_handler.cc | 242 std::string regex = local 250 // This regex call can fail, but if it does, we just don't highlight anything. 251 re2::RE2::FullMatch(error, regex, &line, &column);
|
/external/chromium_org/components/autofill/core/browser/ |
phone_field.h | 72 RegexType regex; // Field matching reg-ex. member in struct:autofill::PhoneField::Parser
|
/external/jarjar/src/main/com/tonicsystems/jarjar/ |
Wildcard.java | 19 import java.util.regex.Matcher; 20 import java.util.regex.Pattern; 45 String regex = pattern; local 46 regex = replaceAllLiteral(dstar, regex, "(.+?)"); 47 regex = replaceAllLiteral(star, regex, "([^/]+)"); 48 regex = replaceAllLiteral(estar, regex, "*)"); 49 regex = replaceAllLiteral(dollar, regex, "\\$") [all...] |
/cts/suite/audio_quality/lib/src/task/ |
TaskCase.cpp | 18 #include <regex.h> 113 regex_t regex; local 114 if (regcomp(®ex, re, REG_EXTENDED | REG_NOSUB) != 0) { 121 if (regexec(®ex, it->first, 0, NULL, 0) == 0) { 125 regfree(®ex); 133 regfree(®ex);
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/workspace/ |
FileSystemMapping.js | 325 var regex = WebInspector.settings.workspaceFolderExcludePattern.asRegExp(); variable 326 return regex && regex.test(folderPath);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/tests/ |
rc_test_helpers.c | 2 #include <regex.h> 42 regex_t regex; local 46 err_code = regcomp(®ex, regex_str, REG_EXTENDED); 48 regerror(err_code, ®ex, err_buf, REGEX_ERR_BUF_SIZE); 49 fprintf(stderr, "Failed to compile regex: %s\n", err_buf); 53 err_code = regexec(®ex, search_str, num_matches, matches, 0); 60 regerror(err_code, ®ex, err_buf, REGEX_ERR_BUF_SIZE); 61 fprintf(stderr, "Failed to match regex: %s\n", err_buf); 99 /* Execute the regex */ 101 fprintf(stderr, "Failed to execute regex for src register.\n") [all...] |
/external/lldb/include/lldb/DataFormatters/ |
FormatNavigator.h | 379 lldb::RegularExpressionSP regex = pos->first; local 380 if ( ::strcmp(type.AsCString(),regex->GetText()) == 0) 417 lldb::RegularExpressionSP regex = m_format_map.GetKeyAtIndex(index); local 418 if (regex.get() == NULL) 420 return lldb::TypeNameSpecifierImplSP(new TypeNameSpecifierImpl(regex->GetText(), 435 lldb::RegularExpressionSP regex = pos->first; local 436 if (regex->Execute(key_cstr)) 453 lldb::RegularExpressionSP regex = pos->first; local 454 if (strcmp(regex->GetText(),key.AsCString()) == 0)
|
/external/mesa3d/src/gallium/drivers/r300/compiler/tests/ |
rc_test_helpers.c | 2 #include <regex.h> 42 regex_t regex; local 46 err_code = regcomp(®ex, regex_str, REG_EXTENDED); 48 regerror(err_code, ®ex, err_buf, REGEX_ERR_BUF_SIZE); 49 fprintf(stderr, "Failed to compile regex: %s\n", err_buf); 53 err_code = regexec(®ex, search_str, num_matches, matches, 0); 60 regerror(err_code, ®ex, err_buf, REGEX_ERR_BUF_SIZE); 61 fprintf(stderr, "Failed to match regex: %s\n", err_buf); 99 /* Execute the regex */ 101 fprintf(stderr, "Failed to execute regex for src register.\n") [all...] |
/external/chromium_org/testing/gtest/test/ |
gtest-port_test.cc | 362 const char regex[] = local 373 regex); [all...] |
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*/, [all...] |
/external/gtest/test/ |
gtest-port_test.cc | 362 const char regex[] = local 373 regex); [all...] |
/external/lldb/source/Plugins/SymbolFile/DWARF/ |
DWARFDebugInfo.cpp | 723 RegularExpression* regex; member in struct:FindCallbackStringInfoTag 745 if (info->regex) 747 if (info->regex->Execute(die_name))
|