Home
last modified time | relevance | path

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

/build/soong/cc/
Dutil_test.go23 root, suffix, ext := splitFileExt("libtest.so.1.0.30")
33 if ext != expected {
34 t.Errorf("ext should be %q but got %q", expected, ext)
39 root, suffix, ext := splitFileExt("libtest.so.1svn")
49 if ext != expected {
50 t.Errorf("ext should be %q but got %q", expected, ext)
55 root, suffix, ext := splitFileExt("libtest.1.0.30.so")
65 if ext != expected {
66 t.Errorf("ext should be %q but got %q", expected, ext)
71 root, suffix, ext := splitFileExt("test.exe")
[all …]
Dutil.go126 ext := filepath.Ext(name)
127 root := strings.TrimSuffix(name, ext)
128 suffix = ext + suffix
130 return root, suffix, ext
Dandroidmk.go181 _, _, ext := splitFileExt(outputFile.Base())
183 fmt.Fprintln(w, "LOCAL_BUILT_MODULE_STEM := $(LOCAL_MODULE)"+ext)
335 _, _, ext := splitFileExt(outputFile.Base())
337 fmt.Fprintln(w, "LOCAL_BUILT_MODULE_STEM := $(LOCAL_MODULE)"+ext)
354 stem, suffix, ext := splitFileExt(file)
355 fmt.Fprintln(w, "LOCAL_BUILT_MODULE_STEM := $(LOCAL_MODULE)"+ext)
372 _, _, ext := splitFileExt(outputFile.Base())
374 fmt.Fprintln(w, "LOCAL_BUILT_MODULE_STEM := $(LOCAL_MODULE)"+ext)
Dndk_prebuilt.go49 ext string, version string) android.Path {
55 return dir.Join(ctx, name+ext)
Dcompiler.go523 func (compiler *baseCompiler) hasSrcExt(ext string) bool {
525 if src.Ext() == ext {
530 if filepath.Ext(src) == ext {
535 if filepath.Ext(src) == ext {
Dpylintrc219 ext-import-graph=
/build/soong/cmd/extract_jar_packages/
Dextract_jar_packages.go68 ext := filepath.Ext(f.Name)
69 if ext == ".java" || ext == ".class" {
/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/android/
Dpaths.go117 genPathWithExt(ctx ModuleContext, subdir, ext string) ModuleGenPath
120 objPathWithExt(ctx ModuleContext, subdir, ext string) ModuleObjPath
128 func GenPathWithExt(ctx ModuleContext, subdir string, p Path, ext string) ModuleGenPath {
130 return path.genPathWithExt(ctx, subdir, ext)
138 func ObjPathWithExt(ctx ModuleContext, subdir string, p Path, ext string) ModuleObjPath {
140 return path.objPathWithExt(ctx, subdir, ext)
480 func (p Paths) HasExt(ext string) bool {
482 if path.Ext() == ext {
491 func (p Paths) FilterByExt(ext string) Paths {
494 if path.Ext() == ext {
[all …]
Dpackage_ctx.go193 ext := ".so"
195 ext = ".dylib"
197 return PathForOutput(ctx, "host", ctx.Config().PrebuiltOS(), "lib64", path+ext)
Dandroidmk.go244 ext := filepath.Ext(dest)
246 dest = strings.TrimSuffix(dest, ext) + suffix + 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/make/tools/zipalign/
DZipAlign.cpp56 const char* ext = strrchr(pEntry->getFileName(), '.'); in getAlignment() local
57 if (ext && strcmp(ext, ".so") == 0) { in getAlignment()
/build/make/target/product/
Druntime_libart.mk34 ext \
Dbase_system.mk320 ext \
/build/make/tools/releasetools/
Dtest_common.py509 certmap, ext = common.ReadApkCerts(input_zip)
512 self.assertIsNone(ext)
522 certmap, ext = common.ReadApkCerts(input_zip)
525 self.assertEqual('.gz', ext)
532 certmap, ext = common.ReadApkCerts(input_zip)
535 self.assertEqual('.xz', ext)
543 certmap, ext = common.ReadApkCerts(input_zip)
548 self.assertEqual('.gz', ext)
Dadd_img_to_target_files638 _, ext = os.path.splitext(img_name)
639 if not ext:
Dadd_img_to_target_files.py638 _, ext = os.path.splitext(img_name)
639 if not ext:
Dcommon.py1771 ext = os.path.splitext(tf.name)[1]
1772 diff_program = DIFF_PROGRAM_BY_EXT.get(ext, "bsdiff")
1777 ext = os.path.splitext(tf.name)[1]
Dpylintrc348 ext-import-graph=
/build/soong/python/
Dpython.go265 func hasSrcExt(srcs []string, ext string) bool {
267 if filepath.Ext(src) == ext {
275 func (p *Module) hasSrcExt(ctx android.BottomUpMutatorContext, ext string) bool {
/build/make/core/tasks/check_boot_jars/
Dpackage_whitelist.txt114 org\.xml\.sax\.ext
132 # ext.jar
/build/make/core/
Ddefinitions.mk1450 ext=$$subdir/; \
1454 ext=; \
1456 $($(PRIVATE_2ND_ARCH_VAR_PREFIX)TARGET_AR) p $$lib_to_include $$f > $$ldir/$$ext$$f; \
1457 filelist="$$filelist $$ldir/$$ext$$f"; \
1505 ext=$$subdir/; \
1509 ext=; \
1511 $(PRIVATE_AR) p $$lib_to_include $$f > $$ldir/$$ext$$f; \
1512 filelist="$$filelist $$ldir/$$ext$$f"; \
1592 ext=$$subdir/; \
1596 ext=; \
[all …]
/build/soong/java/
Djava.go523 func hasSrcExt(srcs []string, ext string) bool {
525 if filepath.Ext(src) == ext {
545 func (j *Module) hasSrcExt(ext string) bool {
546 return hasSrcExt(j.properties.Srcs, ext)