Lines Matching defs:data
35 // Invoked once before any data is streamed out to pave the way (e.g., to open
39 // Invoked to write the next chunk of data. Return false on failure to cancel
41 virtual bool WriteBytes(const char* data, int num_bytes) { return true; }
43 // Sets the last-modified time of the data.
46 // Called with the POSIX file permissions of the data; POSIX implementations
52 // can then remove and clean up the partially extracted data.
162 // Opens the zip data stored in |data|. This class uses a weak reference to
165 bool OpenFromString(const std::string& data);
250 // filled with |max_read_bytes| of data. If an error occurs, this function
252 // might be garbage data.
351 // Writes |num_bytes| bytes of |data| to the file, returning false on error or
353 bool WriteBytes(const char* data, int num_bytes) override;
355 // Sets the last-modified time of the data.
362 // Empties the file to avoid leaving garbage data in it.