Lines Matching defs:from
35 /* NOTE: Some of the code here is taken from GNU emacs */
117 register buf_char *to, *from;
122 from = gap_start();
123 to = from + gap_size();
149 *--to = *--from;
168 register buf_char *to, *from;
174 from = i + gap_end();
200 *to++ = *from++;
211 __gap_end_pos = from - data;
240 /* Transfer the new free space from the end to the gap
264 whose current position is between `from' (exclusive) and `to' (inclusive).
341 if (!is_reading()) { // Must switch from put to get mode.
378 if (is_reading()) { // Must switch from get to put mode.
517 /* Delete characters from `from' up to (but not incl) `to' */
519 void edit_buffer::delete_range (buf_index from, buf_index to)
523 if ((numdel = to - from) <= 0)
527 if (from > size1())
528 gap_right (from);
538 _gap_start = data + from;
588 // Unlink this from list of files associated with bstr->buffer.
615 // Allocate a new mark, which is adjusted by 'delta' bytes from 'this'.
652 // Must unlink mark from chain of owning buffer
679 start2 = NULL; // To avoid a warning from g++.
694 // Replace the buf_chars in 'this' with ones from 'src'.
696 // to leave marks in place: Marks whose offset from the start