| /prebuilts/go/darwin-x86/src/regexp/syntax/ |
| simplify.go | 7 // Simplify returns a regexp equivalent to re but without counted repetitions 9 // The resulting regexp will execute correctly but its string representation 13 // The returned regexp may share structure with or be the original. 14 func (re *Regexp) Simplify() *Regexp { 20 // Simplify children, building new Regexp if children change. 26 nre = new(Regexp) 45 return &Regexp{Op: OpEmptyMatch} 64 nre := &Regexp{Op: OpConcat} 85 var prefix *Regexp [all...] |
| /prebuilts/go/linux-x86/src/internal/pprof/profile/ |
| filter.go | 9 import "regexp" 13 // Returns true is the corresponding regexp matched at least one sample. 14 func (p *Profile) FilterSamplesByName(focus, ignore, hide *regexp.Regexp) (fm, im, hm bool) { 60 func (loc *Location) matchesName(re *regexp.Regexp) bool { 76 func (loc *Location) unmatchedLines(re *regexp.Regexp) []Line {
|
| /prebuilts/go/linux-x86/src/regexp/syntax/ |
| simplify.go | 7 // Simplify returns a regexp equivalent to re but without counted repetitions 9 // The resulting regexp will execute correctly but its string representation 13 // The returned regexp may share structure with or be the original. 14 func (re *Regexp) Simplify() *Regexp { 20 // Simplify children, building new Regexp if children change. 26 nre = new(Regexp) 45 return &Regexp{Op: OpEmptyMatch} 64 nre := &Regexp{Op: OpConcat} 85 var prefix *Regexp [all...] |
| /prebuilts/go/darwin-x86/src/cmd/pprof/internal/driver/ |
| driver.go | 17 "regexp" 228 func compileFocusIgnore(focus, ignore, hide string) (f, i, h *regexp.Regexp, err error) { 230 if f, err = regexp.Compile(focus); err != nil { 231 return nil, nil, nil, fmt.Errorf("parsing focus regexp: %v", err) 236 if i, err = regexp.Compile(ignore); err != nil { 237 return nil, nil, nil, fmt.Errorf("parsing ignore regexp: %v", err) 242 if h, err = regexp.Compile(hide); err != nil { 243 return nil, nil, nil, fmt.Errorf("parsing hide regexp: %v", err) 254 ui.PrintErr("Interpreted '", filter, "' as range, not regexp") [all...] |
| /prebuilts/go/linux-x86/src/cmd/pprof/internal/driver/ |
| driver.go | 17 "regexp" 228 func compileFocusIgnore(focus, ignore, hide string) (f, i, h *regexp.Regexp, err error) { 230 if f, err = regexp.Compile(focus); err != nil { 231 return nil, nil, nil, fmt.Errorf("parsing focus regexp: %v", err) 236 if i, err = regexp.Compile(ignore); err != nil { 237 return nil, nil, nil, fmt.Errorf("parsing ignore regexp: %v", err) 242 if h, err = regexp.Compile(hide); err != nil { 243 return nil, nil, nil, fmt.Errorf("parsing hide regexp: %v", err) 254 ui.PrintErr("Interpreted '", filter, "' as range, not regexp") [all...] |
| /prebuilts/go/darwin-x86/src/runtime/ |
| runtime-gdb_test.go | 16 "regexp" 42 re := regexp.MustCompile(`([0-9]+)\.([0-9]+)`) 181 partRe := regexp.MustCompile(`(?ms)^BEGIN ([^\n]*)\n(.*?)\nEND`) 187 infoGoroutinesRe := regexp.MustCompile(`\*\s+\d+\s+running\s+`) 192 printMapvarRe := regexp.MustCompile(`\Q = map[string]string = {["abc"] = "def", ["ghi"] = "jkl"}\E$`) 197 strVarRe := regexp.MustCompile(`\Q = "abc"\E$`) 206 infoLocalsRe := regexp.MustCompile(`^slicevar.len = `) 211 btGoroutineRe := regexp.MustCompile(`^#0\s+runtime.+at`) 297 re := regexp.MustCompile(s)
|
| /prebuilts/go/linux-x86/src/runtime/ |
| runtime-gdb_test.go | 16 "regexp" 42 re := regexp.MustCompile(`([0-9]+)\.([0-9]+)`) 181 partRe := regexp.MustCompile(`(?ms)^BEGIN ([^\n]*)\n(.*?)\nEND`) 187 infoGoroutinesRe := regexp.MustCompile(`\*\s+\d+\s+running\s+`) 192 printMapvarRe := regexp.MustCompile(`\Q = map[string]string = {["abc"] = "def", ["ghi"] = "jkl"}\E$`) 197 strVarRe := regexp.MustCompile(`\Q = "abc"\E$`) 206 infoLocalsRe := regexp.MustCompile(`^slicevar.len = `) 211 btGoroutineRe := regexp.MustCompile(`^#0\s+runtime.+at`) 297 re := regexp.MustCompile(s)
|
| /prebuilts/go/darwin-x86/src/sort/ |
| genzfunc.go | 25 "regexp" 71 src := regexp.MustCompile(`\n{2,}`).ReplaceAll(out.Bytes(), []byte("\n")) 76 src = regexp.MustCompile(`(?m)^func (\w+)`).ReplaceAll(src, []byte("\n// Auto-generated variant of sort.go:$1\nfunc ${1}_func"))
|
| /prebuilts/go/linux-x86/src/sort/ |
| genzfunc.go | 25 "regexp" 71 src := regexp.MustCompile(`\n{2,}`).ReplaceAll(out.Bytes(), []byte("\n")) 76 src = regexp.MustCompile(`(?m)^func (\w+)`).ReplaceAll(src, []byte("\n// Auto-generated variant of sort.go:$1\nfunc ${1}_func"))
|
| /prebuilts/go/darwin-x86/src/regexp/ |
| regexp.go | 5 // Package regexp implements regular expression search. 12 // go doc regexp/syntax 14 // The regexp implementation provided by this package is 19 // http://swtch.com/~rsc/regexp/regexp1.html 24 // There are 16 methods of Regexp that match a regular expression and identify 65 package regexp package 70 "regexp/syntax" 78 // Regexp is the representation of a compiled regular expression. 79 // A Regexp is safe for concurrent use by multiple goroutines. 80 type Regexp struct [all...] |
| /prebuilts/go/linux-x86/src/regexp/ |
| regexp.go | 5 // Package regexp implements regular expression search. 12 // go doc regexp/syntax 14 // The regexp implementation provided by this package is 19 // http://swtch.com/~rsc/regexp/regexp1.html 24 // There are 16 methods of Regexp that match a regular expression and identify 65 package regexp package 70 "regexp/syntax" 78 // Regexp is the representation of a compiled regular expression. 79 // A Regexp is safe for concurrent use by multiple goroutines. 80 type Regexp struct [all...] |
| /prebuilts/go/darwin-x86/doc/progs/ |
| run.go | 16 "regexp" 78 // and checks that the output matches the regexp want. 105 match, err := regexp.Match(want, out) 107 return fmt.Errorf("failed to parse regexp %q: %v", want, err)
|
| /prebuilts/go/darwin-x86/src/cmd/internal/obj/x86/ |
| obj6_test.go | 12 "regexp" 77 var spaces_re *regexp.Regexp = regexp.MustCompile("\\s+") 118 marker := regexp.MustCompile("MOVQ \\$([0-9]+), AX")
|
| /prebuilts/go/darwin-x86/src/log/ |
| log_test.go | 13 "regexp" 31 pattern string // regexp that log output must match; we add ^ and expected_text$ always 64 matched, err4 := regexp.MatchString(pattern, line) 115 matched, err := regexp.Match(pattern, b.Bytes())
|
| /prebuilts/go/linux-x86/doc/progs/ |
| run.go | 16 "regexp" 78 // and checks that the output matches the regexp want. 105 match, err := regexp.Match(want, out) 107 return fmt.Errorf("failed to parse regexp %q: %v", want, err)
|
| /prebuilts/go/linux-x86/src/cmd/internal/obj/x86/ |
| obj6_test.go | 12 "regexp" 77 var spaces_re *regexp.Regexp = regexp.MustCompile("\\s+") 118 marker := regexp.MustCompile("MOVQ \\$([0-9]+), AX")
|
| /prebuilts/go/linux-x86/src/log/ |
| log_test.go | 13 "regexp" 31 pattern string // regexp that log output must match; we add ^ and expected_text$ always 64 matched, err4 := regexp.MatchString(pattern, line) 115 matched, err := regexp.Match(pattern, b.Bytes())
|
| /external/regex-re2/ |
| Android.mk | 5 # Android makefile for the re2 regexp library. 31 re2/regexp.cc \
|
| /prebuilts/go/darwin-x86/doc/articles/wiki/ |
| final-noclosure.go | 12 "regexp" 86 var validPath = regexp.MustCompile("^/(edit|save|view)/([a-zA-Z0-9]+)$")
|
| /prebuilts/go/darwin-x86/src/cmd/internal/obj/ |
| stringer.go | 19 "regexp" 29 var Are = regexp.MustCompile(`^\tA([A-Z0-9]+)`)
|
| /prebuilts/go/darwin-x86/src/cmd/pprof/internal/symbolz/ |
| symbolz.go | 14 "regexp" 22 symbolzRE = regexp.MustCompile(`(0x[[:xdigit:]]+)\s+(.*)`)
|
| /prebuilts/go/darwin-x86/src/go/doc/ |
| headscan.go | 27 "regexp" 38 var html_h = regexp.MustCompile(`<h3 id="[^"]*">`)
|
| /prebuilts/go/darwin-x86/src/mime/multipart/ |
| formdata_test.go | 11 "regexp" 17 testBody := regexp.MustCompile("\n").ReplaceAllString(message, "\r\n")
|
| /prebuilts/go/darwin-x86/src/runtime/pprof/ |
| mprof_test.go | 11 "regexp" 109 if !regexp.MustCompile(test).Match(buf.Bytes()) {
|
| /prebuilts/go/linux-x86/doc/articles/wiki/ |
| final-noclosure.go | 12 "regexp" 86 var validPath = regexp.MustCompile("^/(edit|save|view)/([a-zA-Z0-9]+)$")
|