/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 {
|
/prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/ |
map_entry.h | 197 int SpaceUsed() const { 199 size += entry_lite_.SpaceUsed();
|
unknown_field_set.h | 103 // Version of SpaceUsed() including sizeof(*this). 104 int SpaceUsed() const;
|
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...] |
/prebuilts/misc/darwin-x86_64/protobuf2.5/include/google/protobuf/ |
unknown_field_set.h | 100 // Version of SpaceUsed() including sizeof(*this). 101 int SpaceUsed() const;
|
message.h | 220 // Reflection object's SpaceUsed() method. 221 virtual int SpaceUsed() const; 376 virtual int SpaceUsed(const Message& message) const = 0; [all...] |
generated_message_reflection.h | 144 int SpaceUsed(const Message& message) const;
|
repeated_field.h | 222 // static int SpaceUsed(const Type&); 233 // implement SpaceUsed(), and thus need to call SpaceUsedExcludingSelf() 341 static int SpaceUsed(const GenericType& value) { return value.SpaceUsed(); } 372 // in the DLL. But SpaceUsed() calls StringSpaceUsedExcludingSelf() which 392 static int SpaceUsed(const string& value) { 912 allocated_bytes += TypeHandler::SpaceUsed(*cast<TypeHandler>(elements_[i])); [all...] |
/prebuilts/misc/linux-x86_64/protobuf2.5/include/google/protobuf/ |
unknown_field_set.h | 100 // Version of SpaceUsed() including sizeof(*this). 101 int SpaceUsed() const;
|
message.h | 220 // Reflection object's SpaceUsed() method. 221 virtual int SpaceUsed() const; 376 virtual int SpaceUsed(const Message& message) const = 0; [all...] |
/prebuilts/misc/windows/protobuf2.5/include/google/protobuf/ |
unknown_field_set.h | 100 // Version of SpaceUsed() including sizeof(*this). 101 int SpaceUsed() const;
|
message.h | 220 // Reflection object's SpaceUsed() method. 221 virtual int SpaceUsed() const; 376 virtual int SpaceUsed(const Message& message) const = 0; [all...] |
/prebuilts/tools/linux-x86_64/protoc/include/google/protobuf/ |
unknown_field_set.h | 100 // Version of SpaceUsed() including sizeof(*this). 101 int SpaceUsed() const;
|
message.h | 220 // Reflection object's SpaceUsed() method. 221 virtual int SpaceUsed() const; 376 virtual int SpaceUsed(const Message& message) 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...] |