Home
last modified time | relevance | path

Searched refs:fi (Results 1 – 15 of 15) sorted by relevance

/build/soong/third_party/zip/
Dstruct.go103 func (fi headerFileInfo) Name() string { return path.Base(fi.fh.Name) }
104 func (fi headerFileInfo) Size() int64 {
105 if fi.fh.UncompressedSize64 > 0 {
106 return int64(fi.fh.UncompressedSize64)
108 return int64(fi.fh.UncompressedSize)
110 func (fi headerFileInfo) IsDir() bool { return fi.Mode().IsDir() }
111 func (fi headerFileInfo) ModTime() time.Time { return fi.fh.ModTime() }
112 func (fi headerFileInfo) Mode() os.FileMode { return fi.fh.Mode() }
113 func (fi headerFileInfo) Sys() interface{} { return fi.fh }
120 func FileInfoHeader(fi os.FileInfo) (*FileHeader, error) {
[all …]
Dzip_test.go67 fi := fh.FileInfo()
68 fh2, err := FileInfoHeader(fi)
88 if sysfh, ok := fi.Sys().(*FileHeader); !ok && sysfh != fh {
Dreader.go54 fi, err := f.Stat()
60 if err := r.init(f, fi.Size()); err != nil {
/build/soong/apex/
Dapex.go1073 for _, fi := range a.filesInfo {
1074 dir := filepath.Join("apex", ctx.ModuleName(), fi.installDir)
1075 …target := ctx.InstallFile(android.PathForModuleInstall(ctx, dir), fi.builtFile.Base(), fi.builtFil…
1076 for _, sym := range fi.symlinks {
1103 for _, fi := range a.filesInfo {
1104 if cc, ok := fi.module.(*cc.Module); ok && cc.Properties.HideFromMake {
1107 if !android.InList(fi.moduleName, moduleNames) {
1108 moduleNames = append(moduleNames, fi.moduleName)
1112 fmt.Fprintln(w, "LOCAL_MODULE :=", fi.moduleName)
1115 proptools.StringDefault(a.properties.Apex_name, name), fi.installDir)
[all …]
/build/kati/
Dpathutil.go186 fi, err := d.Stat()
193 if stat, ok := fi.Sys().(*syscall.Stat_t); ok {
202 fi, err := os.Lstat(path)
208 lmode := fi.Mode()
211 if stat, ok := fi.Sys().(*syscall.Stat_t); ok {
215 fi, err = os.Stat(path)
219 mode = fi.Mode()
220 if stat, ok := fi.Sys().(*syscall.Stat_t); ok {
Dexpr.cc207 explicit Func(FuncInfo* fi) : fi_(fi) {} in Func() argument
397 if (FuncInfo* fi = GetFuncInfo(lit->val())) { in ParseDollar() local
399 Func* func = new Func(fi); in ParseDollar()
Dpathutil_test.go309 cmd: `if [ -d testdir ] ; then find testdir ; fi`,
318 cmd: `if [ -d testdir ]; then find testdir; fi`,
327 cmd: `if [ -d testdir ]; then cd testdir && find .; fi`,
Dfunc.cc987 FuncInfo* fi = &g_func_infos[i]; in InitFuncTable() local
988 bool ok = g_func_info_map->emplace(fi->name, fi).second; in InitFuncTable()
/build/soong/cmd/path_interposer/
Dmain.go38 if fi, err := os.Lstat(interposer); err == nil {
39 if fi.Mode()&os.ModeSymlink != 0 {
/build/soong/ui/build/
Dsandbox_linux.go83 …-c", `if [ $(hostname) == "android-build" ]; then echo "Android" "Success"; else echo Failure; fi`)
/build/soong/dexpreopt/dexpreopt_gen/
Ddexpreopt_gen.go205 fi
/build/blueprint/microfactory/
Dmicrofactory.go265 foundPkgs, err := parser.ParseDir(token.NewFileSet(), path, func(fi os.FileInfo) bool {
266 name := fi.Name()
267 if fi.IsDir() || strings.HasSuffix(name, "_test.go") || name[0] == '.' || name[0] == '_' {
/build/soong/java/
Dbuilder.go49 `-d $outDir -s $annoDir @$out.rsp @$srcJarDir/list ; fi ) && ` +
72 `(if cmp -s $out.tmp $out ; then rm $out.tmp ; else mv $out.tmp $out ; fi )`,
/build/soong/dexpreopt/
Ddexpreopt.go82 Textf(`; else cp -f %s %s; fi`, module.StripInputPath, module.StripOutputPath)
/build/make/tools/droiddoc/templates-ndk/assets/js/
Dprettify.js20 …e,undef,unless,until,when,yield,BEGIN,END"],v=[v,"case,done,elif,esac,eval,fi,function,in,local,se…