Lines Matching refs:top
159 int top = d->optind;
169 string can work normally. Our top argument must be in the range
171 if (d->__nonoption_flags_len > 0 && top >= d->__nonoption_flags_max_len)
175 char *new_str = malloc (top + 1);
182 '\0', top + 1 - d->__nonoption_flags_max_len);
183 d->__nonoption_flags_max_len = top + 1;
189 while (top > middle && middle > bottom)
191 if (top - middle > middle - bottom)
197 /* Swap it with the top part of the top segment. */
201 argv[bottom + i] = argv[top - (middle - bottom) + i];
202 argv[top - (middle - bottom) + i] = tem;
203 SWAP_FLAGS (bottom + i, top - (middle - bottom) + i);
206 top -= len;
210 /* Top segment is the short one. */
211 int len = top - middle;
222 /* Exclude the moved top segment from further swapping. */