Lines Matching refs:entry_
129 disk_cache::EntryImpl* entry_; member in __anon65ac27f80111::BaseSM
143 : entry_(NULL), channel_(channel), state_(0), pending_count_(0), in BaseSM()
160 if (entry_) in ~BaseSM()
161 entry_->Close(); in ~BaseSM()
400 reinterpret_cast<disk_cache::Entry**>(&entry_), in DoGetKey()
470 writer_->CloseEntry(entry_, last_used_, last_modified_); in CloseEntry()
471 entry_ = NULL; in CloseEntry()
506 printf("Read failed, entry \"%s\" truncated!\n", entry_->GetKey().c_str()); in DoReadData()
513 int rv = writer_->WriteEntry(entry_, stream_, offset_, buf, read_size, in DoReadData()
699 msg.long_arg1 = reinterpret_cast<int64>(entry_); in DoGetNextEntry()
719 msg.long_arg1 = reinterpret_cast<int64>(entry_); in DoGetPrevEntry()
727 if (input_->msg.long_arg1 != reinterpret_cast<int64>(entry_)) in GetEntryFromList()
731 if (entry_) in GetEntryFromList()
732 entry_->Close(); in GetEntryFromList()
737 reinterpret_cast<disk_cache::Entry**>(&entry_), in GetEntryFromList()
742 reinterpret_cast<disk_cache::Entry**>(&entry_), in GetEntryFromList()
752 entry_ = NULL; in DoGetEntryComplete()
757 msg_.long_arg1 = reinterpret_cast<int64>(entry_); in DoGetEntryComplete()
766 if (!entry_ || input_->msg.long_arg1 != reinterpret_cast<int64>(entry_)) { in DoCloseEntry()
769 entry_->Close(); in DoCloseEntry()
770 entry_ = NULL; in DoCloseEntry()
782 if (!entry_ || input_->msg.long_arg1 != reinterpret_cast<int64>(entry_)) { in DoGetKey()
785 std::string key = entry_->GetKey(); in DoGetKey()
804 if (!entry_ || input_->msg.long_arg1 != reinterpret_cast<int64>(entry_)) { in DoGetUseTimes()
807 msg.long_arg2 = entry_->GetLastUsed().ToInternalValue(); in DoGetUseTimes()
808 msg.long_arg3 = entry_->GetLastModified().ToInternalValue(); in DoGetUseTimes()
820 if (!entry_ || input_->msg.long_arg1 != reinterpret_cast<int64>(entry_) || in DoGetDataSize()
825 msg.arg2 = entry_->GetDataSize(stream); in DoGetDataSize()
838 if (!entry_ || input_->msg.long_arg1 != reinterpret_cast<int64>(entry_) || in DoReadData()
844 int ret = entry_->ReadData(stream, input_->msg.arg3, buf, size, in DoReadData()