Home
last modified time | relevance | path

Searched +defs:file +defs:rename (Results 1 – 20 of 20) sorted by relevance

/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/io/
DFileSystem.java108 Source source(File file) throws FileNotFoundException; in source()
114 Sink sink(File file) throws FileNotFoundException; in sink()
120 Sink appendingSink(File file) throws FileNotFoundException; in appendingSink()
123 void delete(File file) throws IOException; in delete()
126 boolean exists(File file) throws IOException; in exists()
129 long size(File file); in size()
132 void rename(File from, File to) throws IOException; in rename() method
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/io/
DFileSystem.java106 Source source(File file) throws FileNotFoundException; in source()
112 Sink sink(File file) throws FileNotFoundException; in sink()
118 Sink appendingSink(File file) throws FileNotFoundException; in appendingSink()
121 void delete(File file) throws IOException; in delete()
124 boolean exists(File file) throws IOException; in exists()
127 long size(File file); in size()
130 void rename(File from, File to) throws IOException; in rename() method
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/
DFaultyFileSystem.java37 public void setFaulty(File file, boolean faulty) { in setFaulty()
45 @Override public Source source(File file) throws FileNotFoundException { in source()
49 @Override public Sink sink(File file) throws FileNotFoundException { in sink()
53 @Override public Sink appendingSink(File file) throws FileNotFoundException { in appendingSink()
57 @Override public void delete(File file) throws IOException { in delete()
61 @Override public boolean exists(File file) throws IOException { in exists()
65 @Override public long size(File file) { in size()
69 @Override public void rename(File from, File to) throws IOException { in rename() method in FaultyFileSystem
78 private final File file; field in FaultyFileSystem.FaultySink
80 public FaultySink(Sink delegate, File file) { in FaultySink()
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/backends/
DJavaFileBackend.java60 File file = FileUriAdapter.instance().toFile(uri); in openForRead() local
66 File file = FileUriAdapter.instance().toFile(uri); in openForNativeRead() local
73 File file = FileUriAdapter.instance().toFile(uri); in openForWrite() local
80 File file = FileUriAdapter.instance().toFile(uri); in openForAppend() local
87 File file = FileUriAdapter.instance().toFile(uri); in deleteFile() local
112 public void rename(Uri from, Uri to) throws IOException { in rename() method in JavaFileBackend
123 File file = FileUriAdapter.instance().toFile(uri); in exists() local
129 File file = FileUriAdapter.instance().toFile(uri); in isDirectory() local
135 File file = FileUriAdapter.instance().toFile(uri); in createDirectory() local
143 File file = FileUriAdapter.instance().toFile(uri); in fileSize() local
/external/sl4a/Utils/src/com/googlecode/android_scripting/
DFileUtils.java94 File file = new File(name); in copyFromStream() local
140 public static boolean rename(File file, String name) { in rename() method in FileUtils
144 public static String readToString(File file) throws IOException { in readToString()
/external/rust/crates/tokio/src/fs/
Dmod.rs57 mod file; module
90 mod rename; module
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
DScriptManager.java220 File file = (File) mAdapter.getItem(info.position); in onContextItemSelected() local
361 final File file = (File) list.getItemAtPosition(position); in onListItemClick() local
423 private void delete(final File file) { in delete()
472 private void rename(final File file) { in rename() method in ScriptManager
/external/crosvm/common/p9/src/server/
Dmod.rs157 file: Option<File>, field
642 let file = self in read() localVariable
667 let file = self in write() localVariable
723 let file = open_fid(&self.proc, &fid.path, lopen.flags)?; in lopen() localVariable
759 let file = unsafe { File::from_raw_fd(fd) }; in lcreate() localVariable
786 fn rename(&mut self, _rename: &Trename) -> io::Result<()> { in rename() method
870 let file = if fid.filetype == FileType::Directory { in set_attr() localVariable
1002 let file = self in fsync() localVariable
/external/python/cpython3/Lib/
Dftplib.py103 file = None variable in FTP
599 def rename(self, fromname, toname): member in FTP
/external/crosvm/devices/src/virtio/fs/
Dpassthrough.rs218 file: Mutex<(File, libc::c_int)>, field
232 file: Mutex<File>, field
974 let file = Mutex::new(self.open_inode(&inode_data, flags as i32)?); in do_open() localVariable
1082 let file = inode.file.lock(); in do_getxattr() localVariable
1353 let mut file = inode_data.file.lock(); in enable_verity() localVariable
1378 let mut file = data.file.lock(); in enable_verity() localVariable
1893 let file = unsafe { File::from_raw_descriptor(fd) }; in create() localVariable
1936 let mut file = data.file.lock(); in read() localVariable
1992 let mut file = data.file.lock(); in write() localVariable
2158 fn rename( in rename() method
[all …]
/external/python/cpython2/Lib/
Dftplib.py108 file = None variable in FTP
548 def rename(self, fromname, toname): member in FTP
/external/armnn/third-party/ghc/
Dfilesystem.hpp1750 …std::shared_ptr<void> file(CreateFileW(p.wstring().c_str(), 0, FILE_SHARE_READ | FILE_SHARE_WRITE … in resolveSymlink() local
3721 …std::shared_ptr<void> file(::CreateFileW(p.wstring().c_str(), 0, FILE_SHARE_READ | FILE_SHARE_WRIT… in hard_link_count() local
3929 …std::shared_ptr<void> file(::CreateFileW(p.wstring().c_str(), FILE_WRITE_ATTRIBUTES, FILE_SHARE_DE… in last_write_time() local
4187 GHC_INLINE void rename(const path& from, const path& to) in rename() function
4196 GHC_INLINE void rename(const path& from, const path& to, std::error_code& ec) noexcept in rename() function
4237 …std::shared_ptr<void> file(CreateFileW(detail::fromUtf8<std::wstring>(p.u8string()).c_str(), GENER… in resize_file() local
/external/python/google-api-python-client/googleapiclient/discovery_cache/documents/
Ddriveactivity.v2.json202 "rename": { object
553 "file": { object
592 "file": { object
/external/libbpf/.github/actions/build-selftests/
Dvmlinux.h3216 struct file { struct
3223 const struct file_operations *f_op; argument
3233 struct file_ra_state f_ra; argument
3234 u64 f_version;
3235 void *f_security;
3236 void *private_data;
3237 struct hlist_head *f_ep;
3238 struct address_space *f_mapping;
3239 errseq_t f_wb_err;
3240 errseq_t f_sb_err;
[all …]
/external/bcc/libbpf-tools/powerpc/
Dvmlinux_510.h1902 struct file { struct
1909 const struct file_operations *f_op; argument
1919 struct file_ra_state f_ra; argument
1924 struct list_head f_tfile_llink; argument
1925 struct address_space *f_mapping;
1926 errseq_t f_wb_err;
1927 errseq_t f_sb_err;
2109 const struct file *file; member
3371 int (*rename)(struct inode *, struct dentry *, struct inode *, struct dentry *, unsigned int); member
4000 const char *file; member
[all …]
Dvmlinux.h1902 struct file { struct
1909 const struct file_operations *f_op; argument
1919 struct file_ra_state f_ra; argument
1924 struct list_head f_tfile_llink; argument
1925 struct address_space *f_mapping;
1926 errseq_t f_wb_err;
1927 errseq_t f_sb_err;
2109 const struct file *file; member
3371 int (*rename)(struct inode *, struct dentry *, struct inode *, struct dentry *, unsigned int); member
4000 const char *file; member
[all …]
/external/bcc/libbpf-tools/arm64/
Dvmlinux.h3386 struct file { struct
3393 const struct file_operations *f_op; argument
3403 struct file_ra_state f_ra; argument
3408 struct list_head f_tfile_llink; argument
3409 struct address_space *f_mapping;
3410 errseq_t f_wb_err;
3411 errseq_t f_sb_err;
4650 struct file *file; member
4775 int (*rename)(struct inode *, struct dentry *, struct inode *, struct dentry *, unsigned int); member
4975 const struct file *file; member
[all …]
Dvmlinux_510.h3386 struct file { struct
3393 const struct file_operations *f_op; argument
3403 struct file_ra_state f_ra; argument
3408 struct list_head f_tfile_llink; argument
3409 struct address_space *f_mapping;
3410 errseq_t f_wb_err;
3411 errseq_t f_sb_err;
4650 struct file *file; member
4775 int (*rename)(struct inode *, struct dentry *, struct inode *, struct dentry *, unsigned int); member
4975 const struct file *file; member
[all …]
/external/bcc/libbpf-tools/x86/
Dvmlinux_505.h3447 struct file { struct
3454 const struct file_operations *f_op; argument
3464 struct file_ra_state f_ra; argument
3469 struct list_head f_tfile_llink; argument
3470 struct address_space *f_mapping;
3471 errseq_t f_wb_err;
4762 int (*rename)(struct inode *, struct dentry *, struct inode *, struct dentry *, unsigned int); member
6221 int (*rename)(struct kernfs_node *, struct kernfs_node *, const char *); member
6227 struct file *file; member
7276 const struct file *file; member
[all …]
Dvmlinux.h3447 struct file { struct
3454 const struct file_operations *f_op; argument
3464 struct file_ra_state f_ra; argument
3469 struct list_head f_tfile_llink; argument
3470 struct address_space *f_mapping;
3471 errseq_t f_wb_err;
4762 int (*rename)(struct inode *, struct dentry *, struct inode *, struct dentry *, unsigned int); member
6221 int (*rename)(struct kernfs_node *, struct kernfs_node *, const char *); member
6227 struct file *file; member
7276 const struct file *file; member
[all …]