/external/tensorflow/tensorflow/core/kernels/tensor_forest/ |
D | resources.cc | 32 protobuf::Arena::CreateMessage<boosted_trees::Tree>(&arena_)) {} in TensorForestTreeResource() 66 arena_.Reset(); in Reset() 67 DCHECK_EQ(0, arena_.SpaceAllocated()); in Reset() 68 decision_tree_ = protobuf::Arena::CreateMessage<boosted_trees::Tree>(&arena_); in Reset()
|
D | resources.h | 60 protobuf::Arena arena_; variable
|
/external/protobuf/src/google/protobuf/ |
D | extension_set.cc | 180 ExtensionSet::ExtensionSet(::google::protobuf::Arena* arena) : arena_(arena) { in ExtensionSet() 181 if (arena_ != NULL) { in ExtensionSet() 182 arena_->OwnDestructor(&extensions_); in ExtensionSet() 186 ExtensionSet::ExtensionSet() : arena_(NULL) {} in ExtensionSet() 190 if (arena_ == NULL) { in ~ExtensionSet() 317 Arena::CreateMessage<RepeatedField<LOWERCASE> >(arena_); \ 362 Arena::CreateMessage<RepeatedField<int32> >(arena_); in MutableRawRepeatedField() 366 Arena::CreateMessage<RepeatedField<int64> >(arena_); in MutableRawRepeatedField() 370 Arena::CreateMessage<RepeatedField<uint32> >(arena_); in MutableRawRepeatedField() 374 Arena::CreateMessage<RepeatedField<uint64> >(arena_); in MutableRawRepeatedField() [all …]
|
D | map.h | 524 : arena_(NULL), in arena_() function 530 : arena_(arena), in arena_() function 536 : arena_(NULL), in Map() 544 : arena_(NULL), in arena_() function 553 if (arena_ == NULL) { in ~Map() 565 arena_, 0, hasher(), equal_to<Key>(), in Init() 566 MapAllocator<std::pair<const Key, MapPair<Key, T>*> >(arena_)); in Init() 569 Arena::Create<InnerMap>(arena_, 0, hasher(), Allocator(arena_)); in Init() 586 MapAllocator() : arena_(NULL) {} in MapAllocator() 587 explicit MapAllocator(Arena* arena) : arena_(arena) {} in MapAllocator() [all …]
|
D | map_field_lite.h | 88 Arena* arena_; variable 100 : arena_(NULL) { in MapFieldLite() 111 : arena_(arena) { in MapFieldLite() 230 if (arena_ == NULL) { in NewEntry() 233 return Arena::CreateMessage<EntryType>(arena_); in NewEntry() 245 return EntryType::EnumWrap(key, t, arena_); in NewEnumEntryWrapper() 256 return EntryType::Wrap(key, t, arena_); in NewEntryWrapper()
|
D | metadata.h | 90 return PtrValue<Container>()->arena_; in arena() 142 Arena* arena_; member 153 container->arena_ = my_arena; in mutable_unknown_fields_slow()
|
D | map_entry_lite.h | 354 MapEntryLite() : default_instance_(NULL), arena_(NULL) { in MapEntryLite() 362 : default_instance_(NULL), arena_(arena) { in MapEntryLite() 370 return arena_; in GetArenaNoVirtual() 381 Arena* arena_; variable
|
D | map_field.h | 63 : arena_(NULL), in MapFieldBase() 69 : arena_(arena), in MapFieldBase() 138 Arena* arena_; variable
|
D | map_field.cc | 66 if (repeated_field_ != NULL && arena_ == NULL) delete repeated_field_; in ~MapFieldBase() 127 repeated_field_ = Arena::CreateMessage<RepeatedPtrField<Message> >(arena_); in SyncRepeatedFieldWithMapNoLock() 269 if (MapFieldBase::arena_ == NULL) { in SyncRepeatedFieldWithMapNoLock() 274 MapFieldBase::arena_); in SyncRepeatedFieldWithMapNoLock()
|
D | extension_set_heavy.cc | 173 extension->message_value = prototype->New(arena_); in MutableMessage() 200 if (arena_ == NULL) { in ReleaseMessage() 204 if (arena_ != NULL) { in ReleaseMessage() 223 ::google::protobuf::Arena::CreateMessage<RepeatedPtrField<MessageLite> >(arena_); in MaybeNewRepeatedExtension() 246 result = prototype->New(arena_); in AddMessage()
|
D | map_field_inl.h | 396 if (MapFieldBase::arena_ == NULL) { in SyncRepeatedFieldWithMapNoLock() 401 MapFieldBase::arena_); in SyncRepeatedFieldWithMapNoLock() 416 down_cast<EntryType*>(default_entry_->New(MapFieldBase::arena_)); in SyncRepeatedFieldWithMapNoLock()
|
D | repeated_field.h | 503 return arena_; 519 Arena* arena_; 1347 : arena_(NULL), 1354 : arena_(arena), 1364 TypeHandler::Delete(cast<TypeHandler>(rep_->elements[i]), arena_); 1366 if (arena_ == NULL) { 1427 TypeHandler::Delete(cast<TypeHandler>(rep_->elements[index]), arena_); 1441 TypeHandler::NewFromPrototype(prototype, arena_); 1672 cast<TypeHandler>(rep_->elements[current_size_]), arena_);
|
D | extension_set.h | 277 ::google::protobuf::Arena* GetArenaNoVirtual() const { return arena_; } in GetArenaNoVirtual() 612 ::google::protobuf::Arena* arena_;
|
/external/tensorflow/tensorflow/lite/ |
D | arena_planner.cc | 35 arena_(kDefaultArenaAlignment), in ArenaPlanner() 48 return arena_.BasePointer(); in BasePointer() 54 TF_LITE_ENSURE_STATUS(arena_.Clear()); in ResetAllocations() 208 TF_LITE_ENSURE_STATUS(arena_.Commit(context_)); in Commit() 253 TF_LITE_ENSURE_STATUS(arena_.ResolveAlloc(context_, allocs_[tensor_index], in ResolveTensorAllocation() 267 TF_LITE_ENSURE_STATUS(arena_.Allocate( in CalculateTensorAllocation() 280 TF_LITE_ENSURE_STATUS(arena_.Deallocate(context_, allocs_[tensor_index])); in CalculateTensorDeallocation()
|
D | arena_planner.h | 106 SimpleMemoryArena arena_; variable
|
/external/tensorflow/tensorflow/contrib/boosted_trees/resources/ |
D | decision_tree_ensemble_resource.h | 35 boosted_trees::trees::DecisionTreeEnsembleConfig>(&arena_)) {} in DecisionTreeEnsembleResource() 165 arena_.Reset(); in Reset() 166 CHECK_EQ(0, arena_.SpaceAllocated()); in Reset() 168 boosted_trees::trees::DecisionTreeEnsembleConfig>(&arena_); in Reset() 174 protobuf::Arena arena_;
|
/external/grpc-grpc/test/cpp/microbenchmarks/ |
D | bm_chttp2_transport.cc | 196 arena_ = gpr_arena_create(4096); in Stream() 202 gpr_arena_destroy(arena_); in ~Stream() 211 gpr_arena_destroy(arena_); in Init() 212 arena_ = gpr_arena_create(4096); in Init() 216 nullptr, arena_); in Init() 248 gpr_arena* arena_; member in Stream
|
/external/tensorflow/tensorflow/core/kernels/boosted_trees/ |
D | resources.cc | 28 &arena_)) {} in BoostedTreesEnsembleResource() 299 arena_.Reset(); in Reset() 300 CHECK_EQ(0, arena_.SpaceAllocated()); in Reset() 302 protobuf::Arena::CreateMessage<boosted_trees::TreeEnsemble>(&arena_); in Reset()
|
D | resources.h | 166 protobuf::Arena arena_;
|
/external/tensorflow/tensorflow/core/graph/ |
D | graph.cc | 352 arena_(8 << 10 /* 8kB */) { in Graph() 473 e = new (arena_.Alloc(sizeof(Edge))) Edge; // placement new in AddEdge() 748 node = new (arena_.Alloc(sizeof(Node))) Node; // placement new in AllocateNode()
|
D | graph.h | 673 core::Arena arena_; variable
|
/external/perf_data_converter/src/quipper/ |
D | perf_reader.h | 275 Arena arena_; variable
|
D | perf_reader.cc | 187 : proto_(Arena::CreateMessage<PerfDataProto>(&arena_)), in PerfReader()
|
/external/protobuf/ruby/ext/google/protobuf_c/ |
D | upb.c | 5427 upb_arena_init(&e->arena_); in upb_env_init() 5432 upb_arena_init2(&e->arena_, mem, n, alloc); in upb_env_init2() 5437 upb_arena_uninit(&e->arena_); in upb_env_uninit() 5456 return upb_malloc(&e->arena_.alloc, size); in upb_env_malloc() 5460 return upb_realloc(&e->arena_.alloc, ptr, oldsize, size); in upb_env_realloc() 5464 upb_free(&e->arena_.alloc, ptr); in upb_env_free() 5468 return upb_arena_addcleanup(&e->arena_, func, ud); in upb_env_addcleanup() 5472 return upb_arena_bytesallocated(&e->arena_); in upb_env_bytesallocated()
|
D | upb.h | 700 Environment(void *mem, size_t len, Allocator *a) : arena_(mem, len, a) { 732 upb_arena arena_;
|