/external/protobuf/src/google/protobuf/ |
D | extension_set_unittest.cc | 342 const int base_size = message.SpaceUsed(); \ in TEST() 346 EXPECT_LE(min_expected_size, message.SpaceUsed()); \ in TEST() 365 const int base_size = message.SpaceUsed(); in TEST() 370 EXPECT_LE(min_expected_size, message.SpaceUsed()); in TEST() 376 const int base_size = message.SpaceUsed(); in TEST() 381 EXPECT_LE(min_expected_size, message.SpaceUsed()); in TEST() 386 const int base_size = message.SpaceUsed(); in TEST() 391 int min_expected_size = base_size + foreign.SpaceUsed(); in TEST() 392 EXPECT_LE(min_expected_size, message.SpaceUsed()); in TEST() 408 const int base_size = message.SpaceUsed(); \ in TEST() [all …]
|
D | unknown_field_set_unittest.cc | 471 TEST_F(UnknownFieldSetTest, SpaceUsed) { in TEST_F() argument 476 int base_size = empty_message.SpaceUsed(); in TEST_F() 478 EXPECT_EQ(base_size, empty_message.SpaceUsed()); in TEST_F() 482 EXPECT_LT(base_size, empty_message.SpaceUsed()); in TEST_F() 483 base_size = empty_message.SpaceUsed(); in TEST_F() 486 EXPECT_LT(base_size, empty_message.SpaceUsed()); in TEST_F() 487 base_size = empty_message.SpaceUsed(); in TEST_F() 490 EXPECT_LT(base_size, empty_message.SpaceUsed()); in TEST_F() 491 base_size = empty_message.SpaceUsed(); in TEST_F() 494 EXPECT_LT(base_size, empty_message.SpaceUsed()); in TEST_F() [all …]
|
D | dynamic_message_unittest.cc | 146 TEST_F(DynamicMessageTest, SpaceUsed) { in TEST_F() argument 155 int initial_space_used = message->SpaceUsed(); in TEST_F() 158 EXPECT_LT(initial_space_used, message->SpaceUsed()); in TEST_F()
|
D | unknown_field_set.cc | 80 total_size += field.group_->SpaceUsed(); in SpaceUsedExcludingSelf() 89 int UnknownFieldSet::SpaceUsed() const { in SpaceUsed() function in google::protobuf::UnknownFieldSet
|
D | message.cc | 156 int Message::SpaceUsed() const { in SpaceUsed() function in google::protobuf::Message 157 return GetReflection()->SpaceUsed(*this); in SpaceUsed()
|
D | message.h | 240 virtual int SpaceUsed() const; 396 virtual int SpaceUsed(const Message& message) const = 0;
|
D | repeated_field.h | 277 static int SpaceUsed(const GenericType& value) { return value.SpaceUsed(); } in SpaceUsed() function 305 static int SpaceUsed(const string& value) { in SpaceUsed() function 718 allocated_bytes += TypeHandler::SpaceUsed(*cast<TypeHandler>(elements_[i])); in SpaceUsedExcludingSelf()
|
D | unknown_field_set.h | 86 int SpaceUsed() const;
|
D | generated_message_reflection.h | 138 int SpaceUsed(const Message& message) const;
|
D | extension_set_heavy.cc | 289 total_size += down_cast<Message*>(message_value)->SpaceUsed(); in SpaceUsedExcludingSelf()
|
D | generated_message_reflection.cc | 208 int GeneratedMessageReflection::SpaceUsed(const Message& message) const { in SpaceUsed() function in google::protobuf::internal::GeneratedMessageReflection 301 total_size += sub_message->SpaceUsed(); in SpaceUsed()
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_unittest.cc | 683 EXPECT_LE(sizeof(unittest::TestAllTypes), message1.SpaceUsed()); in TEST() 684 const int empty_message_size = message1.SpaceUsed(); in TEST() 691 EXPECT_EQ(empty_message_size, message1.SpaceUsed()); in TEST() 697 EXPECT_LE(empty_message_size + sizeof(string), message1.SpaceUsed()); in TEST() 705 message1.SpaceUsed()); in TEST() 707 int previous_size = message1.SpaceUsed(); in TEST() 713 message1.optional_nested_message().SpaceUsed()); in TEST() 716 message1.SpaceUsed()); in TEST()
|
/external/protobuf/ |
D | CHANGES.txt | 244 * All message classes now have a SpaceUsed() method which returns an estimate
|