Searched refs:arena_ (Results 1 – 3 of 3) sorted by relevance
28 arena_->AllocateAndWriteUint32(strings.size()); in SerializeStrings()31 uint32_t offset_array_offset = arena_->AllocateUint32Array(strings.size()); in SerializeStrings()37 uint32_t string_offset = arena_->AllocateAndWriteString(*it); in SerializeStrings()38 arena_->uint32_array(offset_array_offset)[i] = string_offset; in SerializeStrings()50 auto serialized_property_entry = arena_->AllocateObject<PropertyEntry>(&offset); in WritePropertyEntry()51 serialized_property_entry->name_offset = arena_->AllocateAndWriteString(property_entry.name); in WritePropertyEntry()60 auto trie = arena_->AllocateObject<TrieNodeInternal>(&trie_offset); in WriteTrieNode()72 uint32_t prefix_entries_array_offset = arena_->AllocateUint32Array(sorted_prefix_matches.size()); in WriteTrieNode()77 arena_->uint32_array(prefix_entries_array_offset)[i] = property_entry_offset; in WriteTrieNode()89 arena_->AllocateUint32Array(sorted_exact_matches.size()); in WriteTrieNode()[all …]
46 return reinterpret_cast<const PropertyInfoArea*>(arena_->data().data()); in serialized_info()49 std::unique_ptr<TrieNodeArena> arena_; variable
42 arena_ptr.reset(google::protobuf::Arena::Create<T>(arena_ptr.arena_.get(), in Make()51 std::unique_ptr<google::protobuf::Arena> arena_{new google::protobuf::Arena{}};59 arena_ptr.reset(google::protobuf::Arena::Create<T>(arena_ptr.arena_.get(), in Make()69 std::shared_ptr<google::protobuf::Arena> arena_{new google::protobuf::Arena{}};