/aosp_15_r20/external/libchrome/base/metrics/ |
H A D | persistent_histogram_allocator.cc | 274 : memory_allocator_(std::move(memory)), in PersistentHistogramAllocator() 275 sparse_histogram_data_manager_(memory_allocator_.get()) {} in PersistentHistogramAllocator() 287 memory_allocator_->GetAsObject<PersistentHistogramData>(ref); in GetHistogram() 288 const size_t length = memory_allocator_->GetAllocSize(ref); in GetHistogram() 321 if (memory_allocator_->IsCorrupt()) in AllocateHistogram() 331 memory_allocator_->New<PersistentHistogramData>( in AllocateHistogram() 364 memory_allocator_->Allocate(ranges_bytes, kTypeIdRangesArray); in AllocateHistogram() 367 memory_allocator_->GetAsArray<HistogramBase::Sample>( in AllocateHistogram() 379 DCHECK_EQ(kTypeIdRangesArray, memory_allocator_->GetType(ranges_ref)); in AllocateHistogram() 413 memory_allocator_->GetAsReference(histogram_data); in AllocateHistogram() [all …]
|
H A D | persistent_histogram_allocator.h | 218 return memory_allocator_.get(); in memory_allocator() 223 uint64_t Id() const { return memory_allocator_->Id(); } in Id() 224 const char* Name() const { return memory_allocator_->Name(); } in Name() 225 const void* data() const { return memory_allocator_->data(); } in data() 226 size_t length() const { return memory_allocator_->length(); } in length() 227 size_t size() const { return memory_allocator_->size(); } in size() 228 size_t used() const { return memory_allocator_->used(); } in used() 318 std::unique_ptr<PersistentMemoryAllocator> memory_allocator_; variable
|
/aosp_15_r20/external/grpc-grpc/test/core/promise/ |
H A D | pipe_test.cc | 46 MemoryAllocator memory_allocator_ = MemoryAllocator( member in grpc_core::PipeTest 71 MakeScopedArena(1024, &memory_allocator_)); in TEST_F() 96 MakeScopedArena(1024, &memory_allocator_)); in TEST_F() 121 MakeScopedArena(1024, &memory_allocator_)); in TEST_F() 157 MakeScopedArena(1024, &memory_allocator_)); in TEST_F() 181 MakeScopedArena(1024, &memory_allocator_)); in TEST_F() 211 MakeScopedArena(1024, &memory_allocator_)); in TEST_F() 243 MakeScopedArena(1024, &memory_allocator_)); in TEST_F() 273 MakeScopedArena(1024, &memory_allocator_)); in TEST_F() 303 MakeScopedArena(1024, &memory_allocator_)); in TEST_F() [all …]
|
H A D | arena_promise_test.cc | 35 MemoryAllocator memory_allocator_ = MemoryAllocator( member in grpc_core::ArenaPromiseTest 40 auto arena = MakeScopedArena(1024, &memory_allocator_); in TEST_F() 48 auto arena = MakeScopedArena(1024, &memory_allocator_); in TEST_F() 60 auto arena = MakeScopedArena(1024, &memory_allocator_); in TEST_F() 70 auto arena = MakeScopedArena(1024, &memory_allocator_); in TEST_F() 79 auto arena = MakeScopedArena(1024, &memory_allocator_); in TEST_F()
|
H A D | for_each_test.cc | 45 MemoryAllocator memory_allocator_ = MemoryAllocator( member in grpc_core::ForEachTest 79 MakeScopedArena(1024, &memory_allocator_)); in TEST_F() 182 MakeScopedArena(1024, &memory_allocator_)); in TEST_F() 233 MakeScopedArena(1024, &memory_allocator_)); in TEST_F()
|
H A D | map_pipe_test.cc | 63 MemoryAllocator memory_allocator_ = MemoryAllocator( member in grpc_core::MapPipeTest 102 MakeScopedArena(1024, &memory_allocator_)); in TEST_F() 142 MakeScopedArena(1024, &memory_allocator_)); in TEST_F()
|
/aosp_15_r20/external/cronet/base/metrics/ |
H A D | persistent_histogram_allocator.cc | 321 : memory_allocator_(std::move(memory)), in PersistentHistogramAllocator() 322 sparse_histogram_data_manager_(memory_allocator_.get()) {} in PersistentHistogramAllocator() 334 memory_allocator_->GetAsObject<PersistentHistogramData>(ref); in GetHistogram() 335 const size_t length = memory_allocator_->GetAllocSize(ref); in GetHistogram() 368 if (memory_allocator_->IsCorrupt()) in AllocateHistogram() 378 memory_allocator_->New<PersistentHistogramData>( in AllocateHistogram() 420 memory_allocator_->Allocate(ranges_bytes, kTypeIdRangesArray); in AllocateHistogram() 423 memory_allocator_->GetAsArray<HistogramBase::Sample>( in AllocateHistogram() 435 DCHECK_EQ(kTypeIdRangesArray, memory_allocator_->GetType(ranges_ref)); in AllocateHistogram() 469 memory_allocator_->GetAsReference(histogram_data); in AllocateHistogram() [all …]
|
H A D | persistent_histogram_allocator.h | 228 return memory_allocator_.get(); in memory_allocator() 233 uint64_t Id() const { return memory_allocator_->Id(); } in Id() 234 const char* Name() const { return memory_allocator_->Name(); } in Name() 235 const void* data() const { return memory_allocator_->data(); } in data() 236 size_t length() const { return memory_allocator_->length(); } in length() 237 size_t size() const { return memory_allocator_->size(); } in size() 238 size_t used() const { return memory_allocator_->used(); } in used() 338 std::unique_ptr<PersistentMemoryAllocator> memory_allocator_; variable
|
/aosp_15_r20/external/grpc-grpc/test/core/resource_quota/ |
H A D | arena_test.cc | 100 MemoryAllocator memory_allocator_ = MemoryAllocator( member in grpc_core::ArenaTest 106 Arena::Create(1, &memory_allocator_)->Destroy(); in TEST_F() 111 Arena* arena = Arena::Create(1, &memory_allocator_); in TEST_F() 121 args.arena = Arena::Create(1024, &memory_allocator_); in TEST_F() 151 args.arena = Arena::Create(1024, &memory_allocator_); in TEST_F() 200 auto arena = MakeScopedArena(1024, &memory_allocator_); in TEST_F() 218 auto arena = MakeScopedArena(1024, &memory_allocator_); in TEST_F() 232 auto arena = MakeScopedArena(1024, &memory_allocator_); in TEST_F() 241 auto arena = MakeScopedArena(1024, &memory_allocator_); in TEST_F() 257 args.arena = Arena::Create(1024, &memory_allocator_); in TEST_F()
|
/aosp_15_r20/out/soong/.intermediates/external/libchrome/libchrome-include/gen/gensrcs/external/libchrome/base/metrics/ |
D | persistent_histogram_allocator.h | 221 return memory_allocator_.get(); in memory_allocator() 226 uint64_t Id() const { return memory_allocator_->Id(); } in Id() 227 const char* Name() const { return memory_allocator_->Name(); } in Name() 228 const void* data() const { return memory_allocator_->data(); } in data() 229 size_t length() const { return memory_allocator_->length(); } in length() 230 size_t size() const { return memory_allocator_->size(); } in size() 231 size_t used() const { return memory_allocator_->used(); } in used() 321 std::unique_ptr<PersistentMemoryAllocator> memory_allocator_; variable
|
/aosp_15_r20/out/soong/.intermediates/external/libchrome/libchrome-include/gen/3/external/libchrome/base/metrics/ |
D | persistent_histogram_allocator.h | 221 return memory_allocator_.get(); in memory_allocator() 226 uint64_t Id() const { return memory_allocator_->Id(); } in Id() 227 const char* Name() const { return memory_allocator_->Name(); } in Name() 228 const void* data() const { return memory_allocator_->data(); } in data() 229 size_t length() const { return memory_allocator_->length(); } in length() 230 size_t size() const { return memory_allocator_->size(); } in size() 231 size_t used() const { return memory_allocator_->used(); } in used() 321 std::unique_ptr<PersistentMemoryAllocator> memory_allocator_; variable
|
/aosp_15_r20/external/grpc-grpc/test/core/gprpp/ |
H A D | chunked_vector_test.cc | 36 MemoryAllocator memory_allocator_ = MemoryAllocator( member in grpc_core::testing::ChunkedVectorTest 41 auto arena = MakeScopedArena(kInitialArenaSize, &memory_allocator_); in TEST_F() 47 auto arena = MakeScopedArena(kInitialArenaSize, &memory_allocator_); in TEST_F() 89 auto arena = MakeScopedArena(kInitialArenaSize, &memory_allocator_); in TEST_F() 121 auto arena = MakeScopedArena(kInitialArenaSize, &memory_allocator_); in TEST_F() 153 auto arena = MakeScopedArena(kInitialArenaSize, &memory_allocator_); in TEST_F() 163 auto arena = MakeScopedArena(kInitialArenaSize, &memory_allocator_); in TEST_F()
|
/aosp_15_r20/external/grpc-grpc/test/core/transport/ |
H A D | metadata_map_test.cc | 61 MemoryAllocator memory_allocator_ = MemoryAllocator( member in grpc_core::testing::MetadataMapTest 66 auto arena = MakeScopedArena(1024, &memory_allocator_); in TEST_F() 71 auto arena = MakeScopedArena(1024, &memory_allocator_); in TEST_F() 76 auto arena = MakeScopedArena(1024, &memory_allocator_); in TEST_F() 115 auto arena = MakeScopedArena(1024, &memory_allocator_); in TEST_F() 123 auto arena = MakeScopedArena(1024, &memory_allocator_); in TEST_F() 137 auto arena = MakeScopedArena(1024, &memory_allocator_); in TEST_F()
|
/aosp_15_r20/external/cronet/components/metrics/ |
H A D | persistent_synthetic_trial_observer_unittest.cc | 25 memory_allocator_ = std::make_unique<base::LocalPersistentMemoryAllocator>( in SetUp() 28 memory_allocator_.get()); in SetUp() 37 memory_allocator_.get()); in TearDown() 44 *memory_allocator_, &profile); in GetSystemProfile() 50 std::unique_ptr<base::PersistentMemoryAllocator> memory_allocator_; member in metrics::PersistentSyntheticTrialObserverTest
|
H A D | persistent_system_profile_unittest.cc | 30 memory_allocator_ = std::make_unique<base::LocalPersistentMemoryAllocator>( in SetUp() 33 memory_allocator_.get()); in SetUp() 34 persistent_profile_.RegisterPersistentAllocator(memory_allocator_.get()); in SetUp() 38 persistent_profile_.DeregisterPersistentAllocator(memory_allocator_.get()); in TearDown() 40 memory_allocator_.reset(); in TearDown() 57 return memory_allocator_.get(); in memory_allocator() 64 std::unique_ptr<base::PersistentMemoryAllocator> memory_allocator_; member in metrics::PersistentSystemProfileTest
|
/aosp_15_r20/external/grpc-grpc/test/core/channel/ |
H A D | call_tracer_test.cc | 41 memory_allocator_ = new MemoryAllocator( in SetUp() 44 arena_ = Arena::Create(1024, memory_allocator_); in SetUp() 49 delete memory_allocator_; in TearDown() 52 MemoryAllocator* memory_allocator_ = nullptr; member in grpc_core::__anona173fcf90111::CallTracerTest
|
/aosp_15_r20/external/grpc-grpc/src/core/ext/transport/chaotic_good/server/ |
H A D | chaotic_good_server.h | 113 memory_allocator_; variable 122 memory_allocator_; variable 123 ScopedArenaPtr arena_ = MakeScopedArena(1024, memory_allocator_.get()); 168 memory_allocator_ = variable
|
H A D | chaotic_good_server.cc | 152 : memory_allocator_(listener->memory_allocator_), listener_(listener) { in ActiveConnection() 211 : memory_allocator_(connection->memory_allocator_), in HandshakingState()
|
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
H A D | buffer_allocations.h | 43 memory_allocator_(memory_allocator) {} in BufferAllocations() 51 return memory_allocator_; in memory_allocator() 91 se::DeviceMemoryAllocator* memory_allocator_; variable
|
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/service/ |
H A D | backend.h | 90 return memory_allocator_.get(); in memory_allocator() 93 return memory_allocator_; in shared_memory_allocator() 186 std::shared_ptr<se::StreamExecutorMemoryAllocator> memory_allocator_; variable
|
/aosp_15_r20/external/executorch/extension/module/ |
H A D | module.cpp | 45 memory_allocator_(std::make_unique<MallocMemoryAllocator>()), in Module() 57 memory_allocator_( in Module() 73 memory_allocator_( in Module() 152 memory_allocator_.get(), in load_method()
|
/aosp_15_r20/external/grpc-grpc/src/core/ext/transport/chaotic_good/client/ |
H A D | chaotic_good_connector.h | 83 grpc_event_engine::experimental::MemoryAllocator memory_allocator_ = variable 86 ScopedArenaPtr arena_ = MakeScopedArena(1024, &memory_allocator_);
|
/aosp_15_r20/external/grpc-grpc/test/cpp/microbenchmarks/ |
H A D | bm_chttp2_transport.cc | 199 arena_ = grpc_core::Arena::Create(4096, &memory_allocator_); in Stream() 215 arena_ = grpc_core::Arena::Create(4096, &memory_allocator_); in Init() 249 grpc_core::MemoryAllocator memory_allocator_ = member in Stream
|
/aosp_15_r20/external/grpc-grpc/src/core/lib/resource_quota/ |
H A D | arena.cc | 92 memory_allocator_->Release(total_allocated_.load(std::memory_order_relaxed)); in Destroy() 106 memory_allocator_->Reserve(alloc_size); in AllocZone()
|
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/src/core/lib/resource_quota/ |
D | arena.cc | 92 memory_allocator_->Release(total_allocated_.load(std::memory_order_relaxed)); in Destroy() 106 memory_allocator_->Reserve(alloc_size); in AllocZone()
|