/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiApEnabler.java | 161 for (String regex : mWifiRegexs) { 162 if (s.matches(regex)) wifiTethered = true; 167 for (String regex : mWifiRegexs) { 168 if (s.matches(regex)) wifiErrored = true;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.alg/re.alg.search/ |
extended.pass.cpp | 10 // <regex> 19 #include <regex> 29 assert(std::regex_search(s, m, std::regex("a", std::regex_constants::extended))); 45 assert(std::regex_search(s, m, std::regex("ab", std::regex_constants::extended))); 60 assert(!std::regex_search(s, m, std::regex("ba", std::regex_constants::extended))); 67 assert(std::regex_search(s, m, std::regex("ab", std::regex_constants::extended))); 82 assert(!std::regex_search(s, m, std::regex("ab", std::regex_constants::extended), 89 assert(std::regex_search(s, m, std::regex("bc", std::regex_constants::extended))); 104 assert(std::regex_search(s, m, std::regex("ab*c", std::regex_constants::extended))); 119 assert(std::regex_search(s, m, std::regex("(ab)*c", std::regex_constants::extended))) [all...] |
/external/proguard/lib/ |
retrace.jar | |
/packages/apps/Settings/src/com/android/settings/ |
TetherSettings.java | 332 for (String regex : mUsbRegexs) { 333 if (s.matches(regex)) { 342 for (String regex : mUsbRegexs) { 343 if (s.matches(regex)) usbTethered = true; 348 for (String regex : mUsbRegexs) { 349 if (s.matches(regex)) usbErrored = true; 384 for (String regex : mBluetoothRegexs) { 385 if (s.matches(regex)) bluetoothErrored = true; 559 for (String regex : regexes) { 560 if (iface.matches(regex)) { [all...] |
/external/chromium/sdch/open-vcdiff/src/gtest/internal/ |
gtest-death-test-internal.h | 76 static bool Create(const char* statement, const RE* regex, 131 virtual bool Create(const char* statement, const RE* regex, 138 virtual bool Create(const char* statement, const RE* regex, 148 #define GTEST_DEATH_TEST(statement, predicate, regex, fail) \ 151 const ::testing::internal::RE& gtest_regex = (regex); \
|
/external/chromium-trace/trace-viewer/third_party/web_dev_style/web_dev_style/ |
js_checker.py | 16 def RegexCheck(self, line_number, line, regex, message): 17 """Searches for |regex| in |line| to check for a particular style 18 violation, returning a message like the one below if the regex matches. 19 The |regex| must have exactly one capturing group so that the relevant 27 match = self.input_api.re.search(regex, line)
|
/external/chromium_org/chrome/browser/resources/web_dev_style/ |
js_checker.py | 16 def RegexCheck(self, line_number, line, regex, message): 17 """Searches for |regex| in |line| to check for a particular style 18 violation, returning a message like the one below if the regex matches. 19 The |regex| must have exactly one capturing group so that the relevant 27 match = self.input_api.re.search(regex, line)
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/coverage/ |
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)
|
/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/ |
Pattern2Test.java | 17 package org.apache.harmony.regex.tests.java.util.regex; 19 import java.util.regex.Matcher; 20 import java.util.regex.Pattern; 21 import java.util.regex.PatternSyntaxException;
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
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; 422 var regex = WebInspector.SourceFrame.createSearchRegex(query); variable 423 this._searchRegex = regex; 424 this._searchResults = this._collectRegexMatches(regex); 567 var regex = WebInspector.SourceFrame.createSearchRegex(query, "g"); variable [all...] |
/external/chromium/chrome/browser/resources/options/ |
search_page.js | 295 var regEx = new RegExp('(' + searchText + ')', 'ig'); 306 pageMatch = this.performReplace_(regEx, replaceString, page.tab); 327 this.performReplace_(regEx, replaceString, childDiv)) { 340 if (this.performReplace_(regEx, replaceString, page.pageDiv)) { 372 * Performs a string replacement based on a regex and replace string. 373 * @param {RegEx} regex A regular expression for finding search matches. 379 performReplace_: function(regex, replace, element) { 391 var newValue = node.nodeValue.replace(regex, replace);
|
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/ |
javascripttokenizer.py | 88 # token like (inline) flags or end comments. Complicated regex to match 110 # We ensure the regex is followed by one of the above tokens to avoid 111 # incorrectly parsing something like x / y / z as x REGEX(/ y /) z 115 REGEX = re.compile(r""" 222 # of which could be intertwined. 'string with /regex/', 223 # /regex with 'string'/, /* comment with /regex/ and string */ (and so 237 Matcher(REGEX, Type.REGEX),
|
/external/chromium_org/third_party/closure_linter/closure_linter/ |
javascripttokenizer.py | 88 # token like (inline) flags or end comments. Complicated regex to match 110 # We ensure the regex is followed by one of the above tokens to avoid 111 # incorrectly parsing something like x / y / z as x REGEX(/ y /) z 115 REGEX = re.compile(r""" 222 # of which could be intertwined. 'string with /regex/', 223 # /regex with 'string'/, /* comment with /regex/ and string */ (and so 237 Matcher(REGEX, Type.REGEX),
|
/external/guava/guava-tests/test/com/google/common/base/ |
SplitterTest.java | 33 import java.util.regex.Pattern; 329 @GwtIncompatible("java.util.regex.Pattern") 334 @GwtIncompatible("java.util.regex.Pattern") 342 @GwtIncompatible("java.util.regex.Pattern") 349 @GwtIncompatible("java.util.regex.Pattern") 357 @GwtIncompatible("java.util.regex.Pattern") 364 @GwtIncompatible("java.util.regex.Pattern") 371 @GwtIncompatible("java.util.regex.Pattern") 379 @GwtIncompatible("java.util.regex.Pattern") 387 @GwtIncompatible("java.util.regex.Pattern" [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);
|
/libcore/expectations/ |
icebox.txt | 114 description: "we don't support CANON_EQ in regex 118 "org.apache.harmony.tests.java.util.regex.PatternTest#testCanonEqFlagWithSupplementaryCharacters", 119 "org.apache.harmony.tests.java.util.regex.PatternTest#testCanonEqFlag", 120 "org.apache.harmony.tests.java.util.regex.PatternErrorTest#testCompileErrors", 121 "org.apache.harmony.tests.java.util.regex.PatternTest#testCompileNonCaptGroup", 122 "org.apache.harmony.tests.java.util.regex.PatternTest#testIndexesCanonicalEq"
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/bits/ |
regex_constants.h | 1 // class template regex -*- C++ -*- 27 * @brief Constant definitions for the std regex library. 30 * Do not attempt to use it directly. @headername{regex} 37 * @brief ISO C++-0x entities sub namespace for regex. 63 * @brief This is a bitmask type indicating how to interpret the regex. 185 * @brief This is a bitmask type indicating regex matching rules.
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/bits/ |
regex_constants.h | 1 // class template regex -*- C++ -*- 27 * @brief Constant definitions for the std regex library. 30 * Do not attempt to use it directly. @headername{regex} 37 * @brief ISO C++-0x entities sub namespace for regex. 63 * @brief This is a bitmask type indicating how to interpret the regex. 185 * @brief This is a bitmask type indicating regex matching rules.
|
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.6/include/bits/ |
regex_constants.h | 1 // class template regex -*- C++ -*- 27 * @brief Constant definitions for the std regex library. 30 * Do not attempt to use it directly. @headername{regex} 37 * @brief ISO C++-0x entities sub namespace for regex. 63 * @brief This is a bitmask type indicating how to interpret the regex. 185 * @brief This is a bitmask type indicating regex matching rules.
|
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.7/include/bits/ |
regex_constants.h | 1 // class template regex -*- C++ -*- 27 * @brief Constant definitions for the std regex library. 30 * Do not attempt to use it directly. @headername{regex} 37 * @brief ISO C++-0x entities sub namespace for regex. 63 * @brief This is a bitmask type indicating how to interpret the regex. 185 * @brief This is a bitmask type indicating regex matching rules.
|
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.6/include/bits/ |
regex_constants.h | 1 // class template regex -*- C++ -*- 27 * @brief Constant definitions for the std regex library. 30 * Do not attempt to use it directly. @headername{regex} 37 * @brief ISO C++-0x entities sub namespace for regex. 63 * @brief This is a bitmask type indicating how to interpret the regex. 185 * @brief This is a bitmask type indicating regex matching rules.
|
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.7/include/bits/ |
regex_constants.h | 1 // class template regex -*- C++ -*- 27 * @brief Constant definitions for the std regex library. 30 * Do not attempt to use it directly. @headername{regex} 37 * @brief ISO C++-0x entities sub namespace for regex. 63 * @brief This is a bitmask type indicating how to interpret the regex. 185 * @brief This is a bitmask type indicating regex matching rules.
|
/external/chromium_org/third_party/icu/source/i18n/ |
repattrn.cpp | 15 #include "unicode/regex.h" 273 RegexPattern::compile(const UnicodeString ®ex, 309 compiler.compile(regex, pe, status); 324 RegexPattern::compile(UText *regex, 360 compiler.compile(regex, pe, status); 374 RegexPattern::compile(const UnicodeString ®ex, 378 return compile(regex, 0, pe, err); 386 RegexPattern::compile(UText *regex, 390 return compile(regex, 0, pe, err); 398 RegexPattern::compile(const UnicodeString ®ex, [all...] |
/external/icu4c/i18n/ |
repattrn.cpp | 15 #include "unicode/regex.h" 270 RegexPattern::compile(const UnicodeString ®ex, 306 compiler.compile(regex, pe, status); 321 RegexPattern::compile(UText *regex, 357 compiler.compile(regex, pe, status); 371 RegexPattern::compile(const UnicodeString ®ex, 375 return compile(regex, 0, pe, err); 383 RegexPattern::compile(UText *regex, 387 return compile(regex, 0, pe, err); 395 RegexPattern::compile(const UnicodeString ®ex, [all...] |
/external/chromium/sdch/open-vcdiff/src/gtest/ |
gtest-death-test.cc | 228 bool DeathTest::Create(const char* statement, const RE* regex, 231 statement, regex, file, line, test); 243 ForkingDeathTest(const char* statement, const RE* regex); 275 ForkingDeathTest::ForkingDeathTest(const char* statement, const RE* regex) 278 regex_(regex), 369 // regex: a regular expression object to be applied to 445 NoExecDeathTest(const char* statement, const RE* regex) : 446 ForkingDeathTest(statement, regex) { } 496 ExecDeathTest(const char* statement, const RE* regex, 498 ForkingDeathTest(statement, regex), file_(file), line_(line) { [all...] |