Lines Matching refs:file

3 // found in the LICENSE file.
14 #include "base/files/file.h"
36 // the output file). Return false on failure to cancel extraction.
46 // Called with the POSIX file permissions of the data; POSIX implementations
48 // output file.
51 // Called if an error occurred while extracting the file. The WriterDelegate
92 // Information of an entry (file or directory) in a ZIP archive.
110 // Size of the original uncompressed file, or 0 if the entry is a directory.
130 // False if the entry is a file.
134 // happens if a file entry (not a directory) has a filename "." or "..".
137 // True if the file content is encrypted.
158 // Opens the ZIP archive referred to by the platform file |zip_fd|, without
175 // Sets the decryption password that will be used to decrypt encrypted file in
207 // Returns true if the entire file was extracted without error.
218 // Returns true if the entire file was extracted without error.
225 // Asynchronously extracts the current entry to the given output file path. If
242 // file, |*output| is filled with its contents.
293 // Returns true if the entire file was extracted without error.
301 // Extracts a chunk of the file to the target. Will post a task for the next
332 // file be initially empty.
335 // Constructs a FileWriterDelegate that manipulates |file|. The delegate will
336 // not own |file|, therefore the caller must guarantee |file| will outlive the
338 explicit FileWriterDelegate(base::File* file);
340 // Constructs a FileWriterDelegate that takes ownership of |file|.
348 // Returns true if the file handle passed to the constructor is valid.
351 // Writes |num_bytes| bytes of |data| to the file, returning false on error or
358 // On POSIX systems, sets the file to be executable if the source file was
362 // Empties the file to avoid leaving garbage data in it.
365 // Gets the number of bytes written into the file.
369 // The delegate can optionally own the file it modifies, in which case
373 // The file the delegate modifies.
379 // A writer delegate that creates and writes a file at a given path. This does
380 // not overwrite any existing file.
390 // Creates the output file and any necessary intermediate directories. Does
391 // not overwrite any existing file, and returns false if the output file
392 // cannot be created because another file conflicts with it.
395 // Deletes the output file.