Home
last modified time | relevance | path

Searched refs:sorted_fields (Results 1 – 12 of 12) sorted by relevance

/external/perfetto/src/tools/ftrace_proto_gen/
Dproto_gen_utils.cc255 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/
Djavamicro_message.cc231 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/
Djavanano_message.cc352 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/
Dobjectivec_message.cc308 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/
Dobjectivec_message.cc306 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/
Djava_message_lite.cc518 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()
Djava_message.cc577 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()
Djava_message_builder.cc661 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/
Dmessage_lite.cc521 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()
Dmessage.cc580 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()
Dmessage_builder.cc664 std::unique_ptr<const FieldDescriptor*[]> sorted_fields( in GenerateBuilderFieldParsingCases() local
667 const FieldDescriptor* field = sorted_fields[i]; in GenerateBuilderFieldParsingCases()
/external/toolchain-utils/cros_utils/
Dperf_diff.py85 sorted_fields = _SortDictionaryByValue(fields)
87 for f in sorted_fields: