| /vim-8.2.3635/src/xdiff/ |
| H A D | xhistogram.c | 83 (index->next_ptrs[(ptr) - index->ptr_shift]) 106 XDL_HASHLONG((REC(index->env, side, line))->ha, index->table_bits) 165 struct record *rec = index->records[TABLE_HASH(index, 2, b_ptr)]; in try_lcs() 172 index->has_common = CMP(index, 1, rec->ptr, 2, b_ptr); in try_lcs() 211 index->cnt = rc; in try_lcs() 262 memset(&index, 0, sizeof(index)); in find_lcs() 264 index.env = env; in find_lcs() 265 index.xpp = xpp; in find_lcs() 273 sz = index.records_size = 1 << index.table_bits; in find_lcs() 301 index.cnt = index.max_chain_length + 1; in find_lcs() [all …]
|
| H A D | xpatience.c | 106 while (map->entries[index].line1) { in insert_record() 108 if (++index >= map->alloc) in insert_record() 109 index = 0; in insert_record() 115 map->entries[index].line2 = NON_UNIQUE; in insert_record() 117 map->entries[index].line2 = line; in insert_record() 122 map->entries[index].line1 = line; in insert_record() 123 map->entries[index].hash = record->ha; in insert_record() 126 map->first = map->entries + index; in insert_record() 128 map->last->next = map->entries + index; in insert_record() 129 map->entries[index].previous = map->last; in insert_record() [all …]
|
| /vim-8.2.3635/src/libvterm/src/ |
| H A D | pen.c | 56 if(index >= 0 && index < 16) { in lookup_colour_ansi() 66 if(index >= 0 && index < 16) { in lookup_colour_palette() 70 else if(index >= 16 && index < 232) { in lookup_colour_palette() 72 index -= 16; in lookup_colour_palette() 80 else if(index >= 232 && index < 256) { in lookup_colour_palette() 82 index -= 232; in lookup_colour_palette() 84 vterm_color_rgb(col, ramp24[index], ramp24[index], ramp24[index]); in lookup_colour_palette() 222 col->index = idx; in vterm_color_indexed() 234 return a->index == b->index; in vterm_color_is_equal() 271 if(index >= 0 && index < 16) in vterm_state_set_palette_color() [all …]
|
| /vim-8.2.3635/src/testdir/ |
| H A D | test_filter_cmd.vim | 175 call assert_true(index(lines, '"a') >= 0) 176 call assert_false(index(lines, '"b') >= 0) 177 call assert_true(index(lines, '"c') >= 0) 178 call assert_false(index(lines, '"/') >= 0) 179 call assert_false(index(lines, '":') >= 0) 183 call assert_true(index(lines, '"a') < 0) 184 call assert_false(index(lines, '"b') < 0) 185 call assert_true(index(lines, '"c') < 0) 186 call assert_false(index(lines, '"/') < 0) 187 call assert_false(index(lines, '":') < 0) [all …]
|
| H A D | test_filter_map.vim | 35 func! s:filter1(index, val) abort argument 40 func! s:filter2(index, val) abort argument 41 return a:index > 1 46 func! s:filter3(index, val) abort argument 51 func! s:filter4(index, val) abort argument 52 return a:index * 2
|
| H A D | test_blob.vim | 496 call assert_equal(2, index(0zDEADBEEF, 0xBE)) 497 call assert_equal(-1, index(0zDEADBEEF, 0)) 498 call assert_equal(2, index(0z11111111, 0x11, 2)) 499 call assert_equal(3, 0z11110111->index(0x11, 2)) 500 call assert_equal(2, index(0z11111111, 0x11, -2)) 501 call assert_equal(3, index(0z11110111, 0x11, -2)) 502 call assert_equal(0, index(0z11110111, 0x11, -10)) 503 call assert_equal(-1, index(test_null_blob(), 1))
|
| H A D | test_cmdline.vim | 274 call assert_true(index(l, 'v:null') >= 0) 284 call assert_true(index(l, 'END') >= 0) 289 call assert_true(index(l, 'mswin') >= 0) 294 call assert_true(index(l, 'default') >= 0) 299 call assert_true(index(l, 'sleep') >= 0) 304 call assert_true(index(l, 'samples/') >= 0) 338 call assert_true(index(l, 'hamster') >= 0) 343 call assert_true(index(l, 'zimbu') >= 0) 348 call assert_true(index(l, 'jikes') >= 0) 368 call assert_true(index(l, 'clear') >= 0) [all …]
|
| /vim-8.2.3635/runtime/ftplugin/ |
| H A D | gitrebase.vim | 27 let index = index(map(copy(words), 'v:val[0]'), getline('.')[0]) 28 let index = ((index < 0 ? 0 : index) + 10000 * len(words) + a:count) % len(words) 29 call s:choose(words[index])
|
| H A D | sql.vim | 145 let index = match(sqls, '.\{-}\ze\n') 146 while index > -1 148 let file = matchstr(sqls, '.\{-}\ze\n', index) 151 let sqls = substitute(sqls, '\%>'.(index+strlen(file)).'c\<'.file.'\>\n', '', 'g') 153 let index = match(sqls, '.\{-}\ze\n', (index+strlen(file)+1)) 412 \ ',index,subscription,synchronization,view,variable'
|
| /vim-8.2.3635/runtime/autoload/ |
| H A D | syntaxcomplete.vim | 367 let index = 0 386 let index = match(syntax_full, next_group_regex, index) 406 let index = match(syntax_full, next_group_regex, index) 438 let index = index + strlen(group_name) 439 let index = match(syntax_full, next_group_regex, index) 465 " let index = 0 466 " let index = match(syntax_full, next_group_regex, index) 484 " let index = match(syntax_full, next_group_regex, index) 487 " while index > -1 516 " let index = index + strlen(group_name) [all …]
|
| H A D | phpcomplete.vim | 832 …if !has_key(tag, 'namespace') && index(kinds, tag.kind) != -1 && stridx(tolower(tag.name), tolower… 835 …if has_key(tag, 'namespace') && index(kinds, tag.kind) != -1 && tag.namespace ==? namespace_for_cl… 852 if index(kinds, 'c') != -1 864 if index(kinds, 'i') != -1 874 if imported_name =~? '^'.base && index(kinds, import.kind) != -1 930 if index(a:modifiers, required_modifier) == -1 937 if index(a:prohibited_modifiers, modifier) != -1 1240 if index(stop_chars, current_char) != -1 2466 if index(primitive_types, type) == -1 2830 …index | string','return_type':'string'},'getAttributeNs':{'signature':'string $localName, string $… [all …]
|
| /vim-8.2.3635/runtime/syntax/ |
| H A D | pine.vim | 64 syn keyword pineConfig index-format 67 syn keyword pineConfig index-new-background-color 68 syn keyword pineConfig index-new-foreground-color 69 syn keyword pineConfig index-recent-background-color 70 syn keyword pineConfig index-recent-foreground-color 71 syn keyword pineConfig index-to-me-background-color 72 syn keyword pineConfig index-to-me-foreground-color 73 syn keyword pineConfig index-unseen-background-color 74 syn keyword pineConfig index-unseen-foreground-color 166 syn keyword pineConfig threading-index-style [all …]
|
| H A D | dtml.vim | 30 syn keyword dtmlAttribute AUTHENTICATED_USER AUTHENTICATION_PATH BASE0 batch-end-index batch-size c… 31 syn keyword dtmlAttribute batch-start-index bobobase_modification_time boundary branches contained 75 syn keyword dtmlAttribute newline_to_br next next-batches next-sequence next-sequence-end-index con… 76 syn keyword dtmlAttribute next-sequence-size next-sequence-start-index no manage_access None contai… 82 syn keyword dtmlAttribute previous-sequence-end-index previous-sequence-size contained 83 syn keyword dtmlAttribute previous-sequence-start-index PrincipiaFind PrincipiaSearchSource contain… 89 syn keyword dtmlAttribute SCRIPT_NAME sequence-end sequence-even sequence-index contained 90 syn keyword dtmlAttribute sequence-index-var- sequence-item sequence-key sequence-Letter contained 92 syn keyword dtmlAttribute sequence-roman sequence-Roman sequence-start sequence-step-end-index cont… 93 syn keyword dtmlAttribute sequence-step-size sequence-step-start-index sequence-var- SERVER_NAME co… [all …]
|
| H A D | progress.vim | 72 syn keyword ProgressReserved import in index indicator input input-o[utput] insert into is is-attr[… 80 …s propath provers[ion] publish put put-byte put-key-val[ue] putbyte query query-tuning quit r-index 88 …ne] undo unform[atted] union unique unix unless-hidden unsubscribe up update use-index use-revvideo 136 …rom add-events-proc[edure] add-fields-from add-first add-header-entry add-index-field add-interval… 137 … ProgressOperator add-like-col[umn] add-like-field add-like-index add-new-field add-new-index add-… 183 …-firs[t] get-float get-green[-value] get-header-entr[y] get-index-by-namespace-name get-index-by-q… 187 …get-text-width[-chars] get-text-width-p[ixels] get-top-buffer get-type-by-index get-type-by-namesp… 188 …rogressOperator get-unsigned-long get-unsigned-short get-uri-by-index get-value-by-index get-value… 194 …ments import-node import-principal in-handle increment-exclusive-id index-hint index-info[rmation]… 217 syn keyword ProgressOperator no-drag no-echo no-empty-space no-focus no-index-hint no-inherit-bgc[o… [all …]
|
| /vim-8.2.3635/runtime/indent/ |
| H A D | erlang.vim | 18 " - The index of the first line is 1, but the index of the first column is 0. 67 " last_index: integer -- the index of the last character of the segment 73 " " index: 0 12 34567 131 let i = 0 " The index of the current character in the line 232 \ index(['=:=', '=/='], a:line[i : i + 1]) != -1 418 " i: the index of the given token within line `lnum` 438 " i: the index of the given token within line `lnum` 674 " i: the index of the "end of clause" token within its own line 906 elseif index(['case', 'if', 'try', 'receive'], token) != -1 1144 elseif index(['end', ')', ']', '}', '>>'], token) != -1 [all …]
|
| /vim-8.2.3635/runtime/doc/ |
| H A D | Makefile | 55 index.txt \ 199 index.html \ 383 index.html: help.txt 384 $(AWK) -f makehtml.awk help.txt >index.html 386 vimindex.html: index.txt 387 $(AWK) -f makehtml.awk index.txt >vimindex.html
|
| H A D | makehtml.awk | 591 ( index("!#$%&'()+,-./0:;=?@ACINX\\[\\]^_`at\\{\\}~",atag) !=0 ) ) { 620 ( index("!#$%&'()+,-./0:;=?@ACINX\\[\\]^_`at\\{\\}~",btag) !=0 ) ) { 710 if ( ( (index(p[npp],atag)) != 0 \
|
| /vim-8.2.3635/src/ |
| H A D | gui_haiku.cc | 526 int index; member 530 int index; member 1282 int newNumBytes = keyMapChars[index]; in KeyDown() 2521 for (int size = 8, index = 0; size <= 18; size++, index++) { in VimSelectFontDialog() local 2526 selIndex = index; in VimSelectFontDialog() 2640 if (index < 0) in _UpdateFromListItem() 2830 source.OffsetBy(size * index, 0); in GetPictureFromBitmap() 2928 if (index >= 0) in GrayButton() 3020 tmm.index = index; in MouseDown() 3041 tm.index = i + 1; in Select() [all …]
|
| H A D | terminal.c | 3897 --rgb->index; in cterm_color2vterm() 4114 for (; index < 16; index++) in set_vterm_palette() 4725 index = color->index + 1; in dump_term_color() 4728 index = 255; in dump_term_color() 4731 index = 0; in dump_term_color() 4734 index); in dump_term_color() 5125 index = index * 10 + (c - '0'); in read_dump_file() 5128 if (index == 0 || index == 255) in read_dump_file() 5150 cell.bg.index = index; in read_dump_file() 5158 cell.fg.index = index; in read_dump_file() [all …]
|
| H A D | create_cmdidxs.vim | 63 let output += [ ' * Table giving the index of the first command in cmdnames[] to lookup' ] 77 let output += [ ' * Table giving the index of the first command in cmdnames[] to lookup' ]
|
| /vim-8.2.3635/runtime/pack/dist/opt/matchit/autoload/ |
| H A D | matchit.vim | 395 let index = matchend(match, s:notslash . '\\(') 396 if index == -1 399 let match = strpart(match, index) 407 let index = matchend(match, s:notslash . '\\(\|\\)') - 1 408 if index == -2 412 let cnt = cnt + (match[index]=="(" ? 1 : -1) " ')' 413 let match = strpart(match, index+1) 441 let index = matchend(foo, pat) 442 while index != -1 444 let foo = strpart(foo, index) [all …]
|
| /vim-8.2.3635/src/GvimExt/ |
| H A D | gvimext.cpp | 674 int index; in QueryContextMenu() local 705 index = i; in QueryContextMenu() 710 index = indexMenu++; in QueryContextMenu() 712 InsertMenuItem(hmenu, index, TRUE, &mii); in QueryContextMenu()
|
| /vim-8.2.3635/src/libvterm/include/ |
| H A D | vterm.h | 179 uint8_t index; member 438 void vterm_state_get_palette_color(const VTermState *state, int index, VTermColor *col); 440 void vterm_state_set_palette_color(VTermState *state, int index, const VTermColor *col);
|
| /vim-8.2.3635/src/proto/ |
| H A D | gui_photon.pro | 57 void gui_mch_add_menu(vimmenu_T *menu, int index); 58 void gui_mch_add_menu_item(vimmenu_T *menu, int index);
|
| /vim-8.2.3635/.github/ |
| H A D | FUNDING.yml | 1 custom: https://www.vim.org/sponsor/index.php
|