SpaceUsed 807 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_unittest.cc EXPECT_LE(sizeof(unittest::TestAllTypes), message1.SpaceUsed()); SpaceUsed 808 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_unittest.cc const int empty_message_size = message1.SpaceUsed(); SpaceUsed 815 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_unittest.cc EXPECT_EQ(empty_message_size, message1.SpaceUsed()); SpaceUsed 821 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_unittest.cc EXPECT_LE(empty_message_size + sizeof(string), message1.SpaceUsed()); SpaceUsed 829 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_unittest.cc message1.SpaceUsed()); SpaceUsed 831 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_unittest.cc int previous_size = message1.SpaceUsed(); SpaceUsed 837 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_unittest.cc message1.optional_nested_message().SpaceUsed()); SpaceUsed 840 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_unittest.cc message1.SpaceUsed()); SpaceUsed 150 third_party/protobuf/src/google/protobuf/dynamic_message_unittest.cc TEST_F(DynamicMessageTest, SpaceUsed) { SpaceUsed 159 third_party/protobuf/src/google/protobuf/dynamic_message_unittest.cc int initial_space_used = message->SpaceUsed(); SpaceUsed 162 third_party/protobuf/src/google/protobuf/dynamic_message_unittest.cc EXPECT_LT(initial_space_used, message->SpaceUsed()); SpaceUsed 415 third_party/protobuf/src/google/protobuf/extension_set.h virtual int SpaceUsed() const = 0; SpaceUsed 331 third_party/protobuf/src/google/protobuf/extension_set_heavy.cc total_size += lazymessage_value->SpaceUsed(); SpaceUsed 333 third_party/protobuf/src/google/protobuf/extension_set_heavy.cc total_size += down_cast<Message*>(message_value)->SpaceUsed(); SpaceUsed 419 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc const int base_size = message.SpaceUsed(); \ SpaceUsed 423 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc EXPECT_LE(min_expected_size, message.SpaceUsed()); \ SpaceUsed 442 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc const int base_size = message.SpaceUsed(); SpaceUsed 447 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc EXPECT_LE(min_expected_size, message.SpaceUsed()); SpaceUsed 453 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc const int base_size = message.SpaceUsed(); SpaceUsed 458 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc EXPECT_LE(min_expected_size, message.SpaceUsed()); SpaceUsed 463 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc const int base_size = message.SpaceUsed(); SpaceUsed 468 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc int min_expected_size = base_size + foreign.SpaceUsed(); SpaceUsed 469 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc EXPECT_LE(min_expected_size, message.SpaceUsed()); SpaceUsed 485 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc const int base_size = message.SpaceUsed(); \ SpaceUsed 489 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc const int empty_repeated_field_size = message.SpaceUsed(); \ SpaceUsed 493 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc EXPECT_EQ(empty_repeated_field_size, message.SpaceUsed()) << #type; \ SpaceUsed 500 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc EXPECT_EQ(expected_size, message.SpaceUsed()) << #type; \ SpaceUsed 522 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc const int base_size = message.SpaceUsed(); SpaceUsed 533 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc EXPECT_LE(min_expected_size, message.SpaceUsed()); SpaceUsed 538 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc const int base_size = message.SpaceUsed(); SpaceUsed 548 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc (16 - kMinRepeatedFieldAllocationSize) * prototype.SpaceUsed(); SpaceUsed 549 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc EXPECT_LE(min_expected_size, message.SpaceUsed()); SpaceUsed 286 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc total_size += sub_message->SpaceUsed(); SpaceUsed 144 third_party/protobuf/src/google/protobuf/generated_message_reflection.h int SpaceUsed(const Message& message) const; SpaceUsed 159 third_party/protobuf/src/google/protobuf/message.cc return GetReflection()->SpaceUsed(*this); SpaceUsed 221 third_party/protobuf/src/google/protobuf/message.h virtual int SpaceUsed() const; SpaceUsed 376 third_party/protobuf/src/google/protobuf/message.h virtual int SpaceUsed(const Message& message) const = 0; SpaceUsed 341 third_party/protobuf/src/google/protobuf/repeated_field.h static int SpaceUsed(const GenericType& value) { return value.SpaceUsed(); } SpaceUsed 392 third_party/protobuf/src/google/protobuf/repeated_field.h static int SpaceUsed(const string& value) { SpaceUsed 912 third_party/protobuf/src/google/protobuf/repeated_field.h allocated_bytes += TypeHandler::SpaceUsed(*cast<TypeHandler>(elements_[i])); SpaceUsed 106 third_party/protobuf/src/google/protobuf/unknown_field_set.cc total_size += field.group_->SpaceUsed(); SpaceUsed 101 third_party/protobuf/src/google/protobuf/unknown_field_set.h int SpaceUsed() const; SpaceUsed 480 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc TEST_F(UnknownFieldSetTest, SpaceUsed) { SpaceUsed 485 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc int base_size = empty_message.SpaceUsed(); SpaceUsed 487 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc EXPECT_EQ(base_size, empty_message.SpaceUsed()); SpaceUsed 491 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc EXPECT_LT(base_size, empty_message.SpaceUsed()); SpaceUsed 492 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc base_size = empty_message.SpaceUsed(); SpaceUsed 495 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc EXPECT_LT(base_size, empty_message.SpaceUsed()); SpaceUsed 496 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc base_size = empty_message.SpaceUsed(); SpaceUsed 499 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc EXPECT_LT(base_size, empty_message.SpaceUsed()); SpaceUsed 500 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc base_size = empty_message.SpaceUsed(); SpaceUsed 503 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc EXPECT_LT(base_size, empty_message.SpaceUsed()); SpaceUsed 504 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc base_size = empty_message.SpaceUsed(); SpaceUsed 507 third_party/protobuf/src/google/protobuf/unknown_field_set_unittest.cc EXPECT_LT(base_size, empty_message.SpaceUsed());