/external/mesa3d/src/gallium/drivers/r300/compiler/tests/ |
H A D | 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 fo [all...] |
/external/chromium_org/chrome/browser/chromeos/login/ |
H A D | hwid_checker.cc | 93 std::string regex = 96 if (!RE2::FullMatch(hwid, regex, ¬_checksum, &checksum))
|
/external/chromium_org/chrome/browser/resources/print_preview/ |
H A D | print_preview_utils.js | 107 var regex = /^\s*([0-9]*)\s*-\s*([0-9]*)\s*$/; 112 var match = parts[i].match(regex);
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/workspace/ |
H A D | SearchConfig.js | 20 /** @typedef {!{regex: !RegExp, isNegative: boolean}} */ 97 this._fileRegexQueries.push({ regex: new RegExp(fileQuery.text, this.ignoreCase ? "i" : ""), isNegative: fileQuery.isNegative }); 119 if (!!filePath.match(this._fileRegexQueries[i].regex) === this._fileRegexQueries[i].isNegative)
|
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
H A D | regex.h | 6 * file name: regex.h 178 * @param regex The regular expression to be compiled. 186 static RegexPattern * U_EXPORT2 compile( const UnicodeString ®ex, 206 * @param regex The regular expression to be compiled. Note, the text referred 216 static RegexPattern * U_EXPORT2 compile( UText *regex, 235 * @param regex The regular expression to be compiled. 244 static RegexPattern * U_EXPORT2 compile( const UnicodeString ®ex, 264 * @param regex The regular expression to be compiled. Note, the text referred 275 static RegexPattern * U_EXPORT2 compile( UText *regex, 295 * @param regex Th [all...] |
/external/chromium_org/third_party/libaddressinput/src/java/src/com/android/i18n/addressinput/ |
H A D | AddressVerificationData.java | 24 import java.util.regex.Matcher; 25 import java.util.regex.Pattern; 107 // Java regex doesn't handle a replacement String consisting of 110 // no way to use regex to replace a match with a single backslash,
|
/external/clang/INPUTS/ |
H A D | all-std-headers.cpp | 73 #include <regex>
|
/external/clang/tools/clang-format/ |
H A D | clang-format-diff.py | 47 parser.add_argument('-regex', metavar='PATTERN', default=None, 54 '(case insensitive, overridden by -regex)') 71 if args.regex is not None: 72 if not re.match('^%s$' % args.regex, filename):
|
/external/icu/icu4c/source/i18n/unicode/ |
H A D | regex.h | 6 * file name: regex.h 163 * @param regex The regular expression to be compiled. 171 static RegexPattern * U_EXPORT2 compile( const UnicodeString ®ex, 191 * @param regex The regular expression to be compiled. Note, the text referred 201 static RegexPattern * U_EXPORT2 compile( UText *regex, 220 * @param regex The regular expression to be compiled. 229 static RegexPattern * U_EXPORT2 compile( const UnicodeString ®ex, 249 * @param regex The regular expression to be compiled. Note, the text referred 260 static RegexPattern * U_EXPORT2 compile( UText *regex, 280 * @param regex Th [all...] |
/external/junit/src/org/junit/runner/ |
H A D | Description.java | 8 import java.util.regex.Matcher; 9 import java.util.regex.Pattern;
|
/external/lldb/include/lldb/Core/ |
H A D | SourceManager.h | 44 FindLinesMatchingRegex (RegularExpression& regex, 166 RegularExpression& regex,
|
/external/lldb/source/Interpreter/ |
H A D | CommandObjectRegexCommand.cpp | 65 if (pos->regex.Execute (command, ®ex_match)) 96 result.AppendErrorWithFormat ("Command contents '%s' failed to match any regular expression in the '%s' regex command.\n", 112 if (m_entries.back().regex.Compile (re_cstr, REG_EXTENDED)) 117 // The regex didn't compile...
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/util/ |
H A D | Path.java | 26 import java.util.regex.Matcher; 27 import java.util.regex.Pattern;
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
H A D | MediaType.java | 20 import java.util.regex.Matcher; 21 import java.util.regex.Pattern;
|
/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/libcxx/test/re/re.alg/re.alg.search/ |
H A D | ecma.pass.cpp | 10 // <regex> 19 #include <regex> 29 assert(std::regex_search(s, m, std::regex("a"))); 45 assert(std::regex_search(s, m, std::regex("ab"))); 60 assert(!std::regex_search(s, m, std::regex("ba"))); 67 assert(std::regex_search(s, m, std::regex("ab"))); 82 assert(!std::regex_search(s, m, std::regex("ab"), 89 assert(std::regex_search(s, m, std::regex("bc"))); 104 assert(std::regex_search(s, m, std::regex("ab*c"))); 119 assert(std::regex_search(s, m, std::regex("(a [all...] |
/external/chromium_org/chrome/browser/resources/sync_internals/ |
H A D | sync_search.js | 42 * @param {string} query The regex to do the search with. 49 var regex = new RegExp(query); 60 return regex.test(JSON.stringify(elem, null, 2)); 64 // Sometimes the provided regex is invalid. This and other errors will
|
/external/chromium_org/chrome/browser/web_dev_style/ |
H A D | js_checker.py | 19 def RegexCheck(self, line_number, line, regex, message): 21 self.input_api.re, line_number, line, regex, message) 39 def _check(regex): 40 return self.RegexCheck(i, line, regex, msg)
|
/external/chromium_org/components/autofill/core/browser/ |
H A D | phone_field.cc | 136 kPhoneFieldGrammars[i].regex != REGEX_SEPARATOR; ++i) { 139 GetRegExp(kPhoneFieldGrammars[i].regex), 155 if (kPhoneFieldGrammars[i].regex == REGEX_SEPARATOR) 162 kPhoneFieldGrammars[i].regex != REGEX_SEPARATOR);
|
H A D | phone_field.h | 72 RegexType regex; // Field matching reg-ex. member in struct:autofill::PhoneField::Parser
|
/external/chromium_org/components/cronet/android/test/javatests/src/org/chromium/cronet_test_apk/ |
H A D | HttpUrlRequestFactoryTest.java | 13 import java.util.regex.Pattern;
|
/external/chromium_org/third_party/WebKit/Source/build/mac/ |
H A D | Prefix.h | 39 #include <regex.h>
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
H A D | ContentSearchUtils.cpp | 59 static Vector<pair<int, String> > getScriptRegexpMatchesByLines(const ScriptRegexp* regex, const String& text) argument 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/chromium_org/third_party/WebKit/Source/devtools/front_end/sources/ |
H A D | FileBasedSearchResultsPane.js | 204 * @param {!RegExp} regex 207 _regexMatchRanges: function(lineContent, regex) 209 regex.lastIndex = 0; 213 while ((regex.lastIndex < lineContent.length) && (match = regex.exec(lineContent)))
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/coverage/ |
H A D | files.py | 169 # Make a regex from the pattern. fnmatch always adds a \Z or $ to 178 regex = re.compile("(?i)" + regex_pat) 183 self.aliases.append((regex, result, pattern_sep, result_sep)) 197 for regex, result, pattern_sep, result_sep in self.aliases: 198 m = regex.match(path)
|