| /freebsd-14.2/contrib/nvi/vi/ |
| H A D | v_xchar.c | 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() 96 &vp->m_start, &vp->m_stop, 0)) in v_Xchar() [all …]
|
| H A D | v_left.c | 38 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 D | v_itxt.c | 94 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 D | v_paragraph.c | 92 if (vp->m_start.cno == 0) in v_paragraphf() 95 vp->m_stop = vp->m_start; in v_paragraphf() 105 lno = vp->m_start.lno; in v_paragraphf() 170 eof: if (vp->m_start.lno == lno || vp->m_start.lno == lno - 1) { in v_paragraphf() 174 vp->m_start.cno = 0; in v_paragraphf() 233 lno = vp->m_start.lno; in v_paragraphb() 238 v_sof(sp, &vp->m_start); in v_paragraphb() 241 --vp->m_start.lno; in v_paragraphb() 244 --vp->m_start.cno; in v_paragraphb() 247 if (vp->m_start.lno <= 1) in v_paragraphb() [all …]
|
| H A D | v_sentence.c | 58 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 D | v_replace.c | 66 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 D | v_match.c | 59 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 D | v_mark.c | 36 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 D | v_section.c | 81 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 D | v_word.c | 105 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 D | v_scroll.c | 82 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 D | v_right.c | 35 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 D | v_search.c | 408 &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 D | v_ch.c | 151 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 D | v_put.c | 47 &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 D | v_ulcase.c | 53 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 D | v_ex.c | 43 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 D | vi.c | 192 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 D | v_increment.c | 78 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()
|
| /freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Target/ |
| H A D | RegisterFlags.h | 31 : m_name(std::move(name)), m_start(bit_position), m_end(bit_position) {} in Field() 34 unsigned GetSizeInBits() const { return m_end - m_start + 1; } in GetSizeInBits() 38 return (((uint64_t)1 << (GetSizeInBits())) - 1) << m_start; in GetMask() 43 return (register_value & GetMask()) >> m_start; in GetValue() 47 unsigned GetStart() const { return m_start; } in GetStart() 66 return (m_name == rhs.m_name) && (m_start == rhs.m_start) && 76 unsigned m_start; variable
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/ |
| H A D | LibCxxInitializerList.cpp | 40 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 D | LibCxxSpan.cpp | 63 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() 111 m_start = data_type_finder_sp.get(); in Update() 135 if (!m_start) in GetIndexOfChildWithName()
|
| H A D | LibCxxVector.cpp | 39 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() 120 m_start = m_finish = nullptr; in Update() 152 m_start = m_backend.GetChildMemberWithName("__begin_").get(); in Update() 166 if (!m_start || !m_finish) in GetIndexOfChildWithName()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Utility/ |
| H A D | DataExtractor.cpp | 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() 233 m_end = m_start + length; in SetData() 284 m_start = m_end = nullptr; in SetData() 364 val = ReadInt16(m_start, *offset_ptr); in GetU16_unchecked() [all …]
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Host/common/ |
| H A D | LockFileBase.cpp | 19 : m_fd(fd), m_locked(false), m_start(0), m_len(0) {} in LockFileBase() 54 m_start = 0; in Unlock() 73 m_start = start; in DoLock()
|