Home
last modified time | relevance | path

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

/external/perfetto/tools/ftrace_proto_gen/
Dproto_gen_utils.cc241 std::vector<const Proto::Field*> sorted_fields; in SortedFields() local
244 sorted_fields.emplace_back(&p.second); in SortedFields()
246 std::sort(sorted_fields.begin(), sorted_fields.end(), in SortedFields()
250 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/objectivec/
Dobjectivec_message.cc287 std::unique_ptr<const FieldDescriptor*[]> sorted_fields( in GenerateMessageHeader() local
295 field_generators_.get(sorted_fields[i]) in GenerateMessageHeader()
390 std::unique_ptr<const FieldDescriptor*[]> sorted_fields( in GenerateSource() local
468 field_generators_.get(sorted_fields[i]); in GenerateSource()
471 text_format_decode_data.AddString(sorted_fields[i]->number(), in GenerateSource()
/external/protobuf/src/google/protobuf/compiler/java/
Djava_message_lite.cc519 std::unique_ptr<const FieldDescriptor*[]> sorted_fields( in GenerateDynamicMethodNewBuildMessageInfo() local
522 const FieldDescriptor* field = sorted_fields[i]; in GenerateDynamicMethodNewBuildMessageInfo()
530 WriteIntToUtf16CharSequence(sorted_fields[0]->number(), &chars); in GenerateDynamicMethodNewBuildMessageInfo()
532 sorted_fields[descriptor_->field_count() - 1]->number(), &chars); in GenerateDynamicMethodNewBuildMessageInfo()
548 const FieldDescriptor* field = sorted_fields[i]; in GenerateDynamicMethodNewBuildMessageInfo()
Djava_message.cc562 std::unique_ptr<const FieldDescriptor*[]> sorted_fields( in GenerateMessageSerializationMethods() local
611 GenerateSerializeOneField(printer, sorted_fields[i++]); in GenerateMessageSerializationMethods()
612 } else if (sorted_fields[i]->number() < sorted_extensions[j]->start) { in GenerateMessageSerializationMethods()
613 GenerateSerializeOneField(printer, sorted_fields[i++]); in GenerateMessageSerializationMethods()
639 field_generators_.get(sorted_fields[i]).GenerateSerializedSizeCode(printer); in GenerateMessageSerializationMethods()
1166 std::unique_ptr<const FieldDescriptor*[]> sorted_fields( in GenerateParsingConstructor() local
1220 const FieldDescriptor* field = sorted_fields[i]; in GenerateParsingConstructor()
1280 const FieldDescriptor* field = sorted_fields[i]; in GenerateParsingConstructor()
/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/toolchain-utils/cros_utils/
Dperf_diff.py85 sorted_fields = _SortDictionaryByValue(fields)
87 for f in sorted_fields: