/external/protobuf/src/google/protobuf/ |
D | unknown_field_set_unittest.cc | 495 TEST_F(UnknownFieldSetTest, SpaceUsed) { in TEST_F() argument 500 int base_size = empty_message.SpaceUsed(); in TEST_F() 502 EXPECT_EQ(base_size, empty_message.SpaceUsed()); in TEST_F() 506 EXPECT_LT(base_size, empty_message.SpaceUsed()); in TEST_F() 507 base_size = empty_message.SpaceUsed(); in TEST_F() 510 EXPECT_LT(base_size, empty_message.SpaceUsed()); in TEST_F() 511 base_size = empty_message.SpaceUsed(); in TEST_F() 514 EXPECT_LT(base_size, empty_message.SpaceUsed()); in TEST_F() 515 base_size = empty_message.SpaceUsed(); in TEST_F() 518 EXPECT_LT(base_size, empty_message.SpaceUsed()); in TEST_F() [all …]
|
D | extension_set_unittest.cc | 650 const int base_size = message.SpaceUsed(); \ in TEST() 654 EXPECT_LE(min_expected_size, message.SpaceUsed()); \ in TEST() 673 const int base_size = message.SpaceUsed(); in TEST() 678 EXPECT_LE(min_expected_size, message.SpaceUsed()); in TEST() 684 const int base_size = message.SpaceUsed(); in TEST() 689 EXPECT_LE(min_expected_size, message.SpaceUsed()); in TEST() 694 const int base_size = message.SpaceUsed(); in TEST() 699 int min_expected_size = base_size + foreign.SpaceUsed(); in TEST() 700 EXPECT_LE(min_expected_size, message.SpaceUsed()); in TEST() 716 const int base_size = message.SpaceUsed(); \ in TEST() [all …]
|
D | dynamic_message_unittest.cc | 234 TEST_F(DynamicMessageTest, SpaceUsed) { in TEST_F() argument 243 int initial_space_used = message->SpaceUsed(); in TEST_F() 246 EXPECT_LT(initial_space_used, message->SpaceUsed()); in TEST_F()
|
D | map_entry.h | 197 int SpaceUsed() const { in SpaceUsed() function 199 size += entry_lite_.SpaceUsed(); in SpaceUsed()
|
D | unknown_field_set.cc | 147 total_size += field.group_->SpaceUsed(); in SpaceUsedExcludingSelf() 156 int UnknownFieldSet::SpaceUsed() const { in SpaceUsed() function in google::protobuf::UnknownFieldSet
|
D | arena_unittest.cc | 1210 EXPECT_EQ(0, arena_1.SpaceUsed()); in TEST() 1215 EXPECT_EQ(Align8(320), arena_1.SpaceUsed()); in TEST() 1224 EXPECT_EQ(0, arena_2.SpaceUsed()); in TEST() 1228 EXPECT_EQ(Align8(55), arena_2.SpaceUsed()); in TEST() 1235 EXPECT_EQ(0, arena_3.SpaceUsed()); in TEST() 1238 EXPECT_EQ(Align8(190), arena_3.SpaceUsed()); in TEST() 1241 EXPECT_EQ(Align8(190) + Align8(70), arena_3.SpaceUsed()); in TEST()
|
D | message.cc | 163 int Message::SpaceUsed() const { in SpaceUsed() function in google::protobuf::Message 164 return GetReflection()->SpaceUsed(*this); in SpaceUsed()
|
D | unknown_field_set.h | 104 int SpaceUsed() const;
|
D | message.h | 248 virtual int SpaceUsed() const; 420 virtual int SpaceUsed(const Message& message) const = 0;
|
D | extension_set_heavy.cc | 374 total_size += lazymessage_value->SpaceUsed(); in SpaceUsedExcludingSelf() 376 total_size += down_cast<Message*>(message_value)->SpaceUsed(); in SpaceUsedExcludingSelf()
|
D | arena.cc | 242 uint64 Arena::SpaceUsed() const { in SpaceUsed() function in google::protobuf::Arena
|
D | map_entry_lite.h | 215 int SpaceUsed() const { in SpaceUsed() function
|
D | map_type_handler.h | 460 return value->SpaceUsed(); 466 return value.SpaceUsed();
|
D | repeated_field.h | 583 static inline int SpaceUsed(const GenericType& value) { 584 return value.SpaceUsed(); 717 static int SpaceUsed(const string& value) { 1566 allocated_bytes += TypeHandler::SpaceUsed(
|
D | map_field.cc | 459 size += message.GetReflection()->SpaceUsed(message); in SpaceUsedExcludingSelfNoLock()
|
D | generated_message_reflection.h | 217 int SpaceUsed(const Message& message) const;
|
D | map_test_util.cc | 1342 message->SpaceUsed(); in ExpectMapFieldsSetViaReflectionIterator() 1486 message->SpaceUsed(); in ExpectMapFieldsSetViaReflectionIterator() 1526 message->SpaceUsed(); in ExpectMapFieldsSetViaReflectionIterator()
|
D | map_test.cc | 2194 TEST(GeneratedMapFieldReflectionTest, SpaceUsed) { in TEST() argument 2200 EXPECT_LT(0, message.GetReflection()->SpaceUsed(message)); in TEST() 2502 int initial_space_used = message->SpaceUsed(); in TEST_F() 2505 EXPECT_LT(initial_space_used, message->SpaceUsed()); in TEST_F()
|
D | arena.h | 453 GOOGLE_ATTRIBUTE_NOINLINE uint64 SpaceUsed() const;
|
D | generated_message_reflection.cc | 278 int GeneratedMessageReflection::SpaceUsed(const Message& message) const { in SpaceUsed() function in google::protobuf::internal::GeneratedMessageReflection 381 total_size += sub_message->SpaceUsed(); in SpaceUsed()
|
D | extension_set.h | 449 virtual int SpaceUsed() const = 0;
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_unittest.cc | 865 EXPECT_LE(sizeof(unittest::TestAllTypes), message1.SpaceUsed()); in TEST() 866 const int empty_message_size = message1.SpaceUsed(); in TEST() 873 EXPECT_EQ(empty_message_size, message1.SpaceUsed()); in TEST() 879 EXPECT_LE(empty_message_size + sizeof(string), message1.SpaceUsed()); in TEST() 887 message1.SpaceUsed()); in TEST() 889 int previous_size = message1.SpaceUsed(); in TEST() 895 message1.optional_nested_message().SpaceUsed()); in TEST() 898 message1.SpaceUsed()); in TEST() 903 EXPECT_LE(sizeof(unittest::TestOneof2), message1.SpaceUsed()); in TEST() 905 const int empty_message_size = message1.SpaceUsed(); in TEST() [all …]
|
/external/protobuf/ |
D | CHANGES.txt | 1038 * All message classes now have a SpaceUsed() method which returns an estimate
|