Searched refs:items_num (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/scripts/kconfig/
H A Dnconf.c269 static int items_num; variable
488 items_num = 0; clean_items()
506 index = (index + items_num) % items_num; get_mext_match()
516 index = (index + items_num) % items_num; get_mext_match()
527 if (items_num > MAX_MENU_ITEMS-1) item_make()
530 bzero(&k_menu_items[items_num], sizeof(k_menu_items[0])); item_make()
531 k_menu_items[items_num].tag = tag; item_make()
532 k_menu_items[items_num].usrptr = menu; item_make()
534 k_menu_items[items_num].is_visible = item_make()
537 k_menu_items[items_num].is_visible = 1; item_make()
540 vsnprintf(k_menu_items[items_num].str, item_make()
541 sizeof(k_menu_items[items_num].str), item_make()
545 if (!k_menu_items[items_num].is_visible) item_make()
546 memcpy(k_menu_items[items_num].str, "XXX", 3); item_make()
548 curses_menu_items[items_num] = new_item( item_make()
549 k_menu_items[items_num].str, item_make()
550 k_menu_items[items_num].str); item_make()
551 set_item_userptr(curses_menu_items[items_num], item_make()
552 &k_menu_items[items_num]); item_make()
554 if (!k_menu_items[items_num].is_visible) item_make()
555 item_opts_off(curses_menu_items[items_num], O_SELECTABLE); item_make()
558 items_num++; item_make()
559 curses_menu_items[items_num] = NULL; item_make()
566 int index = items_num-1; item_add_str()

Completed in 51 milliseconds