Home
last modified time | relevance | path

Searched refs:lv_len (Results 1 – 20 of 20) sorted by relevance

/vim-8.2.3635/src/
H A Dlist.c131 l->lv_len = count; in list_alloc_with_items()
357 return l->lv_len; in list_len()
409 n = l->lv_len + n; in list_find()
441 if (n < l->lv_len / 2) in list_find()
594 ++l->lv_len; in list_append()
760 ++l->lv_len; in list_insert()
1280 --l->lv_len; in vimlist_remove()
2136 l->lv_len = 0; in do_sort_uniq()
2178 l->lv_len--; in do_sort_uniq()
2511 l->lv_len = 0; in filter_map()
[all …]
H A Dpopupwin.c102 for (i = 0, li = list->lv_first; i < 4 && i < list->lv_len; in set_padding_border()
511 && (di->di_tv.vval.v_list->lv_len == 2 in handle_moved_argument()
512 || di->di_tv.vval.v_list->lv_len == 3)) in handle_moved_argument()
521 if (l->lv_len == 3) in handle_moved_argument()
758 for (i = 0, li = list->lv_first; i < 4 && i < list->lv_len; in apply_general_options()
768 if (list->lv_len == 1 && wp->w_border_highlight[0] != NULL) in apply_general_options()
792 for (i = 0, li = list->lv_first; i < 8 && i < list->lv_len; in apply_general_options()
799 if (list->lv_len == 1) in apply_general_options()
802 if (list->lv_len == 2) in apply_general_options()
840 || li->li_tv.vval.v_list->lv_len != 4) in apply_general_options()
[all …]
H A Dvim9execute.c2476 if (lidx < 0 && list->lv_len + lidx >= 0) in exec_instructions()
2478 lidx = list->lv_len + lidx; in exec_instructions()
2479 if (lidx < 0 || lidx > list->lv_len) in exec_instructions()
2484 if (lidx < list->lv_len) in exec_instructions()
3280 || idxtv->vval.v_number >= list->lv_len) in exec_instructions()
4059 if (list != NULL && list->lv_len >= count) in exec_instructions()
4062 count, list->lv_len - 1); in exec_instructions()
4265 if (list == NULL || list->lv_len < min_len in exec_instructions()
4266 || (list->lv_len > min_len in exec_instructions()
4271 min_len, list == NULL ? 0 : list->lv_len); in exec_instructions()
[all …]
H A Dmbyte.c5525 if (l->lv_len == 0) in f_setcellwidths()
5534 ptrs = ALLOC_MULT(listitem_T *, l->lv_len); in f_setcellwidths()
5593 qsort((void *)ptrs, (size_t)l->lv_len, sizeof(listitem_T *), tv_nr_compare); in f_setcellwidths()
5595 table = ALLOC_MULT(cw_interval_T, l->lv_len); in f_setcellwidths()
5604 for (item = 0; item < l->lv_len; ++item) in f_setcellwidths()
5629 cw_table_size = l->lv_len; in f_setcellwidths()
H A Dtesting.c648 if (list == NULL || list->lv_len < 1 || list->lv_len > 2) in f_assert_fails()
661 else if (list->lv_len == 2) in f_assert_fails()
H A Devalfunc.c3477 if (list == NULL || list->lv_len == 0) in execute_common()
4033 if (list == NULL || list->lv_len == 0) in common_function()
4035 else if (list->lv_len > MAX_FUNC_ARGS) in common_function()
4057 int lv_len = 0; in common_function() local
4062 lv_len = list->lv_len; in common_function()
4063 pt->pt_argc = arg_len + lv_len; in common_function()
4073 if (lv_len > 0) in common_function()
7145 if (l != NULL && l->lv_len > 0) in max_min()
7749 list->lv_len = (end - start) / stride + 1; in f_range()
7767 list->lv_len = 0; in range_list_materialize()
[all …]
H A Dpopupmenu.c1374 balloon_arraysize = list->lv_len; in ui_post_balloon()
1375 balloon_array = ALLOC_CLEAR_MULT(pumitem_T, list->lv_len); in ui_post_balloon()
H A Dregexp.c2040 matchList.sl_list.lv_len = 0; in vim_regsub_both()
2057 if (matchList.sl_list.lv_len > 0) in vim_regsub_both()
H A Dtime.c148 || arg->vval.v_list->lv_len != 2) in list2proftime()
H A Ddigraph.c2526 if (l == NULL || l->lv_len != 2) in f_digraph_setlist()
H A Deval.c495 if (tv->vval.v_list->lv_len > 0) in typval2string()
5048 && tv->vval.v_list->lv_len > 0) in echo_string_core()
5388 || l->lv_len < (fnump == NULL ? 2 : 3) in list2fpos()
5389 || l->lv_len > (fnump == NULL ? 4 : 5)) in list2fpos()
H A Djob.c1395 || argvars[0].vval.v_list->lv_len < 1) in job_start()
H A Dchannel.c2152 if (listtv.v_type != VAR_LIST || listtv.vval.v_list->lv_len < 2) in channel_parse_json()
2158 listtv.vval.v_list->lv_len); in channel_parse_json()
H A Dstructs.h1513 int lv_len; // number of items member
H A Dmisc2.c2943 *argv = ALLOC_MULT(char *, l->lv_len + 1); in build_argv_from_list()
H A Dif_lua.c1006 if (pos < l->lv_len) in luaV_list_insert()
H A Dif_py_both.h2389 return ((PyInt) (self->list->lv_len)); in ListLength()
3050 argc = argslist->lv_len; in FunctionConstructor()
H A Dterminal.c590 || argvar->vval.v_list->lv_len == 0 in term_start()
657 && argvar->vval.v_list->lv_len > 0) in term_start()
H A Dquickfix.c7650 if (list->lv_len != 0 && what != NULL) in set_errorlist()
H A Dvim9compile.c6960 generate_NEWLIST(cctx, l->lv_len); in compile_assignment()