Home
last modified time | relevance | path

Searched defs:Regexp (Results 1 – 25 of 31) sorted by relevance

12

/prebuilts/go/linux-x86/src/regexp/
Dregexp.go80 type Regexp struct { struct
81 expr string // as passed to Compile
82 prog *syntax.Prog // compiled program
83 onepass *onePassProg // onepass program or nil
84 numSubexp int
85 maxBitStateLen int
86 subexpNames []string
87 prefix string // required prefix in unanchored matches
88 prefixBytes []byte // prefix, as a []byte
89 prefixRune rune // first rune in prefix
[all …]
Dexec_test.go208 func runFull(re, refull *Regexp, text string) ([]int, string) {
213 func runPartial(re, refull *Regexp, text string) ([]int, string) {
218 func runFullLongest(re, refull *Regexp, text string) ([]int, string) {
223 func runPartialLongest(re, refull *Regexp, text string) ([]int, string) {
235 func matchFull(re, refull *Regexp, text string) (bool, string) {
240 func matchPartial(re, refull *Regexp, text string) (bool, string) {
245 func matchFullLongest(re, refull *Regexp, text string) (bool, string) {
250 func matchPartialLongest(re, refull *Regexp, text string) (bool, string) {
/prebuilts/go/linux-x86/src/internal/lazyregexp/
Dlazyre.go18 type Regexp struct { struct
19 str string
20 once sync.Once
21 rx *regexp.Regexp
24 func (r *Regexp) re() *regexp.Regexp {
29 func (r *Regexp) build() {
34 func (r *Regexp) FindSubmatch(s []byte) [][]byte {
38 func (r *Regexp) FindStringSubmatch(s string) []string {
42 func (r *Regexp) FindStringSubmatchIndex(s string) []int {
46 func (r *Regexp) ReplaceAllString(src, repl string) string {
[all …]
/prebuilts/go/linux-x86/src/cmd/vendor/golang.org/x/mod/internal/lazyregexp/
Dlazyre.go18 type Regexp struct { struct
19 str string
20 once sync.Once
21 rx *regexp.Regexp
24 func (r *Regexp) re() *regexp.Regexp {
29 func (r *Regexp) build() {
34 func (r *Regexp) FindSubmatch(s []byte) [][]byte {
38 func (r *Regexp) FindStringSubmatch(s string) []string {
42 func (r *Regexp) FindStringSubmatchIndex(s string) []int {
46 func (r *Regexp) ReplaceAllString(src, repl string) string {
[all …]
/prebuilts/go/linux-x86/src/regexp/syntax/
Dregexp.go18 type Regexp struct { struct
19 Op Op // operator
20 Flags Flags
21 Sub []*Regexp // subexpressions, if any
22 Sub0 [1]*Regexp // storage for short Sub
23 Rune []rune // matched runes, for OpLiteral, OpCharClass
24 Rune0 [2]rune // storage for short Rune
25 Min, Max int // min, max for OpRepeat
26 Cap int // capturing index, for OpCapture
27 Name string // capturing name, for OpCapture
[all …]
Dparse_test.go15 Regexp string member
291 func dump(re *Regexp) string {
322 func dumpRegexp(b *strings.Builder, re *Regexp) {
Dsimplify.go134 func simplify1(op Op, flags Flags, sub, re *Regexp) *Regexp {
Dparse.go451 func repeatIsValid(re *Regexp, n int) bool {
522 func cleanAlt(re *Regexp) {
1301 func isCharClass(re *Regexp) bool {
1309 func matchRune(re *Regexp, r rune) bool {
1344 func mergeCharClass(dst, src *Regexp) {
Dcompile.go71 func Compile(re *Regexp) (*Prog, error) {
/prebuilts/go/linux-x86/src/cmd/vendor/github.com/google/pprof/profile/
Dfilter.go24 func (p *Profile) FilterSamplesByName(focus, ignore, hide, show *regexp.Regexp) (fm, im, hm, hnm bo…
91 func (p *Profile) ShowFrom(showFrom *regexp.Regexp) (matched bool) {
122 func filterShowFromLocation(loc *Location, showFrom *regexp.Regexp) bool {
135 func (loc *Location) lastMatchedLineIndex(re *regexp.Regexp) int {
148 func (p *Profile) FilterTagsByName(show, hide *regexp.Regexp) (sm, hm bool) {
179 func (loc *Location) matchesName(re *regexp.Regexp) bool {
195 func (loc *Location) unmatchedLines(re *regexp.Regexp) []Line {
213 func (loc *Location) matchedLines(re *regexp.Regexp) []Line {
Dprune.go61 func (p *Profile) Prune(dropRx, keepRx *regexp.Regexp) {
167 func (p *Profile) PruneFrom(dropRx *regexp.Regexp) {
/prebuilts/go/linux-x86/test/interface/
Dpointer.go16 type Regexp struct { struct
17 code []Inst
18 start Inst
/prebuilts/go/linux-x86/src/cmd/vendor/github.com/google/pprof/internal/binutils/
Ddisasm.go36 func findSymbols(syms []byte, file string, r *regexp.Regexp, address uint64) ([]*plugin.Sym, error)…
86 func matchSymbol(names []string, start, end uint64, r *regexp.Regexp, address uint64) []string {
/prebuilts/go/linux-x86/src/internal/profile/
Dprune.go17 func (p *Profile) Prune(dropRx, keepRx *regexp.Regexp) {
/prebuilts/clang/host/linux-x86/clang-r536225/include/lldb/Core/
DAddressResolver.h35 enum MatchType { Exact, Regexp, Glob }; enumerator
/prebuilts/clang/host/linux-x86/clang-r522817/include/lldb/Core/
DAddressResolver.h35 enum MatchType { Exact, Regexp, Glob }; enumerator
/prebuilts/clang/host/linux-x86/clang-r547379/include/lldb/Core/
DAddressResolver.h35 enum MatchType { Exact, Regexp, Glob }; enumerator
/prebuilts/clang/host/linux-x86/clang-r530567/include/lldb/Core/
DAddressResolver.h35 enum MatchType { Exact, Regexp, Glob }; enumerator
/prebuilts/go/linux-x86/src/cmd/compile/internal/syntax/
Dtesting.go36 func CommentMap(src io.Reader, rx *regexp.Regexp) (res map[uint][]Error) {
/prebuilts/go/linux-x86/src/go/types/
DcommentMap_test.go31 func commentMap(src []byte, rx *regexp.Regexp) (res map[int][]comment) {
/prebuilts/go/linux-x86/src/cmd/cgo/internal/testerrors/
Derrors_test.go67 func expect(t *testing.T, file string, errors []*regexp.Regexp) {
/prebuilts/go/linux-x86/src/cmd/go/internal/work/
Dsecurity.go272 func checkFlags(name, source string, list []string, invalid, valid []*lazyregexp.Regexp, validNext …
/prebuilts/clang/host/linux-x86/clang-r530567/include/lldb/Breakpoint/
DBreakpoint.h88 enum MatchType { Exact, Regexp, Glob }; enumerator
/prebuilts/clang/host/linux-x86/clang-r522817/include/lldb/Breakpoint/
DBreakpoint.h88 enum MatchType { Exact, Regexp, Glob }; enumerator
/prebuilts/clang/host/linux-x86/clang-r547379/include/lldb/Breakpoint/
DBreakpoint.h88 enum MatchType { Exact, Regexp, Glob }; enumerator

12