Searched refs:field_order (Results 1 – 2 of 2) sorted by relevance
131 std::vector<const protobuf::FieldDescriptor*> field_order; in PlaceNonOneofFields() local135 field_order.push_back(descriptor->field(i)); in PlaceNonOneofFields()138 std::sort(field_order.begin(), field_order.end(), in PlaceNonOneofFields()159 for (auto field : field_order) { in PlaceNonOneofFields()
310 field_order = {name : i-len(fields) for (i, name) in enumerate(fields)}312 field_order = {}313 keyfunc = lambda attr: (field_order.get(attr[0], 0), attr[0])