/external/protobuf/src/google/protobuf/ |
unknown_field_set_unittest.cc | 495 TEST_F(UnknownFieldSetTest, SpaceUsed) { 500 int base_size = empty_message.SpaceUsed(); 502 EXPECT_EQ(base_size, empty_message.SpaceUsed()); 504 // Make sure each thing we add to the set increases the SpaceUsed(). 506 EXPECT_LT(base_size, empty_message.SpaceUsed()); 507 base_size = empty_message.SpaceUsed(); 510 EXPECT_LT(base_size, empty_message.SpaceUsed()); 511 base_size = empty_message.SpaceUsed(); 514 EXPECT_LT(base_size, empty_message.SpaceUsed()); 515 base_size = empty_message.SpaceUsed(); [all...] |
extension_set_unittest.cc | 650 const int base_size = message.SpaceUsed(); \ 654 EXPECT_LE(min_expected_size, message.SpaceUsed()); \ 673 const int base_size = message.SpaceUsed(); 678 EXPECT_LE(min_expected_size, message.SpaceUsed()); 684 const int base_size = message.SpaceUsed(); 689 EXPECT_LE(min_expected_size, message.SpaceUsed()); 694 const int base_size = message.SpaceUsed(); 699 int min_expected_size = base_size + foreign.SpaceUsed(); 700 EXPECT_LE(min_expected_size, message.SpaceUsed()); 710 // SpaceUsed() [all...] |
dynamic_message_unittest.cc | 234 TEST_F(DynamicMessageTest, SpaceUsed) { 235 // Test that SpaceUsed() works properly 243 int initial_space_used = message->SpaceUsed(); 246 EXPECT_LT(initial_space_used, message->SpaceUsed());
|
map_entry.h | 197 int SpaceUsed() const { 199 size += entry_lite_.SpaceUsed();
|
unknown_field_set.cc | 147 total_size += field.group_->SpaceUsed(); 156 int UnknownFieldSet::SpaceUsed() const {
|
message.cc | 163 int Message::SpaceUsed() const { 164 return GetReflection()->SpaceUsed(*this);
|
unknown_field_set.h | 103 // Version of SpaceUsed() including sizeof(*this). 104 int SpaceUsed() const;
|
arena_unittest.cc | [all...] |
message.h | 242 // Reflection object's SpaceUsed() method. 244 // SpaceUsed() is noticeably slower than ByteSize(), as it is implemented 248 virtual int SpaceUsed() const; 420 virtual int SpaceUsed(const Message& message) const = 0; [all...] |
arena.cc | 242 uint64 Arena::SpaceUsed() const {
|
map_entry_lite.h | 215 int SpaceUsed() const {
|
extension_set_heavy.cc | 359 // but MessageLite has no SpaceUsed(), so we must directly call 374 total_size += lazymessage_value->SpaceUsed(); 376 total_size += down_cast<Message*>(message_value)->SpaceUsed();
|
map_type_handler.h | 460 return value->SpaceUsed(); 466 return value.SpaceUsed(); [all...] |
generated_message_reflection.h | 217 int SpaceUsed(const Message& message) const;
|
map_field.cc | 459 size += message.GetReflection()->SpaceUsed(message);
|
repeated_field.h | 367 // static int SpaceUsed(const Type&); 378 // implement SpaceUsed(), and thus need to call SpaceUsedExcludingSelf() 583 static inline int SpaceUsed(const GenericType& value) { 584 return value.SpaceUsed(); 679 // in the DLL. But SpaceUsed() calls StringSpaceUsedExcludingSelf() which 717 static int SpaceUsed(const string& value) { [all...] |
map_test_util.cc | [all...] |
arena.h | 453 GOOGLE_ATTRIBUTE_NOINLINE uint64 SpaceUsed() const; 455 // Combines SpaceAllocated and SpaceUsed. Returns a pair of [all...] |
map_test.cc | [all...] |
generated_message_reflection.cc | 278 int GeneratedMessageReflection::SpaceUsed(const Message& message) const { 381 total_size += sub_message->SpaceUsed(); [all...] |
extension_set.h | 426 // SpaceUsed()). 449 virtual int SpaceUsed() const = 0; [all...] |
/external/protobuf/src/google/protobuf/compiler/cpp/ |
cpp_unittest.cc | 864 // sizeof provides a lower bound on SpaceUsed(). 865 EXPECT_LE(sizeof(unittest::TestAllTypes), message1.SpaceUsed()); 866 const int empty_message_size = message1.SpaceUsed(); [all...] |