| /external/libcxx/utils/google-benchmark/cmake/ |
| posix_regex.cpp | 1 #include <regex.h>
|
| /external/llvm/test/FileCheck/ |
| check-substring-multi-prefix.txt | 7 // Use regex notation so the checks don't match themselves.
|
| /external/strace/tests/ |
| regex.gen.test | 2 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (regex test_trace_expr '' -etrace='/^(.*_)?statv?fs'); do not edit.
|
| /external/strace/tests-m32/ |
| regex.gen.test | 2 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (regex test_trace_expr '' -etrace='/^(.*_)?statv?fs'); do not edit.
|
| /external/strace/tests-mx32/ |
| regex.gen.test | 2 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (regex test_trace_expr '' -etrace='/^(.*_)?statv?fs'); do not edit.
|
| /frameworks/base/cmds/incidentd/ |
| .clang-format | 16 - Regex: '^"Log\.h"'
|
| /frameworks/base/cmds/statsd/ |
| .clang-format | 16 - Regex: '^"Log\.h"'
|
| /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/re/re.regex/re.regex.assign/ |
| il.pass.cpp | 12 // <regex> 18 #include <regex> 24 std::regex r2; 26 assert(r2.flags() == std::regex::ECMAScript);
|
| ptr.pass.cpp | 10 // <regex> 16 #include <regex> 22 std::regex r2; 24 assert(r2.flags() == std::regex::ECMAScript);
|
| string.pass.cpp | 10 // <regex> 17 #include <regex> 23 std::regex r2; 25 assert(r2.flags() == std::regex::ECMAScript);
|
| /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/re/re.syn/ |
| regex.pass.cpp | 10 // <regex> 12 // typedef basic_regex<char> regex; 14 #include <regex> 20 static_assert((std::is_same<std::basic_regex<char>, std::regex>::value), "");
|
| /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/utils/google-benchmark/cmake/ |
| posix_regex.cpp | 1 #include <regex.h>
|
| /system/core/base/ |
| test_utils_test.cpp | 27 EXPECT_FATAL_FAILURE(ASSERT_MATCH("foobar", R"(foobaz)"), "regex mismatch"); 32 EXPECT_FATAL_FAILURE(ASSERT_NOT_MATCH("foobar", R"(foobar)"), "regex mismatch"); 37 EXPECT_NONFATAL_FAILURE(EXPECT_MATCH("foobar", R"(foobaz)"), "regex mismatch"); 42 EXPECT_NONFATAL_FAILURE(EXPECT_NOT_MATCH("foobar", R"(foobar)"), "regex mismatch");
|
| /libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/ |
| PatternSyntaxExceptionTest.java | 17 package org.apache.harmony.regex.tests.java.util.regex; 21 import java.util.regex.Pattern; 22 import java.util.regex.PatternSyntaxException; 92 String regex = "("; local 94 Pattern.compile(regex); 98 assertEquals(regex, e.getPattern()); 103 String regex = "[4-"; local 105 Pattern.compile(regex); 109 assertEquals(regex, e.getPattern()) [all...] |
| /bionic/tests/ |
| regex_test.cpp | 20 #include <regex.h> 22 TEST(regex, smoke) { 23 // A quick test of all the regex functions. 40 TEST(regex, match_offsets) { 50 TEST(regex, regerror_NULL_0) {
|
| /external/autotest/tko/ |
| query_lib.py | 41 regex = r'^(%s)[ \t]*(%s)[ \t]*' + \ 43 regex = regex % ('|'.join(valid_field_dict.keys()), 45 match = re.match(regex, condition) 59 raise "Could not parse '%s' (%s)" % (condition, regex)
|
| /external/guice/extensions/servlet/test/com/google/inject/servlet/ |
| ExtensionSpiTest.java | 19 import static com.google.inject.servlet.UriPatternType.REGEX; 94 new Params("/class[0-9]", Key.get(DummyFilterImpl.class), ImmutableMap.of(), REGEX), 95 new Params("/class[0-9]/2", Key.get(DummyFilterImpl.class), ImmutableMap.of(), REGEX), 96 new Params("/key[0-9]", Key.get(DummyFilterImpl.class, Names.named("foo")), ImmutableMap.of(), REGEX), 97 new Params("/key[0-9]/2", Key.get(DummyFilterImpl.class, Names.named("foo")), ImmutableMap.of(), REGEX), 98 new Params("/instance[0-9]", dummyFilter3, ImmutableMap.of(), REGEX), 99 new Params("/instance[0-9]/2", dummyFilter3, ImmutableMap.of(), REGEX), 100 new Params("/class[0-9]/keyvalues", Key.get(DummyFilterImpl.class), ImmutableMap.of("key", "value"), REGEX), 101 new Params("/class[0-9]/keyvalues/2", Key.get(DummyFilterImpl.class), ImmutableMap.of("key", "value"), REGEX), 102 new Params("/key[0-9]/keyvalues", Key.get(DummyFilterImpl.class, Names.named("foo")), ImmutableMap.of("key", "value"), REGEX), [all...] |
| /external/icu/android_icu4j/src/main/java/android/icu/impl/ |
| UnicodeRegex.java | 27 import java.util.regex.Pattern; 35 * Contains utilities to supplement the JDK Regex, since it doesn't handle 46 // particularly for the regex style supported. 69 * to Java Regex, bringing it up to Level 1 (see 71 * regex pattern string and interpreting the character classes (\p{...}, 73 * this utility, Java regex expressions can be updated to work with the 76 * consistent with Java regex, so be careful of the differences. 78 * <p>In the future, we may extend this to support other regex packages. 80 * @regex A modified Java regex pattern, as in the input t [all...] |
| /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
| UnicodeRegex.java | 26 import java.util.regex.Pattern; 34 * Contains utilities to supplement the JDK Regex, since it doesn't handle 44 // particularly for the regex style supported. 67 * to Java Regex, bringing it up to Level 1 (see 69 * regex pattern string and interpreting the character classes (\p{...}, 71 * this utility, Java regex expressions can be updated to work with the 74 * consistent with Java regex, so be careful of the differences. 76 * <p>In the future, we may extend this to support other regex packages. 78 * @regex A modified Java regex pattern, as in the input t [all...] |
| /external/swiftshader/third_party/LLVM/lib/Support/ |
| Regex.cpp | 1 //===-- Regex.cpp - Regular Expression matcher implementation -------------===// 14 #include "llvm/Support/Regex.h" 22 Regex::Regex(StringRef regex, unsigned Flags) { 25 preg->re_endp = regex.end(); 30 error = llvm_regcomp(preg, regex.data(), flags|REG_EXTENDED|REG_PEND); 33 Regex::~Regex() { 38 bool Regex::isValid(std::string &Error) [all...] |
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/ |
| util.py | 21 def match_regex(obj, criteria, regex): 28 regex If regular expression matching should be used. 31 if regex: 54 def match_in_set(obj, criteria, regex): 62 regex If regular expression matching should be used. 65 if regex: 71 def match_indirect_regex(obj, criteria, indirect, regex): 78 regex If regular expression matching should be used. 84 if regex: 89 return match_regex(obj, criteria, regex) [all...] |
| /external/libcxx/test/std/re/re.const/re.matchflag/ |
| match_not_bol.pass.cpp | 11 // <regex> 18 #include <regex> 26 std::regex re("^foo"); 33 std::regex re("foo"); 40 std::regex re("^foo"); 47 std::regex re("foo");
|
| match_not_eol.pass.cpp | 11 // <regex> 18 #include <regex> 26 std::regex re("foo$"); 33 std::regex re("foo"); 40 std::regex re("foo$"); 47 std::regex re("foo");
|
| /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/regex/ |
| PatternErrorTest.java | 17 package org.apache.harmony.tests.java.util.regex; 19 import java.util.regex.Pattern; 24 * Test boundary and error conditions in java.util.regex.Pattern 29 // null regex string - should get NullPointerException 36 // empty regex string - no exception should be thrown 39 // note: invalid regex syntax checked in PatternSyntaxExceptionTest
|
| /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/re/re.const/re.matchflag/ |
| match_not_bol.pass.cpp | 11 // <regex> 18 #include <regex> 26 std::regex re("^foo"); 33 std::regex re("foo"); 40 std::regex re("^foo"); 47 std::regex re("foo");
|