Lines Matching defs:const
35 // Note about const: this class does not attempt to determine if the underlying
37 // that method const or not. Only methods that deal with member variables in an
38 // obvious non-modifying way are marked as const. Any method that forward calls
39 // to the OS is not considered const, even if there is no apparent change to
97 void FromStat(const stat_wrapper_t& stat_info);
124 File(const FilePath& path, uint32_t flags);
140 void Initialize(const FilePath& path, uint32_t flags);
145 bool IsValid() const;
152 Error error_details() const { return error_details_; }
154 PlatformFile GetPlatformFile() const;
188 int Write(int64_t offset, const char* data, int size);
191 int WriteAtCurrentPos(const char* data, int size);
195 int WriteAtCurrentPosNoBestEffort(const char* data, int size);
253 File Duplicate() const;
273 void DoInitialize(const FilePath& path, uint32_t flags);
281 File(const File&) = delete;
282 File& operator=(const File&) = delete;