Home
last modified time | relevance | path

Searched refs:field2 (Results 1 – 25 of 133) sorted by relevance

123456

/external/protobuf/src/google/protobuf/
Darenastring_unittest.cc69 ArenaStringPtr field2; in TEST() local
70 field2.UnsafeSetDefault(&default_value); in TEST()
71 std::string* mut = field2.Mutable(&default_value, NULL); in TEST()
72 EXPECT_EQ(mut, field2.Mutable(&default_value, NULL)); in TEST()
73 EXPECT_EQ(mut, &field2.Get()); in TEST()
77 EXPECT_EQ(std::string("Test long long long long value"), field2.Get()); in TEST()
78 field2.Destroy(&default_value, NULL); in TEST()
95 ArenaStringPtr field2; in TEST() local
96 field2.UnsafeSetDefault(&default_value); in TEST()
97 std::string* mut = field2.Mutable(&default_value, &arena); in TEST()
[all …]
Drepeated_field_unittest.cc145 RepeatedField<int> field2; in TEST() local
155 EXPECT_TRUE(field2.empty()); in TEST()
156 EXPECT_EQ(field2.size(), 0); in TEST()
158 field1.Swap(&field2); in TEST()
163 EXPECT_FALSE(field2.empty()); in TEST()
164 EXPECT_EQ(field2.size(), 2); in TEST()
165 EXPECT_EQ(field2.Get(0), 5); in TEST()
166 EXPECT_EQ(field2.Get(1), 42); in TEST()
171 RepeatedField<int> field2; in TEST() local
176 field2.Add(5); in TEST()
[all …]
/external/protobuf/objectivec/Tests/
DGPBUnknownFieldSetTest.m85 GPBUnknownField* field2 = [[[GPBUnknownField alloc] initWithNumber:1] autorelease];
86 [field2 addVarint:1];
87 [set2 addField:field2];
97 field2 = [[[GPBUnknownField alloc] initWithNumber:2] autorelease];
98 [field2 addFixed32:2];
99 [set2 addField:field2];
109 field2 = [[[GPBUnknownField alloc] initWithNumber:3] autorelease];
110 [field2 addFixed64:3];
111 [set2 addField:field2];
121 field2 = [[[GPBUnknownField alloc] initWithNumber:4] autorelease];
[all …]
/external/protobuf/javanano/src/main/java/com/google/protobuf/nano/
DInternalNano.java143 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 …]
/external/igt-gpu-tools/tools/
Dintel_display_poller.c365 bool field1, field2; in poll_dsl_pipestat() local
383 field2 = dsl2 & 0x80000000; in poll_dsl_pipestat()
395 if (field1 != field2) in poll_dsl_pipestat()
397 field1, dsl1, field2, dsl2); in poll_dsl_pipestat()
410 bool field1, field2; in poll_dsl_iir_gen2() local
431 field2 = dsl2 & 0x80000000; in poll_dsl_iir_gen2()
443 if (field1 != field2) in poll_dsl_iir_gen2()
445 field1, dsl1, field2, dsl2); in poll_dsl_iir_gen2()
461 bool field1, field2; in poll_dsl_iir_gen3() local
482 field2 = dsl2 & 0x80000000; in poll_dsl_iir_gen3()
[all …]
/external/vogar/test/vogar/target/junit4/
DParameterizedTest.java31 private final int field2; field in ParameterizedTest
33 public ParameterizedTest(int field1, int field2) { in ParameterizedTest() argument
35 this.field2 = field2; in ParameterizedTest()
47 assertEquals(10, field2); in params()
/external/clang/test/Sema/
Darm-layout.c24 char field2; member
29 check(s2_offset_1, __builtin_offsetof(struct s2, field2) == 7);
33 check(s2_offset_1, __builtin_offsetof(struct s2, field2) == 5);
39 char field2; member
43 check(s3_offset_1, __builtin_offsetof(struct s3, field2) == 7);
/external/llvm-project/clang/test/Sema/
Darm-layout.c24 char field2; member
29 check(s2_offset_1, __builtin_offsetof(struct s2, field2) == 7);
33 check(s2_offset_1, __builtin_offsetof(struct s2, field2) == 5);
39 char field2; member
43 check(s3_offset_1, __builtin_offsetof(struct s3, field2) == 7);
/external/jackson-databind/src/test/java/com/fasterxml/jackson/failing/
DJacksonInject2678Test.java20 private String field2; field in JacksonInject2678Test.Some
25 final String field2) { in Some()
28 this.field2 = Objects.requireNonNull(field2); in Some()
36 return field2; in getField2()
/external/rust/crates/pin-utils/tests/
Dprojection.rs7 field2: T2, field
12 unsafe_unpinned!(field2: T2);
19 let foo = Foo { field1: 1, field2: 2 }; in projection()
25 let x2: &mut i32 = foo.as_mut().field2(); in projection()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/jsontype/ext/
DMultipleExternalIds291Test.java42 public F2 field2; field in MultipleExternalIds291Test.Container
96 assertTrue(c.field2 instanceof C); in _testMultipleValuesSingleExtId()
97 assertEquals("CCC", ((C) c.field2).c); in _testMultipleValuesSingleExtId()
107 assertTrue(c.field2 instanceof C); in _testMultipleValuesSingleExtId()
108 assertEquals("CCC", ((C) c.field2).c); in _testMultipleValuesSingleExtId()
/external/llvm-project/lldb/test/API/lang/objc/bitfield_ivars/
Dmain.m6 unsigned field2 : 1; field
16 field2 = 1;
42 unsigned field2 : 4; field
59 hb2->field2 = 3;
/external/clang/test/Rewriter/
Dobjc-modern-property-bitfield.m22 @property BOOL field2; property
28 @synthesize field2 = _field2;
36 f.field2 = 0x3;
37 f.field1 = f.field1 & f.field2;
/external/llvm-project/clang/test/Rewriter/
Dobjc-modern-property-bitfield.m22 @property BOOL field2; property
28 @synthesize field2 = _field2;
36 f.field2 = 0x3;
37 f.field1 = f.field1 & f.field2;
/external/protobuf/src/google/protobuf/compiler/java/
Djava_context.cc62 const FieldDescriptor* field2, const std::string& name2, in IsConflicting() argument
65 if (field2->is_repeated()) { in IsConflicting()
72 "field \"" + field2->name() + "\" generate the method \"" + in IsConflicting()
78 "field \"" + field2->name() + "\" generate the method \"" + in IsConflicting()
90 if (field2->is_repeated()) { in IsConflicting()
91 return IsConflicting(field2, name2, field1, name1, info); in IsConflicting()
/external/icu/icu4c/source/i18n/
Dformattedval_iterimpl.cpp100 int32_t field2 = fFields.elementAti(j * 4 + 1); in addOverlapSpans() local
101 if (field1 != field2) { in addOverlapSpans()
137 int32_t field2 = fFields.elementAti(i*4 + 5); in sort() local
150 } else if (field1 != field2) { in sort()
152 comparison = field2 - field1; in sort()
158 fFields.setElementAt(field2, i*4 + 1); in sort()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DLazyFieldLiteTest.java145 LazyFieldLite field2 = createLazyFieldLiteFromMessage(message2); in testMergeBeforeParsing() local
147 field1.merge(field2); in testMergeBeforeParsing()
162 LazyFieldLite field2 = createLazyFieldLiteFromMessage(message2); in testMergeOneNotParsed() local
163 field1.merge(field2); in testMergeOneNotParsed()
168 field2 = createLazyFieldLiteFromMessage(message2); in testMergeOneNotParsed()
169 field2.getValue(TestAllTypes.getDefaultInstance()); // Force parsing. in testMergeOneNotParsed()
170 field1.merge(field2); in testMergeOneNotParsed()
/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/llvm-project/clang/test/CodeGenObjC/
Dbitfield-1.m19 int field2: 3; field
45 field2 = 1;
62 CHECK_IF(field2 == 1);
/external/clang/test/CodeGenObjC/
Dbitfield-1.m19 int field2: 3; field
45 field2 = 1;
62 CHECK_IF(field2 == 1);
/external/llvm-project/clang/tools/clang-fuzzer/corpus_examples/objc/
DClassExtension.m10 @property(atomic, assign, readonly) int field2; property
17 return self->_field1 + [self field2];
/external/nanopb-c/examples/using_double_on_avr/
Ddoubleproto.proto6 required double field2 = 2; field
13 required fixed64 field2 = 2; field
/external/grpc-grpc/third_party/nanopb/examples/using_double_on_avr/
Ddoubleproto.proto6 required double field2 = 2; field
13 required fixed64 field2 = 2; field
/external/tensorflow/tensorflow/compiler/xla/tests/
Dlocal_client_aot_test.cc30 int field2 : 14; member
39 *out = opaque_data->field1 + opaque_data->field2 + opaque_data->field3; in SumStructElements()
/external/clang/test/ASTMerge/Inputs/
Dstruct2.c4 float field2; member
12 float field2; member

123456