/external/protobuf/python/google/protobuf/internal/ |
D | reflection_test.py | 134 repeated_int32=[1, 2, 3, 4], 140 self.assertEqual([1, 2, 3, 4], list(proto.repeated_int32)) 223 TypeError, unittest_pb2.TestAllTypes, repeated_int32=1234) 225 TypeError, unittest_pb2.TestAllTypes, repeated_int32=["foo"]) 243 message = unittest_pb2.TestAllTypes(repeated_int32 = [12]) 477 proto.repeated_int32.append(5) 478 proto.repeated_int32.append(11) 669 self.assertRaises(TypeError, proto.repeated_int32.append, 1.1) 670 self.assertRaises(TypeError, proto.repeated_int32.append, 'foo') 674 proto.repeated_int32.append(10) [all …]
|
D | message_test.py | 369 message.repeated_int32.append(1) 370 message.repeated_int32.append(3) 371 message.repeated_int32.append(2) 372 message.repeated_int32.sort() 373 self.assertEqual(message.repeated_int32[0], 1) 374 self.assertEqual(message.repeated_int32[1], 2) 375 self.assertEqual(message.repeated_int32[2], 3) 405 message.repeated_int32.append(-3) 406 message.repeated_int32.append(-2) 407 message.repeated_int32.append(-1) [all …]
|
D | well_known_types_test.py | 502 nested_src.payload.repeated_int32.append(1234) 503 nested_dst.payload.repeated_int32.append(5678) 507 self.assertEqual(2, len(nested_dst.payload.repeated_int32)) 508 self.assertEqual(5678, nested_dst.payload.repeated_int32[0]) 509 self.assertEqual(1234, nested_dst.payload.repeated_int32[1]) 513 self.assertEqual(1, len(nested_dst.payload.repeated_int32)) 514 self.assertEqual(1234, nested_dst.payload.repeated_int32[0])
|
D | packed_field_test.proto | 42 repeated int32 repeated_int32 = 1; field 59 repeated int32 repeated_int32 = 1 [packed = false]; field
|
D | test_util.py | 99 message.repeated_int32.append(201) 131 message.repeated_int32.append(301) 457 test_case.assertEqual(2, len(message.repeated_int32)) 486 test_case.assertEqual(201, message.repeated_int32[0]) 517 test_case.assertEqual(301, message.repeated_int32[1])
|
/external/protobuf/src/google/protobuf/ |
D | repeated_field_reflection_unittest.cc | 140 EXPECT_EQ(message.repeated_int32(i), Func(i, -1)); in TEST() 305 EXPECT_EQ(message.repeated_int32(i), Func(i, -1)); in TEST() 316 &TestAllTypes::repeated_int32); in TEST() 361 EXPECT_EQ(1234, message.repeated_int32(10)); in TEST() 381 EXPECT_EQ(Func(9, -1), message.repeated_int32(0)); in TEST() 382 EXPECT_EQ(Func(0, -1), message.repeated_int32(9)); in TEST() 615 EXPECT_EQ(Func(i, 11), m0.repeated_int32(i)); in TEST() 636 EXPECT_EQ(Func(i, 21), m0.repeated_int32(i + 10)); in TEST() 659 EXPECT_EQ(Func(i, 21), m0.repeated_int32(i)); in TEST() 666 EXPECT_EQ(Func(i, 11), m2.repeated_int32(i)); in TEST() [all …]
|
D | text_format_unittest.cc | 640 EXPECT_EQ(1, proto_.repeated_int32(0)); in TEST_F() 641 EXPECT_EQ(456, proto_.repeated_int32(1)); in TEST_F() 642 EXPECT_EQ(789, proto_.repeated_int32(2)); in TEST_F() 868 EXPECT_EQ(-1, message.repeated_int32(0)); in TEST_F() 874 EXPECT_EQ(-2147483648u, message.repeated_int32(1)); in TEST_F()
|
D | proto3_lite_unittest.cc | 95 EXPECT_EQ(100, m.repeated_int32(0)); in ExpectAllFieldsSet()
|
D | unittest_proto3_arena.proto | 101 repeated int32 repeated_int32 = 31; field 168 repeated int32 repeated_int32 = 1 [packed = false]; field
|
D | message_unittest.cc | 436 EXPECT_EQ(5, dest.repeated_int32(0)); in TEST() 437 EXPECT_EQ(6, dest.repeated_int32(1)); in TEST()
|
D | unittest_proto3_arena_lite.proto | 102 repeated int32 repeated_int32 = 31; field 169 repeated int32 repeated_int32 = 1 [packed = false]; field
|
D | unittest_proto3_lite.proto | 101 repeated int32 repeated_int32 = 31; field 168 repeated int32 repeated_int32 = 1 [packed = false]; field
|
D | proto3_arena_lite_unittest.cc | 95 EXPECT_EQ(100, m.repeated_int32(0)); in ExpectAllFieldsSet()
|
/external/protobuf/objectivec/Tests/ |
D | text_format_unittest_data.txt | 33 repeated_int32: 201 34 repeated_int32: 301
|
/external/protobuf/src/google/protobuf/testdata/ |
D | text_format_unittest_data_pointy_oneof.txt | 39 repeated_int32: 201 40 repeated_int32: 301
|
D | text_format_unittest_data_oneof_implemented.txt | 39 repeated_int32: 201 40 repeated_int32: 301
|
D | text_format_unittest_data.txt | 39 repeated_int32: 201 40 repeated_int32: 301
|
D | text_format_unittest_data_pointy.txt | 39 repeated_int32: 201 40 repeated_int32: 301
|
/external/protobuf/ruby/tests/ |
D | repeated_field_test.rb | 33 assert_equal -10, m.repeated_int32.first 53 assert_equal -11, m.repeated_int32.last 74 assert_equal -11, m.repeated_int32.pop 75 assert_equal -10, m.repeated_int32.pop 579 test_msg.repeated_int32 += [-10, -11]
|
D | generated_code.proto | 18 repeated int32 repeated_int32 = 21; field
|
D | basic.rb | 242 m.repeated_int32 = [] # needs RepeatedField 246 m.repeated_int32.push "hello" 319 m.repeated_int32 = l 320 assert m.repeated_int32 == [5, 2, 3, 4, 7, 8] 321 assert m.repeated_int32.object_id == l.object_id 323 assert m.repeated_int32.pop == 42
|
/external/protobuf/java/core/src/test/proto/com/google/protobuf/ |
D | field_presence_test.proto | 68 repeated int32 repeated_int32 = 21; field 87 repeated int32 repeated_int32 = 21; field
|
/external/protobuf/src/google/protobuf/util/ |
D | field_mask_util_test.cc | 387 TEST_MERGE_ONE_FIELD(repeated_int32) in TEST() 477 EXPECT_EQ(5678, nested_dst.payload().repeated_int32(0)); in TEST() 478 EXPECT_EQ(1234, nested_dst.payload().repeated_int32(1)); in TEST() 484 EXPECT_EQ(1234, nested_dst.payload().repeated_int32(0)); in TEST()
|
/external/protobuf/javanano/src/test/java/com/google/protobuf/nano/ |
D | unittest_extension_repeated_nano.proto | 13 repeated int32 repeated_int32 = 10; field
|
/external/protobuf/src/google/protobuf/compiler/ruby/ |
D | ruby_generated_code.proto | 18 repeated int32 repeated_int32 = 21; field
|