Lines Matching refs:File
5 * you may not use this file except in compliance with the License.
32 // Attempts to acquire an exclusive file lock (see flock(2)) on the file
36 // It is an error if its inode changed (usually due to a new file being
38 // locking will be retried if the file changed. In non-blocking mode, false
41 // The file is opened with the provided flags.
45 // Attempt to acquire an exclusive file lock (see flock(2)) on 'file'.
48 bool Init(File* file, std::string* error_msg);
50 // Returns the (locked) file associated with this instance.
51 File* GetFile() const;
53 // Returns whether a file is held.
59 std::unique_ptr<File> file_;