Home
last modified time | relevance | path

Searched refs:entry_ (Results 1 – 25 of 41) sorted by relevance

12

/external/chromium/net/url_request/
Durl_request_throttler_unittest.cc224 scoped_refptr<MockURLRequestThrottlerEntry> entry_; member in net::URLRequestThrottlerEntryTest
229 entry_ = new MockURLRequestThrottlerEntry(&manager_); in SetUp()
230 entry_->ResetToBlank(now_); in SetUp()
238 entry_->set_exponential_backoff_release_time( in TEST_F()
239 entry_->fake_time_now_ + TimeDelta::FromMilliseconds(1)); in TEST_F()
240 EXPECT_TRUE(entry_->IsDuringExponentialBackoff()); in TEST_F()
244 entry_->set_exponential_backoff_release_time(entry_->fake_time_now_); in TEST_F()
245 EXPECT_FALSE(entry_->IsDuringExponentialBackoff()); in TEST_F()
246 entry_->set_exponential_backoff_release_time( in TEST_F()
247 entry_->fake_time_now_ - TimeDelta::FromMilliseconds(1)); in TEST_F()
[all …]
Dview_cache_helper.cc78 entry_(NULL), in ViewCacheHelper()
93 if (entry_) in ~ViewCacheHelper()
94 entry_->Close(); in ~ViewCacheHelper()
243 return disk_cache_->OpenNextEntry(&iter_, &entry_, &cache_callback_); in DoOpenNextEntry()
253 data_->append(FormatEntryInfo(entry_, url_prefix_)); in DoOpenNextEntryComplete()
254 entry_->Close(); in DoOpenNextEntryComplete()
255 entry_ = NULL; in DoOpenNextEntryComplete()
263 return disk_cache_->OpenEntry(key_, &entry_, &cache_callback_); in DoOpenEntry()
273 data_->append(EscapeForHTML(entry_->GetKey())); in DoOpenEntryComplete()
280 buf_len_ = entry_->GetDataSize(0); in DoReadResponse()
[all …]
Dview_cache_helper.h98 disk_cache::Entry* entry_; variable
/external/chromium/net/disk_cache/
Dentry_impl.cc38 : entry_(entry), callback_(callback), buf_(buffer), in SyncCallback()
49 disk_cache::EntryImpl* entry_; member in __anon2ba29b220111::SyncCallback
59 entry_->DecrementIoCount(); in OnFileIOComplete()
61 if (entry_->net_log().IsLoggingAllEvents()) { in OnFileIOComplete()
62 entry_->net_log().EndEvent( in OnFileIOComplete()
67 entry_->ReportIOTime(disk_cache::EntryImpl::kAsyncIO, start_); in OnFileIOComplete()
70 entry_->Release(); in OnFileIOComplete()
295 : entry_(NULL, Addr(0)), node_(NULL, Addr(0)), backend_(backend), in EntryImpl()
297 entry_.LazyInit(backend->File(address), address); in EntryImpl()
400 return entry_.Data()->hash; in GetHash()
[all …]
Dsparse_control.cc187 : entry_(entry), in SparseControl()
208 if (entry_->GetDataSize(kSparseData)) in Init()
213 int data_len = entry_->GetDataSize(kSparseIndex); in Init()
228 if (entry_->GetDataSize(kSparseData)) in CouldBeSparse()
232 return (entry_->GetDataSize(kSparseIndex) != 0); in CouldBeSparse()
267 if (entry_->net_log().IsLoggingAllEvents()) { in StartIO()
268 entry_->net_log().BeginEvent( in StartIO()
318 entry_->AddRef(); // Balanced in DoAbortCallbacks. in ReadyToUse()
360 if (CHILD_ENTRY & entry_->GetEntryFlags()) in CreateSparseEntry()
366 sparse_header_.parent_key_len = entry_->GetKey().size(); in CreateSparseEntry()
[all …]
Din_flight_backend_io.cc47 entry_->AddRef(); in ReferenceEntry()
110 entry_ = entry; in CloseEntryImpl()
115 entry_ = entry; in DoomEntryImpl()
130 entry_ = entry; in ReadData()
140 entry_ = entry; in WriteData()
151 entry_ = entry; in ReadSparseData()
160 entry_ = entry; in WriteSparseData()
169 entry_ = entry; in GetAvailableRange()
177 entry_ = entry; in CancelSparseIO()
182 entry_ = entry; in ReadyForSparseIO()
[all …]
Dentry_impl.h51 return &entry_; in entry()
246 CacheEntryBlock entry_; // Key related information for this entry. variable
/external/chromium/net/http/
Ddisk_cache_based_ssl_host_info.cc22 entry_(NULL) { in CallbackImpl()
50 entry_(NULL), in DiskCacheBasedSSLHostInfo()
91 if (entry_) in ~DiskCacheBasedSSLHostInfo()
92 entry_->Close(); in ~DiskCacheBasedSSLHostInfo()
159 entry_ = callback_->entry(); in DoOpenComplete()
185 entry_ = callback_->entry(); in DoCreateComplete()
202 const int32 size = entry_->GetDataSize(0 /* index */); in DoRead()
210 return entry_->ReadData(0 /* index */, 0 /* offset */, read_buffer_, in DoRead()
219 return entry_->WriteData(0 /* index */, 0 /* offset */, write_buffer_, in DoWrite()
224 DCHECK(entry_ == NULL); in DoCreate()
[all …]
Dhttp_cache_transaction.cc106 entry_(NULL), in Transaction()
142 if (entry_) { in ~Transaction()
146 entry_->disk_entry->CancelSparseIO(); in ~Transaction()
152 cache_->DoneWithEntry(entry_, this, cancel_request); in ~Transaction()
173 if (!cache_ || !entry_) in WriteMetadata()
180 return entry_->disk_entry->WriteData(kMetadataIndex, 0, buf, buf_len, in WriteMetadata()
204 if (entry_ || !request_) in GetWriterLoadState()
223 DCHECK(!entry_); in Start()
887 entry_ = new_entry_; in DoAddToEntryComplete()
959 return partial_->ShouldValidateCache(entry_->disk_entry, &io_callback_); in DoStartPartialCacheValidation()
[all …]
Ddisk_cache_based_ssl_host_info.h63 disk_cache::Entry** entry_pointer() { return &entry_; } in entry_pointer()
65 disk_cache::Entry* entry() const { return entry_; } in entry()
75 disk_cache::Entry* entry_; variable
113 disk_cache::Entry* entry_; variable
Dhttp_cache.cc140 : operation_(operation), trans_(trans), entry_(entry), callback_(NULL), in WorkItem()
144 : operation_(operation), trans_(trans), entry_(NULL), callback_(cb), in WorkItem()
151 if (entry_) in NotifyTransaction()
152 *entry_ = entry; in NotifyTransaction()
171 void ClearEntry() { entry_ = NULL; } in ClearEntry()
174 bool IsValid() const { return trans_ || entry_ || callback_; } in IsValid()
179 ActiveEntry** entry_; member in net::HttpCache::WorkItem
/external/chromium/net/tools/dump_cache/
Dupgrade.cc129 disk_cache::EntryImpl* entry_; member in __anon09aa4b720111::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()
[all …]
Dcache_dumper.cc97 entry_ = CreateFileW(file.c_str(), GENERIC_WRITE|GENERIC_READ, 0, 0, in CreateEntry()
99 if (entry_ == INVALID_HANDLE_VALUE) in CreateEntry()
101 return (entry_ != INVALID_HANDLE_VALUE) ? net::OK : net::ERR_FAILED; in CreateEntry()
103 entry_ = file_util::OpenFile(entry_path_, "w+"); in CreateEntry()
104 return (entry_ != NULL) ? net::OK : net::ERR_FAILED; in CreateEntry()
151 if (!entry_) in WriteEntry()
196 if (!WriteFile(entry_, data, len, &bytes, 0)) in WriteEntry()
201 return fwrite(data, 1, len, entry_); in WriteEntry()
208 CloseHandle(entry_); in CloseEntry()
210 file_util::CloseFile(entry_); in CloseEntry()
Dcache_dumper.h66 explicit DiskDumper(const std::wstring& path) : path_(path), entry_(NULL) { in DiskDumper()
85 HANDLE entry_; variable
87 FILE* entry_; variable
/external/openfst/src/include/fst/extensions/far/
Dstlist.h124 : sources_(filenames), entry_(0), error_(false) { in STListReader()
170 entry_ = entry_reader_(*streams_[current]); in STListReader()
171 if (!entry_ || !*streams_[current]) { in STListReader()
183 if (entry_) in ~STListReader()
184 delete entry_; in ~STListReader() local
231 if (entry_) in Next()
232 delete entry_; in Next() local
233 entry_ = entry_reader_(*streams_[current]); in Next()
234 if (!entry_ || !*streams_[current]) { in Next()
247 return *entry_; in GetEntry()
[all …]
Dsttable.h121 : sources_(filenames), entry_(0), error_(false) { in STTableReader()
168 if (entry_) in ~STTableReader()
169 delete entry_; in ~STTableReader() local
226 return *entry_; in GetEntry()
298 if (entry_) in PopHeap()
299 delete entry_; in PopHeap() local
300 entry_ = entry_reader_(*streams_[current_]); in PopHeap()
301 if (!entry_) in PopHeap()
319 mutable EntryType *entry_; // Pointer to the currently read entry variable
/external/chromium/chrome/browser/sync/engine/
Dsyncapi.cc469 if (entry_->Get(syncable::IS_DIR) == folder) in SetIsFolder()
472 entry_->Put(syncable::IS_DIR, folder); in SetIsFolder()
480 string old_name = entry_->Get(syncable::NON_UNIQUE_NAME); in SetTitle()
485 entry_->Put(syncable::NON_UNIQUE_NAME, server_legal_name); in SetTitle()
680 entry_->Get(SPECIFICS).SerializeAsString()) { in PutSpecificsAndMarkForSyncing()
683 entry_->Put(SPECIFICS, specifics); in PutSpecificsAndMarkForSyncing()
689 entry_->Put(syncable::LOCAL_EXTERNAL_ID, id); in SetExternalId()
693 : entry_(NULL), transaction_(transaction) { in WriteNode()
698 delete entry_; in ~WriteNode()
704 DCHECK(!entry_) << "Init called twice"; in InitByIdLookup()
[all …]
/external/v8/src/
Dhashmap.h309 entry_ = map_->Next(entry_);
313 value_type* operator->() { return reinterpret_cast<value_type*>(entry_); }
314 bool operator!=(const Iterator& other) { return entry_ != other.entry_; }
319 map_(map), entry_(entry) { } in Iterator()
322 typename TemplateHashMapImpl<AllocationPolicy>::Entry* entry_; variable
Dd8.h101 : map_(&map->hash_map_), entry_(map_->Start()) { } in Iterator()
102 void Next() { entry_ = map_->Next(entry_); } in Next()
103 bool More() { return entry_ != NULL; } in More()
104 const char* CurrentKey() { return static_cast<const char*>(entry_->key); } in CurrentKey()
105 Counter* CurrentValue() { return static_cast<Counter*>(entry_->value); } in CurrentValue()
108 i::HashMap::Entry* entry_; variable
Dprofile-generator-inl.h74 entry_(entry), in ProfileNode()
/external/chromium/chrome/common/extensions/docs/examples/extensions/calendar/javascript/
Dbackground.js366 var entry_ = xhr.responseXML.getElementsByTagName('entry');
367 if (entry_ && entry_.length > 0) {
369 for (var i = 0, entry; entry = entry_[i]; ++i) {
455 var entry_ = responseXML.getElementsByTagName('entry');
458 if (entry_ && entry_.length > 0) {
459 for (var i = 0, entry; entry = entry_[i]; ++i) {
/external/chromium/third_party/libjingle/source/talk/p2p/base/
Drelayport.cc181 RelayEntry* entry_; member in cricket::AllocateRequest
727 entry_(entry), connection_(connection) { in AllocateRequest()
737 entry_->port()->magic_cookie().c_str(), in Prepare()
738 entry_->port()->magic_cookie().size()); in Prepare()
744 entry_->port()->username_fragment().c_str(), in Prepare()
745 entry_->port()->username_fragment().size()); in Prepare()
766 entry_->OnConnect(addr, connection_); in OnResponse()
771 entry_->ScheduleKeepAlive(); in OnResponse()
785 entry_->ScheduleKeepAlive(); in OnErrorResponse()
790 entry_->HandleConnectFailure(connection_->socket()); in OnTimeout()
/external/chromium/base/
Dprocess_util.cc43 return &entry_; in NextProcessEntry()
56 return !filter_ || filter_->Includes(entry_); in IncludeEntry()
Dprocess_util_linux.cc242 entry_.pid_ = atoi(slot->d_name); in CheckForNextProcess()
243 entry_.ppid_ = atoi(closeparen + 3); in CheckForNextProcess()
244 entry_.gid_ = atoi(strchr(closeparen + 4, ' ')); in CheckForNextProcess()
246 entry_.cmd_line_args_.assign(cmd_line_args.begin(), cmd_line_args.end()); in CheckForNextProcess()
251 entry_.exe_file_.assign(openparen + 1, len); in CheckForNextProcess()
/external/chromium/chrome/browser/sync/
Dprofile_sync_service_autofill_unittest.cc527 : entry_(ProfileSyncServiceAutofillTest::MakeAutofillEntry("0", "0", 0)), in FakeServerUpdater()
543 std::string tag = AutofillModelAssociator::KeyToTag(entry_.key().name(), in Update()
544 entry_.key().value()); in Update()
546 new_autofill.set_name(UTF16ToUTF8(entry_.key().name())); in Update()
547 new_autofill.set_value(UTF16ToUTF8(entry_.key().value())); in Update()
548 const std::vector<base::Time>& ts(entry_.timestamps()); in Update()
584 entry_ = entry; in CreateNewEntry()
599 entry_ = entry; in CreateNewEntryAndWait()
619 AutofillEntry entry_; member in FakeServerUpdater

12