| /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" 181 re *syntax.Regexp
|
| exec_test.go | 5 package regexp package 15 "regexp/syntax" 22 // TestRE2 tests this package's regexp API against test cases 47 // the strings. In the block that follows a regexp, each line 49 // the regexp on the corresponding string. 54 // each regexp run produces two match results, one for a 55 // ``full match'' that restricts the regexp to matching the entire 90 re *Regexp 91 refull *Regexp 121 // Is a regexp [all...] |
| onepass.go | 5 package regexp package 9 "regexp/syntax" 14 // "One-pass" regexp execution. 36 // regexp must start with. Complete is true if the prefix 464 // can be recharacterized as a one-pass regexp program, or syntax.notOnePass if the 471 // onepass regexp is anchored
|
| /prebuilts/go/darwin-x86/src/regexp/ |
| exec_test.go | 5 package regexp package 15 "regexp/syntax" 22 // TestRE2 tests this package's regexp API against test cases 47 // the strings. In the block that follows a regexp, each line 49 // the regexp on the corresponding string. 54 // each regexp run produces two match results, one for a 55 // ``full match'' that restricts the regexp to matching the entire 90 re *Regexp 91 refull *Regexp 121 // Is a regexp [all...] |
| onepass.go | 5 package regexp package 9 "regexp/syntax" 14 // "One-pass" regexp execution. 36 // regexp must start with. Complete is true if the prefix 464 // can be recharacterized as a one-pass regexp program, or syntax.notOnePass if the 471 // onepass regexp is anchored
|
| /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/toolchain-utils/automation/clients/report/dejagnu/ |
| summary.py | 182 for regexp, parser in parsers: 183 fields = regexp.match(line)
|
| /prebuilts/go/darwin-x86/src/cmd/go/ |
| vcs.go | 18 "regexp" 83 pattern string // regexp to extract tags from list 169 var scpSyntaxRe = regexp.MustCompile(`^([a-zA-Z0-9_]+)@([a-zA-Z0-9._-]+):(.*)$`) 429 re := regexp.MustCompile(`(?m-s)` + tc.pattern) 449 re := regexp.MustCompile(`(?m-s)` + tc.pattern) 485 regexp *regexp.Regexp // cached compiled form of re 536 var httpPrefixRE = regexp.MustCompile(`^https?:`) 598 m := srv.regexp.FindStringSubmatch(importPath [all...] |
| /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/linux-x86/src/cmd/go/ |
| vcs.go | 18 "regexp" 83 pattern string // regexp to extract tags from list 169 var scpSyntaxRe = regexp.MustCompile(`^([a-zA-Z0-9_]+)@([a-zA-Z0-9._-]+):(.*)$`) 429 re := regexp.MustCompile(`(?m-s)` + tc.pattern) 449 re := regexp.MustCompile(`(?m-s)` + tc.pattern) 485 regexp *regexp.Regexp // cached compiled form of re 536 var httpPrefixRE = regexp.MustCompile(`^https?:`) 598 m := srv.regexp.FindStringSubmatch(importPath [all...] |
| /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/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/v8/src/js/ |
| string.js | 13 var GlobalRegExp = global.RegExp; 57 var regexp = %RegExpCreate(pattern); 58 return regexp[matchSymbol](subject); 151 // .. regexp search (in src/js/regexp.js, RegExpReplace) 223 var regexp = %RegExpCreate(pattern); 224 return %_Call(regexp[searchSymbol], regexp, subject);
|
| /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...] |
| tester.cc | 12 #include "re2/regexp.h" 14 DEFINE_bool(dump_prog, false, "dump regexp program"); 16 DEFINE_bool(dump_rprog, false, "dump reversed regexp program"); 19 "maximum number of regexp test failures (-1 = unlimited)"); 21 DEFINE_string(regexp_engines, "", "pattern to select regexp engines to test"); 135 Regexp::ParseFlags parse_flags; 139 static const Regexp::ParseFlags single_line = 140 Regexp::LikePerl; 141 static const Regexp::ParseFlags multi_line = 142 static_cast<Regexp::ParseFlags>(Regexp::LikePerl & ~Regexp::OneLine) [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(nil, "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(nil, "html"), "html", browsers()), true, "Output annotated source in HTML for functions matching regexp or address"},
|
| /prebuilts/go/darwin-x86/src/internal/pprof/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/internal/pprof/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...] |
| /external/autotest/client/cros/crash/ |
| user_crash_test.py | 107 regexp = (r'\n\s*%d\s+%s!%s.*\[\s*%s\s*:\s*%d\s.*\]' % 111 logging.info('Searching for regexp %s', regexp) 112 return re.search(regexp, stack) is not None
|
| /external/libxml2/python/ |
| types.c | 775 libxml_xmlRegexpPtrWrap(xmlRegexpPtr regexp) 780 printf("libxml_xmlRegexpPtrWrap: regexp = %p\n", regexp); 782 if (regexp == NULL) { 787 PyCapsule_New((void *) regexp,
|
| /prebuilts/go/darwin-x86/src/go/build/ |
| deps_test.go | 174 "regexp": {"L2", "regexp/syntax"}, 175 "regexp/syntax": {"L2"}, 198 "go/doc": {"L4", "go/ast", "go/token", "regexp", "text/template"}, 258 "index/suffixarray": {"L4", "regexp"}, 261 "internal/pprof/profile": {"L4", "OS", "compress/gzip", "regexp"}, 268 "testing/internal/testdeps": {"L4", "runtime/pprof", "regexp"}, 407 "net/http/cgi": {"L4", "NET", "OS", "crypto/tls", "net/http", "regexp"},
|
| /prebuilts/go/darwin-x86/src/runtime/race/ |
| output_test.go | 15 "regexp" 65 if !regexp.MustCompile(test.re).MatchString(string(got)) {
|