Home
last modified time | relevance | path

Searched refs:SpaceUsedLong (Results 1 – 19 of 19) sorted by relevance

/third_party/protobuf/src/google/protobuf/
Dunknown_field_set_unittest.cc543 size_t base_size = empty_message.SpaceUsedLong(); in TEST_F()
545 EXPECT_EQ(base_size, empty_message.SpaceUsedLong()); in TEST_F()
549 EXPECT_LT(base_size, empty_message.SpaceUsedLong()); in TEST_F()
550 base_size = empty_message.SpaceUsedLong(); in TEST_F()
553 EXPECT_LT(base_size, empty_message.SpaceUsedLong()); in TEST_F()
554 base_size = empty_message.SpaceUsedLong(); in TEST_F()
557 EXPECT_LT(base_size, empty_message.SpaceUsedLong()); in TEST_F()
558 base_size = empty_message.SpaceUsedLong(); in TEST_F()
561 EXPECT_LT(base_size, empty_message.SpaceUsedLong()); in TEST_F()
562 base_size = empty_message.SpaceUsedLong(); in TEST_F()
[all …]
Dextension_set_unittest.cc742 const int base_size = message.SpaceUsedLong(); \ in TEST()
747 EXPECT_LE(min_expected_size, message.SpaceUsedLong()); \ in TEST()
766 const int base_size = message.SpaceUsedLong(); in TEST()
772 EXPECT_LE(min_expected_size, message.SpaceUsedLong()); in TEST()
778 const int base_size = message.SpaceUsedLong(); in TEST()
784 EXPECT_LE(min_expected_size, message.SpaceUsedLong()); in TEST()
789 const int base_size = message.SpaceUsedLong(); in TEST()
794 int min_expected_size = base_size + foreign.SpaceUsedLong(); in TEST()
795 EXPECT_LE(min_expected_size, message.SpaceUsedLong()); in TEST()
811 const size_t base_size = message.SpaceUsedLong(); \ in TEST()
[all …]
Dmessage.cc161 size_t Message::SpaceUsedLong() const { in SpaceUsedLong() function in google::protobuf::Message
162 return GetReflection()->SpaceUsedLong(*this); in SpaceUsedLong()
Ddynamic_message_unittest.cc264 size_t initial_space_used = message->SpaceUsedLong(); in TEST_P()
267 EXPECT_LT(initial_space_used, message->SpaceUsedLong()); in TEST_P()
Dunknown_field_set.h123 size_t SpaceUsedLong() const;
125 int SpaceUsed() const { return internal::ToIntSize(SpaceUsedLong()); } in SpaceUsed()
Dunknown_field_set.cc120 total_size += field.data_.group_->SpaceUsedLong(); in SpaceUsedExcludingSelfLong()
129 size_t UnknownFieldSet::SpaceUsedLong() const { in SpaceUsedLong() function in google::protobuf::UnknownFieldSet
Dmessage.h296 virtual size_t SpaceUsedLong() const;
299 int SpaceUsed() const { return internal::ToIntSize(SpaceUsedLong()); } in SpaceUsed()
433 size_t SpaceUsedLong(const Message& message) const;
437 return internal::ToIntSize(SpaceUsedLong(message)); in SpaceUsed()
Dmap_entry.h117 size_t SpaceUsedLong() const override { in SpaceUsedLong() function
Dextension_set_heavy.cc459 total_size += lazymessage_value->SpaceUsedLong(); in SpaceUsedExcludingSelfLong()
461 total_size += down_cast<Message*>(message_value)->SpaceUsedLong(); in SpaceUsedExcludingSelfLong()
Dmap_type_handler.h546 return value->SpaceUsedLong();
552 return value.SpaceUsedLong();
Drepeated_field.h831 static inline size_t SpaceUsedLong(const GenericType& value) {
832 return value.SpaceUsedLong();
913 static size_t SpaceUsedLong(const std::string& value) {
1893 TypeHandler::SpaceUsedLong(*cast<TypeHandler>(rep_->elements[i]));
Dmap_test_util.h1306 message->SpaceUsedLong(); in ExpectMapFieldsSetViaReflectionIterator()
1447 message->SpaceUsedLong(); in ExpectMapFieldsSetViaReflectionIterator()
1487 message->SpaceUsedLong(); in ExpectMapFieldsSetViaReflectionIterator()
Dmap_field.cc565 size += message.GetReflection()->SpaceUsedLong(message); in SpaceUsedExcludingSelfNoLock()
Dgenerated_message_reflection.cc240 size_t Reflection::SpaceUsedLong(const Message& message) const { in SpaceUsedLong() function in google::protobuf::Reflection
350 total_size += sub_message->SpaceUsedLong(); in SpaceUsedLong()
Dmap_test.cc2585 EXPECT_LT(0, message.GetReflection()->SpaceUsedLong(message)); in TEST()
2879 int initial_space_used = message->SpaceUsedLong(); in TEST_F()
2882 EXPECT_LT(initial_space_used, message->SpaceUsedLong()); in TEST_F()
Dextension_set.h534 virtual size_t SpaceUsedLong() const = 0;
/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_unittest.inc873 // sizeof provides a lower bound on SpaceUsedLong().
874 EXPECT_LE(sizeof(UNITTEST::TestAllTypes), message1.SpaceUsedLong());
875 const size_t empty_message_size = message1.SpaceUsedLong();
882 EXPECT_EQ(empty_message_size, message1.SpaceUsedLong());
885 // only increase SpaceUsedLong() by the size of a string object, though this
889 message1.SpaceUsedLong());
892 // increase SpaceUsedLong(), because it cannot store the value internally.
896 message1.SpaceUsedLong());
898 size_t previous_size = message1.SpaceUsedLong();
904 message1.optional_nested_message().SpaceUsedLong());
[all …]
/third_party/protobuf/
Dlibprotobuf.map119 "google::protobuf::Message::SpaceUsedLong() const";
DCHANGES.txt798 SpaceUsedLong() instead
897 * New API Message::SpaceUsedLong() that’s equivalent to