Home
last modified time | relevance | path

Searched refs:offset (Results 1 – 25 of 99) sorted by relevance

1234

/vim-8.2.3635/runtime/indent/
H A Dsystemverilog.vim32 let offset = shiftwidth()
35 let indent_modules = offset
82 let ind = ind + offset
93 let ind = ind + offset
118 let ind = ind + offset
126 let ind = ind + offset
138 let ind = ind - offset
166 let ind = ind + offset
182 let ind = ind - offset
211 let ind = ind - offset
[all …]
H A Dverilog.vim44 let offset = shiftwidth()
47 let indent_modules = offset
96 let ind = ind + offset
103 let ind = ind + offset
117 let ind = ind + offset
128 let ind = ind + offset
141 let ind = ind - offset
169 let ind = ind + offset
183 let ind = ind - offset
210 let ind = ind - offset
[all …]
H A Druby.vim925 let offset = match(line, '\C'.a:regex)
926 let col = offset + 1
928 while offset > -1 && s:IsInStringOrComment(a:lnum, col)
929 let offset = match(line, '\C'.a:regex, offset + 1)
930 let col = offset + 1
933 if offset > -1
/vim-8.2.3635/src/
H A Dgetchar.c965 int offset, in ins_typebuf() argument
1035 (size_t)offset); in ins_typebuf()
1048 (size_t)offset); in ins_typebuf()
1178 del_typebuf(int len, int offset) in del_typebuf() argument
1198 i = typebuf.tb_off + offset; in del_typebuf()
1223 typebuf.tb_maplen = offset; in del_typebuf()
1230 typebuf.tb_silent = offset; in del_typebuf()
2321 int offset; in check_simplify_modifier() local
2324 for (offset = 0; offset < max_offset; ++offset) in check_simplify_modifier()
2326 if (offset + 3 >= typebuf.tb_len) in check_simplify_modifier()
[all …]
H A Dhardcopy.c1763 prt_resfile_skip_ws(int offset) in prt_resfile_skip_ws() argument
1783 int offset; in prt_next_dsc() local
1810 if (offset == -1) in prt_next_dsc()
1815 offset = prt_resfile_skip_ws(offset); in prt_next_dsc()
1816 if (offset == -1) in prt_next_dsc()
1832 int offset; in prt_open_resource() local
1864 offset = 0; in prt_open_resource()
1876 offset = prt_resfile_skip_nonws(offset); in prt_open_resource()
1877 if (offset == -1) in prt_open_resource()
1879 offset = prt_resfile_skip_ws(offset); in prt_open_resource()
[all …]
H A Dmemfile.c81 static int mf_write_block(memfile_T *mfp, bhdr_T *hp, off_T offset, unsigned size);
936 off_T offset; in mf_read() local
944 offset = (off_T)page_size * hp->bh_bnum; in mf_read()
946 if (vim_lseek(mfp->mf_fd, offset, SEEK_SET) != offset) in mf_read()
961 ml_decrypt_data(mfp, hp->bh_data, offset, size); in mf_read()
975 off_T offset; // offset in the file in mf_write() local
1011 offset = (off_T)page_size * nr; in mf_write()
1022 if (vim_lseek(mfp->mf_fd, offset, SEEK_SET) != offset) in mf_write()
1028 hp2 == NULL ? hp : hp2, offset, size) == OK) in mf_write()
1076 off_T offset UNUSED, in mf_write_block()
[all …]
H A Dhelp.c257 int offset, // offset for match in help_heuristic() argument
275 if (ASCII_ISALNUM(matched_string[offset]) && offset > 0 in help_heuristic()
276 && ASCII_ISALNUM(matched_string[offset - 1])) in help_heuristic()
277 offset += 10000; in help_heuristic()
278 else if (offset > 2) in help_heuristic()
279 offset *= 200; in help_heuristic()
281 offset += 5000; in help_heuristic()
285 offset += 100; in help_heuristic()
286 return (int)(100 * num_letters + STRLEN(matched_string) + offset); in help_heuristic()
H A Dterm.c4506 int offset, in put_string_in_typebuf() argument
4521 del_typebuf(-extra, offset); in put_string_in_typebuf()
4535 mch_memmove(buf + offset, buf + offset - extra, in put_string_in_typebuf()
4543 mch_memmove(buf + offset + extra, buf + offset, in put_string_in_typebuf()
4885 int offset, in handle_key_with_modifier() argument
4949 int offset, in handle_csi() argument
5308 int offset; in check_termcode() local
5335 for (offset = 0; offset < max_offset; ++offset) in check_termcode()
5346 if (offset >= *buflen) in check_termcode()
5348 tp = buf + offset; in check_termcode()
[all …]
H A Dops.c509 offset = bdp->textcol; in block_insert()
543 offset += off; in block_insert()
557 oldp += offset; in block_insert()
565 offset += s_len; in block_insert()
578 offset += count; in block_insert()
1465 int offset = 0; in op_insert() local
1649 add -= offset; in op_insert()
1691 long offset; in op_change() local
1798 offset = bd.textcol; in op_change()
1800 offset += vpos.coladd; in op_change()
[all …]
H A Dmemline.c2779 int offset; in ml_append_int() local
5349 off_T offset, in ml_encrypt_data() argument
5395 off_T offset, in ml_decrypt_data() argument
5749 long offset; in ml_find_line_or_offset() local
5763 offset = 0; in ml_find_line_or_offset()
5765 offset = *offp; in ml_find_line_or_offset()
5777 || (offset != 0 in ml_find_line_or_offset()
5783 if (offset && ffdos) in ml_find_line_or_offset()
5788 while ((lnum != 0 && curline < lnum) || (offset != 0 && size < offset)) in ml_find_line_or_offset()
5832 if (!(offset >= size in ml_find_line_or_offset()
[all …]
H A Dcindent.c1328 int offset = *poffset; in cin_is_if_for_while_before_offset() local
1330 if (offset-- < 2) in cin_is_if_for_while_before_offset()
1332 while (offset > 2 && VIM_ISWHITE(line[offset])) in cin_is_if_for_while_before_offset()
1333 --offset; in cin_is_if_for_while_before_offset()
1335 offset -= 1; in cin_is_if_for_while_before_offset()
1339 if (offset >= 1) in cin_is_if_for_while_before_offset()
1341 offset -= 1; in cin_is_if_for_while_before_offset()
1345 if (offset >= 2) in cin_is_if_for_while_before_offset()
1347 offset -= 2; in cin_is_if_for_while_before_offset()
1355 if (!offset || !vim_isIDc(line[offset - 1])) in cin_is_if_for_while_before_offset()
[all …]
H A Dwindow.c6004 if (offset < 0) // drag up in win_drag_status_line()
6007 offset = -offset; in win_drag_status_line()
6047 if (offset <= 0) in win_drag_status_line()
6065 while (fr != NULL && offset > 0) in win_drag_status_line()
6068 if (fr->fr_height - offset <= n) in win_drag_status_line()
6070 offset -= fr->fr_height - n; in win_drag_status_line()
6135 if (offset < 0) // drag left in win_drag_vsep_line()
6138 offset = -offset; in win_drag_vsep_line()
6175 while (fr != NULL && offset > 0) in win_drag_vsep_line()
6178 if (fr->fr_width - offset <= n) in win_drag_vsep_line()
[all …]
H A Dvim9.h389 int offset; member
395 int offset; member
/vim-8.2.3635/runtime/doc/
H A Dusr_27.txt141 an offset. For the forward search command "/", the offset is specified by
142 appending a slash (/) and the offset: >
149 cursor is moved two lines down and lands on "an offset".
151 If the offset is a simple number, the cursor will be placed at the beginning
159 The "e" offset indicates an offset from the end of the match. It moves the
177 If the offset begins with "b", the cursor moves to the beginning of the
191 different offset, leave out the pattern: >
200 To repeat with the same offset: >
212 the offset from the pattern, instead of "/": >
223 specify a line offset, this can cause trouble. For example: >
[all …]
H A Dxxd.man81 -o offset
82 Add <offset> to the displayed file position.
96 -seek offset
97 When used after -r: revert with <offset> added to file positions
101 Start at <seek> bytes abs. (or rel.) infile offset. + indicates
H A Dpattern.txt32 {pattern} and go |{offset}| lines up or down.
38 |{offset}|.
40 //{offset}<CR> Search forward for the [count]'th occurrence of the
42 |{offset}|. If {offset} is empty no offset is used.
48 ?{pattern}?{offset}<CR> Search backward for the [count]'th previous
49 occurrence of {pattern} and go |{offset}| lines up or
55 |{offset}|.
57 ??{offset}<CR> Search backward for the [count]'th occurrence of the
59 |{offset}|. If {offset} is empty no offset is used.
164 Note: the count does not take offset into account.
[all …]
H A Dscroll.txt203 Each 'scrollbind' window keeps track of its "relative offset," which can be
209 maintain the same relative offset, regardless of its being asked to scroll
212 However, if a 'scrollbind' window that has a relative offset that is past its
214 jump to a location where the current window's relative offset is valid. This
220 relative offset. I.e., when any of the 'scrollbind'
230 This allows quick adjustment of the relative offset of 'scrollbind' windows.
H A Dusr_31.txt177 There may be a small offset between the reported position and where
201 gvim -geometry {width}x{height}+{x-offset}+{y-offset}
203 {width} and {height} are in characters, {x-offset} and {y-offset} are in
/vim-8.2.3635/src/proto/
H A Dmemline.pro38 char_u *ml_encrypt_data(memfile_T *mfp, char_u *data, off_T offset, unsigned size);
39 void ml_decrypt_data(memfile_T *mfp, char_u *data, off_T offset, unsigned size);
H A Dgetchar.pro26 int ins_typebuf(char_u *str, int noremap, int offset, int nottyped, int silent);
31 void del_typebuf(int len, int offset);
H A Dwindow.pro64 void win_drag_status_line(win_T *dragwin, int offset);
65 void win_drag_vsep_line(win_T *dragwin, int offset);
/vim-8.2.3635/runtime/syntax/
H A Dwast.vim18 " Note: memarg (align=,offset=) can be added to memory instructions
19 …emory\)\.[[:alnum:]_]\+\%(/\%(i32\|i64\|f32\|f64\)\)\=\>\%(\s\+\%(align\|offset\)=\)\=" contained …
H A Dgnuplot.vim284 syn keyword gnuplotKeyword hidden3d offset trianglepattern undefined
300 syn keyword gnuplotKeyword front back textcolor point nopoint offset boxed
324 syn keyword gnuplotKeyword downwards upwards scale offset
439 syn keyword gnuplotKeyword scale rotate norotate by offset nooffset left
444 syn keyword gnuplotKeyword timestamp top bottom offset font
448 syn keyword gnuplotKeyword title offset font textcolor tc
464 syn keyword gnuplotKeyword offset font textcolor by parallel
H A Dhog.vim103 "syn region HogRuleOption start="\<gid\|sid\|rev\|depth\|offset\|distance\|within\>" end="…
105 syn keyword HogRuleOption skipwhite contained nextgroup=HogRuleSROP depth startswith offset d…
129 … skipwhite contained nextgroup=HogRuleFROP file type ver category id rev content offset msg group
/vim-8.2.3635/src/testdir/
H A Dtest_xxd.vim169 " Test 13: simple, decimal offset
198 " Test 15: cols with decimal offset: -c 21 -d
209 " -o -offset

1234