Searched refs:ordered_fields (Results 1 – 6 of 6) sorted by relevance
53 self.ordered_fields = OrderedDict([57 self._fields = dict(self.ordered_fields)73 self.ordered_fields,
705 std::vector<const FieldDescriptor*> ordered_fields; in GenerateFieldAccessorDeclarations() local706 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() local2141 for (auto field : ordered_fields) { in GenerateParseOffsets()2240 std::vector<const FieldDescriptor*> ordered_fields = in GenerateParseAuxTable() local[all …]
1363 std::vector<const FieldDescriptor*> ordered_fields; in GenerateParserLoop() local1365 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() argument1723 for (const auto* field : ordered_fields) { in GenerateParseLoop()1783 if (!ordered_fields.empty()) format_("handle_unusual:\n"); in GenerateParseLoop()
823 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:
919 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:
1107 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) {