/prebuilts/go/linux-x86/src/index/suffixarray/ |
suffixarray_test.go | 10 "regexp" 163 func testFindAllIndex(t *testing.T, tc *testCase, x *Index, rx *regexp.Regexp, n int) { 173 // we may obtain different positions from the Index and from regexp (because 174 // Index may not find the results in the same order as regexp) => in general 201 if rx, err := regexp.Compile(pat); err == nil {
|
suffixarray.go | 23 "regexp" 212 func (x *Index) FindAllIndex(r *regexp.Regexp, n int) (result [][]int) { 223 // if regexp is a literal just use Lookup and convert its 269 // regexp has a non-empty literal prefix; Lookup(lit) computes 272 // (regexp "^" matches beginning of input, not beginning of line) 273 r = regexp.MustCompile("^" + r.String()) // compiles because r compiled
|
/external/v8/src/js/ |
string.js | 14 var GlobalRegExp = global.RegExp; 172 // Non-regexp argument. 173 var regexp = new GlobalRegExp(pattern); 174 return RegExpExecNoTests(regexp, subject, 0); 203 // the needle is a string rather than a regexp. In this case we can't update 205 // RegExp object. 216 // .. regexp search 237 // Non-global regexp search, string replace. 252 // Global regexp search, string replace. 259 // Global regexp search, function replace [all...] |
/external/v8/test/mjsunit/harmony/ |
reflect-apply.js | 51 var regexp = /123/; variable 56 assertSame(regexp, Reflect.apply(returnThis, regexp, []));
|
/prebuilts/go/darwin-x86/misc/linkcheck/ |
linkcheck.go | 18 "regexp" 42 var aRx = regexp.MustCompile(`<a href=['"]?(/[^\s'">]+)`) 67 var idRx = regexp.MustCompile(`\bid=['"]?([^\s'">]+)`)
|
/prebuilts/go/darwin-x86/src/go/internal/gccgoimporter/ |
gccgoinstallation_test.go | 117 "old/regexp", 126 "regexp", 127 "regexp/syntax",
|
/prebuilts/go/linux-x86/misc/linkcheck/ |
linkcheck.go | 18 "regexp" 42 var aRx = regexp.MustCompile(`<a href=['"]?(/[^\s'">]+)`) 67 var idRx = regexp.MustCompile(`\bid=['"]?([^\s'">]+)`)
|
/prebuilts/go/linux-x86/src/go/internal/gccgoimporter/ |
gccgoinstallation_test.go | 117 "old/regexp", 126 "regexp", 127 "regexp/syntax",
|
/external/regex-re2/re2/testing/ |
dfa_test.cc | 9 #include "re2/regexp.h" 36 // Create regexp with 2^FLAGS_size states in DFA. 45 Regexp* re = Regexp::Parse(s.c_str(), Regexp::LikePerl, NULL); 60 Regexp* re = Regexp::Parse(s.c_str(), Regexp::LikePerl, NULL); 89 // Create regexp with 2^30 states in DFA. 96 Regexp* re = Regexp::Parse(s.c_str(), Regexp::LikePerl, NULL) 310 const char *regexp; member in struct:re2::ReverseTest [all...] |
/prebuilts/go/darwin-x86/src/index/suffixarray/ |
suffixarray.go | 23 "regexp" 212 func (x *Index) FindAllIndex(r *regexp.Regexp, n int) (result [][]int) { 223 // if regexp is a literal just use Lookup and convert its 269 // regexp has a non-empty literal prefix; Lookup(lit) computes 272 // (regexp "^" matches beginning of input, not beginning of line) 273 r = regexp.MustCompile("^" + r.String()) // compiles because r compiled
|
/prebuilts/go/darwin-x86/test/ |
nosplit.go | 18 "regexp" 174 commentRE = regexp.MustCompile(`(?m)^#.*`) 175 rejectRE = regexp.MustCompile(`(?s)\A(.+?)((\n|; *)REJECT(.*))?\z`) 176 lineRE = regexp.MustCompile(`(\w+) (\d+)( nosplit)?(.*)`) 177 callRE = regexp.MustCompile(`\bcall (\w+)\b`) 178 callindRE = regexp.MustCompile(`\bcallind\b`)
|
/prebuilts/go/linux-x86/test/ |
nosplit.go | 18 "regexp" 174 commentRE = regexp.MustCompile(`(?m)^#.*`) 175 rejectRE = regexp.MustCompile(`(?s)\A(.+?)((\n|; *)REJECT(.*))?\z`) 176 lineRE = regexp.MustCompile(`(\w+) (\d+)( nosplit)?(.*)`) 177 callRE = regexp.MustCompile(`\bcall (\w+)\b`) 178 callindRE = regexp.MustCompile(`\bcallind\b`)
|
/external/testng/src/test/java/test/ |
Test1.java | 111 public void regexp() { method in class:Test1
|
/external/v8/test/mjsunit/ |
mirror-regexp.js | 69 assertEquals('regexp', mirror.type()); 85 assertEquals('regexp', fromJSON.type); 86 assertEquals('RegExp', fromJSON.className);
|
regexp-not-sticky-yet.js | 29 // Test that sticky regexp support is not affecting V8 when the 36 assertThrows(function() { new RegExp("foo.bar", "y"); }, SyntaxError); 37 assertThrows(function() { new RegExp("foobar", "y"); }, SyntaxError); 38 assertThrows(function() { new RegExp("foo.bar", "gy"); }, SyntaxError); 39 assertThrows(function() { new RegExp("foobar", "gy"); }, SyntaxError); 55 re.sticky = true; // Has no effect on the regexp, just sets a property.
|
/prebuilts/go/darwin-x86/pkg/bootstrap/src/bootstrap/internal/obj/ |
stringer.go | 22 "regexp" 32 var Are = regexp.MustCompile(`^\tA([A-Z0-9]+)`)
|
/prebuilts/go/darwin-x86/src/go/doc/ |
doc_test.go | 17 "regexp" 84 rx, err := regexp.Compile(*files)
|
/prebuilts/go/darwin-x86/src/regexp/ |
onepass_test.go | 5 package regexp package 9 "regexp/syntax" 189 re *syntax.Regexp
|
/prebuilts/go/darwin-x86/src/runtime/race/ |
output_test.go | 14 "regexp" 56 if !regexp.MustCompile(test.re).MatchString(string(got)) {
|
/prebuilts/go/darwin-x86/src/syscall/ |
exec_linux_test.go | 13 "regexp" 83 matches := regexp.MustCompile("([0-9]+).([0-9]+)").FindSubmatch(bytes)
|
/prebuilts/go/linux-x86/pkg/bootstrap/src/bootstrap/internal/obj/ |
stringer.go | 22 "regexp" 32 var Are = regexp.MustCompile(`^\tA([A-Z0-9]+)`)
|
/prebuilts/go/linux-x86/src/go/doc/ |
doc_test.go | 17 "regexp" 84 rx, err := regexp.Compile(*files)
|
/prebuilts/go/linux-x86/src/regexp/ |
onepass_test.go | 5 package regexp package 9 "regexp/syntax" 189 re *syntax.Regexp
|
/prebuilts/go/linux-x86/src/runtime/race/ |
output_test.go | 14 "regexp" 56 if !regexp.MustCompile(test.re).MatchString(string(got)) {
|
/prebuilts/go/linux-x86/src/syscall/ |
exec_linux_test.go | 13 "regexp" 83 matches := regexp.MustCompile("([0-9]+).([0-9]+)").FindSubmatch(bytes)
|