Lines Matching refs:items_num
275 static unsigned int items_num; variable
496 items_num = 0; in clean_items()
517 match_start = (match_start + items_num) % items_num; in get_mext_match()
528 index = (index + items_num) % items_num; in get_mext_match()
539 if (items_num > MAX_MENU_ITEMS-1) in item_make()
542 bzero(&k_menu_items[items_num], sizeof(k_menu_items[0])); in item_make()
543 k_menu_items[items_num].tag = tag; in item_make()
544 k_menu_items[items_num].usrptr = menu; in item_make()
546 k_menu_items[items_num].is_visible = in item_make()
549 k_menu_items[items_num].is_visible = 1; in item_make()
552 vsnprintf(k_menu_items[items_num].str, in item_make()
553 sizeof(k_menu_items[items_num].str), in item_make()
557 if (!k_menu_items[items_num].is_visible) in item_make()
558 memcpy(k_menu_items[items_num].str, "XXX", 3); in item_make()
560 curses_menu_items[items_num] = new_item( in item_make()
561 k_menu_items[items_num].str, in item_make()
562 k_menu_items[items_num].str); in item_make()
563 set_item_userptr(curses_menu_items[items_num], in item_make()
564 &k_menu_items[items_num]); in item_make()
570 items_num++; in item_make()
571 curses_menu_items[items_num] = NULL; in item_make()
578 int index = items_num-1; in item_add_str()
1165 for (i = 0; i < items_num; i++) { in selected_conf()