Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_message.cc236 vector<FieldGroup> aligned_to_1, aligned_to_4, aligned_to_8; in OptimizePadding() local
240 case 4: aligned_to_4.push_back(FieldGroup(i, (*fields)[i])); break; in OptimizePadding()
254 aligned_to_4.push_back(field_group); in OptimizePadding()
259 std::stable_sort(aligned_to_4.begin(), aligned_to_4.end()); in OptimizePadding()
263 for (int i = 0; i < aligned_to_4.size(); i += 2) { in OptimizePadding()
265 for (int j = i; j < aligned_to_4.size() && j < i + 2; ++j) { in OptimizePadding()
266 field_group.Append(aligned_to_4[j]); in OptimizePadding()
268 if (i == aligned_to_4.size() - 1) { in OptimizePadding()