Home
last modified time | relevance | path

Searched refs:m_start (Results 1 – 25 of 46) sorted by relevance

12

/dragonfly/contrib/nvi2/vi/
H A Dv_itxt.c94 sp->lno = vp->m_start.lno; in v_ia()
150 sp->lno = vp->m_start.lno; in v_ii()
282 vp->m_start.cno = 0; in v_change()
284 if (nonblank(sp, vp->m_start.lno, &vp->m_start.cno)) in v_change()
289 sp->lno = vp->m_start.lno; in v_change()
290 sp->cno = vp->m_start.cno; in v_change()
332 if (lmode && vp->m_start.cno) { in v_change()
340 MEMMOVE(bp, p, vp->m_start.cno); in v_change()
350 if (db_insert(sp, vp->m_start.lno, bp, vp->m_start.cno)) in v_change()
352 sp->lno = vp->m_start.lno; in v_change()
[all …]
H A Dv_left.c38 if (vp->m_start.cno == 0) { in v_left()
45 if (vp->m_start.cno > cnt) in v_left()
46 vp->m_stop.cno = vp->m_start.cno - cnt; in v_left()
56 --vp->m_start.cno; in v_left()
174 if (vp->m_start.cno < vp->m_stop.cno) in v_first()
177 vp->m_final = vp->m_start; in v_first()
182 --vp->m_start.cno; in v_first()
236 if (vp->m_start.cno < vp->m_stop.cno) in v_ncol()
239 vp->m_final = vp->m_start; in v_ncol()
244 --vp->m_start.cno; in v_ncol()
[all …]
H A Dv_xchar.c58 vp->m_final.cno = vp->m_start.cno ? vp->m_start.cno - 1 : 0; in v_xchar()
60 vp->m_final.cno = vp->m_start.cno; in v_xchar()
64 &vp->m_start, &vp->m_stop, 0)) in v_xchar()
66 return (del(sp, &vp->m_start, &vp->m_stop, 0)); in v_xchar()
81 if (vp->m_start.cno == 0) { in v_Xchar()
87 if (cnt >= vp->m_start.cno) in v_Xchar()
88 vp->m_start.cno = 0; in v_Xchar()
90 vp->m_start.cno -= cnt; in v_Xchar()
92 vp->m_final.cno = vp->m_start.cno; in v_Xchar()
96 &vp->m_start, &vp->m_stop, 0)) in v_Xchar()
[all …]
H A Dv_paragraph.c87 if (vp->m_start.cno == 0) in v_paragraphf()
90 vp->m_stop = vp->m_start; in v_paragraphf()
99 lno = vp->m_start.lno; in v_paragraphf()
164 eof: if (vp->m_start.lno == lno || vp->m_start.lno == lno - 1) { in v_paragraphf()
168 vp->m_start.cno = 0; in v_paragraphf()
227 lno = vp->m_start.lno; in v_paragraphb()
232 v_sof(sp, &vp->m_start); in v_paragraphb()
235 --vp->m_start.lno; in v_paragraphb()
238 --vp->m_start.cno; in v_paragraphb()
240 if (vp->m_start.lno <= 1) in v_paragraphb()
[all …]
H A Dv_sentence.c58 cs.cs_lno = vp->m_start.lno; in v_sentencef()
59 cs.cs_cno = vp->m_start.cno; in v_sentencef()
76 vp->m_start.cno != cs.cs_cno) in v_sentencef()
144 if (vp->m_start.lno == cs.cs_lno && vp->m_start.cno == cs.cs_cno) { in v_sentencef()
166 if (vp->m_start.cno == 0 && in v_sentencef()
177 vp->m_final = vp->m_start; in v_sentencef()
202 if (vp->m_start.lno == 1 && vp->m_start.cno == 0) in v_sentenceb()
205 cs.cs_lno = vp->m_start.lno; in v_sentenceb()
206 cs.cs_cno = vp->m_start.cno; in v_sentenceb()
340 if (vp->m_start.cno == 0 && in v_sentenceb()
[all …]
H A Dv_replace.c66 if (db_get(sp, vp->m_start.lno, DBG_FATAL, &p, &len)) in v_replace()
84 vp->m_stop.lno = vp->m_start.lno; in v_replace()
85 vp->m_stop.cno = vp->m_start.cno + cnt - 1; in v_replace()
87 v_eol(sp, &vp->m_start); in v_replace()
154 vp->m_stop.lno = vp->m_start.lno + 1; in v_replace()
158 if (db_set(sp, vp->m_start.lno, p, vp->m_start.cno)) in v_replace()
168 p += vp->m_start.cno + cnt; in v_replace()
169 len -= vp->m_start.cno + cnt; in v_replace()
177 if (v_txt_auto(sp, vp->m_start.lno, NULL, 0, tp)) in v_replace()
191 STRSET(bp + vp->m_start.cno, vip->rlast, cnt); in v_replace()
[all …]
H A Dv_mark.c36 return (mark_set(sp, vp->character, &vp->m_start, 1)); in v_mark()
149 vp->m_stop.lno == vp->m_start.lno && in mark()
150 vp->m_stop.cno == vp->m_start.cno) { in mark()
162 if (vp->m_start.lno > vp->m_stop.lno || in mark()
163 (vp->m_start.lno == vp->m_stop.lno && in mark()
164 vp->m_start.cno > vp->m_stop.cno)) { in mark()
165 m = vp->m_start; in mark()
166 vp->m_start = vp->m_stop; in mark()
195 vp->m_final = vp->m_start; in mark()
219 if (nonblank(sp, vp->m_start.lno, &len)) in mark()
[all …]
H A Dv_match.c59 if (db_eget(sp, vp->m_start.lno, &p, &len, &isempty)) { in v_match()
64 for (off = vp->m_start.cno;; ++off) { in v_match()
79 cs.cs_lno = vp->m_start.lno; in v_match()
114 if (vp->m_start.lno < vp->m_stop.lno || in v_match()
115 (vp->m_start.lno == vp->m_stop.lno && in v_match()
116 vp->m_start.cno < vp->m_stop.cno)) in v_match()
117 vp->m_final = ISMOTION(vp) ? vp->m_start : vp->m_stop; in v_match()
129 if (!ISMOTION(vp) || vp->m_start.lno == vp->m_stop.lno) in v_match()
131 mp = vp->m_start.lno < vp->m_stop.lno ? &vp->m_start : &vp->m_stop; in v_match()
139 mp = vp->m_start.lno < vp->m_stop.lno ? &vp->m_stop : &vp->m_start; in v_match()
H A Dv_word.c105 cs.cs_lno = vp->m_start.lno; in fword()
106 cs.cs_cno = vp->m_start.cno; in fword()
210 cs.cs_lno == vp->m_start.lno && cs.cs_cno == vp->m_start.cno) { in fword()
211 v_eof(sp, &vp->m_start); in fword()
265 cs.cs_lno = vp->m_start.lno; in eword()
266 cs.cs_cno = vp->m_start.cno; in eword()
358 cs.cs_lno == vp->m_start.lno && cs.cs_cno == vp->m_start.cno) { in eword()
359 v_eof(sp, &vp->m_start); in eword()
499 ret: if (cs.cs_lno == vp->m_start.lno && cs.cs_cno == vp->m_start.cno) { in bword()
500 v_sof(sp, &vp->m_start); in bword()
[all …]
H A Dv_scroll.c82 v_eof(sp, &vp->m_start); in v_lgoto()
188 if (vp->m_stop.lno < vp->m_start.lno || in goto_adjust()
189 (vp->m_stop.lno == vp->m_start.lno && in goto_adjust()
190 vp->m_stop.cno < vp->m_start.cno)) { in goto_adjust()
192 vp->m_final = vp->m_start; in goto_adjust()
194 vp->m_final = vp->m_start; in goto_adjust()
209 if (vp->m_start.lno <= lno) { in v_up()
210 v_sof(sp, &vp->m_start); in v_up()
213 vp->m_stop.lno = vp->m_start.lno - lno; in v_up()
234 return (sscr_exec(sp, vp->m_start.lno)); in v_cr()
[all …]
H A Dv_section.c81 if (vp->m_start.cno == 0) in v_sectionf()
84 vp->m_stop = vp->m_start; in v_sectionf()
88 if (vp->m_start.cno <= vp->m_stop.cno) in v_sectionf()
93 for (lno = vp->m_start.lno; !db_get(sp, ++lno, 0, &p, &len);) { in v_sectionf()
138 if (vp->m_start.lno == lno - 1) { in v_sectionf()
153 vp->m_final = vp->m_start; in v_sectionf()
176 if (vp->m_start.lno <= 1) { in v_sectionb()
186 for (lno = vp->m_start.lno; !db_get(sp, --lno, 0, &p, &len);) { in v_sectionb()
235 ret1: if (vp->m_start.cno == 0) { in v_sectionb()
239 --vp->m_start.lno; in v_sectionb()
[all …]
H A Dv_right.c35 if (db_eget(sp, vp->m_start.lno, NULL, &len, &isempty)) { in v_right()
56 vp->m_stop.cno = vp->m_start.cno + in v_right()
58 if (vp->m_start.cno == len - 1 && !ISMOTION(vp)) { in v_right()
64 vp->m_final = ISMOTION(vp) ? vp->m_start : vp->m_stop; in v_right()
67 vp->m_final = vp->m_start; in v_right()
97 if (nonblank(sp, vp->m_start.lno, &vp->m_stop.cno)) in v_dollar()
99 if (ISMOTION(vp) && vp->m_start.cno <= vp->m_stop.cno) in v_dollar()
135 vp->m_final = ISMOTION(vp) ? vp->m_start : vp->m_stop; in v_dollar()
H A Dv_search.c408 &vp->m_start, &vp->m_stop, ptrn, plen, NULL, flags)) in v_search()
471 if (vp->m_start.lno == vp->m_stop.lno && in v_correct()
472 vp->m_start.cno == vp->m_stop.cno) { in v_correct()
493 if (vp->m_start.lno > vp->m_stop.lno || in v_correct()
494 (vp->m_start.lno == vp->m_stop.lno && in v_correct()
495 vp->m_start.cno > vp->m_stop.cno)) { in v_correct()
496 m = vp->m_start; in v_correct()
497 vp->m_start = vp->m_stop; in v_correct()
511 vp->m_final = vp->m_start; in v_correct()
536 if (nonblank(sp, vp->m_start.lno, &len)) in v_correct()
[all …]
H A Dv_ch.c151 if (db_eget(sp, vp->m_start.lno, &p, &len, &isempty)) { in v_chf()
163 p += vp->m_start.cno; in v_chf()
178 vp->m_final = ISMOTION(vp) ? vp->m_start : vp->m_stop; in v_chf()
200 if (vp->m_start.cno == vp->m_stop.cno) { in v_chT()
243 if (db_eget(sp, vp->m_start.lno, &p, &len, &isempty)) { in v_chF()
255 p += vp->m_start.cno; in v_chF()
273 --vp->m_start.cno; in v_chF()
H A Dv_ulcase.c53 lno = vp->m_start.lno; in v_ulcase()
54 cno = vp->m_start.cno; in v_ulcase()
110 for (lno = vp->m_start.lno;;) { in v_mulcase()
114 lno == vp->m_start.lno ? vp->m_start.cno : 0, in v_mulcase()
H A Dv_put.c47 &vp->m_start, &vp->m_final, 0)) in v_Put()
49 vp->m_start = vp->m_final; in v_Put()
78 &vp->m_start, &vp->m_final, 1)) in v_put()
80 vp->m_start = vp->m_final; in v_put()
H A Dv_ex.c43 ex_cinit(sp, &cmd, C_SUBAGAIN, 2, vp->m_start.lno, vp->m_start.lno, 1); in v_again()
105 lno = vp->m_start.lno + 1; in v_join()
107 lno = vp->m_start.lno + (vp->count - 1); in v_join()
109 ex_cinit(sp, &cmd, C_JOIN, 2, vp->m_start.lno, lno, 0); in v_join()
124 ex_cinit(sp, &cmd, C_SHIFTL, 2, vp->m_start.lno, vp->m_stop.lno, 0); in v_shiftl()
140 ex_cinit(sp, &cmd, C_SHIFTR, 2, vp->m_start.lno, vp->m_stop.lno, 0); in v_shiftr()
259 &cmd, C_BANG, 2, vp->m_start.lno, vp->m_stop.lno, 0); in v_filter()
291 ex_cinit(sp, &cmd, C_BANG, 2, vp->m_start.lno, vp->m_stop.lno, 0); in v_filter()
H A Dvi.c192 vp->m_start.lno = vp->m_stop.lno = vp->m_final.lno = sp->lno; in vi()
770 vp->m_start.lno = sp->lno; in v_motion()
771 vp->m_start.cno = 0; in v_motion()
839 motion.m_stop.lno = motion.m_start.lno = sp->lno; in v_motion()
841 motion.m_stop.cno = motion.m_start.cno = sp->cno; in v_motion()
898 if (motion.m_start.lno > motion.m_stop.lno || in v_motion()
899 (motion.m_start.lno == motion.m_stop.lno && in v_motion()
900 motion.m_start.cno > motion.m_stop.cno)) { in v_motion()
901 vp->m_start = motion.m_stop; in v_motion()
902 vp->m_stop = motion.m_start; in v_motion()
[all …]
H A Dv_increment.c78 if (db_eget(sp, vp->m_start.lno, &p, &len, &isempty)) { in v_increment()
89 for (beg = vp->m_start.cno; beg < len && ISSPACE(p[beg]); ++beg); in v_increment()
92 if (beg != vp->m_start.cno) { in v_increment()
233 rval = db_set(sp, vp->m_start.lno, bp, len); in v_increment()
H A Dv_yank.c46 F_ISSET(vp, VC_BUFFER) ? &vp->buffer : NULL, &vp->m_start, in v_yank()
49 sp->rptlines[L_YANKED] += (vp->m_stop.lno - vp->m_start.lno) + 1; in v_yank()
H A Dv_delete.c41 &vp->m_start, &vp->m_stop, in v_delete()
46 if (del(sp, &vp->m_start, &vp->m_stop, lmode)) in v_delete()
/dragonfly/contrib/gcc-8.0/gcc/
H A Dsubstring-locations.c124 if (fmt_substring_range.m_start >= fmt_loc_range.m_start in format_warning_n_va()
125 && fmt_substring_range.m_start <= fmt_loc_range.m_finish in format_warning_n_va()
126 && fmt_substring_range.m_finish >= fmt_loc_range.m_start in format_warning_n_va()
H A Ddiagnostic-show-locus.c135 layout_point m_start; variable
409 : m_start (*start_exploc), in layout_range()
462 if (row < m_start.m_line) in contains_point()
468 if (row == m_start.m_line) in contains_point()
472 if (column < m_start.m_column) in contains_point()
493 gcc_assert (row > m_start.m_line); in contains_point()
520 if (row < m_start.m_line) in intersects_line_p()
947 ri.m_start = ri.m_caret; in maybe_add_location_range()
1029 exploc.line = lr->m_start.m_line; in get_expanded_location()
1346 if (range->m_start.m_line == line in annotation_line_showed_range_p()
[all …]
/dragonfly/contrib/gcc-8.0/libcpp/
H A Dline-map.c72 + (hashval_t) lb->src_range.m_start in location_adhoc_data_hash()
87 && lb1->src_range.m_start == lb2->src_range.m_start in location_adhoc_data_eq()
132 if (src_range.m_start != locus) in can_be_stored_compactly_p()
135 if (src_range.m_finish < src_range.m_start) in can_be_stored_compactly_p()
138 if (src_range.m_start < RESERVED_LOCATION_COUNT) in can_be_stored_compactly_p()
149 if (src_range.m_start >= lowest_macro_loc) in can_be_stored_compactly_p()
189 unsigned int int_diff = src_range.m_finish - src_range.m_start; in get_combined_adhoc_loc()
201 if (locus == src_range.m_start in get_combined_adhoc_loc()
293 result.m_start = loc - offset; in get_range_from_loc()
2416 : m_start (start), in fixit_hint()
[all …]
/dragonfly/contrib/gcc-8.0/libcpp/include/
H A Dline-map.h320 source_location m_start; member
331 result.m_start = loc; in from_location()
341 result.m_start = start; in from_locations()
1755 source_location get_start_loc () const { return m_start; } in get_start_loc()
1764 bool insertion_p () const { return m_start == m_next_loc; } in insertion_p()
1773 source_location m_start;

12