/third_party/protobuf/src/google/protobuf/ |
D | unknown_field_set_unittest.cc | 543 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 …]
|
D | extension_set_unittest.cc | 742 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 …]
|
D | message.cc | 161 size_t Message::SpaceUsedLong() const { in SpaceUsedLong() function in google::protobuf::Message 162 return GetReflection()->SpaceUsedLong(*this); in SpaceUsedLong()
|
D | dynamic_message_unittest.cc | 264 size_t initial_space_used = message->SpaceUsedLong(); in TEST_P() 267 EXPECT_LT(initial_space_used, message->SpaceUsedLong()); in TEST_P()
|
D | unknown_field_set.h | 123 size_t SpaceUsedLong() const; 125 int SpaceUsed() const { return internal::ToIntSize(SpaceUsedLong()); } in SpaceUsed()
|
D | unknown_field_set.cc | 120 total_size += field.data_.group_->SpaceUsedLong(); in SpaceUsedExcludingSelfLong() 129 size_t UnknownFieldSet::SpaceUsedLong() const { in SpaceUsedLong() function in google::protobuf::UnknownFieldSet
|
D | message.h | 296 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()
|
D | map_entry.h | 117 size_t SpaceUsedLong() const override { in SpaceUsedLong() function
|
D | extension_set_heavy.cc | 459 total_size += lazymessage_value->SpaceUsedLong(); in SpaceUsedExcludingSelfLong() 461 total_size += down_cast<Message*>(message_value)->SpaceUsedLong(); in SpaceUsedExcludingSelfLong()
|
D | map_type_handler.h | 546 return value->SpaceUsedLong(); 552 return value.SpaceUsedLong();
|
D | repeated_field.h | 831 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]));
|
D | map_test_util.h | 1306 message->SpaceUsedLong(); in ExpectMapFieldsSetViaReflectionIterator() 1447 message->SpaceUsedLong(); in ExpectMapFieldsSetViaReflectionIterator() 1487 message->SpaceUsedLong(); in ExpectMapFieldsSetViaReflectionIterator()
|
D | map_field.cc | 565 size += message.GetReflection()->SpaceUsedLong(message); in SpaceUsedExcludingSelfNoLock()
|
D | generated_message_reflection.cc | 240 size_t Reflection::SpaceUsedLong(const Message& message) const { in SpaceUsedLong() function in google::protobuf::Reflection 350 total_size += sub_message->SpaceUsedLong(); in SpaceUsedLong()
|
D | map_test.cc | 2585 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()
|
D | extension_set.h | 534 virtual size_t SpaceUsedLong() const = 0;
|
/third_party/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_unittest.inc | 873 // 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/ |
D | libprotobuf.map | 119 "google::protobuf::Message::SpaceUsedLong() const";
|
D | CHANGES.txt | 798 SpaceUsedLong() instead 897 * New API Message::SpaceUsedLong() that’s equivalent to
|