Searched refs:sorted_fields (Results 1 – 12 of 12) sorted by relevance
/external/perfetto/src/tools/ftrace_proto_gen/ |
D | proto_gen_utils.cc | 255 std::vector<const Proto::Field*> sorted_fields; in SortedFields() local 258 sorted_fields.emplace_back(&p.second); in SortedFields() 260 std::sort(sorted_fields.begin(), sorted_fields.end(), in SortedFields() 264 return sorted_fields; in SortedFields()
|
/external/protobuf/src/google/protobuf/compiler/javamicro/ |
D | javamicro_message.cc | 231 std::unique_ptr<const FieldDescriptor*[]> sorted_fields( in GenerateMessageSerializationMethods() local 253 GenerateSerializeOneField(printer, sorted_fields[i]); in GenerateMessageSerializationMethods() 276 field_generators_.get(sorted_fields[i]).GenerateSerializedSizeCode(printer); in GenerateMessageSerializationMethods() 288 std::unique_ptr<const FieldDescriptor*[]> sorted_fields( in GenerateMergeFromMethods() local 328 const FieldDescriptor* field = sorted_fields[i]; in GenerateMergeFromMethods()
|
/external/protobuf/src/google/protobuf/compiler/javanano/ |
D | javanano_message.cc | 352 std::unique_ptr<const FieldDescriptor*[]> sorted_fields( in GenerateMessageSerializationMethods() local 364 GenerateSerializeOneField(printer, sorted_fields[i]); in GenerateMessageSerializationMethods() 384 field_generators_.get(sorted_fields[i]).GenerateSerializedSizeCode(printer); in GenerateMessageSerializationMethods() 394 std::unique_ptr<const FieldDescriptor*[]> sorted_fields( in GenerateMergeFromMethods() local 443 const FieldDescriptor* field = sorted_fields[i]; in GenerateMergeFromMethods()
|
/external/cronet/third_party/protobuf/src/google/protobuf/compiler/objectivec/ |
D | objectivec_message.cc | 308 std::unique_ptr<const FieldDescriptor*[]> sorted_fields( in GenerateMessageHeader() local 316 field_generators_.get(sorted_fields[i]) in GenerateMessageHeader() 412 std::unique_ptr<const FieldDescriptor*[]> sorted_fields( in GenerateSource() local 491 field_generators_.get(sorted_fields[i]); in GenerateSource() 494 text_format_decode_data.AddString(sorted_fields[i]->number(), in GenerateSource()
|
/external/protobuf/src/google/protobuf/compiler/objectivec/ |
D | objectivec_message.cc | 306 std::unique_ptr<const FieldDescriptor*[]> sorted_fields( in GenerateMessageHeader() local 314 field_generators_.get(sorted_fields[i]) in GenerateMessageHeader() 410 std::unique_ptr<const FieldDescriptor*[]> sorted_fields( in GenerateSource() local 489 field_generators_.get(sorted_fields[i]); in GenerateSource() 492 text_format_decode_data.AddString(sorted_fields[i]->number(), in GenerateSource()
|
/external/cronet/third_party/protobuf/src/google/protobuf/compiler/java/ |
D | java_message_lite.cc | 518 std::unique_ptr<const FieldDescriptor*[]> sorted_fields( in GenerateDynamicMethodNewBuildMessageInfo() local 521 const FieldDescriptor* field = sorted_fields[i]; in GenerateDynamicMethodNewBuildMessageInfo() 529 WriteIntToUtf16CharSequence(sorted_fields[0]->number(), &chars); in GenerateDynamicMethodNewBuildMessageInfo() 531 sorted_fields[descriptor_->field_count() - 1]->number(), &chars); in GenerateDynamicMethodNewBuildMessageInfo() 547 const FieldDescriptor* field = sorted_fields[i]; in GenerateDynamicMethodNewBuildMessageInfo()
|
D | java_message.cc | 577 std::unique_ptr<const FieldDescriptor*[]> sorted_fields( in GenerateMessageSerializationMethods() local 627 GenerateSerializeOneField(printer, sorted_fields[i++]); in GenerateMessageSerializationMethods() 628 } else if (sorted_fields[i]->number() < sorted_extensions[j]->start) { in GenerateMessageSerializationMethods() 629 GenerateSerializeOneField(printer, sorted_fields[i++]); in GenerateMessageSerializationMethods() 655 field_generators_.get(sorted_fields[i]).GenerateSerializedSizeCode(printer); in GenerateMessageSerializationMethods()
|
D | java_message_builder.cc | 661 std::unique_ptr<const FieldDescriptor*[]> sorted_fields( in GenerateBuilderFieldParsingCases() local 664 const FieldDescriptor* field = sorted_fields[i]; in GenerateBuilderFieldParsingCases()
|
/external/protobuf/src/google/protobuf/compiler/java/ |
D | message_lite.cc | 521 std::unique_ptr<const FieldDescriptor*[]> sorted_fields( in GenerateDynamicMethodNewBuildMessageInfo() local 524 const FieldDescriptor* field = sorted_fields[i]; in GenerateDynamicMethodNewBuildMessageInfo() 532 WriteIntToUtf16CharSequence(sorted_fields[0]->number(), &chars); in GenerateDynamicMethodNewBuildMessageInfo() 534 sorted_fields[descriptor_->field_count() - 1]->number(), &chars); in GenerateDynamicMethodNewBuildMessageInfo() 550 const FieldDescriptor* field = sorted_fields[i]; in GenerateDynamicMethodNewBuildMessageInfo()
|
D | message.cc | 580 std::unique_ptr<const FieldDescriptor*[]> sorted_fields( in GenerateMessageSerializationMethods() local 630 GenerateSerializeOneField(printer, sorted_fields[i++]); in GenerateMessageSerializationMethods() 631 } else if (sorted_fields[i]->number() < sorted_extensions[j]->start) { in GenerateMessageSerializationMethods() 632 GenerateSerializeOneField(printer, sorted_fields[i++]); in GenerateMessageSerializationMethods() 658 field_generators_.get(sorted_fields[i]).GenerateSerializedSizeCode(printer); in GenerateMessageSerializationMethods()
|
D | message_builder.cc | 664 std::unique_ptr<const FieldDescriptor*[]> sorted_fields( in GenerateBuilderFieldParsingCases() local 667 const FieldDescriptor* field = sorted_fields[i]; in GenerateBuilderFieldParsingCases()
|
/external/toolchain-utils/cros_utils/ |
D | perf_diff.py | 85 sorted_fields = _SortDictionaryByValue(fields) 87 for f in sorted_fields:
|