Home
last modified time | relevance | path

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

123

/freebsd/contrib/nvi/vi/
H A Dv_xchar.c35 if (db_eget(sp, vp->m_start.lno, NULL, &len, &isempty)) { in v_xchar()
58 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()
[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()
124 ISMOTION(vp) && ISCMD(vp->rkp, 'y') ? vp->m_start : vp->m_stop; in v_cfirst()
160 if (ISMOTION(vp) && vp->m_start.cno == vp->m_stop.cno) { in v_first()
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()
202 vs_colpos(sp, vp->m_start.lno, (size_t)vp->count); in v_ncol()
[all …]
H A Dv_itxt.c69 if (!db_get(sp, vp->m_start.lno, 0, NULL, &len)) in v_iA()
94 sp->lno = vp->m_start.lno; in v_ia()
125 if (nonblank(sp, vp->m_start.lno, &sp->cno)) in v_iI()
150 sp->lno = vp->m_start.lno; in v_ii()
263 if (vp->m_start.lno == vp->m_stop.lno && in v_change()
264 db_eget(sp, vp->m_start.lno, &p, &len, &isempty)) { in v_change()
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()
[all …]
H A Dv_paragraph.c92 if (vp->m_start.cno == 0) in v_paragraphf()
95 vp->m_stop = vp->m_start; in v_paragraphf()
99 if (vp->m_start.cno <= vp->m_stop.cno) in v_paragraphf()
105 lno = vp->m_start.lno; in v_paragraphf()
150 vp->m_final = vp->m_start; in v_paragraphf()
170 eof: if (vp->m_start.lno == lno || vp->m_start.lno == lno - 1) { in v_paragraphf()
171 if (db_eget(sp, vp->m_start.lno, &p, &len, &isempty)) { in v_paragraphf()
174 vp->m_start.cno = 0; in v_paragraphf()
177 if (vp->m_start.cno == (len ? len - 1 : 0)) { in v_paragraphf()
196 vp->m_final = ISMOTION(vp) ? vp->m_start : vp->m_stop; in v_paragraphf()
[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()
75 if (vp->m_start.lno != cs.cs_lno || 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()
168 if (vp->m_start.lno < vp->m_stop.lno) { 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()
[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()
184 if (db_append(sp, 1, vp->m_start.lno, tp->lb, tp->len)) 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()
214 if (vp->m_start.lno < vp->m_stop.lno && vp->m_stop.cno == 0) { 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()
225 vp->m_final = ISMOTION(vp) ? vp->m_start : vp->m_stop; 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()
371 vp->m_final = ISMOTION(vp) ? vp->m_start : vp->m_stop; in eword()
[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()
94 for (lno = vp->m_start.lno; !db_get(sp, ++lno, 0, &p, &len);) { in v_sectionf()
139 if (vp->m_start.lno == lno - 1) { in v_sectionf()
154 vp->m_final = vp->m_start; in v_sectionf()
177 if (vp->m_start.lno <= 1) { in v_sectionb()
187 for (lno = vp->m_start.lno; !db_get(sp, --lno, 0, &p, &len);) { in v_sectionb()
236 ret1: if (vp->m_start.cno == 0) { in v_sectionb()
240 --vp->m_start.lno; in v_sectionb()
[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()
191 if (ISCMD(vp->rkp, 'y') && vp->m_stop.lno == vp->m_start.lno) 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()
[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()
413 &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()
[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_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_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_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()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
H A DLibCxxValarray.cpp39 ValueObject *m_start = nullptr; member in lldb_private::formatters::LibcxxStdValarraySyntheticFrontEnd
68 if (!m_start || !m_finish) in CalculateNumChildren()
70 uint64_t start_val = m_start->GetValueAsUnsigned(0); in CalculateNumChildren()
88 if (!m_start || !m_finish) in GetChildAtIndex()
92 offset = offset + m_start->GetValueAsUnsigned(0); in GetChildAtIndex()
102 m_start = m_finish = nullptr; in Update()
121 m_start = start.get(); in Update()
134 if (!m_start || !m_finish) in GetIndexOfChildWithName()
H A DLibCxxInitializerList.cpp40 ValueObject *m_start = nullptr; member in lldb_private::formatters::LibcxxInitializerListSyntheticFrontEnd
73 if (!m_start) in GetChildAtIndex()
77 offset = offset + m_start->GetValueAsUnsigned(0); in GetChildAtIndex()
87 m_start = nullptr; in Update()
96 m_start = m_backend.GetChildMemberWithName("__begin_").get(); in Update()
109 if (!m_start) in GetIndexOfChildWithName()
H A DLibCxxSliceArray.cpp71 ValueObject *m_start = nullptr; member in lldb_private::formatters::LibcxxStdSliceArraySyntheticFrontEnd
107 if (!m_start) in GetChildAtIndex()
111 offset = offset + m_start->GetValueAsUnsigned(0); in GetChildAtIndex()
121 m_start = nullptr; in Update()
141 m_start = start.get(); in Update()
155 if (!m_start) in GetIndexOfChildWithName()
H A DLibCxxSpan.cpp63 ValueObject *m_start = nullptr; ///< First element of span. Held, not owned. member in lldb_private::formatters::LibcxxStdSpanSyntheticFrontEnd
84 if (!m_start) in GetChildAtIndex()
88 offset = offset + m_start->GetValueAsUnsigned(0); in GetChildAtIndex()
112 m_start = data_type_finder_sp.get(); in Update()
136 if (!m_start) in GetIndexOfChildWithName()
H A DLibCxxProxyArray.cpp57 ValueObject *m_start = nullptr; member in lldb_private::formatters::LibcxxStdProxyArraySyntheticFrontEnd
86 if (!m_start || !m_finish) in CalculateNumChildren()
88 uint64_t start_val = m_start->GetValueAsUnsigned(0); in CalculateNumChildren()
110 offset = offset + m_start->GetValueAsUnsigned(0); in GetChildAtIndex()
134 m_start = nullptr; in Update()
170 m_start = start.get(); in Update()
H A DLibCxxVector.cpp39 ValueObject *m_start = nullptr; member in lldb_private::formatters::LibcxxStdVectorSyntheticFrontEnd
87 if (!m_start || !m_finish) in CalculateNumChildren()
89 uint64_t start_val = m_start->GetValueAsUnsigned(0); in CalculateNumChildren()
107 if (!m_start || !m_finish) in GetChildAtIndex()
111 offset = offset + m_start->GetValueAsUnsigned(0); in GetChildAtIndex()
121 m_start = m_finish = nullptr; in Update()
138 m_start = m_backend.GetChildMemberWithName("__begin_").get(); in Update()
152 if (!m_start || !m_finish) in GetIndexOfChildWithName()
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DDataExtractor.cpp132 : m_start(const_cast<uint8_t *>(static_cast<const uint8_t *>(data))), in DataExtractor()
171 : m_start(rhs.m_start), m_end(rhs.m_end), m_byte_order(rhs.m_byte_order), in DataExtractor()
180 m_start = rhs.m_start; in operator =()
194 m_start = nullptr; in Clear()
204 if (m_start != nullptr) { in GetSharedDataOffset()
209 assert(m_start >= data_bytes); in GetSharedDataOffset()
210 return m_start - data_bytes; in GetSharedDataOffset()
229 m_start = nullptr; in SetData()
232 m_start = const_cast<uint8_t *>(static_cast<const uint8_t *>(bytes)); in SetData()
233 m_end = m_start + length; in SetData()
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/
H A DRegisterFlags.h91 return (register_value & GetMask()) >> m_start; in GetValue()
95 unsigned GetStart() const { return m_start; } in GetStart()
115 return (m_name == rhs.m_name) && (m_start == rhs.m_start) &&
126 unsigned m_start; variable

123