Home
last modified time | relevance | path

Searched refs:records_ (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/stream_executor/
Dtemporary_memory_manager.cc30 VLOG(1) << "force-deallocating " << records_.size() << " remaining records"; in ForceDeallocateAll()
31 for (auto it = records_.begin(); it != records_.end(); ++it) { in ForceDeallocateAll()
40 auto it = records_.find(device_memory); in MarkFinalized()
41 if (it == records_.end()) { in MarkFinalized()
54 for (auto it = records_.begin(); it != records_.end();) { in DeallocateFinalizedTemporaries()
59 it = records_.erase(it); in DeallocateFinalizedTemporaries()
70 auto it = records_.find(device_memory); in IsFinalized()
71 if (it == records_.end()) { in IsFinalized()
86 auto it = records_.find(device_memory); in HasAllocated()
87 if (it == records_.end()) { in HasAllocated()
[all …]
Dtemporary_memory_manager.h117 std::map<DeviceMemoryBase, TemporaryMemoryRecord> records_ GUARDED_BY(mutex_);
/external/libchrome/base/metrics/
Dpersistent_sample_map.cc107 if (records_) in ~PersistentSampleMap()
108 records_->Release(this); in ~PersistentSampleMap()
230 DCHECK(records_); in GetOrCreateSampleCountStorage()
231 PersistentMemoryAllocator::Reference ref = records_->CreateNew(value); in GetOrCreateSampleCountStorage()
262 if (!records_) in GetRecords()
263 records_ = allocator_->UseSampleMapRecords(id(), this); in GetRecords()
264 return records_; in GetRecords()
Dpersistent_histogram_allocator.cc139 sample_map_records->records_.reserve(sample_map_records->records_.size() + in LoadRecords()
141 sample_map_records->records_.insert(sample_map_records->records_.end(), in LoadRecords()
171 sample_map_records->records_.push_back(ref); in LoadRecords()
209 if (records_.size() == seen_) { in GetNext()
219 DCHECK_LT(seen_, records_.size()); in GetNext()
220 return records_[seen_++]; in GetNext()
Dpersistent_sample_map.h102 PersistentSampleMapRecords* records_ = nullptr; variable
Dpersistent_histogram_allocator.h160 std::vector<PersistentMemoryAllocator::Reference> records_; variable
/external/icu/icu4c/source/i18n/
Dalphaindex.cpp681 if (bucket->records_ == NULL) { in initBuckets()
682 bucket->records_ = new UVector(errorCode); in initBuckets()
683 if (bucket->records_ == NULL) { in initBuckets()
688 bucket->records_->addElement(r, errorCode); in initBuckets()
1155 if (currentBucket_ != NULL && currentBucket_->records_ != NULL) { in getBucketRecordCount()
1156 return currentBucket_->records_->size(); in getBucketRecordCount()
1186 if (currentBucket_->records_ == NULL) { in nextRecord()
1190 if (itemsIterIndex_ >= currentBucket_->records_->size()) { in nextRecord()
1191 itemsIterIndex_ = currentBucket_->records_->size(); in nextRecord()
1200 if (currentBucket_ != NULL && currentBucket_->records_ != NULL && in getRecordName()
[all …]
/external/icu/icu4c/source/i18n/unicode/
Dalphaindex.h231 UVector *records_; // Records are owned by the inputList_ vector. variable