Lines Matching refs:top
316 int top = optind;
326 string can work normally. Our top argument must be in the range
328 if (nonoption_flags_len > 0 && top >= nonoption_flags_max_len)
332 char *new_str = malloc (top + 1);
339 '\0', top + 1 - nonoption_flags_max_len);
340 nonoption_flags_max_len = top + 1;
346 while (top > middle && middle > bottom)
348 if (top - middle > middle - bottom)
354 /* Swap it with the top part of the top segment. */
358 argv[bottom + i] = argv[top - (middle - bottom) + i];
359 argv[top - (middle - bottom) + i] = tem;
360 SWAP_FLAGS (bottom + i, top - (middle - bottom) + i);
363 top -= len;
367 /* Top segment is the short one. */
368 int len = top - middle;
379 /* Exclude the moved top segment from further swapping. */