Home
last modified time | relevance | path

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

12

/build/bazel/rules/
Dcc_constants.bzl9 _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/
Dlists_test.go23 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/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/
Dutil_test.go430 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 …]
Dpaths.go218 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 …]
Dbazel_paths.go347 func (p BazelOutPath) objPathWithExt(ctx ModuleOutPathContext, subdir, ext string) ModuleObjPath {
348 return PathForModuleObj(ctx, subdir, pathtools.ReplaceExtension(p.path, ext))
Dandroidmk.go411 ext := filepath.Ext(dest)
413 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.cpp34 const char* ext = strrchr(pEntry->getFileName(), '.'); in getAlignment() local
35 if (ext && strcmp(ext, ".so") == 0) { in getAlignment()
/build/soong/java/
Ddexpreopt_bootjars_test.go117 for _, ext := range []string{".art", ".oat", ".vdex"} {
120 …bootjars", target.Os.String(), "system/framework", target.Arch.ArchType.String(), "boot-"+jar+ext))
/build/soong/java/config/
Dconfig.go204 ext := ".so"
206 ext = ".dylib"
208 return filepath.Join("prebuilts/sdk/tools", runtime.GOOS, "lib64", tool+ext)
/build/soong/bazel/
Daquery.go143 ext := filepath.Ext(outputPath)
144 if ext == ".d" {
/build/soong/cc/
Dndk_prebuilt.go49 ext string, version string) android.Path {
55 return dir.Join(ctx, name+ext)
Dandroidmk.go266 _, _, 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)
Dvendor_snapshot.go411 ext := filepath.Ext(stem)
412 stem = strings.TrimSuffix(stem, ext) + ".cfi" + ext
Dcompiler.go591 func (compiler *baseCompiler) hasSrcExt(ext string) bool {
593 if src.Ext() == ext {
598 if filepath.Ext(src) == ext {
603 if filepath.Ext(src) == ext {
Dlibrary.go625 ext := filepath.Ext(header)
626 if ext != "" && ext != ".h" {
650 for _, ext := range headerExts {
651 if strings.HasSuffix(header, ext) {
/build/make/target/product/
Ddefault_art_config.mk43 ext \
Druntime_libart.mk27 ext \
/build/soong/python/
Dpython.go339 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/
Dtest_common.py890 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)
Dadd_img_to_target_files.py622 _, ext = os.path.splitext(img_name)
623 if not ext:
/build/soong/scripts/check_boot_jars/
Dpackage_allowed_list.txt118 org\.xml\.sax\.ext
134 # ext.jar
/build/make/core/
Ddefinitions.mk1612 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"; \

12