Home
last modified time | relevance | path

Searched refs:ZV_BYTE (Results 1 – 25 of 37) sorted by relevance

12

/dports/editors/emacs-devel/emacs-4d1968b/src/
H A Dinsdel.c922 ZV_BYTE += nbytes; in insert_1_both()
1099 ZV_BYTE += nbytes; in insert_from_gap_1()
1455 ZV_BYTE -= nbytes_del; in replace_range()
1599 ZV_BYTE -= nbytes_del; in replace_range_2()
1634 ZV_BYTE += insbytes; in replace_range_2()
1741 if (to_byte > ZV_BYTE) in del_range_byte()
1742 to_byte = ZV_BYTE; in del_range_byte()
1761 to_byte = ZV_BYTE; in del_range_byte()
1782 if (to_byte > ZV_BYTE) in del_range_both()
1783 to_byte = ZV_BYTE; in del_range_both()
[all …]
H A Dsearch.c300 s2 = ZV_BYTE - GPT_BYTE; in looking_at_1()
304 s2 = ZV_BYTE - BEGV_BYTE; in looking_at_1()
309 s1 = ZV_BYTE - BEGV_BYTE; in looking_at_1()
320 ZV_BYTE - BEGV_BYTE); in looking_at_1()
554 s2 = ZV_BYTE - GPT_BYTE; in fast_looking_at()
558 s2 = ZV_BYTE - BEGV_BYTE; in fast_looking_at()
563 s1 = ZV_BYTE - BEGV_BYTE; in fast_looking_at()
673 end = ZV, end_byte = ZV_BYTE; in find_newline()
1039 lim = ZV, lim_byte = ZV_BYTE; in search_command()
1049 lim = ZV, lim_byte = ZV_BYTE; in search_command()
[all …]
H A Dbuffer.h55 #define ZV_BYTE (current_buffer->zv_byte) macro
844 return (bytepos < GPT_BYTE && GPT < ZV ? GPT_BYTE : ZV_BYTE) - 1; in BUFFER_CEILING_OF()
902 return (buf == current_buffer ? ZV_BYTE in BUF_ZV_BYTE()
H A Dfileio.c3726 ZV_BYTE = Z_BYTE = GPT_BYTE = BEG_BYTE; in decide_coding_unwind()
3930 ptrdiff_t same_at_end = ZV_BYTE;
4068 = Z_BYTE - (!NILP (replace) ? ZV_BYTE - BEGV_BYTE : 0);
4249 while (bufpos < nread && same_at_start < ZV_BYTE
4278 curpos = end_offset - (ZV_BYTE - same_at_end);
4344 while (same_at_end < ZV_BYTE
4351 + (! NILP (end) ? end_offset : st.st_size) - ZV_BYTE));
4358 end_offset -= ZV_BYTE - same_at_end;
4502 while (same_at_end < ZV_BYTE
4507 overlap = same_at_start - BEGV_BYTE - (same_at_end + inserted - ZV_BYTE);
[all …]
H A Deditfns.c927 return build_marker (current_buffer, ZV, ZV_BYTE);
1064 if (pos_byte < BEGV_BYTE || pos_byte >= ZV_BYTE)
1070 if (pos_byte < BEGV_BYTE || pos_byte >= ZV_BYTE)
1104 if (pos_byte <= BEGV_BYTE || pos_byte > ZV_BYTE)
1712 return make_buffer_string_both (BEGV, BEGV_BYTE, ZV, ZV_BYTE, 1);
2021 del_range_both (BEGV, BEGV_BYTE, ZV, ZV_BYTE, true);
2725 end = build_marker (current_buffer, ZV, ZV_BYTE); in save_restriction_save()
H A Dbidi.c1468 val = fast_looking_at (sep_re, charpos, bytepos, ZV, ZV_BYTE, Qnil); in bidi_at_paragraph_end()
1471 if (fast_looking_at (start_re, charpos, bytepos, ZV, ZV_BYTE, Qnil) >= 0) in bidi_at_paragraph_end()
1545 ptrdiff_t limit = ZV, limit_byte = ZV_BYTE; in bidi_find_paragraph_start()
1582 pos_byte = clip_to_bounds (BEGV_BYTE, pos_byte, ZV_BYTE); in bidi_find_paragraph_start()
3515 else if (bidi_it->bytepos < ZV_BYTE) in bidi_move_to_visually_next()
H A Dbuffer.c2559 begv = BEGV_BYTE, zv = ZV_BYTE;
2581 ZV = ZV_BYTE;
2720 ZV_BYTE = advance_to_char_boundary (ZV_BYTE);
2721 if (ZV_BYTE > GPT_BYTE)
2722 ZV = chars_in_text (GAP_END_ADDR, ZV_BYTE - GPT_BYTE) + GPT;
2724 ZV = chars_in_text (BEG_ADDR, ZV_BYTE - BEG_BYTE) + BEG;
H A Dxdisp.c10308 && (ZV_BYTE <= 1 || FETCH_BYTE (ZV_BYTE - 1) != '\n') in move_it_to()
10865 while (bpos < ZV_BYTE) in window_text_pixel_size()
10900 bpos = ZV_BYTE; in window_text_pixel_size()
10911 while (bpos < ZV_BYTE) in window_text_pixel_size()
11406 ZV_BYTE = Z_BYTE; in message_dolog()
11508 ZV_BYTE = Z_BYTE; in message_dolog()
12344 && ZV_BYTE > 1 in resize_mini_window()
18925 new_pt_byte = ZV_BYTE; in redisplay_window()
22891 while (bytepos < ZV_BYTE in trailing_whitespace_p()
24599 IT_BYTEPOS (*it) >= ZV_BYTE in display_line()
[all …]
H A Dintervals.c1797 bytepos = clip_to_bounds (BEGV_BYTE, bytepos, ZV_BYTE); in set_point_from_marker()
1871 eassert (ZV != ZV_BYTE || charpos == bytepos); in set_point_both()
H A Dindent.c908 if (pos_byte == ZV_BYTE) in position_indentation()
H A Ddispextern.h278 (BEGV_BYTE, marker_byte_position (MARKER), ZV_BYTE))
H A Dprocess.c6258 old_zv_byte = ZV_BYTE;
6267 SET_PT_BOTH (ZV, ZV_BYTE);
7623 SET_PT_BOTH (ZV, ZV_BYTE);
H A Dcoding.c1006 GAP_SIZE = 0; ZV += add; Z += add; ZV_BYTE += add; Z_BYTE += add; in coding_alloc_by_making_gap()
1008 GAP_SIZE += add; ZV -= add; Z -= add; ZV_BYTE -= add; Z_BYTE -= add; in coding_alloc_by_making_gap()
/dports/editors/emacs/emacs-27.2/src/
H A Dinsdel.c923 ZV_BYTE += nbytes; in insert_1_both()
1100 ZV_BYTE += nbytes; in insert_from_gap_1()
1456 ZV_BYTE -= nbytes_del; in replace_range()
1597 ZV_BYTE -= nbytes_del; in replace_range_2()
1632 ZV_BYTE += insbytes; in replace_range_2()
1739 if (to_byte > ZV_BYTE) in del_range_byte()
1740 to_byte = ZV_BYTE; in del_range_byte()
1759 to_byte = ZV_BYTE; in del_range_byte()
1780 if (to_byte > ZV_BYTE) in del_range_both()
1781 to_byte = ZV_BYTE; in del_range_both()
[all …]
H A Dsearch.c299 s2 = ZV_BYTE - GPT_BYTE; in looking_at_1()
303 s2 = ZV_BYTE - BEGV_BYTE; in looking_at_1()
308 s1 = ZV_BYTE - BEGV_BYTE; in looking_at_1()
319 ZV_BYTE - BEGV_BYTE); in looking_at_1()
543 s2 = ZV_BYTE - GPT_BYTE; in fast_looking_at()
547 s2 = ZV_BYTE - BEGV_BYTE; in fast_looking_at()
552 s1 = ZV_BYTE - BEGV_BYTE; in fast_looking_at()
659 end = ZV, end_byte = ZV_BYTE; in find_newline()
1025 lim = ZV, lim_byte = ZV_BYTE; in search_command()
1036 lim = ZV, lim_byte = ZV_BYTE; in search_command()
[all …]
H A Dbuffer.h55 #define ZV_BYTE (current_buffer->zv_byte) macro
839 return (bytepos < GPT_BYTE && GPT < ZV ? GPT_BYTE : ZV_BYTE) - 1; in BUFFER_CEILING_OF()
897 return (buf == current_buffer ? ZV_BYTE in BUF_ZV_BYTE()
H A Dfileio.c3562 ZV_BYTE = Z_BYTE = GPT_BYTE = BEG_BYTE; in decide_coding_unwind()
3765 ptrdiff_t same_at_end = ZV_BYTE;
3903 = Z_BYTE - (!NILP (replace) ? ZV_BYTE - BEGV_BYTE : 0);
4084 while (bufpos < nread && same_at_start < ZV_BYTE
4113 curpos = end_offset - (ZV_BYTE - same_at_end);
4179 while (same_at_end < ZV_BYTE
4186 + (! NILP (end) ? end_offset : st.st_size) - ZV_BYTE));
4193 end_offset -= ZV_BYTE - same_at_end;
4337 while (same_at_end < ZV_BYTE
4342 overlap = same_at_start - BEGV_BYTE - (same_at_end + inserted - ZV_BYTE);
[all …]
H A Deditfns.c915 return build_marker (current_buffer, ZV, ZV_BYTE);
1052 if (pos_byte < BEGV_BYTE || pos_byte >= ZV_BYTE)
1058 if (pos_byte < BEGV_BYTE || pos_byte >= ZV_BYTE)
1092 if (pos_byte <= BEGV_BYTE || pos_byte > ZV_BYTE)
1692 return make_buffer_string_both (BEGV, BEGV_BYTE, ZV, ZV_BYTE, 1);
2020 del_range_both (BEGV, BEGV_BYTE, ZV, ZV_BYTE, true);
2745 end = build_marker (current_buffer, ZV, ZV_BYTE); in save_restriction_save()
H A Dbidi.c1466 val = fast_looking_at (sep_re, charpos, bytepos, ZV, ZV_BYTE, Qnil); in bidi_at_paragraph_end()
1469 if (fast_looking_at (start_re, charpos, bytepos, ZV, ZV_BYTE, Qnil) >= 0) in bidi_at_paragraph_end()
1543 ptrdiff_t limit = ZV, limit_byte = ZV_BYTE; in bidi_find_paragraph_start()
1580 pos_byte = clip_to_bounds (BEGV_BYTE, pos_byte, ZV_BYTE); in bidi_find_paragraph_start()
3513 else if (bidi_it->bytepos < ZV_BYTE) in bidi_move_to_visually_next()
H A Dbuffer.c2509 begv = BEGV_BYTE, zv = ZV_BYTE;
2531 ZV = ZV_BYTE;
2678 ZV_BYTE = advance_to_char_boundary (ZV_BYTE);
2679 if (ZV_BYTE > GPT_BYTE)
2680 ZV = chars_in_text (GAP_END_ADDR, ZV_BYTE - GPT_BYTE) + GPT;
2682 ZV = chars_in_text (BEG_ADDR, ZV_BYTE - BEG_BYTE) + BEG;
H A Dintervals.c1786 bytepos = clip_to_bounds (BEGV_BYTE, bytepos, ZV_BYTE); in set_point_from_marker()
1860 eassert (ZV != ZV_BYTE || charpos == bytepos); in set_point_both()
H A Dxdisp.c507 || (IT_BYTEPOS (*it) < ZV_BYTE \
10491 while (bpos < ZV_BYTE)
10519 bpos = ZV_BYTE;
10527 while (bpos < ZV_BYTE)
10752 ZV_BYTE = Z_BYTE; in message_dolog()
10860 ZV_BYTE = Z_BYTE; in message_dolog()
17464 SET_TEXT_POS (start_pos, ZV, ZV_BYTE); in compute_window_start_on_continuation_line()
18228 new_pt_byte = ZV_BYTE; in redisplay_window()
18339 SET_TEXT_POS (startp, ZV, ZV_BYTE); in redisplay_window()
22152 while (bytepos < ZV_BYTE in trailing_whitespace_p()
[all …]
H A Dindent.c900 if (pos_byte == ZV_BYTE) in position_indentation()
H A Ddispextern.h268 (BEGV_BYTE, marker_byte_position (MARKER), ZV_BYTE))
H A Dprocess.c6266 old_zv_byte = ZV_BYTE;
6275 SET_PT_BOTH (ZV, ZV_BYTE);
7539 SET_PT_BOTH (ZV, ZV_BYTE);

12