Home
last modified time | relevance | path

Searched refs:field_count (Results 1 – 25 of 39) sorted by relevance

12

/external/protobuf/src/google/protobuf/
Dreflection_ops_unittest.cc146 ASSERT_EQ(2, message1.unknown_fields().field_count()); in TEST()
220 EXPECT_EQ(0, message.unknown_fields().field_count()); in TEST()
237 EXPECT_EQ(1, message.unknown_fields().field_count()); in TEST()
239 .unknown_fields().field_count()); in TEST()
241 .unknown_fields().field_count()); in TEST()
247 EXPECT_EQ(0, message.unknown_fields().field_count()); in TEST()
249 .unknown_fields().field_count()); in TEST()
251 .unknown_fields().field_count()); in TEST()
268 EXPECT_EQ(1, message.unknown_fields().field_count()); in TEST()
271 .unknown_fields().field_count()); in TEST()
[all …]
Dunknown_field_set_unittest.cc71 for (int i = 0; i < unknown_fields_->field_count(); i++) { in GetField()
86 for (int i = 0; i < unknown_fields_->field_count(); i++) { in GetBizarroData()
120 ASSERT_LT(pos, unknown_fields_->field_count()); in TEST_F()
124 ASSERT_LT(pos, unknown_fields_->field_count()); in TEST_F()
129 EXPECT_EQ(unknown_fields_->field_count(), pos); in TEST_F()
169 ASSERT_EQ(1, field->group().field_count()); in TEST_F()
260 EXPECT_GT(empty_message_.unknown_fields().field_count(), 0); in TEST_F()
261 EXPECT_GT(other_message.unknown_fields().field_count(), 0); in TEST_F()
273 EXPECT_GT(empty_message_.unknown_fields().field_count(), 0); in TEST_F()
276 EXPECT_GT(empty_message_.unknown_fields().field_count(), 0); in TEST_F()
[all …]
Ddynamic_message.cc242 for (int i = 0; i < descriptor->field_count(); i++) { in DynamicMessage()
322 for (int i = 0; i < descriptor->field_count(); i++) { in ~DynamicMessage()
389 for (int i = 0; i < descriptor->field_count(); i++) { in CrossLinkPrototypes()
487 int* offsets = new int[type->field_count()]; in GetPrototypeNoLock()
499 DivideRoundingUp(type->field_count(), bitsizeof(uint32)); in GetPrototypeNoLock()
514 for (int i = 0; i < type->field_count(); i++) { in GetPrototypeNoLock()
Dgenerated_message_reflection_unittest.cc202 EXPECT_EQ(1, message1.unknown_fields().field_count()); in TEST()
203 EXPECT_EQ(0, message2.unknown_fields().field_count()); in TEST()
206 EXPECT_EQ(0, message1.unknown_fields().field_count()); in TEST()
207 EXPECT_EQ(1, message2.unknown_fields().field_count()); in TEST()
Dunknown_field_set.h89 inline int field_count() const;
199 inline int UnknownFieldSet::field_count() const { in field_count() function
Dwire_format.cc164 for (int i = 0; i < unknown_fields.field_count(); i++) { in SerializeUnknownFields()
202 for (int i = 0; i < unknown_fields.field_count(); i++) { in SerializeUnknownFieldsToArray()
237 for (int i = 0; i < unknown_fields.field_count(); i++) { in SerializeUnknownMessageSetItems()
265 for (int i = 0; i < unknown_fields.field_count(); i++) { in SerializeUnknownMessageSetItemsToArray()
301 for (int i = 0; i < unknown_fields.field_count(); i++) { in ComputeUnknownFieldsSize()
349 for (int i = 0; i < unknown_fields.field_count(); i++) { in ComputeUnknownMessageSetItemsSize()
Dreflection_ops.cc140 for (int i = 0; i < descriptor->field_count(); i++) { in IsInitialized()
225 for (int i = 0; i < descriptor->field_count(); i++) { in FindInitializationErrors()
Dunknown_field_set.cc63 for (int i = 0; i < other.field_count(); i++) { in MergeFrom()
Dgenerated_message_reflection.cc220 for (int i = 0; i < descriptor_->field_count(); i++) { in SpaceUsed()
335 int has_bits_size = (descriptor_->field_count() + 31) / 32; in Swap()
341 for (int i = 0; i < descriptor_->field_count(); i++) { in Swap()
649 for (int i = 0; i < descriptor_->field_count(); i++) { in ListFields()
Ddescriptor_unittest.cc449 ASSERT_EQ(4, message_->field_count()); in SetUp()
458 ASSERT_EQ(3, message2_->field_count()); in SetUp()
500 ASSERT_EQ(4, message_->field_count()); in TEST_F()
709 ASSERT_EQ(5, message_->field_count()); in SetUp()
1546 file->message_type(0)->field_count() == 1) { in GetCppTypeForFieldType()
1650 ASSERT_EQ(21, message->field_count()); in TEST_F()
1728 ASSERT_EQ(2, message->field_count()); in TEST_F()
1791 ASSERT_EQ(3, foo_type_->field_count()); in SetUp()
Ddescriptor.h150 int field_count() const;
1192 PROTOBUF_DEFINE_ACCESSOR(Descriptor, field_count, int)
/external/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_message.cc75 new const FieldDescriptor*[descriptor->field_count()]; in SortFieldsByNumber()
76 for (int i = 0; i < descriptor->field_count(); i++) { in SortFieldsByNumber()
79 sort(fields, fields + descriptor->field_count(), in SortFieldsByNumber()
117 for (int i = 0; i < type->field_count(); i++) { in HasRequiredFields()
214 for (int i = 0; i < descriptor_->field_count(); i++) { in Generate()
245 if (descriptor_->field_count() > 0) { in GenerateMessageSerializationMethods()
258 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateMessageSerializationMethods()
281 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateMessageSerializationMethods()
333 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateMergeFromMethods()
397 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateClear()
[all …]
Djavamicro_field.cc52 new scoped_ptr<FieldGenerator>[descriptor->field_count()]), in FieldGeneratorMap()
57 for (int i = 0; i < descriptor->field_count(); i++) { in FieldGeneratorMap()
Djavamicro_file.cc57 if (reflection->GetUnknownFields(message).field_count() > 0) return true; in UsesExtensions()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_message.cc88 new const FieldDescriptor*[descriptor->field_count()]; in SortFieldsByNumber()
89 for (int i = 0; i < descriptor->field_count(); i++) { in SortFieldsByNumber()
92 sort(fields, fields + descriptor->field_count(), in SortFieldsByNumber()
126 for (int i = 0; i < type->field_count(); i++) { in HasRequiredFields()
214 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateFieldAccessorDeclarations()
251 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateFieldAccessorDefinitions()
305 vars["field_count"] = SimpleItoa(descriptor_->field_count()); in GenerateClassDefinition()
466 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateClassDefinition()
488 if (descriptor_->field_count() > 0) { in GenerateClassDefinition()
686 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateClassMethods()
[all …]
Dcpp_field.cc86 new scoped_ptr<FieldGenerator>[descriptor->field_count()]) { in FieldGeneratorMap()
88 for (int i = 0; i < descriptor->field_count(); i++) { in FieldGeneratorMap()
/external/protobuf/src/google/protobuf/compiler/java/
Djava_message.cc83 new const FieldDescriptor*[descriptor->field_count()]; in SortFieldsByNumber()
84 for (int i = 0; i < descriptor->field_count(); i++) { in SortFieldsByNumber()
87 sort(fields, fields + descriptor->field_count(), in SortFieldsByNumber()
125 for (int i = 0; i < type->field_count(); i++) { in HasRequiredFields()
230 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateStaticVariableInitializers()
343 for (int i = 0; i < descriptor_->field_count(); i++) { in Generate()
356 for (int i = 0; i < descriptor_->field_count(); i++) { in Generate()
437 i < descriptor_->field_count() || j < sorted_extensions.size(); in GenerateMessageSerializationMethods()
439 if (i == descriptor_->field_count()) { in GenerateMessageSerializationMethods()
472 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateMessageSerializationMethods()
[all …]
Djava_field.cc62 new scoped_ptr<FieldGenerator>[descriptor->field_count()]), in FieldGeneratorMap()
67 for (int i = 0; i < descriptor->field_count(); i++) { in FieldGeneratorMap()
/external/chromium/chrome/browser/autofill/
Dform_structure_unittest.cc75 EXPECT_EQ(3U, form_structure.field_count()); in TEST()
263 ASSERT_EQ(9U, form_structure->field_count()); in TEST()
365 ASSERT_EQ(10U, form_structure->field_count()); in TEST()
451 ASSERT_EQ(7U, form_structure->field_count()); in TEST()
535 ASSERT_EQ(9U, form_structure->field_count()); in TEST()
603 ASSERT_EQ(6U, form_structure->field_count()); in TEST()
673 ASSERT_EQ(7U, form_structure->field_count()); in TEST()
729 ASSERT_EQ(4U, form_structure->field_count()); in TEST()
780 ASSERT_EQ(4U, form_structure->field_count()); in TEST()
835 ASSERT_EQ(4U, form_structure->field_count()); in TEST()
[all …]
Dform_structure.cc98 for (size_t index = 0; index < field_count(); index++) { in DetermineHeuristicTypes()
316 if (field_count() < kRequiredFillableFields) in ShouldBeParsed()
331 for (size_t i = 0; i < cached_form.field_count(); ++i) { in UpdateFromCache()
358 for (size_t i = 0; i < field_count(); ++i) { in LogQualityMetrics()
470 int num_fields = static_cast<int>(field_count()); in set_possible_types()
480 size_t FormStructure::field_count() const { in field_count() function in FormStructure
537 if (!field_count()) // Nothing to add. in EncodeFormRequest()
545 if (field_count() > kMaxFieldsOnTheForm) in EncodeFormRequest()
549 for (size_t index = 0; index < field_count(); ++index) { in EncodeFormRequest()
585 for (size_t i = 0; i < field_count(); ++i) { in ConvertPresenceBitsToString()
Dautofill_manager.cc122 *section_end = form.field_count(); in FindSectionBounds()
126 for (size_t i = 0; i < form.field_count(); ++i) { in FindSectionBounds()
205 while (k < form_structure->field_count() && in SectionIsAutofilled()
211 if (k >= form_structure->field_count()) in SectionIsAutofilled()
683 for (size_t i = 0; i < submitted_form->field_count(); i++) { in DeterminePossibleFieldTypesForUpload()
869 form_fields.reserve(form->field_count());
Dform_structure.h98 size_t field_count() const;
Dautofill_merge_unittest.cc193 for (size_t i = 0; i < form_structure.field_count(); ++i) { in MergeProfiles()
Dautofill_metrics_unittest.cc159 ASSERT_EQ(field_count(), heuristic_types.size()); in SetFieldTypes()
160 ASSERT_EQ(field_count(), server_types.size()); in SetFieldTypes()
162 for (size_t i = 0; i < field_count(); ++i) { in SetFieldTypes()
/external/v8/tools/
Dgc-nvp-trace-processor.py74 fields[field] = field_count
75 field_count = field_count + 1

12