/build/soong/cc/config/ |
D | arm_device.go | 199 pctx.StaticVariable("ArmToolchainCflags", strings.Join(armToolchainCflags, " ")) 200 pctx.StaticVariable("ArmCflags", strings.Join(armCflags, " ")) 201 pctx.StaticVariable("ArmLdflags", strings.Join(armLdflags, " ")) 202 pctx.StaticVariable("ArmCppflags", strings.Join(armCppflags, " ")) 208 pctx.StaticVariable("ArmArmCflags", strings.Join(armArmCflags, " ")) 209 pctx.StaticVariable("ArmThumbCflags", strings.Join(armThumbCflags, " ")) 212 pctx.StaticVariable("ArmArmv5TECflags", strings.Join(armArchVariantCflags["armv5te"], " ")) 213 pctx.StaticVariable("ArmArmv7ACflags", strings.Join(armArchVariantCflags["armv7-a"], " ")) 214 pctx.StaticVariable("ArmArmv7ANeonCflags", strings.Join(armArchVariantCflags["armv7-a-neon"], " ")) 217 pctx.StaticVariable("ArmGenericCflags", strings.Join(armCpuVariantCflags[""], " ")) [all …]
|
D | x86_linux_host.go | 142 pctx.StaticVariable("LinuxCflags", strings.Join(linuxCflags, " ")) 143 pctx.StaticVariable("LinuxLdflags", strings.Join(linuxLdflags, " ")) 145 pctx.StaticVariable("LinuxClangCflags", strings.Join(linuxClangCflags, " ")) 146 pctx.StaticVariable("LinuxClangLdflags", strings.Join(linuxClangLdflags, " ")) 147 pctx.StaticVariable("LinuxClangCppflags", strings.Join(linuxClangCppflags, " ")) 150 pctx.StaticVariable("LinuxX86Cflags", strings.Join(linuxX86Cflags, " ")) 151 pctx.StaticVariable("LinuxX8664Cflags", strings.Join(linuxX8664Cflags, " ")) 152 pctx.StaticVariable("LinuxX86Ldflags", strings.Join(linuxX86Ldflags, " ")) 153 pctx.StaticVariable("LinuxX8664Ldflags", strings.Join(linuxX8664Ldflags, " ")) 156 strings.Join(ClangFilterUnknownCflags(linuxX86Cflags), " ")) [all …]
|
D | global.go | 90 pctx.StaticVariable("CommonGlobalCflags", strings.Join(commonGlobalCflags, " ")) 91 pctx.StaticVariable("CommonGlobalConlyflags", strings.Join(commonGlobalConlyflags, " ")) 92 pctx.StaticVariable("DeviceGlobalCflags", strings.Join(deviceGlobalCflags, " ")) 93 pctx.StaticVariable("HostGlobalCflags", strings.Join(hostGlobalCflags, " ")) 94 pctx.StaticVariable("NoOverrideGlobalCflags", strings.Join(noOverrideGlobalCflags, " ")) 96 pctx.StaticVariable("CommonGlobalCppflags", strings.Join(commonGlobalCppflags, " ")) 99 strings.Join(append(ClangFilterUnknownCflags(commonGlobalCflags), "${ClangExtraCflags}"), " ")) 101 …strings.Join(append(ClangFilterUnknownCflags(deviceGlobalCflags), "${ClangExtraTargetCflags}"), " … 103 strings.Join(ClangFilterUnknownCflags(hostGlobalCflags), " ")) 105 …strings.Join(append(ClangFilterUnknownCflags(noOverrideGlobalCflags), "${ClangExtraNoOverrideCflag… [all …]
|
D | arm64_device.go | 109 pctx.StaticVariable("Arm64Cflags", strings.Join(arm64Cflags, " ")) 110 pctx.StaticVariable("Arm64Ldflags", strings.Join(arm64Ldflags, " ")) 111 pctx.StaticVariable("Arm64Cppflags", strings.Join(arm64Cppflags, " ")) 114 pctx.StaticVariable("Arm64ClangCflags", strings.Join(ClangFilterUnknownCflags(arm64Cflags), " ")) 115 pctx.StaticVariable("Arm64ClangLdflags", strings.Join(ClangFilterUnknownCflags(arm64Ldflags), " ")) 116 …pctx.StaticVariable("Arm64ClangCppflags", strings.Join(ClangFilterUnknownCflags(arm64Cppflags), " … 119 strings.Join(arm64CpuVariantCflags["cortex-a53"], " ")) 121 strings.Join(arm64ClangCpuVariantCflags["cortex-a53"], " ")) 124 strings.Join(arm64CpuVariantCflags["kryo"], " ")) 126 strings.Join(arm64ClangCpuVariantCflags["kryo"], " "))
|
D | x86_darwin_host.go | 120 return strings.TrimSpace(string(bytes)), err 145 pctx.StaticVariable("DarwinCflags", strings.Join(darwinCflags, " ")) 146 pctx.StaticVariable("DarwinLdflags", strings.Join(darwinLdflags, " ")) 148 pctx.StaticVariable("DarwinClangCflags", strings.Join(darwinClangCflags, " ")) 149 pctx.StaticVariable("DarwinClangLdflags", strings.Join(darwinClangLdflags, " ")) 152 pctx.StaticVariable("DarwinX86Cflags", strings.Join(darwinX86Cflags, " ")) 153 pctx.StaticVariable("DarwinX8664Cflags", strings.Join(darwinX8664Cflags, " ")) 154 pctx.StaticVariable("DarwinX86Ldflags", strings.Join(darwinX86Ldflags, " ")) 155 pctx.StaticVariable("DarwinX8664Ldflags", strings.Join(darwinX8664Ldflags, " ")) 157 pctx.StaticVariable("DarwinX86ClangCflags", strings.Join(darwinX86ClangCflags, " ")) [all …]
|
D | mips_device.go | 146 pctx.StaticVariable("MipsToolchainLdflags", strings.Join(mipsToolchainLdflags, " ")) 147 pctx.StaticVariable("MipsCflags", strings.Join(mipsCflags, " ")) 148 pctx.StaticVariable("MipsLdflags", strings.Join(mipsLdflags, " ")) 149 pctx.StaticVariable("MipsCppflags", strings.Join(mipsCppflags, " ")) 153 …pctx.StaticVariable("MipsClangCflags", strings.Join(ClangFilterUnknownCflags(mipsClangCflags), " "… 154 pctx.StaticVariable("MipsClangLdflags", strings.Join(ClangFilterUnknownCflags(mipsLdflags), " ")) 155 pctx.StaticVariable("MipsClangCppflags", strings.Join(ClangFilterUnknownCflags(mipsCppflags), " ")) 161 pctx.StaticVariable("Mips"+variant+"VariantCflags", strings.Join(cflags, " ")) 163 strings.Join(ClangFilterUnknownCflags(cflags), " "))
|
D | x86_64_device.go | 159 pctx.StaticVariable("X86_64Cflags", strings.Join(x86_64Cflags, " ")) 160 pctx.StaticVariable("X86_64Ldflags", strings.Join(x86_64Ldflags, " ")) 161 pctx.StaticVariable("X86_64Cppflags", strings.Join(x86_64Cppflags, " ")) 165 pctx.StaticVariable("X86_64ClangCflags", strings.Join(ClangFilterUnknownCflags(x86_64Cflags), " ")) 166 …pctx.StaticVariable("X86_64ClangLdflags", strings.Join(ClangFilterUnknownCflags(x86_64Ldflags), " … 167 …pctx.StaticVariable("X86_64ClangCppflags", strings.Join(ClangFilterUnknownCflags(x86_64Cppflags), … 176 pctx.StaticVariable("X86_64"+variant+"VariantCflags", strings.Join(cflags, " ")) 178 strings.Join(ClangFilterUnknownCflags(cflags), " ")) 276 toolchainCflags: strings.Join(toolchainCflags, " "), 277 toolchainClangCflags: strings.Join(toolchainClangCflags, " "),
|
D | x86_device.go | 181 pctx.StaticVariable("X86Cflags", strings.Join(x86Cflags, " ")) 182 pctx.StaticVariable("X86Ldflags", strings.Join(x86Ldflags, " ")) 183 pctx.StaticVariable("X86Cppflags", strings.Join(x86Cppflags, " ")) 187 pctx.StaticVariable("X86ClangCflags", strings.Join(ClangFilterUnknownCflags(x86ClangCflags), " ")) 188 pctx.StaticVariable("X86ClangLdflags", strings.Join(ClangFilterUnknownCflags(x86Ldflags), " ")) 189 pctx.StaticVariable("X86ClangCppflags", strings.Join(ClangFilterUnknownCflags(x86Cppflags), " ")) 198 pctx.StaticVariable("X86"+variant+"VariantCflags", strings.Join(cflags, " ")) 200 strings.Join(ClangFilterUnknownCflags(cflags), " ")) 298 toolchainCflags: strings.Join(toolchainCflags, " "), 299 toolchainClangCflags: strings.Join(toolchainClangCflags, " "),
|
D | mips64_device.go | 108 pctx.StaticVariable("Mips64Cflags", strings.Join(mips64Cflags, " ")) 109 pctx.StaticVariable("Mips64Ldflags", strings.Join(mips64Ldflags, " ")) 110 pctx.StaticVariable("Mips64Cppflags", strings.Join(mips64Cppflags, " ")) 114 …pctx.StaticVariable("Mips64ClangCflags", strings.Join(ClangFilterUnknownCflags(mips64ClangCflags),… 115 …pctx.StaticVariable("Mips64ClangLdflags", strings.Join(ClangFilterUnknownCflags(mips64Ldflags), " … 116 …pctx.StaticVariable("Mips64ClangCppflags", strings.Join(ClangFilterUnknownCflags(mips64Cppflags), … 122 pctx.StaticVariable("Mips64"+variant+"VariantCflags", strings.Join(cflags, " ")) 124 strings.Join(ClangFilterUnknownCflags(cflags), " "))
|
D | x86_windows_host.go | 106 pctx.StaticVariable("WindowsCflags", strings.Join(windowsCflags, " ")) 107 pctx.StaticVariable("WindowsLdflags", strings.Join(windowsLdflags, " ")) 109 pctx.StaticVariable("WindowsX86Cflags", strings.Join(windowsX86Cflags, " ")) 110 pctx.StaticVariable("WindowsX8664Cflags", strings.Join(windowsX8664Cflags, " ")) 111 pctx.StaticVariable("WindowsX86Ldflags", strings.Join(windowsX86Ldflags, " ")) 112 pctx.StaticVariable("WindowsX8664Ldflags", strings.Join(windowsX8664Ldflags, " ")) 114 pctx.StaticVariable("WindowsIncludeFlags", strings.Join(windowsIncludeFlags, " "))
|
D | clang.go | 74 pctx.StaticVariable("ClangExtraCflags", strings.Join([]string{ 105 pctx.StaticVariable("ClangExtraCppflags", strings.Join([]string{ 120 pctx.StaticVariable("ClangExtraTargetCflags", strings.Join([]string{ 124 pctx.StaticVariable("ClangExtraNoOverrideCflags", strings.Join([]string{
|
D | tidy.go | 32 return strings.Join([]string{ 48 return strings.Join([]string{ 63 pctx.StaticVariable("TidyDefaultHeaderDirs", strings.Join([]string{ 113 if strings.HasPrefix(dir, pathCheck.PathPrefix) {
|
/build/soong/cc/ |
D | check.go | 31 flag = strings.TrimSpace(flag) 33 if !strings.HasPrefix(flag, "-") { 35 } else if strings.HasPrefix(flag, "-I") || strings.HasPrefix(flag, "-isystem") { 41 } else if strings.Contains(flag, " ") { 42 args := strings.Split(flag, " ") 48 if strings.HasPrefix("/", path) { 50 } else if strings.HasPrefix("../", path) { 64 flag = strings.TrimSpace(flag) 66 if !strings.HasPrefix(flag, "-") { 68 } else if strings.HasPrefix(flag, "-l") { [all …]
|
D | util.go | 100 globalFlags: strings.Join(in.GlobalFlags, " "), 101 arFlags: strings.Join(in.ArFlags, " "), 102 asFlags: strings.Join(in.AsFlags, " "), 103 cFlags: strings.Join(in.CFlags, " "), 104 toolingCFlags: strings.Join(in.ToolingCFlags, " "), 105 conlyFlags: strings.Join(in.ConlyFlags, " "), 106 cppFlags: strings.Join(in.CppFlags, " "), 107 yaccFlags: strings.Join(in.YaccFlags, " "), 108 protoFlags: strings.Join(in.protoFlags, " "), 109 aidlFlags: strings.Join(in.aidlFlags, " "), [all …]
|
D | makevars.go | 40 ctx.StrictSorted("CLANG_CONFIG_UNKNOWN_CFLAGS", strings.Join(config.ClangUnknownCflags, " ")) 54 ctx.Strict("NDK_PREBUILT_SHARED_LIBRARIES", strings.Join(ndkPrebuiltSharedLibs, " ")) 62 ctx.Strict("VNDK_CORE_LIBRARIES", strings.Join(vndkCoreLibraries, " ")) 63 ctx.Strict("VNDK_SAMEPROCESS_LIBRARIES", strings.Join(vndkSpLibraries, " ")) 64 ctx.Strict("LLNDK_LIBRARIES", strings.Join(llndkLibraries, " ")) 66 ctx.Strict("ADDRESS_SANITIZER_CONFIG_EXTRA_CFLAGS", strings.Join(asanCflags, " ")) 67 ctx.Strict("ADDRESS_SANITIZER_CONFIG_EXTRA_LDFLAGS", strings.Join(asanLdflags, " ")) 68 ctx.Strict("ADDRESS_SANITIZER_CONFIG_EXTRA_STATIC_LIBRARIES", strings.Join(asanLibs, " ")) 70 ctx.Strict("CFI_EXTRA_CFLAGS", strings.Join(cfiCflags, " ")) 71 ctx.Strict("CFI_EXTRA_LDFLAGS", strings.Join(cfiLdflags, " ")) [all …]
|
D | cmakelists.go | 93 dst := strings.Replace(path, cLionAggregateProjectsDirectory, cLionOutputProjectsDirectory, 1) 176 return strings.Replace(s, "@", "-", -1) 258 if strings.HasPrefix(parameter, "-I") { 261 if strings.HasPrefix(parameter, "$") { 264 if strings.HasPrefix(parameter, "-isystem") { 267 if strings.HasPrefix(parameter, "-isysroot") { 270 if strings.HasPrefix(parameter, "--sysroot") { 292 append(compilerParameters.headerSearchPath, strings.TrimPrefix(param, "-I")) 299 paramsFromVar := parseCompilerParameters(strings.Split(evaluated, " "), ctx, f) 341 if !strings.HasPrefix(p, "'") || !strings.HasSuffix(p, "'") || len(p) < 3 { [all …]
|
/build/blueprint/ |
D | ninja_strings.go | 26 defaultEscaper = strings.NewReplacer( 28 inputEscaper = strings.NewReplacer( 31 outputEscaper = strings.NewReplacer( 38 strings []string member 50 strings: []string{str}, 64 if len(ps.result.variables) == len(ps.result.strings) { 66 ps.result.strings = append(ps.result.strings, "") 75 if len(ps.result.strings) != len(ps.result.variables) { 78 ps.result.strings = append(ps.result.strings, ps.pendingStr+s) 89 n := strings.Count(str, "$") [all …]
|
/build/kati/ |
D | ninja.go | 92 …if (!strings.Contains(tss, " -MD ") && !strings.Contains(tss, " -MMD ")) || !strings.Contains(tss,… 96 mfIndex := strings.Index(ss, " -MF ") 99 if strings.Index(mf, " -MF ") >= 0 { 102 mfEndIndex := strings.IndexAny(mf, " \t\n") 110 outIndex := strings.Index(ss, " -o ") 115 if strings.Index(out, " -o ") >= 0 { 118 outEndIndex := strings.IndexAny(out, " \t\n") 128 if strings.Contains(cmdline, "bin/llvm-rs-cc ") { 139 if i := strings.LastIndex(cmdline, mvCmd); i >= 0 { 141 ei := strings.IndexByte(rest, ')') [all …]
|
D | strutil.go | 132 i := strings.IndexByte(pat, '%') 136 return strings.HasPrefix(str, pat[:i]) && strings.HasSuffix(str, pat[i+1:]) 148 ps := strings.SplitN(pat, "%", 2) 158 trimed = strings.TrimPrefix(in, ps[0]) 165 trimed = strings.TrimSuffix(in, ps[1]) 171 rs := strings.SplitN(repl, "%", 2) 211 if strings.IndexByte(pat, '%') >= 0 && strings.IndexByte(repl, '%') >= 0 { 214 str = strings.TrimSuffix(str, pat) 260 for strings.HasPrefix(s, "./") {
|
/build/soong/ui/build/ |
D | make.go | 47 "MAKECMDGOALS="+strings.Join(goals, " "), 48 "DUMP_MANY_VARS="+strings.Join(vars, " "), 60 for _, line := range strings.Split(string(output), "\n") { 165 config.SetKatiArgs(strings.Fields(make_vars["KATI_GOALS"])) 166 config.SetNinjaArgs(strings.Fields(make_vars["NINJA_GOALS"]))
|
D | config_test.go | 77 t.Run(strings.Join(tc.args, " "), func(t *testing.T) { 90 strings.Join(tc.args, " "), 95 strings.Join(tc.args, " "), 100 strings.Join(tc.args, " "), 151 t.Run(strings.Join(tc.args, " "), func(t *testing.T) {
|
/build/soong/python/ |
D | builder.go | 85 "content": strings.Join(content, `\n`), 119 parArgs = append(parArgs, "-C "+strings.TrimSuffix(stub, mainFileName)+" -f "+stub) 120 parArgs = append(parArgs, "-C "+strings.TrimSuffix(initFile, initFileName)+" -f "+initFile) 137 "interp": strings.Replace(interpreter, "/", `\/`, -1), 138 "main": strings.Replace(main, "/", `\/`, -1), 142 "parArgs": strings.Join(parArgs, " "),
|
/build/blueprint/proptools/ |
D | escape.go | 32 var ninjaEscaper = strings.NewReplacer( 63 if strings.IndexFunc(s, shellUnsafeChar) == -1 { 78 var singleQuoteReplacer = strings.NewReplacer(`'`, `'\''`)
|
/build/soong/android/ |
D | util.go | 73 if strings.HasPrefix(s, prefix) { 89 if funcName == "init" || strings.HasPrefix(funcName, "init·") { 108 lastDotIndex := strings.LastIndex(fullName, ".") 117 lastDotIndex = strings.LastIndex(fullName[:lastDotIndex], ".")
|
/build/kati/testcase/ |
D | gen_testcase_parse_benchmark.go | 58 i := strings.Index(base, ".") 62 base = strings.Replace(base, "-", "", -1) 63 tn := strings.Title(base) 69 if strings.HasPrefix(name, "Err") {
|