Home
last modified time | relevance | path

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

123

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/javanano/
Djavanano_message.cc68 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 …]
Djavanano_field.cc79 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/
Dunknown_field_set_unittest.cc72 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 …]
Dreflection_ops_unittest.cc159 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 …]
Ddynamic_message.cc346 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 …]
Dunknown_field_set.cc83 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()
Dunknown_field_set.h107 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/
Dobjectivec_message.cc155 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 …]
Dobjectivec_field.cc414 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/
Dcpp_message.cc90 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 …]
Dcpp_field.cc128 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/
Djava_message.cc215 *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 …]
Djava_message_builder.cc157 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 …]
Djava_message_lite.cc147 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 …]
Djava_field.cc250 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()
Djava_message_builder_lite.cc135 for (int i = 0; i < descriptor_->field_count(); i++) { in Generate()
146 for (int i = 0; i < descriptor_->field_count(); i++) { in Generate()
Djava_enum_lite.cc54 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()
Djava_helpers.cc708 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()
Djava_enum.cc54 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/
Dcsharp_message.cc69 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 …]
Dcsharp_reflection_class.cc237 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/
Dmain.cpp114 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/
Dfield_mask_util.cc155 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/
Dapk_validator.cpp171 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/
Djs_generator.cc454 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 …]

123