Home
last modified time | relevance | path

Searched refs:Mode (Results 1 – 21 of 21) sorted by relevance

/build/soong/third_party/zip/
Dwriter_test.go22 Mode os.FileMode member
30 Mode: 0666,
36 Mode: 0644,
42 Mode: 0755 | os.ModeSetuid,
48 Mode: 0755 | os.ModeSetgid,
54 Mode: 0755 | os.ModeSymlink,
148 if wt.Mode != 0 {
149 header.SetMode(wt.Mode)
165 testFileMode(t, wt.Name, f, wt.Mode)
Dreader_test.go31 Mode os.FileMode member
69 Mode: 0644,
75 Mode: 0644,
87 Mode: 0644,
93 Mode: 0644,
105 Mode: 0666,
115 Mode: 0777 | os.ModeSymlink,
133 Mode: 0666,
156 Mode: 0644,
162 Mode: 0644,
[all …]
Dstruct.go110 func (fi headerFileInfo) IsDir() bool { return fi.Mode().IsDir() }
112 func (fi headerFileInfo) Mode() os.FileMode { return fi.fh.Mode() } func
127 fh.SetMode(fi.Mode())
209 func (h *FileHeader) Mode() (mode os.FileMode) { func
/build/soong/cmd/diff_target_files/
Dzip_artifact.go119 if zf.Mode().IsRegular() {
120 w, err := os.OpenFile(path, os.O_CREATE|os.O_WRONLY, zf.Mode())
132 } else if zf.Mode()&os.ModeSymlink != 0 {
145 d.err = fmt.Errorf("unknown mode %q", zf.Mode())
/build/soong/cmd/zipsync/
Dzipsync.go135 if f.FileInfo().Mode()&os.ModeSymlink != 0 {
138 must(writeFile(filename, in, f.FileInfo().Mode()))
/build/blueprint/pathtools/
Dfs_test.go409 if got.Mode()&os.ModeType != test.mode {
411 test.name, test.mode, got.Mode()&os.ModeType)
477 if got.Mode()&os.ModeType != test.mode {
479 test.name, test.mode, got.Mode()&os.ModeType)
Dfs.go193 return info.Mode()&os.ModeSymlink != 0, nil
398 func (ms *mockStat) IsDir() bool { return ms.Mode().IsDir() }
400 func (ms *mockStat) Mode() os.FileMode { return ms.mode } func
547 if info.Mode()&os.ModeSymlink != 0 {
/build/soong/finder/fs/
Dfs_test.go42 if g, w := stat.Mode(), wantMode; g != w {
Dreaddir.go179 return stat.Mode() & (os.ModeType | os.ModeCharDevice), nil
Dfs.go75 Mode() os.FileMode // the file type encoded as an os.FileMode methodSpec
88 func (d *dirEntryInfo) Mode() os.FileMode { return d.mode } func
397 func (m *mockFileInfo) Mode() os.FileMode { func
/build/soong/bp2build/
Dbuild_conversion.go108 func (c *CodegenContext) Mode() CodegenMode { func
197 switch ctx.Mode() {
232 panic(fmt.Errorf("Unknown code-generation mode: %s", ctx.Mode()))
/build/soong/cmd/fileslist/
Dfileslist.go68 if n.stat.Mode()&os.ModeSymlink == 0 {
/build/soong/androidmk/parser/
Dparser.go82 p.scanner.Mode = scanner.ScanIdents
290 p.scanner.Mode = 0
292 p.scanner.Mode = scanner.ScanIdents
/build/soong/ui/build/
Dpath.go53 if m := info.Mode(); !m.IsDir() && m&0111 != 0 {
/build/soong/cmd/path_interposer/
Dmain.go39 if fi.Mode()&os.ModeSymlink != 0 {
/build/soong/zip/
Dzip.go622 } else if s.Mode()&os.ModeSymlink != 0 {
629 } else if s.Mode().IsRegular() {
651 executable = s.Mode()&0100 != 0
/build/soong/cmd/merge_zips/
Dmerge_zips_test.go331 ret += fmt.Sprintf("%v: %v %v %08x\n", f.Name, f.Mode(), f.UncompressedSize64, f.CRC32)
/build/soong/cmd/sbox/
Dsbox.go403 perm := stat.Mode()
/build/blueprint/parser/
Dparser.go117 p.scanner.Mode = scanner.ScanIdents | scanner.ScanInts | scanner.ScanStrings |
/build/soong/finder/
Dfinder.go1408 linkBits := child.Mode() & os.ModeSymlink
/build/blueprint/
Dcontext.go1041 isSymlink := stats.Mode()&os.ModeSymlink != 0