/external/chromium/net/disk_cache/ |
entry_impl.cc | 32 : entry_(entry), callback_(callback), buf_(buffer), start_(Time::Now()) { 41 disk_cache::EntryImpl* entry_; member in class:__anon2582::SyncCallback 50 entry_->DecrementIoCount(); 52 entry_->ReportIOTime(disk_cache::EntryImpl::kAsyncIO, start_); 55 entry_->Release(); 83 : entry_(NULL, Addr(0)), node_(NULL, Addr(0)) { 84 entry_.LazyInit(backend->File(address), address); 109 if (!(ret = Flush(index, entry_.Data()->data_size[index], false))) 113 entry_.Data()->data_size[index] - unreported_size_[index], 114 entry_.Data()->data_size[index]) [all...] |
sparse_control.cc | 152 if (entry_->GetDataSize(kSparseData)) 157 int data_len = entry_->GetDataSize(kSparseIndex); 247 entry_->AddRef(); // Balanced in DoAbortCallbacks. 287 if (CHILD_ENTRY & entry_->GetEntryFlags()) 293 sparse_header_.parent_key_len = entry_->GetKey().size(); 300 int rv = entry_->WriteData(kSparseIndex, 0, buf, sizeof(sparse_header_), NULL, 307 entry_->SetEntryFlags(PARENT_ENTRY); 316 if (entry_->GetDataSize(kSparseData)) 319 if (!(PARENT_ENTRY & entry_->GetEntryFlags())) 331 int rv = entry_->ReadData(kSparseIndex, 0, buf, sizeof(sparse_header_), NULL) [all...] |
sparse_control.h | 43 : entry_(entry), child_(NULL), operation_(kNoOperation), init_(false), 148 EntryImpl* entry_; // The sparse entry. member in class:disk_cache::SparseControl 157 SparseHeader sparse_header_; // Data about the children of entry_.
|
entry_impl.h | 57 return &entry_; 180 CacheEntryBlock entry_; // Key related information for this entry. member in class:disk_cache::EntryImpl
|
/external/chromium/net/tools/dump_cache/ |
upgrade.cc | 123 disk_cache::EntryImpl* entry_; member in class:__anon2818::BaseSM 135 : entry_(NULL), channel_(channel), state_(0), pending_count_(0) { 149 if (entry_) 150 entry_->Close(); 373 reinterpret_cast<disk_cache::Entry**>(&entry_))) { 434 writer_->CloseEntry(entry_, last_used_, last_modified_); 435 entry_ = NULL; 470 printf("Read failed, entry \"%s\" truncated!\n", entry_->GetKey().c_str()); 477 if (!writer_->WriteEntry(entry_, stream_, offset_, buf, read_size)) 624 msg.long_arg1 = reinterpret_cast<int64>(entry_); [all...] |
cache_dumper.h | 59 DiskDumper(const std::wstring& path) : path_(path), entry_(NULL) { 76 HANDLE entry_; member in class:DiskDumper 78 FILE* entry_; member in class:DiskDumper
|
cache_dumper.cc | 87 entry_ = CreateFileW(file.c_str(), GENERIC_WRITE|GENERIC_READ, 0, 0, 89 return entry_ != INVALID_HANDLE_VALUE; 91 entry_ = file_util::OpenFile(entry_path_, "w+"); 92 return entry_ != NULL; 138 if (!entry_) 183 DWORD rv = WriteFile(entry_, data, len, &bytes, 0); 186 int bytes = fwrite(data, 1, len, entry_); 194 CloseHandle(entry_); 196 file_util::CloseFile(entry_);
|
/external/chromium/net/http/ |
http_cache_transaction.cc | 104 entry_(NULL), 142 if (entry_) { 146 entry_->disk_entry->CancelSparseIO(); 152 cache_->DoneWithEntry(entry_, this, cancel_request); 182 DCHECK(!entry_); 365 if (entry_ || !request_) 503 entry_ = entry; 577 if (!entry_->disk_entry->GetDataSize(kResponseContentIndex)) 906 cache_->ConvertWriterToReader(entry_); 951 return entry_->disk_entry->ReadyForSparseIO(cache_callback_) [all...] |
http_cache.cc | 81 : entry_(entry), callback_(callback), operation_(operation) {} 87 if (entry_) 88 *entry_ = entry; 94 void ClearEntry() { entry_ = NULL; } 96 bool IsValid() const { return callback_ || entry_; } 99 ActiveEntry** entry_; member in class:net::HttpCache::WorkItem 111 : cache_(cache), entry_(entry) {} 115 cache_->OnIOComplete(params.a, entry_); 121 NewEntry* entry_; member in class:net::HttpCache::BackendCallback
|
http_cache_transaction.h | 291 HttpCache::ActiveEntry* entry_; member in class:net::HttpCache::Transaction
|
/external/v8/src/ |
d8.h | 98 : map_(&map->hash_map_), entry_(map_->Start()) { } 99 void Next() { entry_ = map_->Next(entry_); } 100 bool More() { return entry_ != NULL; } 101 const char* CurrentKey() { return static_cast<const char*>(entry_->key); } 102 Counter* CurrentValue() { return static_cast<Counter*>(entry_->value); } 105 i::HashMap::Entry* entry_; member in class:v8::CounterMap::Iterator
|
/external/chromium/base/ |
process_util_linux.cc | 110 return &entry_; 182 entry_.pid = atoi(slot->d_name); 183 entry_.ppid = atoi(closeparen + 3); 190 memcpy(entry_.szExeFile, openparen + 1, len); 191 entry_.szExeFile[len] = 0; 198 if (WideToASCII(executable_name_) != entry_.szExeFile) 202 return filter_->Includes(entry_.pid, entry_.ppid);
|
process_util_win.cc | 376 return &entry_; 383 InitProcessEntry(&entry_); 387 return !!Process32First(snapshot_, &entry_); 390 return !!Process32Next(snapshot_, &entry_); 394 return _wcsicmp(executable_name_.c_str(), entry_.szExeFile) == 0 && 395 (!filter_ || filter_->Includes(entry_.th32ProcessID, 396 entry_.th32ParentProcessID));
|
process_util.h | 307 // left in the list of all processes. Returns true and sets entry_ to 328 ProcessEntry entry_; member in class:base::NamedProcessIterator
|