Searched refs:sorted_fields (Results 1 – 7 of 7) sorted by relevance
241 std::vector<const Proto::Field*> sorted_fields; in SortedFields() local244 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()
231 std::unique_ptr<const FieldDescriptor*[]> sorted_fields( in GenerateMessageSerializationMethods() local253 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() local328 const FieldDescriptor* field = sorted_fields[i]; in GenerateMergeFromMethods()
287 std::unique_ptr<const FieldDescriptor*[]> sorted_fields( in GenerateMessageHeader() local295 field_generators_.get(sorted_fields[i]) in GenerateMessageHeader()390 std::unique_ptr<const FieldDescriptor*[]> sorted_fields( in GenerateSource() local468 field_generators_.get(sorted_fields[i]); in GenerateSource()471 text_format_decode_data.AddString(sorted_fields[i]->number(), in GenerateSource()
519 std::unique_ptr<const FieldDescriptor*[]> sorted_fields( in GenerateDynamicMethodNewBuildMessageInfo() local522 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()
562 std::unique_ptr<const FieldDescriptor*[]> sorted_fields( in GenerateMessageSerializationMethods() local611 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() local1220 const FieldDescriptor* field = sorted_fields[i]; in GenerateParsingConstructor()1280 const FieldDescriptor* field = sorted_fields[i]; in GenerateParsingConstructor()
352 std::unique_ptr<const FieldDescriptor*[]> sorted_fields( in GenerateMessageSerializationMethods() local364 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() local443 const FieldDescriptor* field = sorted_fields[i]; in GenerateMergeFromMethods()
85 sorted_fields = _SortDictionaryByValue(fields)87 for f in sorted_fields: