Home
last modified time | relevance | path

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

1234

/netbsd-src/external/bsd/nvi/dist/vi/
H A Dv_mark.c46 return (mark_set(sp, vp->character, &vp->m_start, 1)); in v_mark()
158 vp->m_stop.lno == vp->m_start.lno && in mark()
159 vp->m_stop.cno == vp->m_start.cno) { in mark()
171 if (vp->m_start.lno > vp->m_stop.lno || in mark()
172 (vp->m_start.lno == vp->m_stop.lno && in mark()
173 vp->m_start.cno > vp->m_stop.cno)) { in mark()
174 m = vp->m_start; in mark()
175 vp->m_start = vp->m_stop; in mark()
205 cmd == FQMARK && vp->m_start.lno != vp->m_stop.lno) && in mark()
206 (vp->m_start.lno > vp->m_stop.lno || in mark()
[all …]
H A Dv_itxt.c79 if (!db_get(sp, vp->m_start.lno, 0, NULL, &len)) in v_iA()
104 sp->lno = vp->m_start.lno; in v_ia()
135 if (nonblank(sp, vp->m_start.lno, &sp->cno)) in v_iI()
160 sp->lno = vp->m_start.lno; in v_ii()
274 if (vp->m_start.lno == vp->m_stop.lno && in v_change()
275 db_eget(sp, vp->m_start.lno, &p, &len, &isempty)) { in v_change()
293 vp->m_start.cno = 0; in v_change()
295 if (nonblank(sp, vp->m_start.lno, &vp->m_start.cno)) in v_change()
300 sp->lno = vp->m_start.lno; in v_change()
301 sp->cno = vp->m_start.cno; in v_change()
[all …]
H A Dv_left.c48 if (vp->m_start.cno == 0) { in v_left()
55 if (vp->m_start.cno > cnt) in v_left()
56 vp->m_stop.cno = vp->m_start.cno - cnt; in v_left()
66 --vp->m_start.cno; in v_left()
134 ISMOTION(vp) && ISCMD(vp->rkp, 'y') ? vp->m_start : vp->m_stop; in v_cfirst()
170 if (ISMOTION(vp) && vp->m_start.cno == vp->m_stop.cno) { in v_first()
184 if (vp->m_start.cno < vp->m_stop.cno) in v_first()
187 vp->m_final = vp->m_start; in v_first()
192 --vp->m_start.cno; in v_first()
212 vs_colpos(sp, vp->m_start.lno, (size_t)vp->count); in v_ncol()
[all …]
H A Dv_xchar.c45 if (db_eget(sp, vp->m_start.lno, NULL, &len, &isempty)) { in v_xchar()
68 vp->m_final.cno = vp->m_start.cno ? vp->m_start.cno - 1 : 0; in v_xchar()
70 vp->m_final.cno = vp->m_start.cno; in v_xchar()
74 &vp->m_start, &vp->m_stop, 0)) in v_xchar()
76 return (del(sp, &vp->m_start, &vp->m_stop, 0)); in v_xchar()
91 if (vp->m_start.cno == 0) { in v_Xchar()
97 if (cnt >= vp->m_start.cno) in v_Xchar()
98 vp->m_start.cno = 0; in v_Xchar()
100 vp->m_start.cno -= cnt; in v_Xchar()
102 vp->m_final.cno = vp->m_start.cno; in v_Xchar()
[all …]
H A Dv_sentence.c68 cs.cs_lno = vp->m_start.lno; in v_sentencef()
69 cs.cs_cno = vp->m_start.cno; in v_sentencef()
85 if (vp->m_start.lno != cs.cs_lno || in v_sentencef()
86 vp->m_start.cno != cs.cs_cno) in v_sentencef()
154 if (vp->m_start.lno == cs.cs_lno && vp->m_start.cno == cs.cs_cno) { in v_sentencef()
176 if (vp->m_start.cno == 0 && in v_sentencef()
178 if (vp->m_start.lno < vp->m_stop.lno) { in v_sentencef()
187 vp->m_final = vp->m_start; in v_sentencef()
212 if (vp->m_start.lno == 1 && vp->m_start.cno == 0) in v_sentenceb()
215 cs.cs_lno = vp->m_start.lno; in v_sentenceb()
[all …]
H A Dv_match.c71 if (db_eget(sp, vp->m_start.lno, &p, &len, &isempty)) { in v_match()
76 for (off = vp->m_start.cno;; ++off) { in v_match()
92 if (match.lno == vp->m_start.lno && match.cno ==vp->m_start.cno) in v_match()
103 cs.cs_lno = vp->m_start.lno; in v_match()
138 if (vp->m_start.lno < vp->m_stop.lno || in v_match()
139 (vp->m_start.lno == vp->m_stop.lno && in v_match()
140 vp->m_start.cno < vp->m_stop.cno)) in v_match()
141 vp->m_final = ISMOTION(vp) ? vp->m_start : vp->m_stop; in v_match()
156 if (!ISMOTION(vp) || vp->m_start.lno == vp->m_stop.lno) in v_match()
158 mp = vp->m_start.lno < vp->m_stop.lno ? &vp->m_start : &vp->m_stop; in v_match()
[all …]
H A Dv_replace.c76 if (db_get(sp, vp->m_start.lno, DBG_FATAL, &p, &len)) in v_replace()
94 vp->m_stop.lno = vp->m_start.lno; in v_replace()
95 vp->m_stop.cno = vp->m_start.cno + cnt - 1; in v_replace()
97 v_eol(sp, &vp->m_start); in v_replace()
167 vp->m_stop.lno = vp->m_start.lno + 1; in v_replace()
171 if (db_set(sp, vp->m_start.lno, p, vp->m_start.cno)) in v_replace()
181 p += vp->m_start.cno + cnt; in v_replace()
182 len -= vp->m_start.cno + cnt; in v_replace()
190 if (v_txt_auto(sp, vp->m_start.lno, NULL, 0, tp)) in v_replace()
197 if (db_append(sp, 1, vp->m_start.lno, tp->lb, tp->len)) in v_replace()
[all …]
H A Dv_paragraph.c98 lno = vp->m_start.lno; in v_paragraphf()
100 if ((cno = vp->m_start.cno) == 0) in v_paragraphf()
116 vp->m_stop = vp->m_final = vp->m_start; in v_paragraphf()
165 vp->m_final = vp->m_start; in v_paragraphf()
185 if (vp->m_start.lno == lastlno && vp->m_start.cno == lastcno) { in v_paragraphf()
203 vp->m_final = ISMOTION(vp) ? vp->m_start : vp->m_stop; in v_paragraphf()
240 lno = vp->m_start.lno; in v_paragraphb()
243 if (vp->m_start.cno == 0) { in v_paragraphb()
244 if (vp->m_start.lno == 1) { in v_paragraphb()
245 v_sof(sp, &vp->m_start); in v_paragraphb()
[all …]
H A Dv_scroll.c92 v_eof(sp, &vp->m_start); in v_lgoto()
198 if (vp->m_stop.lno < vp->m_start.lno || in goto_adjust()
199 (vp->m_stop.lno == vp->m_start.lno && in goto_adjust()
200 vp->m_stop.cno < vp->m_start.cno)) { in goto_adjust()
201 if (ISCMD(vp->rkp, 'y') && vp->m_stop.lno == vp->m_start.lno) in goto_adjust()
202 vp->m_final = vp->m_start; in goto_adjust()
204 vp->m_final = vp->m_start; in goto_adjust()
219 if (vp->m_start.lno <= lno) { in v_up()
220 v_sof(sp, &vp->m_start); in v_up()
223 vp->m_stop.lno = vp->m_start.lno - lno; in v_up()
[all …]
H A Dv_section.c91 if (vp->m_start.cno == 0) in v_sectionf()
94 vp->m_stop = vp->m_start; in v_sectionf()
98 if (vp->m_start.cno <= vp->m_stop.cno) in v_sectionf()
104 for (lno = vp->m_start.lno; !db_get(sp, ++lno, 0, &p, &len);) { in v_sectionf()
149 if (vp->m_start.lno == lno - 1) { in v_sectionf()
164 vp->m_final = vp->m_start; in v_sectionf()
187 if (vp->m_start.lno <= 1) { in v_sectionb()
197 for (lno = vp->m_start.lno; !db_get(sp, --lno, 0, &p, &len);) { in v_sectionb()
246 ret1: if (vp->m_start.cno == 0) { in v_sectionb()
250 --vp->m_start.lno; in v_sectionb()
[all …]
H A Dv_word.c119 cs.cs_lno = vp->m_start.lno; in fword()
120 cs.cs_cno = vp->m_start.cno; in fword()
230 cs.cs_lno == vp->m_start.lno && cs.cs_cno == vp->m_start.cno) { in fword()
231 v_eof(sp, &vp->m_start); in fword()
245 vp->m_final = ISMOTION(vp) ? vp->m_start : vp->m_stop; in fword()
286 cs.cs_lno = vp->m_start.lno; in eword()
287 cs.cs_cno = vp->m_start.cno; in eword()
385 cs.cs_lno == vp->m_start.lno && cs.cs_cno == vp->m_start.cno) { in eword()
386 v_eof(sp, &vp->m_start); in eword()
398 vp->m_final = ISMOTION(vp) ? vp->m_start : vp->m_stop; in eword()
[all …]
H A Dv_right.c45 if (db_eget(sp, vp->m_start.lno, NULL, &len, &isempty)) { in v_right()
66 vp->m_stop.cno = vp->m_start.cno + in v_right()
68 if (vp->m_start.cno == len - 1 && !ISMOTION(vp)) { in v_right()
74 vp->m_final = ISMOTION(vp) ? vp->m_start : vp->m_stop; in v_right()
77 vp->m_final = vp->m_start; in v_right()
107 if (nonblank(sp, vp->m_start.lno, &vp->m_stop.cno)) in v_dollar()
109 if (ISMOTION(vp) && vp->m_start.cno <= vp->m_stop.cno) in v_dollar()
145 vp->m_final = ISMOTION(vp) ? vp->m_start : vp->m_stop; in v_dollar()
H A Dv_search.c443 &vp->m_start, &vp->m_stop, ptrn, plen, NULL, flags)) in v_search()
448 &vp->m_start, &vp->m_stop, ptrn, plen, NULL, flags)) in v_search()
505 if (vp->m_start.lno == vp->m_stop.lno && in v_correct()
506 vp->m_start.cno == vp->m_stop.cno) { in v_correct()
527 if (vp->m_start.lno > vp->m_stop.lno || in v_correct()
528 (vp->m_start.lno == vp->m_stop.lno && in v_correct()
529 vp->m_start.cno > vp->m_stop.cno)) { in v_correct()
530 m = vp->m_start; in v_correct()
531 vp->m_start = vp->m_stop; in v_correct()
543 vp->m_final = vp->m_start; in v_correct()
[all …]
H A Dv_ch.c161 if (db_eget(sp, vp->m_start.lno, &p, &len, &isempty)) { in v_chf()
173 p += vp->m_start.cno; in v_chf()
188 vp->m_final = ISMOTION(vp) ? vp->m_start : vp->m_stop; in v_chf()
244 if (db_eget(sp, vp->m_start.lno, &p, &len, &isempty)) { in v_chF()
256 p += vp->m_start.cno; in v_chF()
274 --vp->m_start.cno; in v_chF()
H A Dv_ulcase.c63 lno = vp->m_start.lno; in v_ulcase()
64 cno = vp->m_start.cno; in v_ulcase()
120 for (lno = vp->m_start.lno;;) { in v_mulcase()
124 lno == vp->m_start.lno ? vp->m_start.cno : 0, in v_mulcase()
H A Dv_ex.c53 ex_cinit(sp, &cmd, C_SUBAGAIN, 2, vp->m_start.lno, vp->m_start.lno, 1); in v_again()
115 lno = vp->m_start.lno + 1; in v_join()
117 lno = vp->m_start.lno + (vp->count - 1); in v_join()
119 ex_cinit(sp, &cmd, C_JOIN, 2, vp->m_start.lno, lno, 0); in v_join()
135 ex_cinit(sp, &cmd, C_SHIFTL, 2, vp->m_start.lno, vp->m_stop.lno, 0); in v_shiftl()
152 ex_cinit(sp, &cmd, C_SHIFTR, 2, vp->m_start.lno, vp->m_stop.lno, 0); in v_shiftr()
219 if (O_ISSET(sp, O_GTAGSMODE) && vp->m_start.cno == 0) in v_tagpush()
278 &cmd, C_BANG, 2, vp->m_start.lno, vp->m_stop.lno, 0); in v_filter()
310 ex_cinit(sp, &cmd, C_BANG, 2, vp->m_start.lno, vp->m_stop.lno, 0); in v_filter()
H A Dv_put.c57 &vp->m_start, &vp->m_final, 0)) in v_Put()
59 vp->m_start = vp->m_final; in v_Put()
88 &vp->m_start, &vp->m_final, 1)) in v_put()
90 vp->m_start = vp->m_final; in v_put()
H A Dvi.c208 vp->m_start.lno = vp->m_stop.lno = vp->m_final.lno = sp->lno; in vi()
209 vp->m_start.cno = vp->m_stop.cno = vp->m_final.cno = sp->cno; in vi()
824 vp->m_start.lno = sp->lno; in v_motion()
825 vp->m_start.cno = 0; in v_motion()
893 motion.m_stop.lno = motion.m_start.lno = sp->lno; in v_motion()
895 motion.m_stop.cno = motion.m_start.cno = sp->cno; in v_motion()
962 if (motion.m_start.lno > motion.m_stop.lno || in v_motion()
963 (motion.m_start.lno == motion.m_stop.lno && in v_motion()
964 motion.m_start.cno > motion.m_stop.cno)) { in v_motion()
965 vp->m_start = motion.m_stop; in v_motion()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dobstack-utils.h73 ~obstack_watermark () { obstack_free (m_obstack, m_start); } in ~obstack_watermark()
76 void keep () { m_start = XOBNEWVAR (m_obstack, char, 0); } in keep()
83 char *m_start; variable
H A Dsubstring-locations.cc164 if (fmt_substring_range.m_start >= fmt_loc_range.m_start in emit_warning_n_va()
165 && fmt_substring_range.m_start <= fmt_loc_range.m_finish in emit_warning_n_va()
166 && fmt_substring_range.m_finish >= fmt_loc_range.m_start in emit_warning_n_va()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dsubstring-locations.c164 if (fmt_substring_range.m_start >= fmt_loc_range.m_start in emit_warning_n_va()
165 && fmt_substring_range.m_start <= fmt_loc_range.m_finish in emit_warning_n_va()
166 && fmt_substring_range.m_finish >= fmt_loc_range.m_start in emit_warning_n_va()
/netbsd-src/sys/arch/sgimips/gio/
H A Dpci_gio.c139 u_long m_start, m_end; in giopci_attach() local
174 m_start = MIPS_KSEG1_TO_PHYS(ga->ga_addr + PHOBOS_TULIP_START); in giopci_attach()
188 m_start = MIPS_KSEG1_TO_PHYS(ga->ga_addr + SETENG_TLAN_START); in giopci_attach()
224 m_start, (m_end - m_start) + 1); in giopci_attach()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/analyzer/
H A Dsm-file.cc70 state_t m_start; member in ana::__anon00d644cd0111::fileptr_state_machine
107 if (change.m_old_state == m_sm.m_start in describe_state_change()
215 m_start = add_state ("start"); in fileptr_state_machine()
315 sm_ctxt->on_transition (node, stmt, lhs, m_start, m_unchecked); in on_stmt()
329 sm_ctxt->on_transition (node, stmt, arg, m_start, m_closed); in on_stmt()
H A Dsm-pattern-test.cc70 state_t m_start; member in ana::__anonee56b9380111::pattern_test_state_machine
103 m_start = add_state ("start"); in pattern_test_state_machine()
135 sm_ctxt->warn_for_state (node, stmt, lhs, m_start, diag); in on_condition()
H A Dsm-malloc.cc76 state_t m_start; member in ana::__anon71be9ce50111::malloc_state_machine
124 if (change.m_old_state == m_sm.m_start in describe_state_change()
217 if (change.m_old_state == m_sm.m_start in describe_state_change()
593 m_start = add_state ("start"); in malloc_state_machine()
623 sm_ctxt->on_transition (node, stmt, lhs, m_start, m_unchecked); in on_stmt()
639 sm_ctxt->on_transition (node, stmt, lhs, m_start, m_non_heap); in on_stmt()
653 sm_ctxt->on_transition (node, stmt, arg, m_start, m_freed); in on_stmt()
718 sm_ctxt->on_transition (node, stmt, lhs, m_start, m_non_heap); in on_stmt()
830 sm_ctxt->on_transition (node, stmt, lhs, m_start, m_null); in on_zero_assignment()

1234