Home
last modified time | relevance | path

Searched refs:suffix (Results 1 – 25 of 85) sorted by relevance

1234

/build/soong/android/
Dgen_notice.go150 suffix := ""
153 suffix = ".html"
155 suffix = ".xml"
158 suffix = proptools.String(m.properties.Suffix)
160 if proptools.Bool(m.properties.Gzipped) && !strings.HasSuffix(suffix, ".gz") {
161 suffix += ".gz"
163 return suffix
Dutil.go73 func JoinWithSuffixAndSeparator(strs []string, suffix string, sep string) string {
74 return JoinWithPrefixSuffixAndSeparator(strs, "", suffix, sep)
79 func JoinWithPrefixSuffixAndSeparator(strs []string, prefix, suffix, sep string) string { argument
89 length += (len(prefix)+len(suffix))*len(strs) + len(sep)*(len(strs)-1)
95 buf.WriteString(suffix)
100 buf.WriteString(suffix)
235 func SuffixInList(list []string, suffix string) bool {
237 if strings.HasSuffix(s, suffix) {
529 suffix := ""
534 suffix = name[lastMatch[0]:lastMatch[1]]
[all …]
Dutil_test.go440 root, suffix, ext := SplitFileExt("libtest.so.1.0.30")
446 if suffix != expected {
447 t.Errorf("suffix should be %q but got %q", expected, suffix)
456 root, suffix, ext := SplitFileExt("libtest.so.1svn")
462 if suffix != expected {
463 t.Errorf("suffix should be %q but got %q", expected, suffix)
472 root, suffix, ext := SplitFileExt("libtest.1.0.30.so")
478 if suffix != expected {
479 t.Errorf("suffix should be %q but got %q", expected, suffix)
488 root, suffix, ext := SplitFileExt("test.exe")
[all …]
/build/soong/cc/
Dtidy.go266 suffix := ""
268 suffix = "-soong"
270 generateObjTidyPhonyTargets(ctx, suffix, "obj", objModulesInDirGroup)
271 generateObjTidyPhonyTargets(ctx, suffix, "tidy", tidyModulesInDirGroup)
275 func objTidyModuleGroupName(module android.Module, group string, suffix string) string {
277 return module.Name() + "-" + suffix
279 return module.Name() + "_" + group + "-" + suffix
283 func generateObjTidyPhonyTargets(ctx android.SingletonContext, suffix string, prefix string, objTid…
300 ctx.Phony(prefix+suffix+groupSuffix, topDirPaths...)
Dvndk_prebuilt.go86 suffix := p.Version()
88 suffix += "." + p.arch()
91 suffix += binder32Suffix
93 return vndkSuffix + suffix
Dandroidmk.go401 stem, suffix, _ := android.SplitFileExt(file)
402 entries.SetString("LOCAL_MODULE_SUFFIX", suffix)
419 stem, suffix, _ := android.SplitFileExt(file)
420 entries.SetString("LOCAL_MODULE_SUFFIX", suffix)
442 stem, suffix, ext := android.SplitFileExt(file)
444 entries.SetString("LOCAL_MODULE_SUFFIX", suffix)
497 stem, suffix, ext := android.SplitFileExt(file)
499 entries.SetString("LOCAL_MODULE_SUFFIX", suffix)
/build/make/tools/releasetools/
Dpayload_signer.py104 signing_key = common.MakeTempFile(prefix="key-", suffix=".key")
144 payload_sig_file = common.MakeTempFile(prefix="sig-", suffix=".bin")
145 metadata_sig_file = common.MakeTempFile(prefix="sig-", suffix=".bin")
159 suffix=".bin")
171 out_file = common.MakeTempFile(prefix="signed-", suffix=".bin")
178 suffix=".txt")
Dtest_sign_target_files_apks.py234 output_file = common.MakeTempFile(suffix='.zip')
244 input_file = common.MakeTempFile(suffix='.zip')
268 input_file = common.MakeTempFile(suffix='.zip')
416 target_files = common.MakeTempFile(suffix='.zip')
441 target_files = common.MakeTempFile(suffix='.zip')
455 target_files = common.MakeTempFile(suffix='.zip')
478 target_files = common.MakeTempFile(suffix='.zip')
501 target_files = common.MakeTempFile(suffix='.zip')
524 target_files = common.MakeTempFile(suffix='.zip')
Dtest_apex_utils.py43 payload_file = common.MakeTempFile(prefix='apex-', suffix='.img')
147 apex_path = common.MakeTempFile(suffix='.apex')
155 apex_path = common.MakeTempFile(suffix='.apex')
176 no_asset = common.MakeTempFile(suffix='.apex')
193 apex_path = common.MakeTempFile(suffix='.apex')
Dtest_build_image.py81 output_image = common.MakeTempFile(suffix='.img')
114 fs_config = common.MakeTempFile(suffix='.txt')
185 output_image = common.MakeTempFile(suffix='.img')
192 output_file = common.MakeTempFile(suffix='.img')
/build/bazel/rules/cc/
Dcc_test.bzl61 suffix = "",
94 suffix = suffix,
114 suffix = suffix,
Dcc_binary_test.bzl175 suffix = ctx.attr.suffix
186 out.path.endswith(suffix),
187 "Expected output filename to end in `%s`; it was instead %s" % (suffix, out),
204 "suffix": attr.string(),
211 suffix = "-suf"
217 suffix = suffix,
222 suffix = suffix,
/build/bazel/scripts/incremental_build/
Dclone_test.py94 cloners[ModuleName("b")].substitute(suffix="test"),
115 cloners[ModuleName("a")].substitute(suffix="test"),
/build/bazel/rules/
Dsh_test.bzl36 suffix = "",
63 suffix = suffix,
/build/soong/mk2rbc/
DTODO3 * Need heuristics for the local variable type. Propose '_list' suffix
11 * Launcher file needs to have same suffix as the rest of the generated files
/build/soong/java/
Dhiddenapi_modular.go1064 suffix string) android.Path {
1065 hiddenApiSubDir := "modular-hiddenapi" + suffix
1084 rule.Build("hiddenAPISignaturePatterns"+suffix, "hidden API signature patterns"+suffix)
1172 …ootDexInfoByModule, contents []android.Module, input HiddenAPIFlagInput, suffix string) HiddenAPIF…
1173 hiddenApiSubDir := "modular-hiddenapi" + suffix
1177 …buildRuleToGenerateHiddenAPIStubFlagsFile(ctx, "modularHiddenAPIStubFlagsFile"+suffix, "modular hi…
1184 …buildRuleToGenerateAnnotationFlags(ctx, "modular hiddenapi annotation flags"+suffix, classesJars, …
1188 …buildRuleToGenerateMetadata(ctx, "modular hiddenapi metadata"+suffix, classesJars, stubFlagsCSV, m…
1192 buildRuleToGenerateIndex(ctx, "modular hiddenapi index"+suffix, classesJars, indexCSV)
1200 removedDexSignatures := buildRuleToGenerateRemovedDexSignatures(ctx, suffix, input.RemovedTxtFiles)
[all …]
/build/bazel/scripts/
Delf_compare.sh70 declare -r reffiles=$(mktemp --suffix=.ref) ourfiles=$(mktemp --suffix=.our)
/build/bazel/rules/tradefed/
Dtradefed_test.bzl274 suffix = "64"
288 suffix = suffix,
297 suffix = suffix,
350 suffix = "64"
356 suffix = suffix,
364 suffix = suffix,
/build/make/core/
Dmulti_prebuilt.mk72 $(eval LOCAL_BUILT_MODULE_STEM := $(LOCAL_MODULE)$(suffix $(LOCAL_SRC_FILES))) \
77 $(eval LOCAL_MODULE_SUFFIX := $(suffix $(LOCAL_SRC_FILES))) \
/build/soong/snapshot/
DAndroid.bp15 // file suffix for files that are generating snapshots.
/build/soong/ui/build/
Dcleanbuild.go174 suffix := "\n"
175 currentConfig := prefix + config.TargetProduct() + "-" + config.TargetBuildVariant() + suffix
211 previousProductAndVariant := strings.TrimPrefix(strings.TrimSuffix(previousConfig, suffix), prefix)
212 currentProductAndVariant := strings.TrimPrefix(strings.TrimSuffix(currentConfig, suffix), prefix)
/build/soong/mk2rbc/mk2rbc/
Dmk2rbc.go44 suffix = flag.String("suffix", ".rbc", "generated files' suffix") var
97 if *suffix == ".mk" {
100 if *suffix == "" {
121 if (*suffix)[0] != '.' {
122 *suffix = "." + *suffix
333 OutputSuffix: *suffix,
398 path := strings.TrimSuffix(mkFile, filepath.Ext(mkFile)) + *suffix
/build/bazel/rules/java/stub_local_jdk/
DBUILD.bazel4 # a WORKSPACE suffix added by the Bazel binary, but are unused.
/build/soong/rust/
Dandroidmk.go175 stem, suffix, _ := android.SplitFileExt(file)
176 entries.SetString("LOCAL_MODULE_SUFFIX", suffix)
203 stem, suffix, _ := android.SplitFileExt(file)
204 entries.SetString("LOCAL_MODULE_SUFFIX", suffix)
/build/soong/cc/libbuildversion/tests/
DAndroid.bp82 suffix: "_host",

1234