| /vim-8.2.3635/src/ |
| H A D | memfile_test.c | 35 mf_hashitem_T *item; in test_mf_hash() local 71 assert(item != NULL); in test_mf_hash() 72 item->mhi_key = key; in test_mf_hash() 73 mf_hash_add_item(&ht, item); in test_mf_hash() 89 item = mf_hash_find(&ht, key); in test_mf_hash() 90 assert(item != NULL); in test_mf_hash() 91 assert(item->mhi_key == key); in test_mf_hash() 101 assert(item != NULL); in test_mf_hash() 113 vim_free(item); in test_mf_hash() 125 assert(item == NULL); in test_mf_hash() [all …]
|
| H A D | list.c | 229 for (item = l->lv_first; item != NULL; item = l->lv_first) in list_free_contents() 345 vimlist_remove(l, item, item); in listitem_remove() 458 item = item->li_next; in list_find() 464 item = item->li_prev; in list_find() 965 item = item->li_prev->li_next; in list_flatten() 977 item = item->li_next; in list_flatten() 1093 item = item == bef_prev ? bef : item->li_next) in list_extend() 1140 item = item->li_next; in list_slice() 1236 item = item->li_next) in list_copy() 1349 for (item = l->lv_first; item != NULL && !got_int; item = item->li_next) in list_join_inner() [all …]
|
| H A D | dict.c | 280 vim_free(item); in dictitem_free() 370 if (dict_wrong_func_name(d, &item->di_tv, item->di_key)) in dict_add() 382 dictitem_T *item; in dict_add_number_special() local 385 if (item == NULL) in dict_add_number_special() 391 dictitem_free(item); in dict_add_number_special() 436 dictitem_T *item; in dict_add_string_len() local 440 if (item == NULL) in dict_add_string_len() 453 dictitem_free(item); in dict_add_string_len() 466 dictitem_T *item; in dict_add_list() local 469 if (item == NULL) in dict_add_list() [all …]
|
| H A D | job.c | 123 typval_T *item; in get_job_options() local 269 *lp = tv_get_number(item); in get_job_options() 339 val = tv_get_string(item); in get_job_options() 380 val = tv_get_string(item); in get_job_options() 469 nr = tv_get_number(item); in get_job_options() 522 p = tv_get_string_chk(item); in get_job_options() 547 if (item == NULL || item->v_type != VAR_LIST in get_job_options() 680 val = tv_get_string(item); in get_job_options() 1812 dictitem_T *item; in job_info() local 1820 if (item == NULL) in job_info() [all …]
|
| H A D | popupmenu.c | 1209 balpart_T *item; in split_message() local 1228 item->start = p; in split_message() 1229 item->indent = indent; in split_message() 1230 item->cells = indent * 2; in split_message() 1249 ++item->cells; in split_message() 1257 item->bytelen = p - item->start; in split_message() 1260 if (item->cells > max_cells) in split_message() 1261 max_cells = item->cells; in split_message() 1295 if (item->bytelen == 0) in split_message() 1304 p < item->start + item->bytelen; in split_message() [all …]
|
| H A D | gui_dwrite.cpp | 229 item = mItems[n]; in get() 234 void put(const Item& item) in put() argument 236 int n = find(item.hFont); in put() 243 item.pTextFormat->AddRef(); in put() 245 mItems[n] = item; in put() 866 FontCache::Item item; in SetFont() local 869 if (item.pTextFormat != NULL) in SetFont() 888 item.hFont = hFont; in SetFont() 892 item.fontWeight = mFontWeight; in SetFont() 893 item.fontStyle = mFontStyle; in SetFont() [all …]
|
| H A D | fileio.c | 4569 dict_T *item; in create_readdirex_item() local 4575 if (item == NULL) in create_readdirex_item() 4610 return item; in create_readdirex_item() 4613 dict_unref(item); in create_readdirex_item() 4620 dict_T *item; in create_readdirex_item() local 4714 return item; in create_readdirex_item() 4791 # define FREE_ITEM(item) vim_free(item) in readdir_core() argument 4819 void *item; in readdir_core() local 4868 FREE_ITEM(item); in readdir_core() 4889 void *item; in readdir_core() local [all …]
|
| H A D | channel.c | 1518 item->cq_prev->cq_next = item; in channel_set_req_callback() 2125 jsonq_T *item; in channel_parse_json() local 2184 item->jq_prev->jq_next = item; in channel_parse_json() 2399 item = item->jq_next; in channel_get_json() 2417 item = NULL; in channel_push_json() 2418 else while (item != NULL && item->jq_no_callback) in channel_push_json() 2420 item = item->jq_next; in channel_push_json() 2613 cbq_T *item, in invoke_one_time_callback() argument 2623 vim_free(item); in invoke_one_time_callback() 2794 listitem_T *item; in may_invoke_callback() local [all …]
|
| H A D | syntax.c | 5053 int item; in syn_cmd_region() local 5120 item = ITEM_END; in syn_cmd_region() 5190 else if (item == ITEM_SKIP || item == ITEM_END) in syn_cmd_region() 5233 for (item = ITEM_START; item <= ITEM_END; ++item) in syn_cmd_region() 5280 for (item = ITEM_START; item <= ITEM_END; ++item) in syn_cmd_region() 6155 short item; in in_id_list() local 6191 item = *list; in in_id_list() 6192 if (item >= SYNID_ALLBUT && item < SYNID_CLUSTER) in in_id_list() 6212 item = *++list; in in_id_list() 6223 if (item == id) in in_id_list() [all …]
|
| H A D | if_perl.xs | 1229 listitem_T * item; in perl_to_vim() local 1247 if ((item = listitem_alloc()) == NULL) in perl_to_vim() 1250 item->li_tv.v_type = VAR_NUMBER; in perl_to_vim() 1251 item->li_tv.v_lock = 0; in perl_to_vim() 1252 item->li_tv.vval.v_number = 0; in perl_to_vim() 1253 list_insert(list, item, list->lv_first); in perl_to_vim() 1271 dictitem_T * item; in perl_to_vim() local 1302 item->di_tv.v_type = VAR_NUMBER; in perl_to_vim() 1303 item->di_tv.vval.v_number = 0; in perl_to_vim() 1305 if (dict_add(dict, item) == FAIL) { in perl_to_vim() [all …]
|
| H A D | mbyte.c | 5509 int item; in f_setcellwidths() local 5540 item = 0; in f_setcellwidths() 5554 ptrs[item] = lili; in f_setcellwidths() 5571 semsg(_(e_list_item_nr_range_invalid), item); in f_setcellwidths() 5589 ++item; in f_setcellwidths() 5603 item = 0; in f_setcellwidths() 5604 for (item = 0; item < l->lv_len; ++item) in f_setcellwidths() 5606 listitem_T *lili = ptrs[item]; in f_setcellwidths() 5610 if (item > 0 && n1 <= table[item - 1].last) in f_setcellwidths() 5617 table[item].first = n1; in f_setcellwidths() [all …]
|
| H A D | gui_gtk.c | 733 GtkToolItem *item = gtk_separator_tool_item_new(); in gui_mch_add_menu_item() local 737 gtk_widget_show(GTK_WIDGET(item)); in gui_mch_add_menu_item() 739 gtk_toolbar_insert(toolbar, item, idx); in gui_mch_add_menu_item() 760 GtkToolItem *item; in gui_mch_add_menu_item() local 766 g_signal_connect(G_OBJECT(item), "clicked", in gui_mch_add_menu_item() 768 gtk_widget_show_all(GTK_WIDGET(item)); in gui_mch_add_menu_item() 770 gtk_toolbar_insert(toolbar, item, idx); in gui_mch_add_menu_item() 772 menu->id = GTK_WIDGET(item); in gui_mch_add_menu_item() 971 GtkToolItem *item = NULL; in gui_mch_destroy_menu() local 975 if (item != NULL) in gui_mch_destroy_menu() [all …]
|
| /vim-8.2.3635/runtime/syntax/ |
| H A D | dircolors.vim | 123 let item = str2nr(remove(colors, 0)) 124 if item == 1 126 elseif item == 3 128 elseif item == 4 130 elseif item == 7 132 elseif item >= 30 && item <= 37 135 elseif item >= 40 && item <= 47 138 elseif item >= 90 && item <= 97 141 elseif item >= 100 && item <= 107 144 elseif item == 38 [all …]
|
| /vim-8.2.3635/runtime/autoload/ |
| H A D | xmlformat.vim | 51 if s:EndTag(item) 53 call add(result, s:Indent(item)) 60 if !s:IsTag(item) 63 let t=split(item, '.<\@=\zs') 70 let result[-1] .= item 89 let lastitem = item 116 func! s:Indent(item) abort argument 120 func! s:Trim(item) abort argument 122 return trim(a:item) 124 return matchstr(a:item, '\S\+.*') [all …]
|
| H A D | xmlcomplete.vim | 274 let item = menu[i] 282 …:xml_namespace]}[tag][1][item]) > 0 && g:xmldata{'_'.g:xmldata_connection[b:xml_namespace]}[tag][1… 283 let item = item 285 let item .= '="' 287 let final_menu += [{'word':item, 'menu':m_menu, 'info':m_info}] 291 let item = menu[i] 292 …:xml_namespace]}[tag][1][item]) > 0 && g:xmldata{'_'.g:xmldata_connection[b:xml_namespace]}[tag][1… 293 let item = item 295 let item .= '="' 297 let final_menu += [item] [all …]
|
| H A D | htmlcomplete.vim | 582 let item = menu[i] 590 if len(b:html_omni[tag][1][item]) > 0 && b:html_omni[tag][1][item][0] =~ '^\(BOOL\|'.item.'\)$' 591 let item = item 594 let item .= '="' 601 let item = menu[i] 602 if len(b:html_omni[tag][1][item]) > 0 && b:html_omni[tag][1][item][0] =~ '^\(BOOL\|'.item.'\)$' 603 let item = item 605 let item .= '="' 688 let item = menu[i] 697 let item = toupper(item) [all …]
|
| H A D | ccomplete.vim | 248 " Guess if the item is an array. 253 " Check if the item has members. 339 " Turn a match item "val" into an item for completion. 434 let item = diclist[tagidx] 437 if has_key(item, 'typeref') 447 if item['kind'] != 't' 452 if has_key(item, 'static') && item['static'] && bufnr('%') != bufnr(item['filename']) 458 let cmd = item['cmd'] 555 " Add the kind of item. 558 let item['kind'] = s [all …]
|
| H A D | syntaxcomplete.vim | 159 " Locate the start of the item, including "." 720 for item in split(&iskeyword, ',') 721 if item =~ '\d-\d' 732 elseif item =~ '^\d\+$' 741 if item =~ '\p' 789 for item in split(a:spec, ',') 790 if len(item) > 1 791 if item == '@-@' 792 call add(result, char2nr(item)) 797 if item == '@' " assume this is [A-Za-z] [all …]
|
| /vim-8.2.3635/runtime/doc/ |
| H A D | usr_42.txt | 27 To define a menu item, use the ":menu" command. The basic form of this 30 :menu {menu-item} {keys} 32 The {menu-item} describes where on the menu to put the item. A typical 33 {menu-item} is "File.Save", which represents the item "Save" under the 42 a bit to use such an item. 44 specifies how the item is triggered and the right hand side defines the 63 The actual definition of the File.Save menu item is as follows: > 107 Thus each name in {menu-item} has its priority number. 231 specific menu item for Insert mode: > 244 ":nunmenu", etc. To delete the "Tools.Make" item for Insert mode: > [all …]
|
| H A D | usr_27.txt | 242 The "*" item specifies that the item before it can match any number of times. 251 must be grouped into one item. This is done by putting "\(" before it and 265 To match an optional item, use "\=". Example: > 275 numbers. The item before it will be matched "n" to "m" times |inclusive|. 307 both of the numbers, resulting in "\{-}". This matches the item before it 308 zero or more times, as few as possible. The item by itself always matches 343 A related item is "\&". This requires that both alternatives match in the 407 item matches equivalent ~ 459 item matches option ~ 475 To check for a line break in a specific place, use the "\n" item: > [all …]
|
| H A D | if_lua.txt | 275 o "l[k]" returns the k-th item in "l"; "l" is one-indexed, as in Lua. 276 To modify the k-th item, simply do "l[k] = newitem"; in 277 particular, "l[k] = nil" removes the k-th item from "l". Item can 280 o "table.insert(l, newitem)" inserts an item at the end of the list. 282 o "table.insert(l, position, newitem)" inserts an item at the 285 o "table.remove(l, position)" removes an item at the specified 291 o "l:add(item)" appends "item" to the end of "l". 292 o "l:insert(item[, pos])" inserts "item" at (optional) 297 :let l = [1, 'item'] 302 :lua l[1] = nil -- remove first item [all …]
|
| H A D | usr_44.txt | 59 colors used for each item, which helps to find out what is what. 143 identifiers. To do this, you define a match syntax item. This one matches 149 Keywords overrule any other syntax item. Thus the keywords "if", 164 with a match item. See |pattern| for help on search patterns. 190 item is a single pattern, which must match as a whole. A region starts as 234 { is found. Since we are inside a xBlock item, and it contains itself, a 235 nested xBlock item will start here. Thus the "b = c" line is inside the 306 The "nextgroup" argument specifies which item can come next. This is not 366 Notice that the "matchgroup" argument has the same group as the item 368 that contained items are not found in the match with the start item then. [all …]
|
| /vim-8.2.3635/src/proto/ |
| H A D | list.pro | 16 void listitem_free(list_T *l, listitem_T *item); 17 void listitem_remove(list_T *l, listitem_T *item); 24 long list_idx_of_item(list_T *l, listitem_T *item); 25 void list_append(list_T *l, listitem_T *item); 31 int list_insert_tv(list_T *l, typval_T *tv, listitem_T *item); 32 void list_insert(list_T *l, listitem_T *ni, listitem_T *item); 43 void vimlist_remove(list_T *l, listitem_T *item, listitem_T *item2);
|
| H A D | dict.pro | 13 void dictitem_remove(dict_T *dict, dictitem_T *item); 14 void dictitem_free(dictitem_T *item); 17 int dict_add(dict_T *d, dictitem_T *item);
|
| /vim-8.2.3635/runtime/indent/ |
| H A D | tex.vim | 96 " If this variable is set, item-environments are indented like Emacs does 102 " \item blablabla \item blablabla 104 " \item blablabla \item blablabla 113 " be escaped. The default is '\\bibitem\|\\item'. 117 " A list of environment names, separated with '\|', where the items (item 153 let g:tex_items = '\\bibitem\|\\item' 228 " Add another sw for item-environments 247 " Remove another sw for item-environments 282 " Special treatment for 'item' 286 " '\item' or '\bibitem' itself: [all …]
|