/external/protobuf/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()
|
/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() 208 for (int i = 0; i < descriptor_->field_count(); i++) { in Generate() 239 if (descriptor_->field_count() > 0) { in GenerateMessageSerializationMethods() 252 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateMessageSerializationMethods() 275 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateMessageSerializationMethods() 327 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateMergeFromMethods() 387 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()
|
/external/protobuf/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 | 347 for (int i = 0; i < descriptor->field_count(); i++) { in SharedCtor() 439 for (int i = 0; i < descriptor->field_count(); i++) { in ~DynamicMessage() 448 descriptor->field_count() + field->containing_oneof()->index()]); in ~DynamicMessage() 542 for (int i = 0; i < descriptor->field_count(); i++) { in CrossLinkPrototypes() 667 int* offsets = new int[type->field_count() + type->oneof_decl_count()]; in GetPrototypeNoLock() 682 DivideRoundingUp(type->field_count(), bitsizeof(uint32)); in GetPrototypeNoLock() 714 for (int i = 0; i < type->field_count(); i++) { in GetPrototypeNoLock() 728 offsets[type->field_count() + i] = size; in GetPrototypeNoLock() 760 for (int j = 0; j < type->oneof_decl(i)->field_count(); j++) { in GetPrototypeNoLock() 814 for (int j = 0; j < type->oneof_decl(i)->field_count(); j++) { in ConstructDefaultOneofInstance() [all …]
|
D | unknown_field_set.cc | 97 int other_field_count = other.field_count(); in InternalMergeFrom() 108 int other_field_count = other.field_count(); in MergeFrom() 121 int other_field_count = other->field_count(); in MergeFromAndDestroy()
|
/external/protobuf/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() 293 if (descriptor_->field_count()) { in GenerateMessageHeader() 301 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateMessageHeader() 330 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()
|
/external/protobuf/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() 881 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()
|
/external/protobuf/src/google/protobuf/compiler/java/ |
D | java_message_lite.cc | 142 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateInterface() 222 for (int i = 0; i < descriptor_->field_count(); i++) { in Generate() 250 for (int j = 0; j < descriptor_->oneof_decl(i)->field_count(); j++) { in Generate() 279 for (int j = 0; j < descriptor_->oneof_decl(i)->field_count(); j++) { in Generate() 315 for (int i = 0; i < descriptor_->field_count(); i++) { in Generate() 507 i < descriptor_->field_count() || j < sorted_extensions.size(); in GenerateMessageSerializationMethods() 509 if (i == descriptor_->field_count()) { in GenerateMessageSerializationMethods() 536 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateMessageSerializationMethods() 683 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateDynamicMethodIsInitialized() 700 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateDynamicMethodIsInitialized() [all …]
|
D | java_message.cc | 214 *bytecode_estimate += 10 + 6 * descriptor_->field_count() in GenerateFieldAccessorTable() 228 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateFieldAccessorTableInitializer() 269 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateInterface() 385 for (int i = 0; i < descriptor_->field_count(); i++) { in Generate() 413 for (int j = 0; j < descriptor_->oneof_decl(i)->field_count(); j++) { in Generate() 442 for (int j = 0; j < descriptor_->oneof_decl(i)->field_count(); j++) { in Generate() 477 for (int i = 0; i < descriptor_->field_count(); i++) { in Generate() 592 i < descriptor_->field_count() || j < sorted_extensions.size(); in GenerateMessageSerializationMethods() 594 if (i == descriptor_->field_count()) { in GenerateMessageSerializationMethods() 626 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateMessageSerializationMethods() [all …]
|
D | java_message_builder.cc | 155 for (int i = 0; i < descriptor_->field_count(); i++) { in Generate() 166 for (int i = 0; i < descriptor_->field_count(); i++) { in Generate() 210 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateDescriptorMethods() 309 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateCommonBuilderMethods() 328 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateCommonBuilderMethods() 387 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateCommonBuilderMethods() 412 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateCommonBuilderMethods() 464 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateCommonBuilderMethods() 479 for (int j = 0; j < descriptor_->oneof_decl(i)->field_count(); j++) { in GenerateCommonBuilderMethods() 564 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateIsInitialized() [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_helpers.cc | 689 new const FieldDescriptor*[descriptor->field_count()]; in SortFieldsByNumber() 690 for (int i = 0; i < descriptor->field_count(); i++) { in SortFieldsByNumber() 693 std::sort(fields, fields + descriptor->field_count(), in SortFieldsByNumber() 724 for (int i = 0; i < type->field_count(); i++) { in HasRequiredFields() 745 for (int i = 0; i < descriptor->field_count(); ++i) { in HasRepeatedFields()
|
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()
|
/external/protobuf/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() 153 for (int i = 0; i < descriptor_->field_count(); i++) { in Generate() 181 for (int j = 0; j < descriptor_->oneof_decl(i)->field_count(); j++) { in Generate() 264 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateCloningCode() 278 for (int j = 0; j < descriptor_->oneof_decl(i)->field_count(); j++) { in GenerateCloningCode() 325 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateFrameworkMethods() 345 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateFrameworkMethods() 384 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateMessageSerializationMethods() 410 for (int i = 0; i < descriptor_->field_count(); i++) { in GenerateMergingMethods() [all …]
|
/external/tensorflow/tensorflow/core/kernels/ |
D | decode_proto_op.cc | 727 int field_count = fields_.size(); in Compute() local 735 sizes_shape.AddDim(field_count); in Compute() 775 std::vector<int32> max_sizes(field_count, 1); in Compute() 787 std::vector<Tensor*> outputs(field_count); in Compute() 788 for (int fi = 0; fi < field_count; ++fi) { in Compute() 833 int field_count = fields_.size(); in CountFields() local 838 std::vector<int32> field_sizes(field_count, 0); in CountFields() 840 counters.reserve(field_count); in CountFields() 841 for (int i = 0; i < field_count; i++) { in CountFields() 858 for (int fi = 0; fi < field_count; fi++) { in CountFields() [all …]
|
/external/libprotobuf-mutator/src/ |
D | mutator.cc | 159 message->GetDescriptor()->field_count() == 0); in MutationSampler() 173 int field_count = descriptor->field_count(); in Sample() local 174 for (int i = 0; i < field_count; ++i) { in Sample() 179 assert(oneof->field_count()); in Sample() 184 oneof->field(GetRandomIndex(random_, oneof->field_count())); in Sample() 190 if (oneof->field_count() < 2) break; in Sample() 290 int field_count = descriptor->field_count(); in Sample() local 291 for (int i = 0; i < field_count; ++i) { in Sample() 514 for (int i = 0; i < descriptor->field_count(); ++i) { in CrossOverImpl() 583 for (int i = 0; i < descriptor->field_count(); ++i) { in InitializeAndTrim()
|
/external/perfetto/tools/proto_to_cpp/ |
D | proto_to_cpp.cc | 106 for (int i = 0; i < msg->field_count(); i++) { in GenFwdDecl() 282 for (int i = 0; i < msg->field_count(); i++) { in GenHeader() 324 for (int i = 0; i < msg->field_count(); i++) { in GenHeader() 362 for (int i = 0; i < msg->field_count(); i++) { in GenHeader() 404 for (int i = 0; i < msg->field_count(); i++) { in GenCpp() 421 for (int i = 0; i < msg->field_count(); i++) { in GenCpp() 462 for (int i = 0; i < msg->field_count(); i++) { in GenCpp() 498 for (int i = 0; i < msg->field_count(); i++) { in GenCpp()
|
/external/perfetto/tools/ftrace_proto_gen/ |
D | ftrace_descriptor_gen.cc | 31 for (int i = 0; i < one_of_event->field_count(); i++) in GenerateFtraceDescriptors() 62 for (int j = 0; j < event_descriptor->field_count(); j++) in GenerateFtraceDescriptors()
|
/external/perfetto/src/protozero/protoc_plugin/ |
D | protozero_generator.cc | 234 for (int i = 0; i < message->field_count(); ++i) { in CollectDependencies() 470 for (int i = 0; i < message->field_count(); ++i) { in GenerateDecoder() 491 for (int i = 0; i < message->field_count(); ++i) { in GenerateDecoder() 578 const bool has_fields = (message->field_count() > 0); in GenerateConstantsForMessageFields() 585 for (int i = 0; i < message->field_count(); ++i) { in GenerateConstantsForMessageFields() 636 for (int i = 0; i < message->field_count(); ++i) { in GenerateMessageDescriptor()
|