Lines Matching refs:ByteSize
227 self.assertEquals(2, message.ByteSize())
231 self.assertEquals(3, message.ByteSize())
234 self.assertEquals(3, message.ByteSize())
238 self.assertEquals(3, message.ByteSize())
1499 self.assertEquals(proto.ByteSize(), 0)
1508 self.assertEquals(proto.ByteSize(), 0)
1700 self.assertEqual(proto.ByteSize(), len(serialized))
1938 return self.proto.ByteSize()
1941 self.assertEqual(0, self.proto.ByteSize())
1946 self.assertEqual(0, proto.ByteSize())
1949 self.assertEqual(2, proto_kwargs.ByteSize())
2085 self.assertEqual(0, proto.ByteSize())
2089 self.assertEqual(2, proto.ByteSize())
2094 self.assertEqual(2, self.proto.ByteSize())
2096 self.assertEqual(3, self.proto.ByteSize())
2098 self.assertEqual(0, self.proto.ByteSize())
2103 self.assertEqual(2, self.extended_proto.ByteSize())
2105 self.assertEqual(3, self.extended_proto.ByteSize())
2107 self.assertEqual(0, self.extended_proto.ByteSize())
2112 self.assertEqual(3, self.proto.ByteSize())
2114 self.assertEqual(6, self.proto.ByteSize())
2116 self.assertEqual(7, self.proto.ByteSize())
2118 self.assertEqual(0, self.proto.ByteSize())
2124 self.assertEqual(2, self.extended_proto.ByteSize())
2126 self.assertEqual(4, self.extended_proto.ByteSize())
2128 self.assertEqual(5, self.extended_proto.ByteSize())
2130 self.assertEqual(0, self.extended_proto.ByteSize())
2135 self.assertEqual(5, self.proto.ByteSize())
2137 self.assertEqual(6, self.proto.ByteSize())
2139 self.assertEqual(3, self.proto.ByteSize())
2141 self.assertEqual(0, self.proto.ByteSize())
2148 self.assertEqual(0, self.proto.ByteSize())
2153 self.assertEqual(0, self.extended_proto.ByteSize())
2155 self.assertEqual(4, self.extended_proto.ByteSize())
2157 self.assertEqual(5, self.extended_proto.ByteSize())
2159 self.assertEqual(0, self.extended_proto.ByteSize())
2164 self.assertEqual(3, self.proto.ByteSize())
2166 self.assertEqual(6, self.proto.ByteSize())
2168 self.assertEqual(8, self.proto.ByteSize())
2170 self.assertEqual(0, self.proto.ByteSize())
2176 self.assertEqual(2, self.extended_proto.ByteSize())
2178 self.assertEqual(4, self.extended_proto.ByteSize())
2180 self.assertEqual(6, self.extended_proto.ByteSize())
2182 self.assertEqual(4, self.extended_proto.ByteSize())
2184 self.assertEqual(0, self.extended_proto.ByteSize())
2187 self.assertEqual(0, self.packed_proto.ByteSize())
2194 self.assertEqual(int_size, self.packed_proto.ByteSize())
2200 self.assertEqual(int_size+double_size, self.packed_proto.ByteSize())
2203 self.assertEqual(double_size, self.packed_proto.ByteSize())
2206 self.assertEqual(0, self.packed_extended_proto.ByteSize())
2211 self.assertEqual(19, self.packed_extended_proto.ByteSize())
2231 self.assertEqual(first_proto.ByteSize(), len(serialized))
2242 self.assertEqual(first_proto.ByteSize(), len(serialized))
2324 self.assertEqual(proto.ByteSize(), len(serialized))
2410 self.assertEqual(proto2.ByteSize(), len(serialized))
2411 self.assertEqual(proto.ByteSize(), len(serialized))
2581 self.assertEqual(first_proto.ByteSize(), len(serialized))
2583 self.assertEqual(second_proto.ByteSize(), bytes_read)
2592 self.assertEqual(second_proto.ByteSize(), bytes_read)
2619 self.assertEqual(proto.ByteSize(), len(serialized))