Lines Matching refs:gap
47 // replacing) // must have its pptr() pointing to the start of the gap.
50 // That edit_streambuf "owns" the gap, and the actual start of the
51 // gap is the pptr() of the edit_streambuf; the edit_buffer::_gap_start pointer
105 // adjust the position of the gap
126 /* Now copy the characters. To move the gap down,
137 Change POS to be where we have actually moved the gap to. */
152 /* Adjust markers, and buffer data structure, to put the gap at POS.
177 /* Now copy the characters. To move the gap up,
188 Change POS to be where we have actually moved the gap to. */
215 /* make sure that the gap in the current buffer is at least k
240 /* Transfer the new free space from the end to the gap
330 must have *gap_start_ptr == __bufp && *gap_start_ptr+gap == __endp
333 if before gap
405 // Entire string is left of gap.
409 // Current pos is left of gap.
414 // Current pos is at start of gap; move to end of gap.
420 // Otherwise, current pos is right of gap.
526 /* Make sure the gap is somewhere in or next to what we are deleting */
532 /* Relocate all markers pointing into the new, larger gap
533 to point at the end of the text before the gap. */
627 // check if new and old marks are opposite sides of gap