/prebuilts/go/linux-x86/src/net/http/ |
sniff.go | 117 if bytes.HasPrefix(data, e.sig) {
|
/prebuilts/go/linux-x86/src/strings/ |
search.go | 73 if HasPrefix(pattern, pattern[i+1:]) {
|
/prebuilts/go/linux-x86/test/bench/garbage/ |
parser.go | 29 !strings.HasPrefix(dir.Name(), ".") && // ignore .files
|
/prebuilts/go/linux-x86/test/ |
escape_slice.go | 106 if strings.HasPrefix(outkv, k) {
|
/prebuilts/go/darwin-x86/src/cmd/pprof/internal/profile/ |
legacy_profile.go | 95 if strings.HasPrefix(line, "---") { 192 if m := p.Mapping[0]; strings.HasPrefix(m.File, "/anon_hugepage") { 700 if !strings.HasPrefix(l, "--- contention") { 732 if strings.HasPrefix(l, "---") { 771 if l = strings.TrimSpace(l); strings.HasPrefix(l, "---") { 899 if strings.HasPrefix(line, "---- no stack trace for") { 972 if strings.HasPrefix(l, "---") {
|
/prebuilts/go/linux-x86/src/cmd/pprof/internal/profile/ |
legacy_profile.go | 95 if strings.HasPrefix(line, "---") { 192 if m := p.Mapping[0]; strings.HasPrefix(m.File, "/anon_hugepage") { 700 if !strings.HasPrefix(l, "--- contention") { 732 if strings.HasPrefix(l, "---") { 771 if l = strings.TrimSpace(l); strings.HasPrefix(l, "---") { 899 if strings.HasPrefix(line, "---- no stack trace for") { 972 if strings.HasPrefix(l, "---") {
|
/prebuilts/go/darwin-x86/src/net/url/ |
url.go | 410 if !strings.HasPrefix(rest, "/") { 422 if (url.Scheme != "" || !viaRequest && !strings.HasPrefix(rest, "///")) && strings.HasPrefix(rest, "//") { 482 if strings.HasPrefix(host, "[") { 861 if strings.HasPrefix(result, "//") {
|
/prebuilts/go/linux-x86/src/net/url/ |
url.go | 410 if !strings.HasPrefix(rest, "/") { 422 if (url.Scheme != "" || !viaRequest && !strings.HasPrefix(rest, "///")) && strings.HasPrefix(rest, "//") { 482 if strings.HasPrefix(host, "[") { 861 if strings.HasPrefix(result, "//") {
|
/prebuilts/go/darwin-x86/src/cmd/go/ |
go_test.go | 49 if strings.HasPrefix(builder+"-", "freebsd-arm-") { 171 if strings.HasPrefix(e, "GOROOT=") || strings.HasPrefix(e, "GOPATH=") || strings.HasPrefix(e, "GOBIN=") { 173 if strings.HasPrefix(val, "testdata") || strings.HasPrefix(val, "./testdata") { 218 if tg.inParallel && (name == "GOROOT" || name == "GOPATH" || name == "GOBIN") && (strings.HasPrefix(val, "testdata") || strings.HasPrefix(val, "./testdata")) { 231 if strings.HasPrefix(v, name+"=") { 246 if strings.HasPrefix(arg, "testdata") || strings.HasPrefix(arg, "./testdata") [all...] |
generate.go | 269 return bytes.HasPrefix(buf, []byte("//go:generate ")) || bytes.HasPrefix(buf, []byte("//go:generate\t"))
|
/prebuilts/go/linux-x86/src/cmd/go/ |
go_test.go | 49 if strings.HasPrefix(builder+"-", "freebsd-arm-") { 171 if strings.HasPrefix(e, "GOROOT=") || strings.HasPrefix(e, "GOPATH=") || strings.HasPrefix(e, "GOBIN=") { 173 if strings.HasPrefix(val, "testdata") || strings.HasPrefix(val, "./testdata") { 218 if tg.inParallel && (name == "GOROOT" || name == "GOPATH" || name == "GOBIN") && (strings.HasPrefix(val, "testdata") || strings.HasPrefix(val, "./testdata")) { 231 if strings.HasPrefix(v, name+"=") { 246 if strings.HasPrefix(arg, "testdata") || strings.HasPrefix(arg, "./testdata") [all...] |
/prebuilts/go/darwin-x86/src/regexp/ |
regexp.go | 265 hasPrefix(re *Regexp) bool 290 func (i *inputString) hasPrefix(re *Regexp) bool { 291 return strings.HasPrefix(i.str, re.prefix) 329 func (i *inputBytes) hasPrefix(re *Regexp) bool { 330 return bytes.HasPrefix(i.str, re.prefixBytes) 373 func (i *inputReader) hasPrefix(re *Regexp) bool { [all...] |
/prebuilts/go/linux-x86/src/regexp/ |
regexp.go | 265 hasPrefix(re *Regexp) bool 290 func (i *inputString) hasPrefix(re *Regexp) bool { 291 return strings.HasPrefix(i.str, re.prefix) 329 func (i *inputBytes) hasPrefix(re *Regexp) bool { 330 return bytes.HasPrefix(i.str, re.prefixBytes) 373 func (i *inputReader) hasPrefix(re *Regexp) bool { [all...] |
/build/kati/ |
strutil.cc | 144 bool HasPrefix(StringPiece str, StringPiece prefix) { 184 return (HasPrefix(str, pat_.substr(0, percent_index_)) &&
|
/prebuilts/go/darwin-x86/pkg/bootstrap/src/bootstrap/compile/internal/big/ |
ratconv_test.go | 347 if strings.HasPrefix(input, "long:") { 403 if strings.HasPrefix(input, "long:") {
|
/prebuilts/go/darwin-x86/pkg/bootstrap/src/bootstrap/link/internal/ld/ |
dwarf.go | 939 if strings.HasPrefix(name, "map[") { 942 if strings.HasPrefix(name, "struct {") { 945 if strings.HasPrefix(name, "chan ") { 970 if !strings.HasPrefix(gotype.Name, "type.") { 1422 if strings.HasPrefix(s, "go.string.") { 1425 if strings.HasPrefix(s, "runtime.gcbits.") { 1429 if strings.HasPrefix(s, "type.") && s != "type.*" && !strings.HasPrefix(s, "type..") { [all...] |
ldpe.go | 494 if strings.HasPrefix(name, "__imp_") { 531 if strings.HasPrefix(sym.name, "__imp_") {
|
lib.go | 657 if obj.Bread(f, magbuf) != len(magbuf) || !strings.HasPrefix(string(magbuf), ARMAG) { 679 if strings.HasPrefix(arhdr.name, symname) { 688 if !strings.HasPrefix(arhdr.name, pkgname) { 1153 if !strings.HasPrefix(line, "go object ") { 1172 if !strings.HasPrefix(line[10:]+" ", t) && Debug['f'] == 0 { [all...] |
/prebuilts/go/darwin-x86/src/cmd/compile/internal/big/ |
ratconv_test.go | 344 if strings.HasPrefix(input, "long:") { 400 if strings.HasPrefix(input, "long:") {
|
/prebuilts/go/darwin-x86/src/cmd/link/internal/ld/ |
dwarf.go | 936 if strings.HasPrefix(name, "map[") { 939 if strings.HasPrefix(name, "struct {") { 942 if strings.HasPrefix(name, "chan ") { 967 if !strings.HasPrefix(gotype.Name, "type.") { 1419 if strings.HasPrefix(s, "go.string.") { 1422 if strings.HasPrefix(s, "runtime.gcbits.") { 1426 if strings.HasPrefix(s, "type.") && s != "type.*" && !strings.HasPrefix(s, "type..") { [all...] |
ldpe.go | 491 if strings.HasPrefix(name, "__imp_") { 528 if strings.HasPrefix(sym.name, "__imp_") {
|
lib.go | 654 if obj.Bread(f, magbuf) != len(magbuf) || !strings.HasPrefix(string(magbuf), ARMAG) { 676 if strings.HasPrefix(arhdr.name, symname) { 685 if !strings.HasPrefix(arhdr.name, pkgname) { 1150 if !strings.HasPrefix(line, "go object ") { 1169 if !strings.HasPrefix(line[10:]+" ", t) && Debug['f'] == 0 { [all...] |
/prebuilts/go/darwin-x86/src/go/build/ |
deps_test.go | 424 if strings.HasPrefix(base, ".") || strings.HasPrefix(base, "_") || base == "testdata" {
|
/prebuilts/go/darwin-x86/src/go/doc/ |
example.go | 123 if !strings.HasPrefix(name, prefix) { 296 if len(comments) > 0 && strings.HasPrefix(comments[0].Text(), "Copyright") {
|
/prebuilts/go/darwin-x86/src/math/big/ |
ratconv_test.go | 346 if strings.HasPrefix(input, "long:") { 402 if strings.HasPrefix(input, "long:") {
|