/external/compiler-rt/lib/asan/ |
D | asan_memory_profile.cc | 34 HeapProfile() : allocations_(1024) {} in HeapProfile() 39 for (uptr i = 0; i < allocations_.size(); i++) { in Insert() 40 if (allocations_[i].id == id) { in Insert() 41 allocations_[i].total_size += size; in Insert() 42 allocations_[i].count++; in Insert() 46 allocations_.push_back({id, size, 1}); in Insert() 50 InternalSort(&allocations_, allocations_.size(), in Print() 58 for (uptr i = 0; i < allocations_.size(); i++) { in Print() 59 auto &a = allocations_[i]; in Print() 72 InternalMmapVector<AllocationSite> allocations_; member in __asan::HeapProfile
|
/external/v8/src/wasm/ |
D | wasm-memory.cc | 172 allocations_.emplace(buffer_start, in RegisterAllocation() 181 auto find_result = allocations_.find(buffer_start); in ReleaseAllocation() 182 CHECK_NE(find_result, allocations_.end()); in ReleaseAllocation() 184 if (find_result != allocations_.end()) { in ReleaseAllocation() 196 allocations_.erase(find_result); in ReleaseAllocation() 205 const auto& result = allocations_.find(buffer_start); in FindAllocationData() 206 if (result != allocations_.end()) { in FindAllocationData() 214 return allocations_.find(buffer_start) != allocations_.end(); in IsWasmMemory() 219 const auto allocation = allocations_.find(buffer_start); in HasFullGuardRegions() 221 if (allocation == allocations_.end()) { in HasFullGuardRegions()
|
D | wasm-memory.h | 122 std::unordered_map<const void*, AllocationData> allocations_; variable
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | shaped_buffer_test.cc | 53 if (!allocations_.empty()) { in ~TestAllocator() 68 allocations_.insert({device_ordinal, buf}); in Allocate() 78 auto it = allocations_.find({device_ordinal, mem.opaque()}); in Deallocate() 79 if (it == allocations_.end()) { in Deallocate() 83 allocations_.erase(it); in Deallocate() 91 std::set<std::pair</*device_ordinal*/ int64, void*>> allocations_; member in xla::__anone4c562340111::TestAllocator
|
D | buffer_assignment.cc | 371 CHECK_LT(index, allocations_.size()); in GetAllocation() 372 return allocations_[index]; in GetAllocation() 496 BufferAllocation::Index index = allocations_.size(); in NewEmptyAllocation() 497 allocations_.emplace_back(index, size, color); in NewEmptyAllocation() 498 BufferAllocation* allocation = &allocations_.back(); in NewEmptyAllocation() 540 std::partition(allocations_.begin(), allocations_.end(), in CombineTempAllocations() 547 if (first_temp_it != allocations_.end()) { in CombineTempAllocations() 548 for (auto it = first_temp_it; it != allocations_.end(); ++it) { in CombineTempAllocations() 589 allocations_.erase(first_temp_it, allocations_.end()); in CombineTempAllocations() 591 allocations_.push_back(combined.second); in CombineTempAllocations() [all …]
|
D | buffer_assignment.h | 355 return allocations_; in Allocations() 512 std::vector<BufferAllocation> allocations_; variable
|
/external/tensorflow/tensorflow/core/framework/ |
D | tracking_allocator.cc | 48 allocations_.emplace_back(allocated_bytes, Env::Default()->NowMicros()); in AllocateRaw() 64 allocations_.emplace_back(allocated_bytes, Env::Default()->NowMicros()); in AllocateRaw() 69 allocations_.emplace_back(num_bytes, Env::Default()->NowMicros()); in AllocateRaw() 102 allocations_.emplace_back(-allocated_bytes, Env::Default()->NowMicros()); in DeallocateRaw() 179 allocations.swap(allocations_); in GetRecordsAndUnRef() 192 for (const AllocRecord& alloc : allocations_) { in GetCurrentRecords()
|
D | tracking_allocator.h | 117 gtl::InlinedVector<AllocRecord, 4> allocations_ GUARDED_BY(mu_);
|
/external/v8/src/profiler/ |
D | sampling-heap-profiler.cc | 98 node->allocations_[size]++; in SampleObject() 118 DCHECK_GT(node->allocations_[sample->size], 0); in OnWeakCallback() 119 node->allocations_[sample->size]--; in OnWeakCallback() 120 if (node->allocations_[sample->size] == 0) { in OnWeakCallback() 121 node->allocations_.erase(sample->size); in OnWeakCallback() 122 while (node->allocations_.empty() && node->children_.empty() && in OnWeakCallback() 244 allocations.reserve(node->allocations_.size()); in TranslateAllocationNode() 261 for (auto alloc : node->allocations_) { in TranslateAllocationNode()
|
D | sampling-heap-profiler.h | 109 std::map<size_t, unsigned int> allocations_; variable
|
/external/v8/src/heap/ |
D | array-buffer-collector.cc | 18 allocations_.push_back(std::move(allocations)); in AddGarbageAllocations() 24 allocations_) { in FreeAllocations() 29 allocations_.clear(); in FreeAllocations()
|
D | array-buffer-collector.h | 45 std::vector<std::vector<JSArrayBuffer::Allocation>> allocations_; variable
|
/external/perfetto/src/profiling/memory/ |
D | bookkeeping.cc | 52 auto it = allocations_.find(address); in RecordMalloc() 53 if (it != allocations_.end()) { in RecordMalloc() 79 allocations_.emplace(address, in RecordMalloc() 114 auto leaf_it = allocations_.find(address); in CommitOperation() 115 if (leaf_it == allocations_.end()) in CommitOperation() 123 allocations_.erase(leaf_it); in CommitOperation()
|
D | bookkeeping.h | 383 std::map<uint64_t /* allocation address */, Allocation> allocations_; variable
|
/external/webrtc/webrtc/p2p/base/ |
D | turnserver.cc | 127 for (AllocationMap::iterator it = allocations_.begin(); in ~TurnServer() 128 it != allocations_.end(); ++it) { in ~TurnServer() 431 AllocationMap::const_iterator it = allocations_.find(*conn); in FindAllocation() 432 return (it != allocations_.end()) ? it->second : NULL; in FindAllocation() 448 allocations_[*conn] = allocation; in CreateAllocation() 513 AllocationMap::iterator it = allocations_.find(*(allocation->conn())); in OnAllocationDestroyed() 514 if (it != allocations_.end()) in OnAllocationDestroyed() 515 allocations_.erase(it); in OnAllocationDestroyed()
|
D | turnserver.h | 175 const AllocationMap& allocations() const { return allocations_; } in allocations() 271 AllocationMap allocations_; variable
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | step_stats_collector.cc | 183 allocations_.push_back(std::make_pair(memory, tracking_allocator)); in AddAllocation() 187 for (auto& alloc : allocations_) { in Finalize() 195 allocations_.clear(); in Finalize() 455 for (const auto& alloc : stats->allocations_) { in ReportAllocsOnResourceExhausted()
|
D | step_stats_collector.h | 132 allocations_; variable
|
/external/tensorflow/tensorflow/core/profiler/internal/ |
D | tfprof_node.h | 188 return allocations_; in allocations() 218 for (const auto& r : allocations_) { in ToProto() 240 allocations_.clear(); in FromProto() 260 allocations_.push_back(r); in FromProto() 287 std::vector<AllocationRecord> allocations_; variable
|
D | tfprof_node.cc | 105 allocations_.push_back(alloc); in AddMemoryStats()
|
/external/protobuf/src/google/protobuf/ |
D | descriptor.cc | 518 vector<void*> allocations_; // All other memory allocated in the pool. member in google::protobuf::DescriptorPool::Tables 529 allocations_before_checkpoint(tables->allocations_.size()), in CheckPoint() 656 for (int i = 0; i < allocations_.size(); i++) { in ~Tables() 657 operator delete(allocations_[i]); in ~Tables() 753 i < allocations_.size(); in RollbackToLastCheckpoint() 755 operator delete(allocations_[i]); in RollbackToLastCheckpoint() 761 allocations_.resize(checkpoint.allocations_before_checkpoint); in RollbackToLastCheckpoint() 1018 allocations_.push_back(result); in AllocateBytes()
|