Home
last modified time | relevance | path

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

123

/external/protobuf/java/src/main/java/com/google/protobuf/nano/
DInternalNano.java134 public static boolean equals(int[] field1, int[] field2) { in equals() argument
136 return field2 == null || field2.length == 0; in equals()
138 return Arrays.equals(field1, field2); in equals()
146 public static boolean equals(long[] field1, long[] field2) { in equals() argument
148 return field2 == null || field2.length == 0; in equals()
150 return Arrays.equals(field1, field2); in equals()
158 public static boolean equals(float[] field1, float[] field2) { in equals() argument
160 return field2 == null || field2.length == 0; in equals()
162 return Arrays.equals(field1, field2); in equals()
170 public static boolean equals(double[] field1, double[] field2) { in equals() argument
[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);
Dasm.c213 unsigned int field2 : 2; member
225 …: "=rm" (a.field2)); // expected-error {{reference to a bit-field in asm input with a memory const… in test16()
/external/protobuf/src/google/protobuf/
Drepeated_field_unittest.cc123 RepeatedField<int> field2; in TEST() local
133 EXPECT_TRUE(field2.empty()); in TEST()
134 EXPECT_EQ(field2.size(), 0); in TEST()
136 field1.Swap(&field2); in TEST()
141 EXPECT_FALSE(field2.empty()); in TEST()
142 EXPECT_EQ(field2.size(), 2); in TEST()
143 EXPECT_EQ(field2.Get(0), 5); in TEST()
144 EXPECT_EQ(field2.Get(1), 42); in TEST()
149 RepeatedField<int> field2; in TEST() local
154 field2.Add(5); in TEST()
[all …]
/external/protobuf/src/google/protobuf/compiler/java/
Djava_context.cc62 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()
/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/valgrind/memcheck/tests/s390x/
Dltgjhe.c5 int field1, field2; in main() local
38 :"Q" (field2) in main()
68 :"Q" (field2) in main()
/external/clang/test/CodeGenObjC/
Dbitfield-1.m19 int field2: 3; field
45 field2 = 1;
62 CHECK_IF(field2 == 1);
/external/nanopb-c/examples/using_double_on_avr/
Ddoubleproto.proto4 required double field2 = 2; field
11 required fixed64 field2 = 2; field
Ddecode_double.c20 float v2 = double_to_float(message.field2); in main()
/external/clang/test/ASTMerge/Inputs/
Dstruct2.c4 float field2; member
12 float field2; member
Dstruct1.c7 Float field2; member
15 int field2; member
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/
Dgenerate_python_test.py285 field2 = descriptor.FieldDescriptor()
286 field2.name = 'string_field'
287 field2.number = 2
288 field2.label = descriptor.FieldDescriptor.Label.OPTIONAL
289 field2.variant = descriptor.FieldDescriptor.Variant.STRING
297 self.DoMessageTest([field1, field2, field3])
/external/protobuf/src/google/protobuf/compiler/
Dparser_unittest.cc1898 const FieldDescriptorProto& field2 = file_.message_type(0).field(1); in TEST_F() local
1906 EXPECT_TRUE(HasSpan('j', 'r', field2)); in TEST_F()
1907 EXPECT_TRUE(HasSpan('j', 'k', field2, "label")); in TEST_F()
1908 EXPECT_TRUE(HasSpan('l', 'm', field2, "type_name")); in TEST_F()
1909 EXPECT_TRUE(HasSpan('n', 'o', field2, "name")); in TEST_F()
1910 EXPECT_TRUE(HasSpan('p', 'q', field2, "number")); in TEST_F()
1929 const FieldDescriptorProto& field2 = file_.extension(1); in TEST_F() local
1939 EXPECT_TRUE(HasSpan('g', 'i', field2)); in TEST_F()
1940 EXPECT_TRUE(HasSpan('g', 'h', field2, "label")); in TEST_F()
1941 EXPECT_TRUE(HasSpan('b', 'c', field2, "extendee")); in TEST_F()
[all …]
/external/protobuf/benchmarks/
Dgoogle_speed.proto12 required int32 field2 = 2; field
52 optional int32 field2 = 2 [default=0]; field
80 optional bytes field2 = 2; field
126 optional float field2 = 2; field
Dgoogle_size.proto12 required int32 field2 = 2; field
52 optional int32 field2 = 2 [default=0]; field
80 optional bytes field2 = 2; field
126 optional float field2 = 2; field
/external/mockito/src/org/mockito/internal/configuration/injection/
DPropertyAndSetterInjection.java134 public int compare(Field field1, Field field2) { in compare() argument
136 Class<?> field2Type = field2.getType(); in compare()
140 return field1.getName().compareTo(field2.getName()); in compare()
/external/e2fsprogs/debugfs/
Dset_fields.c351 void *field1 = info->ptr, *field2 = info->ptr2; in parse_uint() local
361 field2 = 0; in parse_uint()
363 field1 = field2; in parse_uint()
364 field2 = 0; in parse_uint()
380 if (field2 && info->size != 6) in parse_uint()
406 if (!field2) in parse_uint()
409 u.ptr8 = (__u8 *) field2; in parse_uint()
/external/bison/tests/
Dactions.at885 %union { int field0; int field1; int field2; }
888 %type <field2> 'f'
890 fprintf (yyoutput, "<*>/<field2>/e printer");
891 } <*> 'e' <field2>
893 fprintf (stdout, "<*>/<field2>/e destructor.\n");
894 } <*> 'e' <field2>
937 [[<*>/<field2>/e destructor.
938 <*>/<field2>/e destructor.
942 <*>/<field2>/e destructor.
946 Reading a token: Next token is token 'a' (<*>/<field2>/e printer)
[all …]
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/validation/targets/
DTarget08.java21 Object field2 = this; // $line-field2$ field in Target08
DTarget09.java22 int field2 = 123; // $line-field2$ field in Target09
DTarget05.java35 public static String field2 = "Hello"; // $line-field2$ field in Target05
/external/v8/test/mjsunit/
Dtrack-fields.js201 o18.field2 = 1;
206 o19.field2 = 1.6;
214 assertEquals(1, o18.field2);
215 assertEquals(1.6, o19.field2);
/external/clang/test/SemaObjC/Inputs/
Darc-system-header.h20 __strong id *field2; variable

123