Home
last modified time | relevance | path

Searched refs:BEGV_BYTE (Results 1 – 25 of 52) sorted by relevance

123

/dports/editors/emacs-devel/emacs-4d1968b/src/
H A Dsearch.c298 s1 = GPT_BYTE - BEGV_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()
318 PT_BYTE - BEGV_BYTE, in looking_at_1()
320 ZV_BYTE - BEGV_BYTE); in looking_at_1()
549 pos_byte -= BEGV_BYTE; in fast_looking_at()
550 limit_byte -= BEGV_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()
1186 s1 = GPT_BYTE - BEGV_BYTE; in search_buffer_re()
[all …]
H A Dsyntax.h174 ? BYTE_TO_CHAR (bytepos + BEGV_BYTE - 1) - BEGV + 1 in SYNTAX_TABLE_BYTE_TO_CHAR()
H A Dbidi.c1558 while (pos_byte > BEGV_BYTE in bidi_find_paragraph_start()
1577 pos = BEGV, pos_byte = BEGV_BYTE; in bidi_find_paragraph_start()
1582 pos_byte = clip_to_bounds (BEGV_BYTE, pos_byte, ZV_BYTE); in bidi_find_paragraph_start()
1682 ptrdiff_t begbyte = string_p ? 0 : BEGV_BYTE; in bidi_paragraph_init()
1767 if (pstartbyte == BEGV_BYTE) in bidi_paragraph_init()
1775 while (pbyte > BEGV_BYTE && prevpbyte >= pstartbyte) in bidi_paragraph_init()
1902 if (bidi_it->bytepos < (string_p ? 0 : BEGV_BYTE) in bidi_resolve_explicit()
1924 bidi_it->bytepos = BEGV_BYTE; in bidi_resolve_explicit()
H A Dfileio.c3929 ptrdiff_t same_at_start = BEGV_BYTE;
4068 = Z_BYTE - (!NILP (replace) ? ZV_BYTE - BEGV_BYTE : 0);
4259 if (same_at_start - BEGV_BYTE == end_offset - beg_offset)
4337 while (same_at_start > BEGV_BYTE
4349 overlap = (same_at_start - BEGV_BYTE
4357 beg_offset += same_at_start - BEGV_BYTE;
4485 while (same_at_start > BEGV_BYTE
4539 same_at_start - BEGV_BYTE
4544 same_at_start + inserted - BEGV_BYTE
4891 TEMP_SET_PT_BOTH (BEGV, BEGV_BYTE);
[all …]
H A Dbuffer.h42 #define BEGV_BYTE (current_buffer->begv_byte) macro
850 return BEGV <= GPT && GPT_BYTE <= bytepos ? GPT_BYTE : BEGV_BYTE; in BUFFER_FLOOR_OF()
868 return (buf == current_buffer ? BEGV_BYTE in BUF_BEGV_BYTE()
H A Deditfns.c907 return build_marker (current_buffer, BEGV, BEGV_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);
2667 BEGV_BYTE = BEG_BYTE;
2724 beg = build_marker (current_buffer, BEGV, BEGV_BYTE); in save_restriction_save()
H A Dinsdel.c1739 if (from_byte < BEGV_BYTE) in del_range_byte()
1740 from_byte = BEGV_BYTE; in del_range_byte()
1780 if (from_byte < BEGV_BYTE) in del_range_both()
1781 from_byte = BEGV_BYTE; in del_range_both()
H A Dindent.c547 scan = find_newline (PT, PT_BYTE, BEGV, BEGV_BYTE, -1, NULL, &scan_byte, 1); in scan_for_column()
875 find_newline (PT, PT_BYTE, BEGV, BEGV_BYTE, -1, NULL, &posbyte, 1);
973 pos = find_newline (pos, pos_byte, BEGV, BEGV_BYTE, in indented_beyond_p()
H A Dbuffer.c2559 begv = BEGV_BYTE, zv = ZV_BYTE;
2580 BEGV = BEGV_BYTE;
2714 BEGV_BYTE = advance_to_char_boundary (BEGV_BYTE);
2715 if (BEGV_BYTE > GPT_BYTE)
2716 BEGV = chars_in_text (GAP_END_ADDR, BEGV_BYTE - GPT_BYTE) + GPT;
2718 BEGV = chars_in_text (BEG_ADDR, BEGV_BYTE - BEG_BYTE) + BEG;
H A Dsyntax.c616 find_start_value_byte = BEGV_BYTE; in find_defun_start()
621 scan_newline (pos, pos_byte, BEGV, BEGV_BYTE, -1, 1); in find_defun_start()
642 scan_newline (PT, PT_BYTE, BEGV, BEGV_BYTE, -2, 1); in find_defun_start()
2530 SET_PT_BOTH (BEGV, BEGV_BYTE);
H A Dxdisp.c1670 SET_TEXT_POS (top, BEGV, BEGV_BYTE); in pos_visible_p()
10859 bpos = BEGV_BYTE; in window_text_pixel_size()
10864 bpos = BEGV_BYTE; in window_text_pixel_size()
10872 while (bpos > BEGV_BYTE) in window_text_pixel_size()
10901 while (bpos > BEGV_BYTE) in window_text_pixel_size()
11404 BEGV_BYTE = BEG_BYTE; in message_dolog()
18919 new_pt_byte = BEGV_BYTE; in redisplay_window()
19034 SET_TEXT_POS (startp, BEGV, BEGV_BYTE); in redisplay_window()
19855 TEMP_SET_PT_BOTH (BEGV, BEGV_BYTE); in redisplay_window()
24828 if (bytepos <= BEGV_BYTE)
[all …]
H A Ddispextern.h278 (BEGV_BYTE, marker_byte_position (MARKER), ZV_BYTE))
H A Dintervals.c1797 bytepos = clip_to_bounds (BEGV_BYTE, bytepos, ZV_BYTE); in set_point_from_marker()
/dports/editors/emacs/emacs-27.2/src/
H A Dsearch.c297 s1 = GPT_BYTE - BEGV_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()
317 PT_BYTE - BEGV_BYTE, in looking_at_1()
319 ZV_BYTE - BEGV_BYTE); in looking_at_1()
538 pos_byte -= BEGV_BYTE; in fast_looking_at()
539 limit_byte -= BEGV_BYTE; in fast_looking_at()
541 s1 = GPT_BYTE - BEGV_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()
[all …]
H A Dsyntax.h174 ? BYTE_TO_CHAR (bytepos + BEGV_BYTE - 1) - BEGV + 1 in SYNTAX_TABLE_BYTE_TO_CHAR()
H A Dbidi.c1556 while (pos_byte > BEGV_BYTE in bidi_find_paragraph_start()
1575 pos = BEGV, pos_byte = BEGV_BYTE; in bidi_find_paragraph_start()
1580 pos_byte = clip_to_bounds (BEGV_BYTE, pos_byte, ZV_BYTE); in bidi_find_paragraph_start()
1680 ptrdiff_t begbyte = string_p ? 0 : BEGV_BYTE; in bidi_paragraph_init()
1765 if (pstartbyte == BEGV_BYTE) in bidi_paragraph_init()
1773 while (pbyte > BEGV_BYTE && prevpbyte >= pstartbyte) in bidi_paragraph_init()
1900 if (bidi_it->bytepos < (string_p ? 0 : BEGV_BYTE) in bidi_resolve_explicit()
1922 bidi_it->bytepos = BEGV_BYTE; in bidi_resolve_explicit()
H A Dbuffer.h42 #define BEGV_BYTE (current_buffer->begv_byte) macro
845 return BEGV <= GPT && GPT_BYTE <= bytepos ? GPT_BYTE : BEGV_BYTE; in BUFFER_FLOOR_OF()
863 return (buf == current_buffer ? BEGV_BYTE in BUF_BEGV_BYTE()
H A Dfileio.c3764 ptrdiff_t same_at_start = BEGV_BYTE;
3903 = Z_BYTE - (!NILP (replace) ? ZV_BYTE - BEGV_BYTE : 0);
4094 if (same_at_start - BEGV_BYTE == end_offset - beg_offset)
4172 while (same_at_start > BEGV_BYTE
4184 overlap = (same_at_start - BEGV_BYTE
4192 beg_offset += same_at_start - BEGV_BYTE;
4320 while (same_at_start > BEGV_BYTE
4374 same_at_start - BEGV_BYTE
4379 same_at_start + inserted - BEGV_BYTE
4726 TEMP_SET_PT_BOTH (BEGV, BEGV_BYTE);
[all …]
H A Deditfns.c895 return build_marker (current_buffer, BEGV, BEGV_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);
2685 BEGV_BYTE = BEG_BYTE;
2744 beg = build_marker (current_buffer, BEGV, BEGV_BYTE); in save_restriction_save()
H A Dinsdel.c1737 if (from_byte < BEGV_BYTE) in del_range_byte()
1738 from_byte = BEGV_BYTE; in del_range_byte()
1778 if (from_byte < BEGV_BYTE) in del_range_both()
1779 from_byte = BEGV_BYTE; in del_range_both()
H A Dindent.c547 scan = find_newline (PT, PT_BYTE, BEGV, BEGV_BYTE, -1, NULL, &scan_byte, 1); in scan_for_column()
867 find_newline (PT, PT_BYTE, BEGV, BEGV_BYTE, -1, NULL, &posbyte, 1);
965 pos = find_newline (pos, pos_byte, BEGV, BEGV_BYTE, in indented_beyond_p()
H A Dbuffer.c2509 begv = BEGV_BYTE, zv = ZV_BYTE;
2530 BEGV = BEGV_BYTE;
2672 BEGV_BYTE = advance_to_char_boundary (BEGV_BYTE);
2673 if (BEGV_BYTE > GPT_BYTE)
2674 BEGV = chars_in_text (GAP_END_ADDR, BEGV_BYTE - GPT_BYTE) + GPT;
2676 BEGV = chars_in_text (BEG_ADDR, BEGV_BYTE - BEG_BYTE) + BEG;
H A Dsyntax.c619 find_start_value_byte = BEGV_BYTE; in find_defun_start()
624 scan_newline (pos, pos_byte, BEGV, BEGV_BYTE, -1, 1); in find_defun_start()
645 scan_newline (PT, PT_BYTE, BEGV, BEGV_BYTE, -2, 1); in find_defun_start()
2510 SET_PT_BOTH (BEGV, BEGV_BYTE);
H A Dxdisp.c1551 SET_TEXT_POS (top, BEGV, BEGV_BYTE); in pos_visible_p()
10485 bpos = BEGV_BYTE;
10490 bpos = BEGV_BYTE;
10497 while (bpos > BEGV_BYTE)
10520 while (bpos > BEGV_BYTE)
10750 BEGV_BYTE = BEG_BYTE; in message_dolog()
11706 SET_TEXT_POS (start, BEGV, BEGV_BYTE); in resize_mini_window()
18222 new_pt_byte = BEGV_BYTE; in redisplay_window()
19147 TEMP_SET_PT_BOTH (BEGV, BEGV_BYTE); in redisplay_window()
24059 if (bytepos <= BEGV_BYTE)
[all …]
H A Ddispextern.h268 (BEGV_BYTE, marker_byte_position (MARKER), ZV_BYTE))

123