Searched refs:ArenaImpl (Results 1 – 10 of 10) sorted by relevance
/third_party/protobuf/src/google/protobuf/ |
D | arena.cc | 53 std::atomic<LifecycleId> ArenaImpl::lifecycle_id_generator_; 55 ArenaImpl::ThreadCache& ArenaImpl::thread_cache() { in thread_cache() 61 ArenaImpl::ThreadCache& ArenaImpl::thread_cache() { in thread_cache() 66 PROTOBUF_THREAD_LOCAL ArenaImpl::ThreadCache ArenaImpl::thread_cache_ = {-1, 70 void ArenaImpl::Init() { in Init() 93 ArenaImpl::~ArenaImpl() { in ~ArenaImpl() 100 uint64 ArenaImpl::Reset() { in Reset() 110 ArenaImpl::Block* ArenaImpl::NewBlock(Block* last_block, size_t min_bytes) { in NewBlock() 128 ArenaImpl::Block::Block(size_t size, Block* next) in Block() 132 void ArenaImpl::SerialArena::AddCleanupFallback(void* elem, in AddCleanupFallback() [all …]
|
D | arena_impl.h | 66 class PROTOBUF_EXPORT ArenaImpl { 87 explicit ArenaImpl(const O& options) : options_(options) { in ArenaImpl() function 103 ~ArenaImpl(); 171 static SerialArena* New(Block* b, void* owner, ArenaImpl* arena); 236 ArenaImpl* arena_; // Containing arena. 364 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(ArenaImpl); 367 ArenaImpl(ArenaImpl&&) = delete; 368 ArenaImpl& operator=(ArenaImpl&&) = delete;
|
D | arena.h | 261 static const size_t kBlockOverhead = internal::ArenaImpl::kBlockHeaderSize + 262 internal::ArenaImpl::kSerialArenaSize; 707 internal::ArenaImpl impl_;
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/util/ |
D | arena.cc | 36 ArenaImpl::ArenaImpl(void *ptr, size_t sz) : size_in_bytes_(sz), ptr_(ptr) { in ArenaImpl() function in mindspore::dataset::ArenaImpl 44 Status ArenaImpl::Allocate(size_t n, void **p) { in Allocate() 75 std::pair<std::pair<uint64_t, uint64_t>, bool> ArenaImpl::FindPrevBlk(uint64_t addr) { in FindPrevBlk() 86 void ArenaImpl::Deallocate(void *p) { in Deallocate() 116 bool ArenaImpl::BlockEnlarge(uint64_t *addr, uint64_t old_sz, uint64_t new_sz) { in BlockEnlarge() 154 Status ArenaImpl::FreeAndAlloc(void **pp, size_t old_sz, size_t new_sz) { in FreeAndAlloc() 170 Status ArenaImpl::Reallocate(void **pp, size_t old_sz, size_t new_sz) { in Reallocate() 215 int ArenaImpl::PercentFree() const { in PercentFree() 228 uint64_t ArenaImpl::SizeToBlk(uint64_t sz) { in SizeToBlk() 236 std::ostream &operator<<(std::ostream &os, const ArenaImpl &s) { in operator <<() [all …]
|
D | arena.h | 53 class ArenaImpl { 58 ArenaImpl(void *ptr, size_t sz); 59 ~ArenaImpl() { ptr_ = nullptr; } in ~ArenaImpl() 90 friend std::ostream &operator<<(std::ostream &os, const ArenaImpl &s); 164 std::unique_ptr<ArenaImpl> impl_;
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/cache/ |
D | cache_arena.h | 67 std::vector<std::unique_ptr<ArenaImpl>> shm_pool_;
|
D | cache_numa.h | 74 std::vector<std::unique_ptr<ArenaImpl>> arena_list_;
|
D | cache_arena.cc | 57 shm_pool_.push_back(std::make_unique<ArenaImpl>(ptr, sub_pool_sz_)); in Init()
|
D | cache_numa.cc | 87 arena_list_.push_back(std::make_unique<ArenaImpl>(ptr, segment_sz)); in CreateMultipleArenas()
|
/third_party/protobuf/ |
D | libprotobuf_lite.map | 19 …"google::protobuf::internal::ArenaImpl::AllocateAlignedAndAddCleanup(unsigned long, void (*)(void*… 29 …"google::protobuf::internal::ArenaImpl::AllocateAlignedAndAddCleanup(unsigned int, void (*)(void*)… 92 "google::protobuf::internal::ArenaImpl::~ArenaImpl()"; 94 "google::protobuf::internal::ArenaImpl::Init()"; 180 "google::protobuf::internal::ArenaImpl::AddCleanup(void*, void (*)(void*))";
|