Home
last modified time | relevance | path

Searched refs:ext (Results 1 – 25 of 27) sorted by relevance

12

/build/make/tools/
Dfat16copy.py168 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/
Dextract_jar_packages.go68 ext := filepath.Ext(f.Name)
69 if ext == ".java" || ext == ".class" {
/build/soong/android/
Dpaths.go143 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 …]
Dutil_test.go421 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 …]
Dutil.go373 ext := filepath.Ext(name)
374 root := strings.TrimSuffix(name, ext)
375 suffix = ext + suffix
377 return root, suffix, ext
Dandroidmk.go247 ext := filepath.Ext(dest)
249 dest = strings.TrimSuffix(dest, ext) + suffix + ext
Dconfig.go486 ext := ".so"
488 ext = ".dylib"
490 return PathForOutput(ctx, "host", c.PrebuiltOS(), "lib64", path+ext)
/build/soong/ui/logger/
Dlogger.go80 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/
Dandroidmk.go264 _, _, 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)
Dndk_prebuilt.go49 ext string, version string) android.Path {
55 return dir.Join(ctx, name+ext)
Dcompiler.go539 func (compiler *baseCompiler) hasSrcExt(ext string) bool {
541 if src.Ext() == ext {
546 if filepath.Ext(src) == ext {
551 if filepath.Ext(src) == ext {
Dlibrary.go426 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/
Ddexpreopt_bootjars_test.go122 for _, ext := range []string{".art", ".oat", ".vdex"} {
125 …bootjars", target.Os.String(), "system/framework", target.Arch.ArchType.String(), "boot-"+jar+ext))
Ddexpreopt_bootjars.go136 for _, ext := range exts {
137 ret = append(ret, dir.Join(ctx, name+ext))
Djava.go807 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/
DZipAlign.cpp56 const char* ext = strrchr(pEntry->getFileName(), '.'); in getAlignment() local
57 if (ext && strcmp(ext, ".so") == 0) { in getAlignment()
/build/soong/java/config/
Dconfig.go202 ext := ".so"
204 ext = ".dylib"
206 return filepath.Join("prebuilts/sdk/tools", runtime.GOOS, "lib64", tool+ext)
/build/make/target/product/
Druntime_libart.mk25 ext \
Dbase_system.mk323 ext \
/build/make/tools/releasetools/
Dtest_common.py846 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)
Dadd_img_to_target_files.py685 _, ext = os.path.splitext(img_name)
686 if not ext:
Dadd_img_to_target_files685 _, ext = os.path.splitext(img_name)
686 if not ext:
/build/soong/python/
Dpython.go284 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/
Dpackage_allowed_list.txt118 org\.xml\.sax\.ext
136 # ext.jar
/build/make/core/
Ddefinitions.mk1474 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"; \

12