/external/protobuf/src/google/protobuf/ |
D | reflection_ops_unittest.cc | 146 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 …]
|
D | unknown_field_set_unittest.cc | 71 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 …]
|
D | dynamic_message.cc | 242 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()
|
D | generated_message_reflection_unittest.cc | 202 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()
|
D | unknown_field_set.h | 89 inline int field_count() const; 199 inline int UnknownFieldSet::field_count() const { in field_count() function
|
D | wire_format.cc | 164 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()
|
D | reflection_ops.cc | 140 for (int i = 0; i < descriptor->field_count(); i++) { in IsInitialized() 225 for (int i = 0; i < descriptor->field_count(); i++) { in FindInitializationErrors()
|
D | unknown_field_set.cc | 63 for (int i = 0; i < other.field_count(); i++) { in MergeFrom()
|
D | generated_message_reflection.cc | 220 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()
|
D | descriptor_unittest.cc | 449 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()
|
D | descriptor.h | 150 int field_count() const; 1192 PROTOBUF_DEFINE_ACCESSOR(Descriptor, field_count, int)
|
/external/protobuf/src/google/protobuf/compiler/javamicro/ |
D | javamicro_message.cc | 75 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 …]
|
D | javamicro_field.cc | 52 new scoped_ptr<FieldGenerator>[descriptor->field_count()]), in FieldGeneratorMap() 57 for (int i = 0; i < descriptor->field_count(); i++) { in FieldGeneratorMap()
|
D | javamicro_file.cc | 57 if (reflection->GetUnknownFields(message).field_count() > 0) return true; in UsesExtensions()
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_message.cc | 88 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 …]
|
D | cpp_field.cc | 86 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/ |
D | java_message.cc | 83 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 …]
|
D | java_field.cc | 62 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/ |
D | form_structure_unittest.cc | 75 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 …]
|
D | form_structure.cc | 98 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()
|
D | autofill_manager.cc | 122 *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());
|
D | form_structure.h | 98 size_t field_count() const;
|
D | autofill_merge_unittest.cc | 193 for (size_t i = 0; i < form_structure.field_count(); ++i) { in MergeProfiles()
|
D | autofill_metrics_unittest.cc | 159 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/ |
D | gc-nvp-trace-processor.py | 74 fields[field] = field_count 75 field_count = field_count + 1
|