Home
last modified time | relevance | path

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

/external/protobuf/python/google/protobuf/internal/
Dproto_builder_test.py53 self.ordered_fields = OrderedDict([
57 self._fields = dict(self.ordered_fields)
73 self.ordered_fields,
/external/grpc-grpc/third_party/nanopb/generator/
Dnanopb_generator.py823 self.ordered_fields = self.fields[:]
824 self.ordered_fields.sort()
836 if not self.ordered_fields:
841 result += '\n'.join([str(f) for f in self.ordered_fields])
860 if not self.ordered_fields:
864 for field in self.ordered_fields:
902 for field in self.ordered_fields:
/external/nanopb-c/generator/
Dnanopb_generator.py919 self.ordered_fields = self.fields[:]
920 self.ordered_fields.sort()
932 if not self.ordered_fields:
937 result += '\n'.join([str(f) for f in self.ordered_fields])
956 if not self.ordered_fields:
960 for field in self.ordered_fields:
998 for field in self.ordered_fields:
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_message.cc2954 google::protobuf::scoped_array<const FieldDescriptor * > ordered_fields( in GenerateMergeFromCodedStream() local
2957 WireFormat::MakeTag(ordered_fields[descriptor_->field_count() - 1]); in GenerateMergeFromCodedStream()
2984 const FieldDescriptor* field = ordered_fields[i]; in GenerateMergeFromCodedStream()
2996 const FieldDescriptor* field = ordered_fields[i]; in GenerateMergeFromCodedStream()
3083 const FieldDescriptor* next_field = ordered_fields[i + 1]; in GenerateMergeFromCodedStream()
3103 const FieldDescriptor* next_field = ordered_fields[i + 1]; in GenerateMergeFromCodedStream()
3363 google::protobuf::scoped_array<const FieldDescriptor * > ordered_fields( in GenerateSerializeWithCachedSizesBody() local
3383 GenerateSerializeOneField(printer, ordered_fields[i++], to_array); in GenerateSerializeWithCachedSizesBody()
3384 } else if (ordered_fields[i]->number() < sorted_extensions[j]->start) { in GenerateSerializeWithCachedSizesBody()
3385 GenerateSerializeOneField(printer, ordered_fields[i++], to_array); in GenerateSerializeWithCachedSizesBody()