/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/javanano/ |
D | javanano_message.cc | 68 new const FieldDescriptor*[descriptor->field_count()]; in SortFieldsByNumber() 69 for (int i = 0; i < descriptor->field_count(); i++) { in SortFieldsByNumber() 72 sort(fields, fields + descriptor->field_count(), in SortFieldsByNumber() 194 for (int j = 0; j < oneof_desc->field_count(); j++) { in Generate() 265 for (int i = 0; i < descriptor_->field_count(); i++) { in Generate() 289 for (int i = 0; i < descriptor_->field_count(); i++) { in Generate() 348 if (descriptor_->field_count() == 0) { in GenerateMessageSerializationMethods() 363 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateMessageSerializationMethods() 383 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateMessageSerializationMethods() 442 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateMergeFromMethods() [all …]
|
D | javanano_field.cc | 79 new scoped_ptr<FieldGenerator>[descriptor->field_count()]) { in FieldGeneratorMap() 84 for (int i = 0; i < descriptor->field_count(); i++) { in FieldGeneratorMap()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/ |
D | unknown_field_set_unittest.cc | 72 for (int i = 0; i < unknown_fields_->field_count(); i++) { in GetField() 87 for (int i = 0; i < unknown_fields_->field_count(); i++) { in GetBizarroData() 123 ASSERT_LT(pos, unknown_fields_->field_count()); in TEST_F() 132 ASSERT_LT(pos, unknown_fields_->field_count()); in TEST_F() 137 EXPECT_EQ(unknown_fields_->field_count(), pos); in TEST_F() 177 ASSERT_EQ(1, field->group().field_count()); in TEST_F() 268 EXPECT_GT(empty_message_.unknown_fields().field_count(), 0); in TEST_F() 269 EXPECT_GT(other_message.unknown_fields().field_count(), 0); in TEST_F() 281 EXPECT_GT(empty_message_.unknown_fields().field_count(), 0); in TEST_F() 284 EXPECT_GT(empty_message_.unknown_fields().field_count(), 0); in TEST_F() [all …]
|
D | reflection_ops_unittest.cc | 159 ASSERT_EQ(2, message1.unknown_fields().field_count()); in TEST() 251 EXPECT_EQ(0, message.unknown_fields().field_count()); in TEST() 285 EXPECT_EQ(1, message.unknown_fields().field_count()); in TEST() 287 .unknown_fields().field_count()); in TEST() 289 .unknown_fields().field_count()); in TEST() 295 EXPECT_EQ(0, message.unknown_fields().field_count()); in TEST() 297 .unknown_fields().field_count()); in TEST() 299 .unknown_fields().field_count()); in TEST() 316 EXPECT_EQ(1, message.unknown_fields().field_count()); in TEST() 319 .unknown_fields().field_count()); in TEST() [all …]
|
D | dynamic_message.cc | 346 for (int i = 0; i < descriptor->field_count(); i++) { in SharedCtor() 438 for (int i = 0; i < descriptor->field_count(); i++) { in ~DynamicMessage() 447 descriptor->field_count() + field->containing_oneof()->index()]); in ~DynamicMessage() 541 for (int i = 0; i < descriptor->field_count(); i++) { in CrossLinkPrototypes() 666 int* offsets = new int[type->field_count() + type->oneof_decl_count()]; in GetPrototypeNoLock() 681 DivideRoundingUp(type->field_count(), bitsizeof(uint32)); in GetPrototypeNoLock() 713 for (int i = 0; i < type->field_count(); i++) { in GetPrototypeNoLock() 727 offsets[type->field_count() + i] = size; in GetPrototypeNoLock() 759 for (int j = 0; j < type->oneof_decl(i)->field_count(); j++) { in GetPrototypeNoLock() 813 for (int j = 0; j < type->oneof_decl(i)->field_count(); j++) { in ConstructDefaultOneofInstance() [all …]
|
D | unknown_field_set.cc | 83 int other_field_count = other.field_count(); in InternalMergeFrom() 94 int other_field_count = other.field_count(); in MergeFrom() 107 int other_field_count = other->field_count(); in MergeFromAndDestroy()
|
D | unknown_field_set.h | 107 inline int field_count() const; 265 inline int UnknownFieldSet::field_count() const { in field_count() function
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/objectivec/ |
D | objectivec_message.cc | 155 new const FieldDescriptor* [descriptor->field_count()]; in SortFieldsByNumber() 156 for (int i = 0; i < descriptor->field_count(); i++) { in SortFieldsByNumber() 159 sort(fields, fields + descriptor->field_count(), FieldOrderingByNumber()); in SortFieldsByNumber() 167 new const FieldDescriptor* [descriptor->field_count()]; in SortFieldsByStorageSize() 168 for (int i = 0; i < descriptor->field_count(); i++) { in SortFieldsByStorageSize() 171 sort(fields, fields + descriptor->field_count(), in SortFieldsByStorageSize() 235 for (int i = 0; i < descriptor_->field_count(); i++) { in DetermineForwardDeclarations() 309 if (descriptor_->field_count()) { in GenerateMessageHeader() 317 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateMessageHeader() 346 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateMessageHeader() [all …]
|
D | objectivec_field.cc | 414 new scoped_ptr<FieldGenerator>[descriptor->field_count()]), in FieldGeneratorMap() 418 for (int i = 0; i < descriptor->field_count(); i++) { in FieldGeneratorMap() 442 for (int i = 0; i < descriptor_->field_count(); i++) { in CalculateHasBits() 459 for (int i = 0; i < descriptor_->field_count(); i++) { in SetOneofIndexBase() 465 for (int i = 0; i < descriptor_->field_count(); i++) { in DoesAnyFieldHaveNonZeroDefault()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/cpp/ |
D | cpp_message.cc | 90 new const FieldDescriptor*[descriptor->field_count()]; in SortFieldsByNumber() 91 for (int i = 0; i < descriptor->field_count(); i++) { in SortFieldsByNumber() 94 std::sort(fields, fields + descriptor->field_count(), in SortFieldsByNumber() 134 for (int i = 0; i < type->field_count(); i++) { in HasRequiredFields() 408 for (int i = 0; i < descriptor->field_count(); i++) { in MessageGenerator() 470 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateDependentFieldAccessorDeclarations() 492 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateFieldAccessorDeclarations() 566 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateDependentFieldAccessorDefinitions() 747 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateFieldAccessorDefinitions() 884 vars["field_count"] = SimpleItoa(descriptor_->field_count()); in GenerateClassDefinition() [all …]
|
D | cpp_field.cc | 128 new google::protobuf::scoped_ptr<FieldGenerator>[descriptor->field_count()]) { in FieldGeneratorMap() 130 for (int i = 0; i < descriptor->field_count(); i++) { in FieldGeneratorMap()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/java/ |
D | java_message.cc | 215 *bytecode_estimate += 10 + 6 * descriptor_->field_count() in GenerateFieldAccessorTable() 229 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateFieldAccessorTableInitializer() 275 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateInterface() 400 for (int i = 0; i < descriptor_->field_count(); i++) { in Generate() 428 for (int j = 0; j < descriptor_->oneof_decl(i)->field_count(); j++) { in Generate() 457 for (int j = 0; j < descriptor_->oneof_decl(i)->field_count(); j++) { in Generate() 492 for (int i = 0; i < descriptor_->field_count(); i++) { in Generate() 606 i < descriptor_->field_count() || j < sorted_extensions.size(); in GenerateMessageSerializationMethods() 608 if (i == descriptor_->field_count()) { in GenerateMessageSerializationMethods() 640 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateMessageSerializationMethods() [all …]
|
D | java_message_builder.cc | 157 for (int i = 0; i < descriptor_->field_count(); i++) { in Generate() 168 for (int i = 0; i < descriptor_->field_count(); i++) { in Generate() 224 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateDescriptorMethods() 327 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateCommonBuilderMethods() 346 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateCommonBuilderMethods() 405 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateCommonBuilderMethods() 430 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateCommonBuilderMethods() 538 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateCommonBuilderMethods() 553 for (int j = 0; j < descriptor_->oneof_decl(i)->field_count(); j++) { in GenerateCommonBuilderMethods() 639 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateIsInitialized() [all …]
|
D | java_message_lite.cc | 147 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateInterface() 227 for (int i = 0; i < descriptor_->field_count(); i++) { in Generate() 255 for (int j = 0; j < descriptor_->oneof_decl(i)->field_count(); j++) { in Generate() 284 for (int j = 0; j < descriptor_->oneof_decl(i)->field_count(); j++) { in Generate() 320 for (int i = 0; i < descriptor_->field_count(); i++) { in Generate() 512 i < descriptor_->field_count() || j < sorted_extensions.size(); in GenerateMessageSerializationMethods() 514 if (i == descriptor_->field_count()) { in GenerateMessageSerializationMethods() 541 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateMessageSerializationMethods() 688 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateDynamicMethodIsInitialized() 705 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateDynamicMethodIsInitialized() [all …]
|
D | java_field.cc | 250 ImmutableFieldGenerator>[descriptor->field_count()]) { in FieldGeneratorMap() 256 for (int i = 0; i < descriptor->field_count(); i++) { in FieldGeneratorMap() 273 ImmutableFieldLiteGenerator>[descriptor->field_count()]) { in FieldGeneratorMap() 278 for (int i = 0; i < descriptor->field_count(); i++) { in FieldGeneratorMap()
|
D | java_message_builder_lite.cc | 135 for (int i = 0; i < descriptor_->field_count(); i++) { in Generate() 146 for (int i = 0; i < descriptor_->field_count(); i++) { in Generate()
|
D | java_enum_lite.cc | 54 if (descriptor->options().unknown_fields().field_count() > 0) return true; in EnumHasCustomOptions() 57 if (value->options().unknown_fields().field_count() > 0) return true; in EnumHasCustomOptions()
|
D | java_helpers.cc | 708 new const FieldDescriptor*[descriptor->field_count()]; in SortFieldsByNumber() 709 for (int i = 0; i < descriptor->field_count(); i++) { in SortFieldsByNumber() 712 std::sort(fields, fields + descriptor->field_count(), in SortFieldsByNumber() 743 for (int i = 0; i < type->field_count(); i++) { in HasRequiredFields() 764 for (int i = 0; i < descriptor->field_count(); ++i) { in HasRepeatedFields()
|
D | java_enum.cc | 54 if (descriptor->options().unknown_fields().field_count() > 0) return true; in EnumHasCustomOptions() 57 if (value->options().unknown_fields().field_count() > 0) return true; in EnumHasCustomOptions()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/csharp/ |
D | csharp_message.cc | 69 for (int i = 0; i < descriptor_->field_count(); i++) { in MessageGenerator() 75 for (int i = 0; i < descriptor_->field_count(); i++) { in MessageGenerator() 159 for (int i = 0; i < descriptor_->field_count(); i++) { in Generate() 187 for (int j = 0; j < descriptor_->oneof_decl(i)->field_count(); j++) { in Generate() 276 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateCloningCode() 290 for (int j = 0; j < descriptor_->oneof_decl(i)->field_count(); j++) { in GenerateCloningCode() 342 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateFrameworkMethods() 363 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateFrameworkMethods() 406 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateMessageSerializationMethods() 433 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateMergingMethods() [all …]
|
D | csharp_reflection_class.cc | 237 if (descriptor->field_count() > 0) { in WriteGeneratedCodeInfo() 239 for (int i = 0; i < descriptor->field_count(); i++) { in WriteGeneratedCodeInfo()
|
/frameworks/base/tools/incident_section_gen/ |
D | main.cpp | 114 N = descriptor->field_count(); in generateIncidentSectionsCpp() 247 const int N = descriptor->field_count(); in isDefaultMessageImpl() 289 fields.reserve(descriptor->field_count()); in sortFields() 290 for (int i=0; i<descriptor->field_count(); i++) { in sortFields() 408 for (int i=0; i<descriptor->field_count(); i++) { in generateSectionListCpp() 550 for (int i=0; i<descriptor->field_count(); i++) { in generateCsv() 594 for (int i=0; i<descriptor->field_count(); i++) { in main()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/ |
D | field_mask_util.cc | 155 for (int i = 0; i < descriptor->field_count(); ++i) { in InternalGetFieldMaskForAllFields() 456 const int32 field_count = descriptor->field_count(); in TrimMessage() local 457 for (int index = 0; index < field_count; ++index) { in TrimMessage()
|
/frameworks/opt/gamesdk/samples/tuningfork/tfvalidate/ |
D | apk_validator.cpp | 171 auto n = desc->field_count(); in ValidateAnnotation() 206 auto n = desc->field_count(); in ValidateFidelityParams() 322 << ": fields: " << desc->field_count() in DebugDesc()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/js/ |
D | js_generator.cc | 454 for (int i = 0; i < oneof->field_count(); i++) { in IgnoreOneof() 559 for (int i = 0; i < parent_type->field_count(); i++) { in JSFieldIndex() 574 for (int j = 0; j < o->field_count(); j++) { in JSOneofIndex() 1011 for (int i = 0; i < desc->field_count(); i++) { in HasRepeatedFields() 1028 for (int i = 0; i < desc->field_count(); i++) { in HasOneofFields() 1046 for (int i = 0; i < desc->field_count(); i++) { in RepeatedFieldNumberList() 1064 for (int j = 0; j < oneof->field_count(); j++) { in OneofGroupList() 1241 for (int i = 0; i < desc->field_count(); i++) { in GetPivot() 1664 for (int i = 0; i < desc->field_count(); i++) { in FindRequiresForMessage() 1890 for (int i = 0; i < oneof->field_count(); i++) { in GenerateOneofCaseDefinition() [all …]
|