Home
last modified time | relevance | path

Searched refs:ordered_fields (Results 1 – 6 of 6) 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/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_message.cc705 std::vector<const FieldDescriptor*> ordered_fields; in GenerateFieldAccessorDeclarations() local
706 ordered_fields.reserve(descriptor_->field_count()); in GenerateFieldAccessorDeclarations()
708 ordered_fields.insert(ordered_fields.begin(), optimized_order_.begin(), in GenerateFieldAccessorDeclarations()
714 ordered_fields.push_back(field); in GenerateFieldAccessorDeclarations()
717 if (!ordered_fields.empty()) { in GenerateFieldAccessorDeclarations()
719 for (auto field : ordered_fields) { in GenerateFieldAccessorDeclarations()
729 for (auto field : ordered_fields) { in GenerateFieldAccessorDeclarations()
2138 std::vector<const FieldDescriptor*> ordered_fields = in GenerateParseOffsets() local
2141 for (auto field : ordered_fields) { in GenerateParseOffsets()
2240 std::vector<const FieldDescriptor*> ordered_fields = in GenerateParseAuxTable() local
[all …]
Dcpp_helpers.cc1363 std::vector<const FieldDescriptor*> ordered_fields; in GenerateParserLoop() local
1365 ordered_fields.push_back(field); in GenerateParserLoop()
1367 std::sort(ordered_fields.begin(), ordered_fields.end(), in GenerateParserLoop()
1393 GenerateParseLoop(descriptor, ordered_fields); in GenerateParserLoop()
1712 const std::vector<const FieldDescriptor*>& ordered_fields) { in GenerateParseLoop() argument
1723 for (const auto* field : ordered_fields) { in GenerateParseLoop()
1783 if (!ordered_fields.empty()) format_("handle_unusual:\n"); in GenerateParseLoop()
/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/python/pybind11/include/pybind11/
Dnumpy.h1107 std::vector<field_descriptor> ordered_fields(std::move(fields));
1108 std::sort(ordered_fields.begin(), ordered_fields.end(),
1112 for (auto& field : ordered_fields) {
1137 for (auto& field : ordered_fields) {