/external/protobuf/src/google/protobuf/ |
D | wire_format_unittest.cc | 178 TEST(WireFormatTest, ByteSize) { in TEST() argument 182 EXPECT_EQ(message.ByteSize(), WireFormat::ByteSize(message)); in TEST() 184 EXPECT_EQ(0, message.ByteSize()); in TEST() 185 EXPECT_EQ(0, WireFormat::ByteSize(message)); in TEST() 192 EXPECT_EQ(message.ByteSize(), in TEST() 193 WireFormat::ByteSize(message)); in TEST() 195 EXPECT_EQ(0, message.ByteSize()); in TEST() 196 EXPECT_EQ(0, WireFormat::ByteSize(message)); in TEST() 203 EXPECT_EQ(message.ByteSize(), WireFormat::ByteSize(message)); in TEST() 205 EXPECT_EQ(0, message.ByteSize()); in TEST() [all …]
|
D | message_lite.cc | 235 const int size = ByteSize(); // Force size to be cached. in SerializePartialToCodedStream() 240 ByteSizeConsistencyError(size, ByteSize(), end - buffer); in SerializePartialToCodedStream() 252 ByteSizeConsistencyError(size, ByteSize(), in SerializePartialToCodedStream() 279 int byte_size = ByteSize(); in AppendPartialToString() 284 ByteSizeConsistencyError(byte_size, ByteSize(), end - start); in AppendPartialToString() 305 int byte_size = ByteSize(); in SerializePartialToArray() 310 ByteSizeConsistencyError(byte_size, ByteSize(), end - start); in SerializePartialToArray()
|
D | extension_set_unittest.cc | 192 int size = source.ByteSize(); in TEST() 213 int size = source.ByteSize(); in TEST() 236 int size = source.ByteSize(); in TEST() 257 int size = source.ByteSize(); in TEST()
|
D | message.cc | 144 int Message::ByteSize() const { in ByteSize() function in google::protobuf::Message 145 int size = WireFormat::ByteSize(*this); in ByteSize()
|
D | message_lite.h | 206 virtual int ByteSize() const = 0;
|
D | descriptor.pb.h | 187 int ByteSize() const; 281 int ByteSize() const; 463 int ByteSize() const; 560 int ByteSize() const; 728 int ByteSize() const; 954 int ByteSize() const; 1068 int ByteSize() const; 1177 int ByteSize() const; 1291 int ByteSize() const; 1416 int ByteSize() const; [all …]
|
D | wire_format_lite_inl.h | 726 return value.ByteSize(); in GroupSize() 729 int size = value.ByteSize(); in MessageSize() 735 return value.MessageType::ByteSize(); in GroupSizeNoVirtual() 739 int size = value.MessageType::ByteSize(); in MessageSizeNoVirtual()
|
D | descriptor.pb.cc | 776 int FileDescriptorSet::ByteSize() const { in ByteSize() function in google::protobuf::FileDescriptorSet 1238 int FileDescriptorProto::ByteSize() const { in ByteSize() function in google::protobuf::FileDescriptorProto 1560 int DescriptorProto_ExtensionRange::ByteSize() const { in ByteSize() function in google::protobuf::DescriptorProto_ExtensionRange 1980 int DescriptorProto::ByteSize() const { in ByteSize() function in google::protobuf::DescriptorProto 2633 int FieldDescriptorProto::ByteSize() const { in ByteSize() function in google::protobuf::FieldDescriptorProto 3000 int EnumDescriptorProto::ByteSize() const { in ByteSize() function in google::protobuf::EnumDescriptorProto 3315 int EnumValueDescriptorProto::ByteSize() const { in ByteSize() function in google::protobuf::EnumValueDescriptorProto 3629 int ServiceDescriptorProto::ByteSize() const { in ByteSize() function in google::protobuf::ServiceDescriptorProto 4009 int MethodDescriptorProto::ByteSize() const { in ByteSize() function in google::protobuf::MethodDescriptorProto 4536 int FileOptions::ByteSize() const { in ByteSize() function in google::protobuf::FileOptions [all …]
|
D | wire_format.h | 124 static int ByteSize(const Message& message);
|
D | extension_set.cc | 1020 int ExtensionSet::ByteSize() const { in ByteSize() function in google::protobuf::internal::ExtensionSet 1025 total_size += iter->second.ByteSize(iter->first); in ByteSize() 1231 int ExtensionSet::Extension::ByteSize(int number) const { in ByteSize() function in google::protobuf::internal::ExtensionSet::Extension 1370 return ByteSize(number); in MessageSetItemByteSize() 1381 int message_size = message_value->ByteSize(); in MessageSetItemByteSize()
|
D | extension_set.h | 368 int ByteSize() const; 446 int ByteSize(int number) const;
|
D | message.h | 292 virtual int ByteSize() const;
|
D | wire_format.cc | 881 int WireFormat::ByteSize(const Message& message) { in ByteSize() function in google::protobuf::internal::WireFormat 1037 int message_size = sub_message.ByteSize(); in MessageSetItemByteSize()
|
D | unknown_field_set_unittest.cc | 238 int size = WireFormat::ByteSize(empty_message_); in TEST_F()
|
D | test_util_lite.cc | 1102 EXPECT_EQ(0, message.ByteSize()); in ExpectExtensionsClear()
|
D | test_util.cc | 1291 EXPECT_EQ(0, message.ByteSize()); in ExpectExtensionsClear()
|
/external/protobuf/python/google/protobuf/internal/ |
D | reflection_test.py | 1095 self.assertEquals(proto.ByteSize(), 0) 1104 self.assertEquals(proto.ByteSize(), 0) 1224 self.assertEqual(proto.ByteSize(), len(serialized)) 1436 return self.proto.ByteSize() 1439 self.assertEqual(0, self.proto.ByteSize()) 1575 self.assertEqual(0, proto.ByteSize()) 1579 self.assertEqual(2, proto.ByteSize()) 1584 self.assertEqual(2, self.proto.ByteSize()) 1586 self.assertEqual(3, self.proto.ByteSize()) 1588 self.assertEqual(0, self.proto.ByteSize()) [all …]
|
D | wire_format.py | 195 + message.ByteSize()) 200 + _VarUInt64ByteSizeNoTag(message.ByteSize()) 201 + message.ByteSize()) 214 message_size = msg.ByteSize()
|
D | encoder.py | 274 result += element.ByteSize() 279 return tag_size + value.ByteSize() 293 l = element.ByteSize() 299 l = value.ByteSize() 324 l = value.ByteSize() 646 local_EncodeVarint(write, element.ByteSize()) 652 local_EncodeVarint(write, value.ByteSize()) 682 local_EncodeVarint(write, value.ByteSize())
|
D | wire_format_test.py | 203 def ByteSize(self): member in WireFormatTest.testByteSizeFunctions.MockMessage
|
/external/protobuf/python/google/protobuf/ |
D | message.py | 229 def ByteSize(self): member in Message
|
D | reflection.py | 771 def ByteSize(self): function 784 cls.ByteSize = ByteSize
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_unittest.cc | 462 int size = message1.ByteSize(); in TEST() 476 int packed_size = packed_message1.ByteSize(); in TEST() 490 int size = message1.ByteSize(); in TEST() 509 int size = message1.ByteSize(); in TEST() 644 EXPECT_EQ(3, message.ByteSize()); in TEST()
|
/external/protobuf/src/google/protobuf/compiler/ |
D | plugin.pb.h | 79 int ByteSize() const; 202 int ByteSize() const; 319 int ByteSize() const;
|
D | plugin.pb.cc | 370 int CodeGeneratorRequest::ByteSize() const { in ByteSize() function in google::protobuf::compiler::CodeGeneratorRequest 711 int CodeGeneratorResponse_File::ByteSize() const { in ByteSize() function in google::protobuf::compiler::CodeGeneratorResponse_File 988 int CodeGeneratorResponse::ByteSize() const { in ByteSize() function in google::protobuf::compiler::CodeGeneratorResponse
|