HomeSort by relevance Sort by last modified time
    Searched refs:regexp (Results 26 - 50 of 680) sorted by null

12 3 4 5 6 7 8 91011>>

  /prebuilts/go/darwin-x86/src/internal/pprof/profile/
prune.go 11 "regexp"
17 func (p *Profile) Prune(dropRx, keepRx *regexp.Regexp) {
82 var keep, drop *regexp.Regexp
86 if drop, err = regexp.Compile("^(" + p.DropFrames + ")$"); err != nil {
87 return fmt.Errorf("failed to compile regexp %s: %v", p.DropFrames, err)
90 if keep, err = regexp.Compile("^(" + p.KeepFrames + ")$"); err != nil {
91 return fmt.Errorf("failed to compile regexp %s: %v", p.KeepFrames, err)
  /prebuilts/go/linux-x86/src/internal/pprof/profile/
prune.go 11 "regexp"
17 func (p *Profile) Prune(dropRx, keepRx *regexp.Regexp) {
82 var keep, drop *regexp.Regexp
86 if drop, err = regexp.Compile("^(" + p.DropFrames + ")$"); err != nil {
87 return fmt.Errorf("failed to compile regexp %s: %v", p.DropFrames, err)
90 if keep, err = regexp.Compile("^(" + p.KeepFrames + ")$"); err != nil {
91 return fmt.Errorf("failed to compile regexp %s: %v", p.KeepFrames, err)
  /prebuilts/go/darwin-x86/src/encoding/json/
number_test.go 8 "regexp"
14 var jsonNumberRegexp = regexp.MustCompile(`^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?$`)
76 t.Errorf("%s should be valid but regexp does not match", test)
115 t.Errorf("%s should be invalid but matches regexp", test)
128 var jsonNumberRegexp = regexp.MustCompile(`^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?$`)
  /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/encoding/json/
number_test.go 8 "regexp"
14 var jsonNumberRegexp = regexp.MustCompile(`^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?$`)
76 t.Errorf("%s should be valid but regexp does not match", test)
115 t.Errorf("%s should be invalid but matches regexp", test)
128 var jsonNumberRegexp = regexp.MustCompile(`^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?$`)
  /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]+$")
  /prebuilts/go/darwin-x86/test/bench/go1/
regexp_test.go 9 "regexp"
13 // benchmark based on regexp/exec_test.go
34 r := regexp.MustCompile(re)
  /prebuilts/go/linux-x86/test/bench/go1/
regexp_test.go 9 "regexp"
13 // benchmark based on regexp/exec_test.go
34 r := regexp.MustCompile(re)
  /external/regex-re2/re2/testing/
tester.h 13 #include "re2/regexp.h"
19 class Regexp;
21 // All the supported regexp engines.
47 // A TestInstance caches per-regexp state for a given
54 TestInstance(const StringPiece& regexp, Prog::MatchKind kind,
55 Regexp::ParseFlags flags);
57 Regexp::ParseFlags flags() { return flags_; }
75 const StringPiece& regexp_str_; // regexp being tested
77 Regexp::ParseFlags flags_; // flags for parsing regexp_str_
80 Regexp* regexp_; // parsed regex
    [all...]
parse_test.cc 10 #include "re2/regexp.h"
14 static const Regexp::ParseFlags TestZeroFlags = Regexp::ParseFlags(1<<30);
17 const char* regexp; member in struct:re2::Test
19 Regexp::ParseFlags flags;
22 static Regexp::ParseFlags kTestFlags = Regexp::MatchNL |
23 Regexp::PerlX |
24 Regexp::PerlClasses |
25 Regexp::UnicodeGroups
    [all...]
regexp_generator.h 41 virtual void HandleRegexp(const string& regexp) = 0;
43 // The egrep regexp operators: * + ? | and concatenation.
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
mailerdaemon.py 101 for regexp in emparse_list_list:
102 if type(regexp) is type(()):
103 res = regexp[0].search(data, 0, from_index)
110 res = regexp[1].match(data, res.end(0), from_index)
116 res = regexp.search(data, 0, from_index)
130 for regexp in emparse_list_reason:
131 if type(regexp) is type(''):
134 exp = re.compile(re.escape(email).join(regexp.split('<>')), re.MULTILINE)
140 res = regexp.search(data)
  /external/chromium-trace/catapult/telemetry/third_party/web-page-replay/third_party/dns/rdtypes/IN/
NAPTR.py 40 @ivar regexp: regular expression
41 @type regexp: string
46 __slots__ = ['order', 'preference', 'flags', 'service', 'regexp',
50 regexp, replacement):
56 self.regexp = regexp
65 dns.rdata._escapify(self.regexp),
73 regexp = tok.get_string()
78 regexp, replacement)
87 _write_string(file, self.regexp)
    [all...]
  /external/v8/src/regexp/
regexp-utils.cc 5 #include "src/regexp/regexp-utils.h"
10 #include "src/regexp/jsregexp.h"
69 Handle<JSReceiver> regexp,
75 Object::GetProperty(regexp, isolate->factory()->exec_string()), Object);
86 Execution::Call(isolate, exec, regexp, argc, argv.start()), Object);
96 if (!regexp->IsJSRegExp()) {
100 "RegExp.prototype.exec"),
101 regexp),
112 return Execution::Call(isolate, regexp_exec, regexp, argc, argv.start())
    [all...]
  /external/chromium-trace/catapult/telemetry/third_party/pyserial/serial/tools/
list_ports.py 36 def grep(regexp):
42 r = re.compile(regexp, re.I)
53 usage = "%prog [options] [<regexp>]",
82 parser.error('more than one regexp not supported')
83 print "Filtered list with regexp: %r" % (args[0],)
  /external/llvm/utils/
DSAextract.py 64 for regexp in regexp_list:
67 if regexp.search(buffer):
  /external/regex-re2/re2/
make_perl_groups.pl 38 my $regexp = "[$class]";
42 if ($i <= 128 && chr($i) =~ $regexp) {
  /external/swiftshader/third_party/LLVM/utils/
DSAextract.py 64 for regexp in regexp_list:
67 if regexp.search(buffer):
  /prebuilts/gdb/darwin-x86/share/gdb/python/gdb/
printing.py 171 def __init__(self, name, regexp, gen_printer):
173 self.regexp = regexp
175 self.compiled_re = re.compile(regexp)
180 def add_printer(self, name, regexp, gen_printer):
187 regexp: The regular expression, as a string.
195 # NOTE: A previous version made the name of each printer the regexp.
197 # cumbersome to make a regexp of a regexp). So now the name is a
200 self.subprinters.append(self.RegexpSubprinter(name, regexp,
    [all...]
  /prebuilts/gdb/linux-x86/share/gdb/python/gdb/
printing.py 171 def __init__(self, name, regexp, gen_printer):
173 self.regexp = regexp
175 self.compiled_re = re.compile(regexp)
180 def add_printer(self, name, regexp, gen_printer):
187 regexp: The regular expression, as a string.
195 # NOTE: A previous version made the name of each printer the regexp.
197 # cumbersome to make a regexp of a regexp). So now the name is a
200 self.subprinters.append(self.RegexpSubprinter(name, regexp,
    [all...]
  /prebuilts/go/darwin-x86/src/cmd/pprof/internal/svg/
svg.go 10 "regexp"
15 viewBox = regexp.MustCompile(`<svg\s*width="[^"]+"\s*height="[^"]+"\s*viewBox="[^"]+"`)
16 graphId = regexp.MustCompile(`<g id="graph\d"`)
17 svgClose = regexp.MustCompile(`</svg>`)
  /prebuilts/go/linux-x86/src/cmd/pprof/internal/svg/
svg.go 10 "regexp"
15 viewBox = regexp.MustCompile(`<svg\s*width="[^"]+"\s*height="[^"]+"\s*viewBox="[^"]+"`)
16 graphId = regexp.MustCompile(`<g id="graph\d"`)
17 svgClose = regexp.MustCompile(`</svg>`)
  /external/v8/src/runtime/
runtime-regexp.cc 11 #include "src/regexp/jsregexp-inl.h"
12 #include "src/regexp/jsregexp.h"
13 #include "src/regexp/regexp-utils.h"
481 Isolate* isolate, Handle<String> subject, Handle<JSRegExp> regexp,
486 int capture_count = regexp->CaptureCount();
495 // Shortcut for simple non-regexp global replacements
496 if (regexp->TypeTag() == JSRegExp::ATOM && simple_replace) {
499 isolate, subject, regexp, replacement, last_match_info);
502 isolate, subject, regexp, replacement, last_match_info)
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/world/
world 122 def reverse(regexp):
124 cre = re.compile(regexp, re.IGNORECASE)
132 return regexp
135 print regexp, "matches code `%s', %s" % (code, all[code])
137 print regexp, 'matches %d countries:' % len(matches)
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/resolver/
ResolverTest.java 42 Pattern regexp = Pattern.compile("\\d\\d-\\d\\d-\\d\\d\\d"); local
43 yaml.addImplicitResolver(new Tag(Tag.PREFIX + "Phone"), regexp, "0123456789");
63 Pattern regexp = Pattern.compile("\\d\\d-\\d\\d-\\d\\d\\d"); local
64 yaml.addImplicitResolver(new Tag(Tag.PREFIX + "Phone"), regexp, "\0");

Completed in 1138 milliseconds

12 3 4 5 6 7 8 91011>>