• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/emacs-93/emacs/src/

Lines Matching refs:from_byte

346 adjust_markers_for_delete (from, from_byte, to, to_byte)
347 register int from, from_byte, to, to_byte;
365 m->bytepos -= to_byte - from_byte;
385 m->bytepos = from_byte;
412 adjust_markers_for_insert (from, from_byte, to, to_byte, before_markers)
413 register int from, from_byte, to, to_byte;
419 int nbytes = to_byte - from_byte;
431 if (m->bytepos == from_byte)
441 else if (m->bytepos > from_byte)
488 adjust_markers_for_replace (from, from_byte, old_chars, old_bytes,
490 int from, from_byte, old_chars, old_bytes, new_chars, new_bytes;
493 int prev_to_byte = from_byte + old_bytes;
504 else if (m->bytepos > from_byte)
507 m->bytepos = from_byte;
1226 int from_byte = buf_charpos_to_bytepos (buf, from);
1228 int incoming_nbytes = to_byte - from_byte;
1244 chunk = BUF_GPT_BYTE (buf) - from_byte;
1248 = count_size_as_multibyte (BUF_BYTE_ADDRESS (buf, from_byte),
1257 from_byte + chunk),
1280 chunk = BUF_GPT_BYTE (buf) - from_byte;
1286 = copy_text (BUF_BYTE_ADDRESS (buf, from_byte),
1295 copy_text (BUF_BYTE_ADDRESS (buf, from_byte + chunk),
1363 adjust_after_replace (from, from_byte, prev_text, len, len_byte)
1364 int from, from_byte, len, len_byte;
1370 if (count_combining_before (GPT_ADDR, len_byte, from, from_byte)
1371 || count_combining_after (GPT_ADDR, len_byte, from, from_byte))
1389 adjust_markers_for_replace (from, from_byte, nchars_del, nbytes_del,
1392 adjust_markers_for_insert (from, from_byte,
1393 from + len, from_byte + len_byte, 0);
1430 adjust_after_replace_noundo (from, from_byte, nchars_del, nbytes_del, len, len_byte)
1431 int from, from_byte, nchars_del, nbytes_del, len, len_byte;
1434 if (count_combining_before (GPT_ADDR, len_byte, from, from_byte)
1435 || count_combining_after (GPT_ADDR, len_byte, from, from_byte))
1447 adjust_markers_for_replace (from, from_byte, nchars_del, nbytes_del,
1450 adjust_markers_for_insert (from, from_byte,
1451 from + len, from_byte + len_byte, 0);
1483 adjust_after_insert (from, from_byte, to, to_byte, newlen)
1484 int from, from_byte, to, to_byte, newlen;
1486 int len = to - from, len_byte = to_byte - from_byte;
1494 adjust_after_replace (from, from_byte, Qnil, newlen, len_byte);
1517 int from_byte, to_byte;
1545 from_byte = CHAR_TO_BYTE (from);
1549 nbytes_del = to_byte - from_byte;
1572 gap_right (from, from_byte);
1580 deletion = make_buffer_string_both (from, from_byte, to, to_byte, 1);
1588 GPT_BYTE = from_byte;
1614 if (count_combining_before (GPT_ADDR, outgoing_insbytes, from, from_byte)
1615 || count_combining_after (GPT_ADDR, outgoing_insbytes, from, from_byte))
1648 adjust_markers_for_replace (from, from_byte, nchars_del, nbytes_del,
1663 (from_byte + outgoing_insbytes
1693 replace_range_2 (from, from_byte, to, to_byte, ins, inschars, insbytes, markers)
1694 int from, from_byte, to, to_byte;
1704 nbytes_del = to_byte - from_byte;
1716 gap_right (from, from_byte);
1726 GPT_BYTE = from_byte;
1749 if (count_combining_before (GPT_ADDR, insbytes, from, from_byte)
1750 || count_combining_after (GPT_ADDR, insbytes, from, from_byte))
1777 adjust_markers_for_replace (from, from_byte, nchars_del, nbytes_del,
1787 adjust_point (from - PT, from_byte - PT_BYTE);
1820 int from_byte, to_byte;
1840 from_byte = CHAR_TO_BYTE (from);
1843 deletion = del_range_2 (from, from_byte, to, to_byte, ret_string);
1854 del_range_byte (from_byte, to_byte, prepare)
1855 int from_byte, to_byte, prepare;
1860 if (from_byte < BEGV_BYTE)
1861 from_byte = BEGV_BYTE;
1865 if (to_byte <= from_byte)
1868 from = BYTE_TO_CHAR (from_byte);
1879 from_byte = CHAR_TO_BYTE (from);
1889 del_range_2 (from, from_byte, to, to_byte, 0);
1898 del_range_both (from, from_byte, to, to_byte, prepare)
1899 int from, from_byte, to, to_byte, prepare;
1902 if (from_byte < BEGV_BYTE)
1903 from_byte = BEGV_BYTE;
1907 if (to_byte <= from_byte)
1923 from_byte = CHAR_TO_BYTE (from);
1933 del_range_2 (from, from_byte, to, to_byte, 0);
1944 del_range_2 (from, from_byte, to, to_byte, ret_string)
1945 int from, from_byte, to, to_byte, ret_string;
1953 nbytes_del = to_byte - from_byte;
1957 gap_right (from, from_byte);
1963 Z_BYTE - to_byte, from, from_byte))
1968 deletion = make_buffer_string_both (from, from_byte, to, to_byte, 1);
1976 adjust_markers_for_delete (from, from_byte, to, to_byte);
1986 from_byte - (PT_BYTE < to_byte ? PT_BYTE : to_byte));
2000 GPT_BYTE = from_byte;