Home
last modified time | relevance | path

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

/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_padding_optimizer.cc138 std::vector<FieldGroup> aligned_to_4[kMaxFamily]; in OptimizeLayout() local
163 aligned_to_4[f].push_back(FieldGroup(j, field)); in OptimizeLayout()
183 aligned_to_4[f].push_back(field_group); in OptimizeLayout()
188 std::stable_sort(aligned_to_4[f].begin(), aligned_to_4[f].end()); in OptimizeLayout()
192 for (int i = 0; i < aligned_to_4[f].size(); i += 2) { in OptimizeLayout()
194 for (int j = i; j < aligned_to_4[f].size() && j < i + 2; ++j) { in OptimizeLayout()
195 field_group.Append(aligned_to_4[f][j]); in OptimizeLayout()
197 if (i == aligned_to_4[f].size() - 1) { in OptimizeLayout()