Home
last modified time | relevance | path

Searched refs:field1 (Results 1 – 25 of 72) sorted by relevance

123

/external/protobuf/javanano/src/main/java/com/google/protobuf/nano/
DInternalNano.java143 public static boolean equals(int[] field1, int[] field2) { in equals() argument
144 if (field1 == null || field1.length == 0) { in equals()
147 return Arrays.equals(field1, field2); in equals()
155 public static boolean equals(long[] field1, long[] field2) { in equals() argument
156 if (field1 == null || field1.length == 0) { in equals()
159 return Arrays.equals(field1, field2); in equals()
167 public static boolean equals(float[] field1, float[] field2) { in equals() argument
168 if (field1 == null || field1.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 …]
/external/clang/test/Rewriter/
Dobjc-modern-property-bitfield.m21 @property BOOL field1; property
27 @synthesize field1 = _field1;
35 f.field1 = 0xF;
37 f.field1 = f.field1 & f.field2;
38 if (f.field1 != 0x3)
/external/vogar/test/vogar/target/junit4/
DParameterizedTest.java30 private final int field1; field in ParameterizedTest
33 public ParameterizedTest(int field1, int field2) { in ParameterizedTest() argument
34 this.field1 = field1; in ParameterizedTest()
46 assertEquals(5, field1); in params()
/external/protobuf/src/google/protobuf/
Drepeated_field_unittest.cc124 RepeatedField<int> field1; in TEST() local
127 field1.Add(5); in TEST()
128 field1.Add(42); in TEST()
130 EXPECT_FALSE(field1.empty()); in TEST()
131 EXPECT_EQ(field1.size(), 2); in TEST()
132 EXPECT_EQ(field1.Get(0), 5); in TEST()
133 EXPECT_EQ(field1.Get(1), 42); in TEST()
138 field1.Swap(&field2); in TEST()
140 EXPECT_TRUE(field1.empty()); in TEST()
141 EXPECT_EQ(field1.size(), 0); in TEST()
[all …]
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DLazyFieldLiteTest.java146 LazyFieldLite field1 = createLazyFieldLiteFromMessage(message1); in testMergeBeforeParsing() local
150 field1.merge(field2); in testMergeBeforeParsing()
153 assertEquals(expected, field1.getValue(TestAllTypes.getDefaultInstance())); in testMergeBeforeParsing()
163 LazyFieldLite field1 = LazyFieldLite.fromValue(message1); in testMergeOneNotParsed() local
164 field1.getValue(TestAllTypes.getDefaultInstance()); // Force parsing. in testMergeOneNotParsed()
166 field1.merge(field2); in testMergeOneNotParsed()
167 assertEquals(expected, field1.getValue(TestAllTypes.getDefaultInstance())); in testMergeOneNotParsed()
170 field1 = LazyFieldLite.fromValue(message1); in testMergeOneNotParsed()
173 field1.merge(field2); in testMergeOneNotParsed()
174 assertEquals(expected, field1.getValue(TestAllTypes.getDefaultInstance())); in testMergeOneNotParsed()
/external/clang/test/Sema/
Darm-layout.c7 struct s0 { char field0; double field1; }; member
14 struct s1 { char field0; long double field1; }; member
23 int field1 : 24; member
38 int field1 : 24 __attribute__((aligned(4))); member
/external/llvm/test/Assembler/
Ddicompositetype-members.ll17 ; CHECK-NEXT: !4 = !DIDerivedType(tag: DW_TAG_member, name: "field1", scope: !3, file: !1
22 !4 = !DIDerivedType(tag: DW_TAG_member, name: "field1", scope: !3, file: !1, line: 4, baseType: !0,…
29 ; CHECK-NEXT: !9 = !DIDerivedType(tag: DW_TAG_member, name: "field1", scope: !8, file: !1
34 !9 = !DIDerivedType(tag: DW_TAG_member, name: "field1", scope: !8, file: !1, line: 4, baseType: !0,…
41 ; CHECK-NEXT: !13 = !DIDerivedType(tag: DW_TAG_member, name: "field1", scope: !8, file: !2,
43 !13 = !DIDerivedType(tag: DW_TAG_member, name: "field1", scope: !8, file: !2, line: 4, baseType: !0…
48 !15 = !DIDerivedType(tag: DW_TAG_member, name: "field1", scope: !3, file: !2, line: 4, baseType: !0…
/external/swiftshader/third_party/llvm-7.0/llvm/test/Assembler/
Ddicompositetype-members.ll17 ; CHECK-NEXT: !4 = !DIDerivedType(tag: DW_TAG_member, name: "field1", scope: !3, file: !1
22 !4 = !DIDerivedType(tag: DW_TAG_member, name: "field1", scope: !3, file: !1, line: 4, baseType: !0,…
29 ; CHECK-NEXT: !9 = !DIDerivedType(tag: DW_TAG_member, name: "field1", scope: !8, file: !1
34 !9 = !DIDerivedType(tag: DW_TAG_member, name: "field1", scope: !8, file: !1, line: 4, baseType: !0,…
41 ; CHECK-NEXT: !13 = !DIDerivedType(tag: DW_TAG_member, name: "field1", scope: !8, file: !2,
43 !13 = !DIDerivedType(tag: DW_TAG_member, name: "field1", scope: !8, file: !2, line: 4, baseType: !0…
48 !15 = !DIDerivedType(tag: DW_TAG_member, name: "field1", scope: !3, file: !2, line: 4, baseType: !0…
/external/protobuf/src/google/protobuf/compiler/java/
Djava_context.cc61 bool IsConflicting(const FieldDescriptor* field1, const string& name1, in IsConflicting() argument
64 if (field1->is_repeated()) { in IsConflicting()
71 *info = "both repeated field \"" + field1->name() + "\" and singular " + in IsConflicting()
77 *info = "both repeated field \"" + field1->name() + "\" and singular " + in IsConflicting()
91 return IsConflicting(field2, name2, field1, name1, info); in IsConflicting()
/external/protobuf/js/
Dmessage.js1144 jspb.Message.compareFields = function(field1, field2) { argument
1146 if (field1 == field2) return true;
1150 if (!goog.isObject(field1) || !goog.isObject(field2)) {
1155 field1 = /** @type {!Object} */(field1);
1157 if (field1.constructor != field2.constructor) return false;
1160 if (jspb.Message.SUPPORTS_UINT8ARRAY_ && field1.constructor === Uint8Array) {
1161 var bytes1 = /** @type {!Uint8Array} */(field1);
1172 if (field1.constructor === Array) {
1176 var length = Math.max(field1.length, field2.length);
1178 var val1 = field1[i];
[all …]
/external/libchrome/mojo/public/tools/bindings/pylib/mojom/generate/
Dtest_support.py26 def FieldsAreEqual(field1, field2): argument
27 if field1 == field2:
29 return field1.name == field2.name and \
30 KindsAreEqual(field1.kind, field2.kind) and \
31 field1.ordinal == field2.ordinal and \
32 field1.default == field2.default
/external/protobuf/src/google/protobuf/util/
Dmessage_differencer.cc375 bool MessageDifferencer::FieldBefore(const FieldDescriptor* field1, in FieldBefore() argument
379 if (field1 == NULL) { in FieldBefore()
388 return (field1->number() < field2->number()); in FieldBefore()
564 const FieldDescriptor* field1 = fields1[index1]; in CombineFields() local
567 if (FieldBefore(field1, field2)) { in CombineFields()
572 } else if (FieldBefore(field2, field1)) { in CombineFields()
599 const FieldDescriptor* field1 = message1_fields[field_index1]; in CompareWithFieldsInternal() local
603 if (field1 == NULL && field2 == NULL) { in CompareWithFieldsInternal()
608 if (FieldBefore(field1, field2)) { in CompareWithFieldsInternal()
610 if (IsIgnored(message1, message2, field1, *parent_fields)) { in CompareWithFieldsInternal()
[all …]
/external/protobuf/objectivec/Tests/
DGPBUnknownFieldSetTest.m248 GPBUnknownField* field1 = [[[GPBUnknownField alloc] initWithNumber:1] autorelease];
249 [field1 addVarint:1];
250 [field1 addFixed32:2];
251 [field1 addFixed64:3];
252 [field1 addLengthDelimited:[NSData dataWithBytes:"hello" length:5]];
253 [field1 addGroup:[[unknownFields_ copy] autorelease]];
255 [field2 mergeFromField:field1];
256 XCTAssertEqualObjects(field1, field2);
/external/grpc-grpc/third_party/nanopb/examples/using_double_on_avr/
Ddoubleproto.proto5 required double field1 = 1; field
12 required fixed64 field1 = 1; field
/external/nanopb-c/examples/using_double_on_avr/
Ddoubleproto.proto5 required double field1 = 1; field
12 required fixed64 field1 = 1; field
/external/tensorflow/tensorflow/compiler/xla/tests/
Dlocal_client_aot_test.cc29 int field1 : 15; member
39 *out = opaque_data->field1 + opaque_data->field2 + opaque_data->field3; in SumStructElements()
/external/clang/test/ASTMerge/Inputs/
Dstruct2.c3 int field1; member
11 int field1; member
Dstruct1.c6 Int field1; member
14 Int field1; member
/external/clang/test/CodeGen/
Dtbaa-struct.cpp32 typedef struct T4 { T5 field0; T7 field1; } T4; member
33 typedef union T1 { T2 field0; T4 field1; } T1; member
/external/protobuf/benchmarks/
Dgoogle_size.proto9 required string field1 = 1; field
53 optional int32 field1 = 1 [default=0]; field
76 optional string field1 = 1; field
127 optional float field1 = 1; field
Dbenchmark_messages_proto2.proto12 required string field1 = 1; field
56 optional int32 field1 = 1 [default=0]; field
79 optional string field1 = 1; field
130 optional float field1 = 1; field
Dbenchmark_messages_proto3.proto12 string field1 = 1; field
56 int32 field1 = 1; field
/external/protobuf/src/google/protobuf/compiler/
Dparser_unittest.cc2370 const FieldDescriptorProto& field1 = file_.message_type(0).field(0); in TEST_F() local
2373 EXPECT_TRUE(HasSpan('a', 'i', field1)); in TEST_F()
2374 EXPECT_TRUE(HasSpan('a', 'b', field1, "label")); in TEST_F()
2375 EXPECT_TRUE(HasSpan('c', 'd', field1, "type")); in TEST_F()
2376 EXPECT_TRUE(HasSpan('e', 'f', field1, "name")); in TEST_F()
2377 EXPECT_TRUE(HasSpan('g', 'h', field1, "number")); in TEST_F()
2401 const FieldDescriptorProto& field1 = file_.extension(0); in TEST_F() local
2408 EXPECT_TRUE(HasSpan('d', 'f', field1)); in TEST_F()
2409 EXPECT_TRUE(HasSpan('d', 'e', field1, "label")); in TEST_F()
2410 EXPECT_TRUE(HasSpan('b', 'c', field1, "extendee")); in TEST_F()
[all …]
/external/bcc/tools/lib/
Dugc.py149 (e.string1, e.string2, e.field1, e.field3, e.field2, e.field4)
168 if e.field1 & val != 0])))
187 (event.field1, event.field2)
/external/ImageMagick/config/
Dconfig.sub114 IFS="-" read -r field1 field2 field3 field4 <<EOF
121 basic_machine=$field1-$field2
134 basic_machine=$field1
138 basic_machine=$field1-unknown
142 basic_machine=$field1-$field2
148 basic_machine=$field1

123