/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 | paths.go | 143 genPathWithExt(ctx ModuleContext, subdir, ext string) ModuleGenPath 146 objPathWithExt(ctx ModuleContext, subdir, ext string) ModuleObjPath 154 func GenPathWithExt(ctx ModuleContext, subdir string, p Path, ext string) ModuleGenPath { 156 return path.genPathWithExt(ctx, subdir, ext) 164 func ObjPathWithExt(ctx ModuleContext, subdir string, p Path, ext string) ModuleObjPath { 166 return path.objPathWithExt(ctx, subdir, ext) 603 func (p Paths) HasExt(ext string) bool { 605 if path.Ext() == ext { 614 func (p Paths) FilterByExt(ext string) Paths { 617 if path.Ext() == ext { [all …]
|
D | util_test.go | 421 root, suffix, ext := SplitFileExt("libtest.so.1.0.30") 431 if ext != expected { 432 t.Errorf("ext should be %q but got %q", expected, ext) 437 root, suffix, ext := SplitFileExt("libtest.so.1svn") 447 if ext != expected { 448 t.Errorf("ext should be %q but got %q", expected, ext) 453 root, suffix, ext := SplitFileExt("libtest.1.0.30.so") 463 if ext != expected { 464 t.Errorf("ext should be %q but got %q", expected, ext) 469 root, suffix, ext := SplitFileExt("test.exe") [all …]
|
D | util.go | 373 ext := filepath.Ext(name) 374 root := strings.TrimSuffix(name, ext) 375 suffix = ext + suffix 377 return root, suffix, ext
|
D | androidmk.go | 247 ext := filepath.Ext(dest) 249 dest = strings.TrimSuffix(dest, ext) + suffix + ext
|
D | config.go | 486 ext := ".so" 488 ext = ".dylib" 490 return PathForOutput(ctx, "host", c.PrebuiltOS(), "lib64", path+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/soong/cc/ |
D | androidmk.go | 264 _, _, ext := android.SplitFileExt(entries.OutputFile.Path().Base()) 266 entries.SetString("LOCAL_BUILT_MODULE_STEM", "$(LOCAL_MODULE)"+ext) 481 _, _, ext := android.SplitFileExt(entries.OutputFile.Path().Base()) 483 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) 532 stem, suffix, ext := android.SplitFileExt(file) 533 entries.SetString("LOCAL_BUILT_MODULE_STEM", "$(LOCAL_MODULE)"+ext) 593 _, _, ext := android.SplitFileExt(entries.OutputFile.Path().Base()) 595 entries.SetString("LOCAL_BUILT_MODULE_STEM", "$(LOCAL_MODULE)"+ext)
|
D | ndk_prebuilt.go | 49 ext string, version string) android.Path { 55 return dir.Join(ctx, name+ext)
|
D | compiler.go | 539 func (compiler *baseCompiler) hasSrcExt(ext string) bool { 541 if src.Ext() == ext { 546 if filepath.Ext(src) == ext { 551 if filepath.Ext(src) == ext {
|
D | library.go | 426 ext := filepath.Ext(header) 427 if ext != "" && ext != ".h" { 440 for _, ext := range exts { 441 glob, err := ctx.GlobWithDeps(dir+"/**/*"+ext, nil)
|
/build/soong/java/ |
D | dexpreopt_bootjars_test.go | 122 for _, ext := range []string{".art", ".oat", ".vdex"} { 125 …bootjars", target.Os.String(), "system/framework", target.Arch.ArchType.String(), "boot-"+jar+ext))
|
D | dexpreopt_bootjars.go | 136 for _, ext := range exts { 137 ret = append(ret, dir.Join(ctx, name+ext))
|
D | java.go | 807 func hasSrcExt(srcs []string, ext string) bool { 809 if filepath.Ext(src) == ext { 817 func (j *Module) hasSrcExt(ext string) bool { 818 return hasSrcExt(j.properties.Srcs, ext)
|
/build/make/tools/zipalign/ |
D | ZipAlign.cpp | 56 const char* ext = strrchr(pEntry->getFileName(), '.'); in getAlignment() local 57 if (ext && strcmp(ext, ".so") == 0) { in getAlignment()
|
/build/soong/java/config/ |
D | config.go | 202 ext := ".so" 204 ext = ".dylib" 206 return filepath.Join("prebuilts/sdk/tools", runtime.GOOS, "lib64", tool+ext)
|
/build/make/target/product/ |
D | runtime_libart.mk | 25 ext \
|
D | base_system.mk | 323 ext \
|
/build/make/tools/releasetools/ |
D | test_common.py | 846 certmap, ext = common.ReadApkCerts(input_zip) 849 self.assertIsNone(ext) 859 certmap, ext = common.ReadApkCerts(input_zip) 862 self.assertEqual('.gz', ext) 869 certmap, ext = common.ReadApkCerts(input_zip) 872 self.assertEqual('.xz', ext) 880 certmap, ext = common.ReadApkCerts(input_zip) 885 self.assertEqual('.gz', ext) 908 certmap, ext = common.ReadApkCerts(input_zip) 911 self.assertIsNone(ext)
|
D | add_img_to_target_files.py | 685 _, ext = os.path.splitext(img_name) 686 if not ext:
|
D | add_img_to_target_files | 685 _, ext = os.path.splitext(img_name) 686 if not ext:
|
/build/soong/python/ |
D | python.go | 284 func hasSrcExt(srcs []string, ext string) bool { 286 if filepath.Ext(src) == ext { 294 func (p *Module) hasSrcExt(ctx android.BottomUpMutatorContext, ext string) bool {
|
/build/make/core/tasks/check_boot_jars/ |
D | package_allowed_list.txt | 118 org\.xml\.sax\.ext 136 # ext.jar
|
/build/make/core/ |
D | definitions.mk | 1474 ext=$$subdir/; \ 1478 ext=; \ 1480 $($(PRIVATE_2ND_ARCH_VAR_PREFIX)TARGET_AR) p $$lib_to_include $$f > $$ldir/$$ext$$f; \ 1481 filelist="$$filelist $$ldir/$$ext$$f"; \ 1533 ext=$$subdir/; \ 1537 ext=; \ 1539 … $($(PRIVATE_2ND_ARCH_VAR_PREFIX)$(PRIVATE_PREFIX)AR) p $$lib_to_include $$f > $$ldir/$$ext$$f; \ 1540 filelist="$$filelist $$ldir/$$ext$$f"; \
|