/build/bazel/rules/ |
D | cc_constants.bzl | 9 _HDR_EXTS_WITH_DOT = ["." + ext for ext in _HDR_EXTS] 10 _SRC_EXTS_WITH_DOT = ["." + ext for ext in _SRC_EXTS] 11 _ALL_EXTS_WITH_DOT = ["." + ext for ext in _ALL_EXTS]
|
/build/blueprint/pathtools/ |
D | lists_test.go | 23 from, ext, to string 35 got := ReplaceExtension(test.from, test.ext) 37 t.Errorf("ReplaceExtension(%v, %v) = %v; want: %v", test.from, test.ext, got, test.to)
|
/build/make/tools/ |
D | fat16copy.py | 168 def add_dentry(self, attributes, shortname, ext, longname, first_cluster, argument 181 new_dentry = dentry(self.backing.fs, attributes, shortname, ext, 198 ext = parts[1].upper() 209 if len(name) <= 8 and len(ext) <= 3 and not '.' in name: 210 return (name.upper().ljust(8), ext.ljust(3)) 212 return (shortened.ljust(8), ext[:3].ljust(3)) 227 (shortname, ext) = self.make_short_name(name) 228 self.add_dentry(0, shortname, ext, name, chunk, size) 248 (shortname, ext) = self.make_short_name(name) 250 ext, name, chunk, 0) [all …]
|
/build/soong/cmd/extract_jar_packages/ |
D | extract_jar_packages.go | 68 ext := filepath.Ext(f.Name) 69 if ext == ".java" || ext == ".class" {
|
/build/soong/android/ |
D | util_test.go | 430 root, suffix, ext := SplitFileExt("libtest.so.1.0.30") 440 if ext != expected { 441 t.Errorf("ext should be %q but got %q", expected, ext) 446 root, suffix, ext := SplitFileExt("libtest.so.1svn") 456 if ext != expected { 457 t.Errorf("ext should be %q but got %q", expected, ext) 462 root, suffix, ext := SplitFileExt("libtest.1.0.30.so") 472 if ext != expected { 473 t.Errorf("ext should be %q but got %q", expected, ext) 478 root, suffix, ext := SplitFileExt("test.exe") [all …]
|
D | paths.go | 218 ReplaceExtension(ctx PathContext, ext string) OutputPath 222 genPathWithExt(ctx ModuleOutPathContext, subdir, ext string) ModuleGenPath 225 objPathWithExt(ctx ModuleOutPathContext, subdir, ext string) ModuleObjPath 233 func GenPathWithExt(ctx ModuleOutPathContext, subdir string, p Path, ext string) ModuleGenPath { 235 return path.genPathWithExt(ctx, subdir, ext) 243 func ObjPathWithExt(ctx ModuleOutPathContext, subdir string, p Path, ext string) ModuleObjPath { 245 return path.objPathWithExt(ctx, subdir, ext) 795 func (p Paths) HasExt(ext string) bool { 797 if path.Ext() == ext { 806 func (p Paths) FilterByExt(ext string) Paths { [all …]
|
D | util.go | 402 ext := filepath.Ext(name) 403 root := strings.TrimSuffix(name, ext) 404 suffix = ext + suffix 406 return root, suffix, ext
|
D | bazel_paths.go | 347 func (p BazelOutPath) objPathWithExt(ctx ModuleOutPathContext, subdir, ext string) ModuleObjPath { 348 return PathForModuleObj(ctx, subdir, pathtools.ReplaceExtension(p.path, ext))
|
D | androidmk.go | 411 ext := filepath.Ext(dest) 413 dest = strings.TrimSuffix(dest, ext) + suffix + ext
|
/build/soong/ui/logger/ |
D | logger.go | 80 func fileRotation(from, baseName, ext string, cur, max int) error { 81 newName := baseName + "." + strconv.Itoa(cur) + ext 85 fileRotation(newName, baseName, ext, cur+1, max) 113 ext := filepath.Ext(filename) 114 basename := filename[:len(filename)-len(ext)] 115 if err = fileRotation(filename, basename, ext, 1, maxCount); err != nil {
|
/build/make/tools/zipalign/ |
D | ZipAlign.cpp | 34 const char* ext = strrchr(pEntry->getFileName(), '.'); in getAlignment() local 35 if (ext && strcmp(ext, ".so") == 0) { in getAlignment()
|
/build/soong/java/ |
D | dexpreopt_bootjars_test.go | 117 for _, ext := range []string{".art", ".oat", ".vdex"} { 120 …bootjars", target.Os.String(), "system/framework", target.Arch.ArchType.String(), "boot-"+jar+ext))
|
D | dexpreopt_bootjars.go | 354 for _, ext := range exts { 355 ret = append(ret, dir.Join(ctx, name+ext))
|
/build/soong/java/config/ |
D | config.go | 206 ext := ".so" 208 ext = ".dylib" 210 return filepath.Join("prebuilts/sdk/tools", runtime.GOOS, "lib64", tool+ext)
|
/build/soong/bazel/ |
D | aquery.go | 143 ext := filepath.Ext(outputPath) 144 if ext == ".d" {
|
/build/soong/cc/ |
D | ndk_prebuilt.go | 49 ext string, version string) android.Path { 55 return dir.Join(ctx, name+ext)
|
D | androidmk.go | 266 _, _, ext := android.SplitFileExt(entries.OutputFile.Path().Base()) 268 entries.SetString("LOCAL_BUILT_MODULE_STEM", "$(LOCAL_MODULE)"+ext) 499 stem, suffix, ext := android.SplitFileExt(file) 500 entries.SetString("LOCAL_BUILT_MODULE_STEM", "$(LOCAL_MODULE)"+ext) 538 stem, suffix, ext := android.SplitFileExt(file) 539 entries.SetString("LOCAL_BUILT_MODULE_STEM", "$(LOCAL_MODULE)"+ext)
|
D | vendor_snapshot.go | 411 ext := filepath.Ext(stem) 412 stem = strings.TrimSuffix(stem, ext) + ".cfi" + ext
|
D | compiler.go | 591 func (compiler *baseCompiler) hasSrcExt(ext string) bool { 593 if src.Ext() == ext { 598 if filepath.Ext(src) == ext { 603 if filepath.Ext(src) == ext {
|
/build/make/target/product/ |
D | default_art_config.mk | 43 ext \
|
D | runtime_libart.mk | 27 ext \
|
/build/soong/python/ |
D | python.go | 339 func anyHasExt(paths []string, ext string) bool { 341 if filepath.Ext(p) == ext { 349 func (p *Module) anySrcHasExt(ctx android.BottomUpMutatorContext, ext string) bool { 350 return anyHasExt(p.properties.Srcs, ext)
|
/build/make/tools/releasetools/ |
D | test_common.py | 890 certmap, ext = common.ReadApkCerts(input_zip) 893 self.assertIsNone(ext) 903 certmap, ext = common.ReadApkCerts(input_zip) 906 self.assertEqual('.gz', ext) 913 certmap, ext = common.ReadApkCerts(input_zip) 916 self.assertEqual('.xz', ext) 924 certmap, ext = common.ReadApkCerts(input_zip) 929 self.assertEqual('.gz', ext) 952 certmap, ext = common.ReadApkCerts(input_zip) 955 self.assertIsNone(ext)
|
/build/soong/scripts/check_boot_jars/ |
D | package_allowed_list.txt | 118 org\.xml\.sax\.ext 134 # ext.jar
|
/build/make/core/ |
D | definitions.mk | 1612 ext=$$subdir/; \ 1616 ext=; \ 1618 $($(PRIVATE_2ND_ARCH_VAR_PREFIX)TARGET_AR) p $$lib_to_include $$f > $$ldir/$$ext$$f; \ 1619 filelist="$$filelist $$ldir/$$ext$$f"; \ 1671 ext=$$subdir/; \ 1675 ext=; \ 1677 … $($(PRIVATE_2ND_ARCH_VAR_PREFIX)$(PRIVATE_PREFIX)AR) p $$lib_to_include $$f > $$ldir/$$ext$$f; \ 1678 filelist="$$filelist $$ldir/$$ext$$f"; \
|