/aosp12/build/soong/third_party/zip/ |
H A D | struct.go | 112 func (fi headerFileInfo) Mode() os.FileMode { return fi.fh.Mode() } 209 func (h *FileHeader) Mode() (mode os.FileMode) { 223 func (h *FileHeader) SetMode(mode os.FileMode) { argument 241 func msdosModeToFileMode(m uint32) (mode os.FileMode) { 253 func fileModeToUnixMode(mode os.FileMode) uint32 { argument 285 func unixModeToFileMode(m uint32) os.FileMode { 286 mode := os.FileMode(m & 0777)
|
H A D | writer_test.go | 22 Mode os.FileMode
|
H A D | reader_test.go | 31 Mode os.FileMode 443 func testFileMode(t *testing.T, zipName string, f *File, want os.FileMode) { argument
|
/aosp12/packages/modules/Virtualization/authfs/src/ |
H A D | fusefs.rs | 110 enum FileMode { enum 115 fn create_stat(ino: libc::ino_t, file_size: u64, file_mode: FileMode) -> io::Result<libc::stat64> { in create_stat() 121 FileMode::ReadOnly => libc::S_IFREG | libc::S_IRUSR, in create_stat() 122 FileMode::ReadWrite => libc::S_IFREG | libc::S_IRUSR | libc::S_IWUSR, in create_stat() 214 create_stat(inode, *file_size, FileMode::ReadOnly)? in lookup() 217 create_stat(inode, editor.size(), FileMode::ReadWrite)? in lookup() 241 create_stat(inode, *file_size, FileMode::ReadOnly)? in getattr() 244 create_stat(inode, editor.size(), FileMode::ReadWrite)? in getattr() 341 let mut new_attr = create_stat(inode, editor.size(), FileMode::ReadWrite)?; in setattr()
|
/aosp12/build/soong/finder/fs/ |
H A D | readdir.go | 173 func lstatFileMode(name string) (os.FileMode, error) { 194 func direntTypeToFileMode(typ uint64) (os.FileMode, bool) { 196 var mode os.FileMode
|
H A D | fs.go | 63 WriteFile(path string, data []byte, perm os.FileMode) (err error) 75 Mode() os.FileMode // the file type encoded as an os.FileMode 81 mode os.FileMode 88 func (d *dirEntryInfo) Mode() os.FileMode { return d.mode } 123 func (osFs) WriteFile(path string, data []byte, perm os.FileMode) error { argument 384 mode os.FileMode 397 func (m *mockFileInfo) Mode() os.FileMode { 685 func (m *MockFs) WriteFile(filePath string, data []byte, perm os.FileMode) error { argument
|
H A D | fs_test.go | 33 …ertStat := func(t *testing.T, stat os.FileInfo, err error, wantName string, wantMode os.FileMode) {
|
/aosp12/build/soong/cmd/zipsync/ |
H A D | zipsync.go | 42 func writeFile(filename string, in io.Reader, perm os.FileMode) error { argument
|
/aosp12/build/blueprint/pathtools/ |
H A D | fs_test.go | 356 mode os.FileMode 424 mode os.FileMode
|
H A D | fs.go | 394 mode os.FileMode 400 func (ms *mockStat) Mode() os.FileMode { return ms.mode }
|
H A D | glob.go | 375 func WriteFileIfChanged(filename string, data []byte, perm os.FileMode) error { argument
|
/aosp12/build/soong/cmd/merge_zips/ |
H A D | merge_zips_test.go | 31 mode os.FileMode
|
/aosp12/frameworks/base/core/java/android/content/ |
H A D | Context.java | 117 public @interface FileMode {} annotation in Context 1066 public abstract FileOutputStream openFileOutput(String name, @FileMode int mode) in openFileOutput() 1738 public abstract File getDir(String name, @FileMode int mode); in getDir()
|
/aosp12/build/soong/android/ |
H A D | paths.go | 1983 func WriteFileToOutputDir(path WritablePath, data []byte, perm os.FileMode) error { argument 1991 func CreateOutputDirIfNonexistent(path WritablePath, perm os.FileMode) error { argument
|
/aosp12/build/soong/zip/ |
H A D | zip.go | 659 mode := os.FileMode(0644)
|