Home | History | Annotate | Download | only in disk_cache

Lines Matching defs:Truncate

106   void Truncate(int offset);
161 void EntryImpl::UserBuffer::Truncate(int offset) {
164 DVLOG(3) << "Buffer truncate at " << offset << " current " << offset_;
332 bool truncate) {
337 new ReadWriteDataParameters(index, offset, buf_len, truncate)));
341 truncate);
815 CompletionCallback* callback, bool truncate) {
817 return WriteDataImpl(index, offset, buf, buf_len, callback, truncate);
827 truncate, callback);
1003 bool truncate) {
1029 truncate = truncate && entry_size > offset + buf_len;
1031 if (!PrepareTarget(index, offset, buf_len, truncate))
1035 if (extending || truncate)
1052 if (truncate) {
1067 } else if (truncate || (extending && !buf_len)) {
1200 bool truncate) {
1201 if (truncate)
1255 // Just truncate our buffer.
1257 user_buffers_[index]->Truncate(new_size);
1269 user_buffers_[index]->Truncate(new_size);