/build/kati/ |
D | strutil_test.cc | 44 assert(HasPrefix("foo", "foo")); in TestHasPrefix() 45 assert(HasPrefix("foo", "fo")); in TestHasPrefix() 46 assert(HasPrefix("foo", "")); in TestHasPrefix() 47 assert(!HasPrefix("foo", "fooo")); in TestHasPrefix()
|
D | find.cc | 607 if (HasPrefix(tok, "--prune=")) { in ParseFindLeaves() 615 } else if (HasPrefix(tok, "--mindepth=")) { in ParseFindLeaves() 624 } else if (HasPrefix(tok, "--")) { in ParseFindLeaves() 706 return (!HasPrefix(s, "../") && in CanHandle() 707 !HasPrefix(s, "/") && in CanHandle() 708 !HasPrefix(s, ".repo") && in CanHandle() 709 !HasPrefix(s, ".git") && in CanHandle() 710 !HasPrefix(s, "out")); in CanHandle()
|
D | strutil.go | 136 return strings.HasPrefix(str, pat[:i]) && strings.HasSuffix(str, pat[i+1:]) 144 return bytes.HasPrefix(str, pat[:i]) && bytes.HasSuffix(str, pat[i+1:]) 260 for strings.HasPrefix(s, "./") {
|
D | flags.cc | 31 if (!HasPrefix(arg, option)) in ParseCommandLineOptionWithArg()
|
D | strutil.h | 86 bool HasPrefix(StringPiece str, StringPiece prefix);
|
D | ninja.cc | 74 if (!HasPrefix(*s, p)) in StripPrefix() 332 if (!HasPrefix(cmd, "mkdir -p ")) { in IsOutputMkdir() 348 if (!HasPrefix(cmd, "echo ")) { in GetDescriptionFromCommand()
|
D | rule_parser.go | 33 return strings.HasPrefix(s, p.prefix) && strings.HasSuffix(s, p.suffix)
|
D | strutil.cc | 144 bool HasPrefix(StringPiece str, StringPiece prefix) { in HasPrefix() function 184 return (HasPrefix(str, pat_.substr(0, percent_index_)) && in MatchImpl()
|
D | dep.go | 232 if !strings.HasPrefix(outputSuffix, ".") { 487 if db.firstRule == nil && !strings.HasPrefix(output, ".") {
|
D | var.go | 301 if strings.HasPrefix(v.Origin(), "environment") {
|
D | pathutil.go | 923 case strings.HasPrefix(tok, "--prune="): 929 case strings.HasPrefix(tok, "--mindepth="):
|
D | ninja.go | 261 if !strings.HasPrefix(cmd, "echo") || !isWhitespace(rune(cmd[4])) {
|
/build/soong/java/ |
D | app.go | 99 if strings.HasPrefix(f, "--product") { 129 if strings.HasPrefix(f, "--product") { 175 if strings.HasPrefix(f, "--version-code") { 177 } else if strings.HasPrefix(f, "--version-name") {
|
/build/soong/common/ |
D | paths.go | 230 if !strings.HasPrefix(path, prefix) { 310 if strings.HasPrefix(abs, buildroot) { 336 if strings.HasPrefix(abs, buildroot) { 373 if strings.HasPrefix(abs, buildroot) { 646 if path == ".." || strings.HasPrefix(path, "../") || strings.HasPrefix(path, "/") {
|
D | config.go | 163 if strings.HasPrefix(absSrcDir, absBuildDir) {
|
/build/kati/make-c/ |
D | main.go | 37 if bytes.HasPrefix(s.Bytes(), []byte("echo ")) {
|
/build/blueprint/gotestmain/ |
D | gotestmain.go | 48 if obj.Kind != ast.Fun || !strings.HasPrefix(obj.Name, "Test") {
|
/build/kati/testcase/ |
D | gen_testcase_parse_benchmark.go | 69 if strings.HasPrefix(name, "Err") {
|
/build/blueprint/bootstrap/ |
D | cleanup.go | 97 if strings.HasPrefix(line, "#") {
|
/build/blueprint/ |
D | unpack.go | 349 if strings.HasPrefix(entry, "filter") { 350 if !strings.HasPrefix(entry, "filter(") || !strings.HasSuffix(entry, ")") {
|
D | package_ctx.go | 144 if funcName == "init" || strings.HasPrefix(funcName, "init·") {
|
/build/soong/androidmk/cmd/androidmk/ |
D | androidmk.go | 197 if strings.HasPrefix(name, "LOCAL_") { 251 case strings.HasPrefix(name, "LOCAL_"):
|
D | android.go | 120 if strings.HasPrefix(secondOperand.StringValue, "/") {
|
/build/soong/cc/ |
D | builder.go | 321 if !strings.HasPrefix(file, "lib") {
|
D | cc.go | 1032 if strings.HasPrefix(common.PathForModuleSrc(ctx).String(), "external/") { 2054 if !strings.HasPrefix(ctx.ModuleName(), "ndk_crt") { 2091 if !strings.HasPrefix(ctx.ModuleName(), "ndk_lib") { 2150 if !strings.HasPrefix(ctx.ModuleName(), "ndk_lib") {
|