/external/strace/tests/ |
uid.awk | 30 regexp = "^getx?uid" suffix "\\(\\)[[:space:]]+= " r_uint "$" 35 regexp == "" { 41 if (match($0, regexp, a)) { 45 regexp = "^setuid" suffix "\\(" uid "\\)[[:space:]]+= 0$" 48 regexp = "^getresuid" suffix "\\(\\[" uid "\\], \\[" uid "\\], \\[" uid "\\]\\)[[:space:]]+= 0$" 51 regexp = "^setreuid" suffix "\\(-1, -1\\)[[:space:]]+= 0$" 54 regexp = "^setresuid" suffix "\\(" uid ", -1, -1\\)[[:space:]]+= 0$" 57 regexp = "^fchown" suffix "\\(1, -1, -1\\)[[:space:]]+= 0$" 60 regexp = "^getgroups" suffix "\\(0, NULL\\)[[:space:]]+= " r_uint "$" 70 regexp = "^getgroups" suffix "\\(" ngroups ", \\[" list "\\]\\)[[:space:]]+= " ngroups "$ [all...] |
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/resolver/ |
ResolverTuple.java | 24 private final Pattern regexp; field in class:ResolverTuple 26 public ResolverTuple(Tag tag, Pattern regexp) { 28 this.regexp = regexp; 36 return regexp; 41 return "Tuple tag=" + tag + " regexp=" + regexp;
|
/external/v8/test/webkit/fast/regex/ |
malformed-escapes.js | 28 var regexp; variable 30 regexp = /\ug/gm; 31 debug("\nTesting regexp: " + regexp); 32 shouldBeTrue("regexp.test('ug')"); 33 shouldBe("regexp.lastIndex", "2"); 35 regexp = /\xg/gm; 36 debug("\nTesting regexp: " + regexp); 37 shouldBeTrue("regexp.test('xg')") [all...] |
quantified-assertions.js | 28 var regexp; variable 30 regexp = /(?=a){0}/gm; 31 debug("\nTesting regexp: " + regexp); 32 shouldBeTrue("regexp.test('a')"); 33 shouldBe("regexp.lastIndex", "0"); 35 regexp = /(?=a){1}/gm; 36 debug("\nTesting regexp: " + regexp); 37 shouldBeTrue("regexp.test('a')") [all...] |
/external/strace/maint/ |
ioctls_hex.sh | 38 type="$1"; shift # type might be a regexp 42 regexp='[[:space:]]*#[[:space:]]*define[[:space:]]\+\([A-Z][A-Z0-9_]*\)[[:space:]]\+\(0x'"$type"'..\)\>' 45 grep "^$regexp" "$f" "uapi/$f" 2>/dev/null ||:; 48 sed -n 's/^\([^:]*\):'"$regexp"'.*/{ "\1", "\2", 0, \3, 0 },/p' |
|
/external/parameter-framework/upstream/tools/xmlGenerator/analyse/ |
replaceAmixerByPfwParameters.sh | 38 # a perl regexp that matches only alsa mixer lines 39 regexp='^[^\s/]' 62 if echo "$line" | grep -qP "$regexp" && parameter="$(find_pfw_equivalent "$line" $1)"
|
/external/regex-re2/re2/testing/ |
mimics_pcre_test.cc | 7 #include "re2/regexp.h" 12 const char* regexp; member in struct:re2::PCRETest 63 Regexp::ParseFlags flags = Regexp::LikePerl; 65 flags = flags | Regexp::Latin1; 66 Regexp* re = Regexp::Parse(t.regexp, flags, NULL); 67 CHECK(re) << " " << t.regexp; 69 << " " << t.regexp << " " [all...] |
required_prefix_test.cc | 6 #include "re2/regexp.h" 11 const char* regexp; member in struct:re2::PrefixTest 19 // If the regexp is missing a ^, there's no required prefix. 24 // If the regexp immediately goes into 43 Regexp::ParseFlags flags = Regexp::LikePerl; 45 flags = flags | Regexp::Latin1; 46 Regexp* re = Regexp::Parse(t.regexp, flags, NULL) [all...] |
simplify_test.cc | 10 #include "re2/regexp.h" 15 const char* regexp; member in struct:re2::Test 144 VLOG(1) << "Testing " << tests[i].regexp; 145 Regexp* re = Regexp::Parse(tests[i].regexp, 146 Regexp::MatchNL | (Regexp::LikePerl & 147 ~Regexp::OneLine), 149 CHECK(re != NULL) << " " << tests[i].regexp << " " << status.Text() [all...] |
search_test.cc | 9 #include "re2/regexp.h" 16 const char* regexp; member in struct:re2::RegexpTest 305 TEST(Regexp, SearchTests) { 309 if (!TestRegexpOnText(t.regexp, t.text)) 316 atom.push_back(StringPiece(t.regexp).as_string());
|
possible_match_test.cc | 9 #include "re2/regexp.h" 24 const char* regexp; member in struct:re2::PrefixTest 109 LOG(INFO) << "Checking regexp=" << CEscape(t.regexp); 110 Regexp* re = Regexp::Parse(t.regexp, Regexp::LikePerl, NULL); 115 << " " << t.regexp; 119 CHECK(RE2(t.regexp).PossibleMatchRange(&min, &max, t.maxlen)) [all...] |
regexp_benchmark.cc | 10 #include "re2/regexp.h" 24 Regexp* re = Regexp::Parse("(\\d+)-(\\d+)-(\\d+)", Regexp::LikePerl, NULL); 42 const char* regexp = "(\\d+)-(\\d+)-(\\d+)"; local 46 Regexp* re = Regexp::Parse(regexp, Regexp::LikePerl, NULL); 50 fprintf(stderr, "Regexp: %7lld bytes (peak=%lld)\n", mc.HeapGrowth(), mc.PeakHeapGrowth()) 243 string regexp = "^" + s + ".*$"; local [all...] |
/external/icu/icu4c/source/i18n/unicode/ |
uregex.h | 205 * @param regexp The regular expression to be closed. 209 uregex_close(URegularExpression *regexp); 243 * @param regexp The compiled regular expression to be cloned. 249 uregex_clone(const URegularExpression *regexp, UErrorCode *status); 255 * @param regexp The compiled regular expression. 269 uregex_pattern(const URegularExpression *regexp, 277 * @param regexp The compiled regular expression. 285 uregex_patternUText(const URegularExpression *regexp, 291 * @param regexp The compiled regular expression. 297 uregex_flags(const URegularExpression *regexp, [all...] |
/external/icu/icu4c/source/i18n/ |
uregex.cpp | 324 RegularExpression *regexp = (RegularExpression*)regexp2; local 326 if (validateRE(regexp, FALSE, status) == FALSE) { 330 *patLength = regexp->fPatStringLen; 332 return regexp->fPatString; 344 RegularExpression *regexp = (RegularExpression*)regexp2; local 345 return regexp->fPat->patternText(*status); 356 RegularExpression *regexp = (RegularExpression*)regexp2; local 357 if (validateRE(regexp, FALSE, status) == FALSE) { 360 int32_t flags = regexp->fPat->flags(); 375 RegularExpression *regexp = (RegularExpression*)regexp2 local 408 RegularExpression *regexp = (RegularExpression*)regexp2; local 438 RegularExpression *regexp = (RegularExpression*)regexp2; local 478 RegularExpression *regexp = (RegularExpression*)regexp2; local 495 RegularExpression *regexp = (RegularExpression*)regexp2; local 519 RegularExpression *regexp = (RegularExpression*)regexp2; local 549 RegularExpression *regexp = (RegularExpression*)regexp2; local 580 RegularExpression *regexp = (RegularExpression*)regexp2; local 603 RegularExpression *regexp = (RegularExpression*)regexp2; local 619 RegularExpression *regexp = (RegularExpression*)regexp2; local 638 RegularExpression *regexp = (RegularExpression*)regexp2; local 651 RegularExpression *regexp = (RegularExpression*)regexp2; local 669 RegularExpression *regexp = (RegularExpression*)regexp2; local 739 RegularExpression *regexp = (RegularExpression*)regexp2; local 764 RegularExpression *regexp = (RegularExpression*)regexp2; local 788 RegularExpression *regexp = (RegularExpression*)regexp2; local 812 RegularExpression *regexp = (RegularExpression*)regexp2; local 838 RegularExpression *regexp = (RegularExpression*)regexp2; local 857 RegularExpression *regexp = (RegularExpression*)regexp2; local 878 RegularExpression *regexp = (RegularExpression*)regexp2; local 900 RegularExpression *regexp = (RegularExpression*)regexp2; local 916 RegularExpression *regexp = (RegularExpression*)regexp2; local 933 RegularExpression *regexp = (RegularExpression*)regexp2; local 949 RegularExpression *regexp = (RegularExpression*)regexp2; local 966 RegularExpression *regexp = (RegularExpression*)regexp2; local 982 RegularExpression *regexp = (RegularExpression*)regexp2; local 998 RegularExpression *regexp = (RegularExpression*)regexp2; local 1015 RegularExpression *regexp = (RegularExpression*)regexp2; local 1032 RegularExpression *regexp = (RegularExpression*)regexp2; local 1050 RegularExpression *regexp = (RegularExpression*)regexp2; local 1067 RegularExpression *regexp = (RegularExpression*)regexp2; local 1085 RegularExpression *regexp = (RegularExpression*)regexp2; local 1102 RegularExpression *regexp = (RegularExpression*)regexp2; local 1119 RegularExpression *regexp = (RegularExpression*)regexp2; local 1136 RegularExpression *regexp = (RegularExpression*)regexp2; local 1155 RegularExpression *regexp = (RegularExpression*)regexp2; local 1203 RegularExpression *regexp = (RegularExpression*)regexp2; local 1229 RegularExpression *regexp = (RegularExpression*)regexp2; local 1264 RegularExpression *regexp = (RegularExpression*)regexp2; local 1589 RegularExpression *regexp = (RegularExpression*)regexp2; local 1602 RegularExpression *regexp = (RegularExpression*)regexp2; local 1742 RegularExpression *regexp = (RegularExpression*)regexp2; local 1754 RegularExpression *regexp = (RegularExpression*)regexp2; local 1945 RegularExpression *regexp = (RegularExpression*)regexp2; local 1969 RegularExpression *regexp = (RegularExpression*)regexp2; local [all...] |
/prebuilts/go/darwin-x86/test/ |
errchk | 12 # be a comment of the form // ERROR "regexp". If the compiler generates 16 # <regexp>. The <regexp> syntax is Perl but its best to stick to egrep. 84 my $regexp; 93 print STDERR "$file:$line: malformed regexp\n"; 103 foreach my $regexp ($all =~ /"([^"]*)"/g) { 105 if($regexp =~ /LINE(([+-])([0-9]+))?/) { 114 $regexp = "$`$file:$n$'"; 117 @match = grep { /$regexp/ } @errmsg; 120 print STDERR "errchk: $file:$line: error messages do not match '$regexp'\n" [all...] |
/prebuilts/go/linux-x86/test/ |
errchk | 12 # be a comment of the form // ERROR "regexp". If the compiler generates 16 # <regexp>. The <regexp> syntax is Perl but its best to stick to egrep. 84 my $regexp; 93 print STDERR "$file:$line: malformed regexp\n"; 103 foreach my $regexp ($all =~ /"([^"]*)"/g) { 105 if($regexp =~ /LINE(([+-])([0-9]+))?/) { 114 $regexp = "$`$file:$n$'"; 117 @match = grep { /$regexp/ } @errmsg; 120 print STDERR "errchk: $file:$line: error messages do not match '$regexp'\n" [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/ |
ant-apache-regexp.jar | |
/external/v8/test/mjsunit/regress/ |
regress-3229.js | 6 function testEscapes(expected, regexp) { 7 assertEquals(expected, regexp.source); 8 assertEquals("/" + expected + "/", regexp.toString()); 13 testEscapes("\\/", new RegExp("/")); 14 testEscapes("\\/", new RegExp("\\/")); 15 testEscapes("\\\\/", new RegExp("\\\\/")); 16 testEscapes("\\/\\/", new RegExp("\\/\\/")); 17 testEscapes("\\/\\/\\/\\/", new RegExp("////")); 18 testEscapes("\\/\\/\\/\\/", new RegExp("\\//\\//")); 19 testEscapes("(?:)", new RegExp("")); [all...] |
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/java/util/regex/ |
Matcher.java | 19 import com.google.gwt.regexp.shared.RegExp;
20 import com.google.gwt.regexp.shared.MatchResult;
22 /** Emulation of the {@link Matcher} class, uses {@link RegExp} as internal implementation.
25 private final RegExp regExp;
30 this.regExp = pattern.regExp;
32 matchResult = regExp.exec(this.input);
36 return regExp.test(input); [all...] |
Pattern.java | 19 import com.google.gwt.regexp.shared.RegExp; 21 /** Emulation of the {@link Pattern} class, uses {@link RegExp} as internal implementation. 24 final RegExp regExp; 26 private Pattern (String regExp) { 27 this.regExp = RegExp.compile(regExp); 30 public static Pattern compile (String regExp) { [all...] |
/prebuilts/go/darwin-x86/src/regexp/ |
example_test.go | 9 "regexp" 15 var validID = regexp.MustCompile(`^[a-z]+\[[0-9]+\]$`) 29 matched, err := regexp.MatchString("foo.*", "seafood") 31 matched, err = regexp.MatchString("bar.*", "seafood") 33 matched, err = regexp.MatchString("a(b", "seafood") 38 // false error parsing regexp: missing closing ): `a(b` 42 re := regexp.MustCompile("fo.?") 51 re := regexp.MustCompile("ab?") 60 re := regexp.MustCompile("a(x*)b(y|z)c") 69 re := regexp.MustCompile("a." [all...] |
/prebuilts/go/linux-x86/src/regexp/ |
example_test.go | 9 "regexp" 15 var validID = regexp.MustCompile(`^[a-z]+\[[0-9]+\]$`) 29 matched, err := regexp.MatchString("foo.*", "seafood") 31 matched, err = regexp.MatchString("bar.*", "seafood") 33 matched, err = regexp.MatchString("a(b", "seafood") 38 // false error parsing regexp: missing closing ): `a(b` 42 re := regexp.MustCompile("fo.?") 51 re := regexp.MustCompile("ab?") 60 re := regexp.MustCompile("a(x*)b(y|z)c") 69 re := regexp.MustCompile("a." [all...] |
/external/autotest/server/cros/servo/ |
chrome_usbpd.py | 29 def set_uart_regexp(self, regexp): 32 @param regexp: regular expression 34 if self._cached_uart_regexp == regexp: 36 self._cached_uart_regexp = regexp 37 self._servo.set('usbpd_uart_regexp', regexp)
|
/prebuilts/go/darwin-x86/src/io/ioutil/ |
tempfile_test.go | 10 "regexp" 28 re := regexp.MustCompile("^" + regexp.QuoteMeta(filepath.Join(dir, "ioutil_test")) + "[0-9]+$") 48 re := regexp.MustCompile("^" + regexp.QuoteMeta(filepath.Join(dir, "ioutil_test")) + "[0-9]+$")
|
/prebuilts/go/linux-x86/src/io/ioutil/ |
tempfile_test.go | 10 "regexp" 28 re := regexp.MustCompile("^" + regexp.QuoteMeta(filepath.Join(dir, "ioutil_test")) + "[0-9]+$") 48 re := regexp.MustCompile("^" + regexp.QuoteMeta(filepath.Join(dir, "ioutil_test")) + "[0-9]+$")
|