Home
last modified time | relevance | path

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

123

/third_party/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.cc149 RepeatedField<int> field2; in TEST() local
159 EXPECT_TRUE(field2.empty()); in TEST()
160 EXPECT_EQ(field2.size(), 0); in TEST()
162 field1.Swap(&field2); in TEST()
167 EXPECT_FALSE(field2.empty()); in TEST()
168 EXPECT_EQ(field2.size(), 2); in TEST()
169 EXPECT_EQ(field2.Get(0), 5); in TEST()
170 EXPECT_EQ(field2.Get(1), 42); in TEST()
175 RepeatedField<int> field2; in TEST() local
180 field2.Add(5); in TEST()
[all …]
/third_party/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 …]
/third_party/protobuf/js/experimental/runtime/kernel/
Dbinary_storage_test.js18 const /** !Field */ field2 = constant
42 storage.set(DEFAULT_PIVOT, field2);
46 expect(storage.get(DEFAULT_PIVOT)).toBe(field2);
53 storage.set(100000, field2);
56 expect(storage.get(100000)).toBe(field2);
63 storage.set(100000, field2);
67 expect(storage.get(100000)).toBe(field2);
74 storage.set(DEFAULT_PIVOT, field2);
79 expect(storage.get(DEFAULT_PIVOT)).toBe(field2);
115 storage.set(DEFAULT_PIVOT, field2);
[all …]
/third_party/protobuf/src/google/protobuf/compiler/java/
Djava_context.cc61 const FieldDescriptor* field2, const std::string& name2, in IsConflicting() argument
64 if (field2->is_repeated()) { in IsConflicting()
71 "field \"" + field2->name() + "\" generate the method \"" + in IsConflicting()
77 "field \"" + field2->name() + "\" generate the method \"" + in IsConflicting()
89 if (field2->is_repeated()) { in IsConflicting()
90 return IsConflicting(field2, name2, field1, name1, info); in IsConflicting()
/third_party/ltp/tools/sparse/sparse-src/validation/
Dinitializer-entry-defined-twice.c6 int field2; member
37 int field2; member
42 .field2 = 0
/third_party/node/deps/icu-small/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()
/third_party/skia/third_party/externals/icu/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()
/third_party/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()
/third_party/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()
/third_party/jerryscript/tests/jerry-test-suite/15/15.02/15.02.03/
D15.02.03-011.js17 field2: "qwe", property
23 field2: "qwe", property
D15.02.03-006.js17 field2: "qwe", property
23 field2: "qwe", property
D15.02.03-008.js17 field2: "qwe", property
23 field2: "qwe", property
/third_party/libcoap/src/
Dasync.c21 #define SEARCH_PAIR(head,out,field1,val1,field2,val2,field3,val3) \ argument
22 SEARCH_PAIR3(head,out,field1,val1,field2,val2,field3,val3,next)
24 #define SEARCH_PAIR3(head,out,field1,val1,field2,val2,field3,val3,next) \ argument
27 if ((out)->field1 == (val1) && (out)->field2 == (val2) && \
/third_party/protobuf/src/google/protobuf/compiler/
Dparser_unittest.cc2815 const FieldDescriptorProto& field2 = file_.message_type(0).field(1); in TEST_F() local
2823 EXPECT_TRUE(HasSpan('j', 'r', field2)); in TEST_F()
2824 EXPECT_TRUE(HasSpan('j', 'k', field2, "label")); in TEST_F()
2825 EXPECT_TRUE(HasSpan('l', 'm', field2, "type_name")); in TEST_F()
2826 EXPECT_TRUE(HasSpan('n', 'o', field2, "name")); in TEST_F()
2827 EXPECT_TRUE(HasSpan('p', 'q', field2, "number")); in TEST_F()
2844 const FieldDescriptorProto& field2 = file_.message_type(0).field(1); in TEST_F() local
2851 EXPECT_TRUE(HasSpan('h', 'p', field2)); in TEST_F()
2852 EXPECT_TRUE(HasSpan('h', 'i', field2, "label")); in TEST_F()
2853 EXPECT_TRUE(HasSpan('j', 'k', field2, "type_name")); in TEST_F()
[all …]
/third_party/typescript/tests/cases/fourslash/
DreferencesForOverrides.ts102 const [field0, field1, field2, field3, field4, field5] = fieldRanges; constant
106 { definition: "(property) Test.IBlah2.field: string", ranges: [field2] },
/third_party/protobuf/benchmarks/
Dgoogle_size.proto14 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
/third_party/protobuf/js/
Dmessage.js1654 jspb.Message.compareFields = function(field1, field2) { argument
1656 if (field1 == field2) return true;
1658 if (!goog.isObject(field1) || !goog.isObject(field2)) {
1661 (typeof field2 === 'number' && isNaN(field2))) {
1663 return String(field1) == String(field2);
1672 field2 = /** @type {!Object} */(field2);
1673 if (field1.constructor != field2.constructor) return false;
1678 var bytes2 = /** @type {!Uint8Array} */(field2);
1690 var typedField2 = /** @type {!Array<?>} */ (field2);
1730 return jspb.Message.compareExtensions(field1, field2);
/third_party/flutter/flutter/packages/flutter/test/foundation/
Dbit_field_test.dart49 final BitField<_TestEnum> field2 = BitField<_TestEnum>.filled(8, false);
51 expect(field2[_TestEnum.d], isFalse);
/third_party/protobuf/src/google/protobuf/util/
Dmessage_differencer.cc470 const FieldDescriptor* field2) { in FieldBefore() argument
477 if (field2 == NULL) { in FieldBefore()
482 return (field1->number() < field2->number()); in FieldBefore()
681 const FieldDescriptor* field2 = fields2[index2]; in CombineFields() local
683 if (FieldBefore(field1, field2)) { in CombineFields()
688 } else if (FieldBefore(field2, field1)) { in CombineFields()
722 const FieldDescriptor* field2 = message2_fields[field_index2]; in CompareWithFieldsInternal() local
725 if (field1 == NULL && field2 == NULL) { in CompareWithFieldsInternal()
730 if (FieldBefore(field1, field2)) { in CompareWithFieldsInternal()
772 } else if (FieldBefore(field2, field1)) { in CompareWithFieldsInternal()
[all …]
/third_party/jerryscript/tests/jerry-test-suite/15/15.02/15.02.02/
D15.02.02-004.js17 field2: String, property
/third_party/curl/tests/data/
Dtest113329 …;type=m/f,"log/test%TESTNUMBER,and;.txt"' -F a="{\"field1\":\"value1\",\"field2\":\"value2\"}" -F …
94 {"field1":"value1","field2":"value2"}
/third_party/gstreamer/gstplugins_good/gst/deinterlace/
Dgstdeinterlace.c1100 GstVideoFrame *field1, *field2 = NULL; in gst_deinterlace_push_history() local
1127 field2 = gst_video_frame_new_and_map (&self->vinfo, buffer, GST_MAP_READ); in gst_deinterlace_push_history()
1128 if (G_UNLIKELY (field2 == NULL)) { in gst_deinterlace_push_history()
1207 self->field_history[0].frame = field2; in gst_deinterlace_push_history()
1254 gst_video_frame_unmap_and_free (field2); in gst_deinterlace_push_history()
1370 GstVideoFrame * field1, GstVideoFrame * field2) in gst_deinterlace_fix_timestamps() argument
1388 if (field2 in gst_deinterlace_fix_timestamps()
1390 0) != GST_VIDEO_FRAME_PLANE_DATA (field2, 0)) { in gst_deinterlace_fix_timestamps()
1393 GST_BUFFER_TIMESTAMP (field2->buffer)) { in gst_deinterlace_fix_timestamps()
1395 GST_BUFFER_TIMESTAMP (field2->buffer) = in gst_deinterlace_fix_timestamps()
[all …]
/third_party/e2fsprogs/debugfs/
Dset_fields.c450 void *field1 = info->ptr, *field2 = info->ptr2; in parse_uint() local
460 field2 = 0; in parse_uint()
462 field1 = field2; in parse_uint()
463 field2 = 0; in parse_uint()
479 if (field2 && info->size != 6) in parse_uint()
502 if (!field2) in parse_uint()
505 u.ptr8 = (__u8 *) field2; in parse_uint()
/third_party/protobuf/benchmarks/datasets/google_message1/proto3/
Dbenchmark_message1_proto3.proto49 int32 field2 = 2; field
89 int32 field2 = 2; field

123