/prebuilts/go/darwin-x86/src/regexp/ |
exec_test.go | 5 package regexp package 14 "regexp/syntax" 21 // TestRE2 tests this package's regexp API against test cases 46 // the strings. In the block that follows a regexp, each line 48 // the regexp on the corresponding string. 53 // each regexp run produces two match results, one for a 54 // ``full match'' that restricts the regexp to matching the entire 89 re *Regexp 90 refull *Regexp 120 // Is a regexp [all...] |
/prebuilts/go/linux-x86/src/regexp/ |
exec_test.go | 5 package regexp package 14 "regexp/syntax" 21 // TestRE2 tests this package's regexp API against test cases 46 // the strings. In the block that follows a regexp, each line 48 // the regexp on the corresponding string. 53 // each regexp run produces two match results, one for a 54 // ``full match'' that restricts the regexp to matching the entire 89 re *Regexp 90 refull *Regexp 120 // Is a regexp [all...] |
/prebuilts/go/darwin-x86/src/cmd/go/ |
vcs.go | 18 "regexp" 65 pattern string // regexp to extract tags from list 150 var scpSyntaxRe = regexp.MustCompile(`^([a-zA-Z0-9_]+)@([a-zA-Z0-9._-]+):(.*)$`) 434 re := regexp.MustCompile(`(?m-s)` + tc.pattern) 454 re := regexp.MustCompile(`(?m-s)` + tc.pattern) 496 regexp *regexp.Regexp // cached compiled form of re 545 var httpPrefixRE = regexp.MustCompile(`^https?:`) 615 m := srv.regexp.FindStringSubmatch(importPath [all...] |
/prebuilts/go/linux-x86/src/cmd/go/ |
vcs.go | 18 "regexp" 65 pattern string // regexp to extract tags from list 150 var scpSyntaxRe = regexp.MustCompile(`^([a-zA-Z0-9_]+)@([a-zA-Z0-9._-]+):(.*)$`) 434 re := regexp.MustCompile(`(?m-s)` + tc.pattern) 454 re := regexp.MustCompile(`(?m-s)` + tc.pattern) 496 regexp *regexp.Regexp // cached compiled form of re 545 var httpPrefixRE = regexp.MustCompile(`^https?:`) 615 m := srv.regexp.FindStringSubmatch(importPath [all...] |
/external/autotest/client/cros/ |
cros_logging.py | 65 def set_start_by_regexp(self, index, regexp): 68 @param index: line matching regexp to start at, earliest log at 0. 71 regexp_compiled = re.compile(regexp) 136 patterns: A regexp or a list of regexps to search the logs with.
|
/external/autotest/client/tests/kvm/tests/ |
physical_resources_check.py | 43 def chk_fmt_model(device, fmt_model, info_cmd, regexp): 59 device_found = re.findall(regexp, o)
|
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/ |
ihatexml.py | 108 for regexp in (reChar, reCharRange): 109 match = regexp.match(item)
|
/external/v8/test/mjsunit/ |
lazy-load.js | 32 // Check that regexp literals use original RegExp (non-ECMA-262). 33 RegExp = 42;
|
regexp-cache-replace.js | 28 // Tests that regexp caching isn't messing things up. 32 assertEquals("o", RegExp.$1); 34 assertEquals("x", RegExp.$1); 36 assertEquals("o", RegExp.$1);
|
/external/v8/test/webkit/fast/regex/ |
constructor.js | 24 description("This test checks use of the regexp constructor."); 28 shouldBeTrue("re === RegExp(re)"); 29 shouldBeTrue("re !== new RegExp(re)"); 30 shouldBeFalse("re === RegExp(re,'i')"); 31 shouldBeTrue("re !== new RegExp(re,'i')");
|
/external/v8/test/webkit/ |
unexpected-constant-crash.js | 25 "This test checks that the regexp and unexpected constant counters are not confused with each other. It will fail with an assertion failure in a debug build if this is the case."
|
/prebuilts/go/darwin-x86/src/go/types/ |
check_test.go | 37 "regexp" 93 var posMsgRx = regexp.MustCompile(`^(.*:[0-9]+:[0-9]+): *(.*)`) 136 var errRx = regexp.MustCompile(`^ *ERROR *(HERE)? *"?([^"]*)"?`) 204 rx, err := regexp.Compile(wantRx)
|
/prebuilts/go/darwin-x86/src/regexp/syntax/ |
compile.go | 12 // See http://swtch.com/~rsc/regexp/regexp1.html for inspiration. 78 // Compile compiles the regexp into a program to be executed. 79 // The regexp should have been simplified already (returned from re.Simplify). 80 func Compile(re *Regexp) (*Prog, error) { 98 func (c *compiler) compile(re *Regexp) frag { 167 panic("regexp: unhandled case in compile")
|
/prebuilts/go/darwin-x86/src/testing/ |
example.go | 30 fmt.Fprintf(os.Stderr, "testing: invalid regexp for -test.run: %s\n", err)
|
/prebuilts/go/linux-x86/src/go/types/ |
check_test.go | 37 "regexp" 93 var posMsgRx = regexp.MustCompile(`^(.*:[0-9]+:[0-9]+): *(.*)`) 136 var errRx = regexp.MustCompile(`^ *ERROR *(HERE)? *"?([^"]*)"?`) 204 rx, err := regexp.Compile(wantRx)
|
/prebuilts/go/linux-x86/src/regexp/syntax/ |
compile.go | 12 // See http://swtch.com/~rsc/regexp/regexp1.html for inspiration. 78 // Compile compiles the regexp into a program to be executed. 79 // The regexp should have been simplified already (returned from re.Simplify). 80 func Compile(re *Regexp) (*Prog, error) { 98 func (c *compiler) compile(re *Regexp) frag { 167 panic("regexp: unhandled case in compile")
|
/prebuilts/go/linux-x86/src/testing/ |
example.go | 30 fmt.Fprintf(os.Stderr, "testing: invalid regexp for -test.run: %s\n", err)
|
/prebuilts/misc/common/swig/include/2.0.11/uffi/ |
uffi.swg | 44 (setf cname (replace-regexp cname "_" "-"))
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/ |
ant-apache-oro.jar | |
/external/regex-re2/re2/testing/ |
re2_test.cc | 15 #include "re2/regexp.h" 98 const char *regexp; member in struct:re2::ReplaceTest 177 VLOG(1) << StringPrintf("\"%s\" =~ s/%s/%s/g", t->original, t->regexp, t->rewrite); 179 CHECK(RE2::Replace(&one, t->regexp, t->rewrite)); 182 CHECK_EQ(RE2::GlobalReplace(&all, t->regexp, t->rewrite), t->greplace_count) 188 static void TestCheckRewriteString(const char* regexp, const char* rewrite, 191 RE2 exp(regexp); 463 RE2 re_simple("simple regexp"); 464 RE2 re_medium("medium.*regexp"); 465 RE2 re_complex("hard.{1,128}regexp"); 1190 const char *regexp; member in struct:re2::ErrorTest 1221 const char* regexp; member in struct:re2::NeverTest [all...] |
/prebuilts/go/darwin-x86/src/cmd/pprof/internal/commands/ |
commands.go | 31 // the command expects a regexp parameter (typically a function name). 56 "disasm": {c, report.Dis, nil, true, "Output annotated assembly for functions matching regexp or address"}, 57 "list": {c, report.List, nil, true, "Output annotated source for functions matching regexp"}, 58 "peek": {c, report.Tree, nil, true, "Output callers/callees of functions matching regexp"}, 80 "weblist": {c, report.WebList, invokeVisualizer(interactive, awayFromTTY("html"), "html", browsers()), true, "Output annotated source in HTML for functions matching regexp or address"},
|
/prebuilts/go/linux-x86/src/cmd/pprof/internal/commands/ |
commands.go | 31 // the command expects a regexp parameter (typically a function name). 56 "disasm": {c, report.Dis, nil, true, "Output annotated assembly for functions matching regexp or address"}, 57 "list": {c, report.List, nil, true, "Output annotated source for functions matching regexp"}, 58 "peek": {c, report.Tree, nil, true, "Output callers/callees of functions matching regexp"}, 80 "weblist": {c, report.WebList, invokeVisualizer(interactive, awayFromTTY("html"), "html", browsers()), true, "Output annotated source in HTML for functions matching regexp or address"},
|
/prebuilts/go/darwin-x86/src/cmd/pprof/internal/profile/ |
legacy_profile.go | 16 "regexp" 22 countStartRE = regexp.MustCompile(`\A(\w+) profile: total \d+\n\z`) 23 countRE = regexp.MustCompile(`\A(\d+) @(( 0x[0-9a-f]+)+)\n\z`) 25 heapHeaderRE = regexp.MustCompile(`heap profile: *(\d+): *(\d+) *\[ *(\d+): *(\d+) *\] *@ *(heap[_a-z0-9]*)/?(\d*)`) 26 heapSampleRE = regexp.MustCompile(`(-?\d+): *(-?\d+) *\[ *(\d+): *(\d+) *] @([ x0-9a-f]*)`) 28 contentionSampleRE = regexp.MustCompile(`(\d+) *(\d+) @([ x0-9a-f]*)`) 30 hexNumberRE = regexp.MustCompile(`0x[0-9a-f]+`) 32 growthHeaderRE = regexp.MustCompile(`heap profile: *(\d+): *(\d+) *\[ *(\d+): *(\d+) *\] @ growthz`) 34 fragmentationHeaderRE = regexp.MustCompile(`heap profile: *(\d+): *(\d+) *\[ *(\d+): *(\d+) *\] @ fragmentationz`) 36 threadzStartRE = regexp.MustCompile(`--- threadz \d+ ---` [all...] |
/prebuilts/go/linux-x86/src/cmd/pprof/internal/profile/ |
legacy_profile.go | 16 "regexp" 22 countStartRE = regexp.MustCompile(`\A(\w+) profile: total \d+\n\z`) 23 countRE = regexp.MustCompile(`\A(\d+) @(( 0x[0-9a-f]+)+)\n\z`) 25 heapHeaderRE = regexp.MustCompile(`heap profile: *(\d+): *(\d+) *\[ *(\d+): *(\d+) *\] *@ *(heap[_a-z0-9]*)/?(\d*)`) 26 heapSampleRE = regexp.MustCompile(`(-?\d+): *(-?\d+) *\[ *(\d+): *(\d+) *] @([ x0-9a-f]*)`) 28 contentionSampleRE = regexp.MustCompile(`(\d+) *(\d+) @([ x0-9a-f]*)`) 30 hexNumberRE = regexp.MustCompile(`0x[0-9a-f]+`) 32 growthHeaderRE = regexp.MustCompile(`heap profile: *(\d+): *(\d+) *\[ *(\d+): *(\d+) *\] @ growthz`) 34 fragmentationHeaderRE = regexp.MustCompile(`heap profile: *(\d+): *(\d+) *\[ *(\d+): *(\d+) *\] @ fragmentationz`) 36 threadzStartRE = regexp.MustCompile(`--- threadz \d+ ---` [all...] |
/prebuilts/go/darwin-x86/src/go/build/ |
deps_test.go | 157 "regexp": {"L2", "regexp/syntax"}, 158 "regexp/syntax": {"L2"}, 180 "go/doc": {"L4", "go/ast", "go/token", "regexp", "text/template"}, 239 "index/suffixarray": {"L4", "regexp"}, 359 "net/http/cgi": {"L4", "NET", "OS", "crypto/tls", "net/http", "regexp"},
|