/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/ |
D | arenastring_unittest.cc | 70 ArenaStringPtr field2; in TEST() local 71 field2.UnsafeSetDefault(&default_value); in TEST() 72 ::std::string* mut = field2.Mutable(&default_value, NULL); in TEST() 73 EXPECT_EQ(mut, field2.Mutable(&default_value, NULL)); in TEST() 74 EXPECT_EQ(mut, &field2.Get(&default_value)); in TEST() 78 EXPECT_EQ(string("Test long long long long value"), field2.Get(&default_value)); in TEST() 79 field2.Destroy(&default_value, NULL); in TEST() 96 ArenaStringPtr field2; in TEST() local 97 field2.UnsafeSetDefault(&default_value); in TEST() 98 ::std::string* mut = field2.Mutable(&default_value, &arena); in TEST() [all …]
|
D | repeated_field_unittest.cc | 125 RepeatedField<int> field2; in TEST() local 135 EXPECT_TRUE(field2.empty()); in TEST() 136 EXPECT_EQ(field2.size(), 0); in TEST() 138 field1.Swap(&field2); in TEST() 143 EXPECT_FALSE(field2.empty()); in TEST() 144 EXPECT_EQ(field2.size(), 2); in TEST() 145 EXPECT_EQ(field2.Get(0), 5); in TEST() 146 EXPECT_EQ(field2.Get(1), 42); in TEST() 151 RepeatedField<int> field2; in TEST() local 156 field2.Add(5); in TEST() [all …]
|
D | arena_unittest.cc | 931 RepeatedPtrField<TestAllTypes> field2(arena2); in TestSwapRepeatedField() local 947 field2.UnsafeArenaAddAllocated(t); in TestSwapRepeatedField() 949 field2.AddAllocated(t); in TestSwapRepeatedField() 952 field1.Swap(&field2); in TestSwapRepeatedField() 954 EXPECT_EQ(10, field2.size()); in TestSwapRepeatedField() 955 EXPECT_TRUE(string("field1") == field2.Get(0).optional_string()); in TestSwapRepeatedField() 961 for (int i = 0; i < field2.size(); i++) { in TestSwapRepeatedField() 962 EXPECT_EQ(i, field2.Get(i).optional_int32()); in TestSwapRepeatedField()
|
D | generated_message_reflection.cc | 566 const FieldDescriptor* field2 = in SwapOneofField() local 568 switch (field2->cpp_type()) { in SwapOneofField() 571 SetField<TYPE>(message1, field2, GetField<TYPE>(*message2, field2)); \ in SwapOneofField() 585 ReleaseMessage(message2, field2), in SwapOneofField() 586 field2); in SwapOneofField() 590 SetString(message1, field2, GetString(*message2, field2)); in SwapOneofField() 594 GOOGLE_LOG(FATAL) << "Unimplemented type: " << field2->cpp_type(); in SwapOneofField()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/javanano/src/main/java/com/google/protobuf/nano/ |
D | InternalNano.java | 143 public static boolean equals(int[] field1, int[] field2) { in equals() argument 145 return field2 == null || field2.length == 0; in equals() 147 return Arrays.equals(field1, field2); in equals() 155 public static boolean equals(long[] field1, long[] field2) { in equals() argument 157 return field2 == null || field2.length == 0; in equals() 159 return Arrays.equals(field1, field2); in equals() 167 public static boolean equals(float[] field1, float[] field2) { in equals() argument 169 return field2 == null || field2.length == 0; in equals() 171 return Arrays.equals(field1, field2); in equals() 179 public static boolean equals(double[] field1, double[] field2) { in equals() argument [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/java/ |
D | java_context.cc | 62 const FieldDescriptor* field2, const string& name2, in IsConflicting() argument 65 if (field2->is_repeated()) { in IsConflicting() 72 "field \"" + field2->name() + "\" generates the method \"" + in IsConflicting() 78 "field \"" + field2->name() + "\" generates the method \"" + in IsConflicting() 90 if (field2->is_repeated()) { in IsConflicting() 91 return IsConflicting(field2, name2, field1, name1, info); in IsConflicting()
|
/frameworks/base/cmds/incidentd/tests/ |
D | ProtoFileReader_test.cpp | 67 string field2; in TEST() local 68 field2.resize(msg2Size, 'a'); in TEST() 70 proto.write(FIELD_TYPE_MESSAGE | 2, field2.data(), field2.length()); in TEST()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/ |
D | LazyFieldLiteTest.java | 148 LazyFieldLite field2 = createLazyFieldLiteFromMessage(message2); in testMergeBeforeParsing() local 150 field1.merge(field2); in testMergeBeforeParsing() 165 LazyFieldLite field2 = createLazyFieldLiteFromMessage(message2); in testMergeOneNotParsed() local 166 field1.merge(field2); in testMergeOneNotParsed() 171 field2 = createLazyFieldLiteFromMessage(message2); in testMergeOneNotParsed() 172 field2.getValue(TestAllTypes.getDefaultInstance()); // Force parsing. in testMergeOneNotParsed() 173 field1.merge(field2); in testMergeOneNotParsed()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/Tests/ |
D | GPBUnknownFieldSetTest.m | 181 GPBUnknownField* field2 = [destination.unknownFields getField:123456]; 182 XCTAssertEqual(field2.varintList.count, (NSUInteger)1); 183 XCTAssertEqual(654321ULL, [field2.varintList valueAtIndex:0]); 238 GPBUnknownField* field2 = [parsed getField:1]; 239 XCTAssertEqual(field2.varintList.count, (NSUInteger)1); 240 XCTAssertEqual(0x7FFFFFFFFFFFFFFFULL, [field2.varintList valueAtIndex:0]); 250 GPBUnknownField* field2 = [[[GPBUnknownField alloc] initWithNumber:2] autorelease]; 251 [field2 mergeFromField:field1]; 252 XCTAssertEqualObjects(field1, field2);
|
/frameworks/base/cmds/statsd/tests/ |
D | FieldValue_test.cpp | 143 Field field2(10, pos2, 2); in TEST() local 155 dim.addValue(FieldValue(field2, value2)); in TEST() 161 subDim1.addValue(FieldValue(field2, value2)); in TEST() 302 Field field2(10, pos2, 2); in TEST() local 312 dim.addValue(FieldValue(field2, value2)); in TEST() 328 Field field2(10, pos2, 2); in TEST() local 338 dim.addValue(FieldValue(field2, value2)); in TEST() 390 Field field2(10, pos2, 2); in TEST() local 400 dim.addValue(FieldValue(field2, value2)); in TEST()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/js/ |
D | message.js | 1235 jspb.Message.compareFields = function(field1, field2) { argument 1237 if (field1 == field2) return true; 1241 if (!goog.isObject(field1) || !goog.isObject(field2)) { 1247 field2 = /** @type {!Object} */(field2); 1248 if (field1.constructor != field2.constructor) return false; 1253 var bytes2 = /** @type {!Uint8Array} */(field2); 1267 var length = Math.max(field1.length, field2.length); 1270 var val2 = field2[i]; 1281 goog.asserts.assert(i === field2.length - 1); 1303 return jspb.Message.compareExtensions(field1, field2);
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/benchmarks/ |
D | google_size.proto | 14 required int32 field2 = 2; field 54 optional int32 field2 = 2 [default=0]; field 82 optional bytes field2 = 2; field 128 optional float field2 = 2; field
|
D | benchmark_messages_proto2.proto | 17 required int32 field2 = 2; field 57 optional int32 field2 = 2 [default=0]; field 85 optional bytes field2 = 2; field 131 optional float field2 = 2; field
|
D | benchmark_messages_proto3.proto | 17 int32 field2 = 2; field 57 int32 field2 = 2; field
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/ |
D | parser_unittest.cc | 2371 const FieldDescriptorProto& field2 = file_.message_type(0).field(1); in TEST_F() local 2379 EXPECT_TRUE(HasSpan('j', 'r', field2)); in TEST_F() 2380 EXPECT_TRUE(HasSpan('j', 'k', field2, "label")); in TEST_F() 2381 EXPECT_TRUE(HasSpan('l', 'm', field2, "type_name")); in TEST_F() 2382 EXPECT_TRUE(HasSpan('n', 'o', field2, "name")); in TEST_F() 2383 EXPECT_TRUE(HasSpan('p', 'q', field2, "number")); in TEST_F() 2402 const FieldDescriptorProto& field2 = file_.extension(1); in TEST_F() local 2412 EXPECT_TRUE(HasSpan('g', 'i', field2)); in TEST_F() 2413 EXPECT_TRUE(HasSpan('g', 'h', field2, "label")); in TEST_F() 2414 EXPECT_TRUE(HasSpan('b', 'c', field2, "extendee")); in TEST_F() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/ |
D | message_differencer.cc | 376 const FieldDescriptor* field2) { in FieldBefore() argument 383 if (field2 == NULL) { in FieldBefore() 388 return (field1->number() < field2->number()); in FieldBefore() 568 const FieldDescriptor* field2 = fields2[index2]; in CombineFields() local 570 if (FieldBefore(field1, field2)) { in CombineFields() 575 } else if (FieldBefore(field2, field1)) { in CombineFields() 603 const FieldDescriptor* field2 = message2_fields[field_index2]; in CompareWithFieldsInternal() local 606 if (field1 == NULL && field2 == NULL) { in CompareWithFieldsInternal() 611 if (FieldBefore(field1, field2)) { in CompareWithFieldsInternal() 649 } else if (FieldBefore(field2, field1)) { in CompareWithFieldsInternal() [all …]
|
D | message_differencer.h | 656 const FieldDescriptor* field2);
|
/frameworks/opt/gamesdk/src/tuningfork/tools/validation/src/test/resources/testdata/ |
D | fidelity_params_valid.proto | 32 int32 field2 = 2; field
|
D | compile_valid.proto | 30 string field2 = 2; field
|
/frameworks/native/libs/vr/libbufferhub/ |
D | buffer_hub-test.cpp | 509 int64_t field2; in TEST_F() member 525 EXPECT_EQ(m.field2, m2.field2); in TEST_F() 533 int64_t field2; in TEST_F() member 537 int64_t field2; in TEST_F() member 562 int64_t field2; in TEST_F() member 566 int64_t field2; in TEST_F() member
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/ |
D | README.md | 42 mymessage = MyTestMessage.new(:field1 => 42, :field2 => ["a", "b", "c"]) 44 mymessage.field2.push("d")
|
/frameworks/base/tools/stats_log_api_gen/ |
D | test.proto | 33 optional int32 field2 = 2; field 82 optional int32 field2 = 2; field
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/more_protos/src/proto/com/google/protobuf/ |
D | test_bad_identifiers.proto | 72 optional TestEnum field2 = 2 [deprecated=true]; field
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/protos/src/proto/com/google/protobuf/ |
D | test_bad_identifiers.proto | 72 optional TestEnum field2 = 2 [deprecated=true]; field
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/proto/com/google/protobuf/ |
D | test_bad_identifiers.proto | 86 optional TestEnum field2 = 2 [deprecated=true]; field
|