Home
last modified time | relevance | path

Searched refs:ordered_fields (Results 1 – 2 of 2) sorted by relevance

/external/nanopb-c/generator/
Dnanopb_generator.py519 self.ordered_fields = self.fields[:]
520 self.ordered_fields.sort()
529 if not self.ordered_fields:
534 result += '\n'.join([str(f) for f in self.ordered_fields])
572 for field in self.ordered_fields:
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_message.cc2018 scoped_array<const FieldDescriptor*> ordered_fields( in GenerateMergeFromCodedStream() local
2021 WireFormat::MakeTag(ordered_fields[descriptor_->field_count() - 1]); in GenerateMergeFromCodedStream()
2046 const FieldDescriptor* field = ordered_fields[i]; in GenerateMergeFromCodedStream()
2114 const FieldDescriptor* next_field = ordered_fields[i + 1]; in GenerateMergeFromCodedStream()
2359 scoped_array<const FieldDescriptor*> ordered_fields( in GenerateSerializeWithCachedSizesBody() local
2379 GenerateSerializeOneField(printer, ordered_fields[i++], to_array); in GenerateSerializeWithCachedSizesBody()
2380 } else if (ordered_fields[i]->number() < sorted_extensions[j]->start) { in GenerateSerializeWithCachedSizesBody()
2381 GenerateSerializeOneField(printer, ordered_fields[i++], to_array); in GenerateSerializeWithCachedSizesBody()