Searched refs:regex (Results 226 - 250 of 550) sorted by relevance

1234567891011>>

/external/mesa3d/src/gallium/drivers/r300/compiler/tests/
H A Drc_test_helpers.c2 #include <regex.h>
42 regex_t regex; local
46 err_code = regcomp(&regex, regex_str, REG_EXTENDED);
48 regerror(err_code, &regex, err_buf, REGEX_ERR_BUF_SIZE);
49 fprintf(stderr, "Failed to compile regex: %s\n", err_buf);
53 err_code = regexec(&regex, search_str, num_matches, matches, 0);
60 regerror(err_code, &regex, 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 Dhwid_checker.cc93 std::string regex =
96 if (!RE2::FullMatch(hwid, regex, &not_checksum, &checksum))
/external/chromium_org/chrome/browser/resources/print_preview/
H A Dprint_preview_utils.js107 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 DSearchConfig.js20 /** @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 Dregex.h6 * file name: regex.h
178 * @param regex The regular expression to be compiled.
186 static RegexPattern * U_EXPORT2 compile( const UnicodeString &regex,
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 &regex,
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 DAddressVerificationData.java24 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 Dall-std-headers.cpp73 #include <regex>
/external/clang/tools/clang-format/
H A Dclang-format-diff.py47 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 Dregex.h6 * file name: regex.h
163 * @param regex The regular expression to be compiled.
171 static RegexPattern * U_EXPORT2 compile( const UnicodeString &regex,
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 &regex,
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 DDescription.java8 import java.util.regex.Matcher;
9 import java.util.regex.Pattern;
/external/lldb/include/lldb/Core/
H A DSourceManager.h44 FindLinesMatchingRegex (RegularExpression& regex,
166 RegularExpression& regex,
/external/lldb/source/Interpreter/
H A DCommandObjectRegexCommand.cpp65 if (pos->regex.Execute (command, &regex_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 DPath.java26 import java.util.regex.Matcher;
27 import java.util.regex.Pattern;
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
H A DMediaType.java20 import java.util.regex.Matcher;
21 import java.util.regex.Pattern;
/external/protobuf/gtest/include/gtest/internal/
H A Dgtest-port.h103 // 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 Decma.pass.cpp10 // <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 Dsync_search.js42 * @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 Djs_checker.py19 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 Dphone_field.cc136 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 Dphone_field.h72 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 DHttpUrlRequestFactoryTest.java13 import java.util.regex.Pattern;
/external/chromium_org/third_party/WebKit/Source/build/mac/
H A DPrefix.h39 #include <regex.h>
/external/chromium_org/third_party/WebKit/Source/core/inspector/
H A DContentSearchUtils.cpp59 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 DFileBasedSearchResultsPane.js204 * @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 Dfiles.py169 # 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)

Completed in 1024 milliseconds

1234567891011>>