Lines Matching refs:k_menu_items
270 static struct mitem k_menu_items[MAX_MENU_ITEMS]; variable
489 bzero(k_menu_items, sizeof(k_menu_items)); in clean_items()
510 char *str = k_menu_items[index].str; in get_mext_match()
532 bzero(&k_menu_items[items_num], sizeof(k_menu_items[0])); in item_make()
533 k_menu_items[items_num].tag = tag; in item_make()
534 k_menu_items[items_num].usrptr = menu; in item_make()
536 k_menu_items[items_num].is_visible = in item_make()
539 k_menu_items[items_num].is_visible = 1; in item_make()
542 vsnprintf(k_menu_items[items_num].str, in item_make()
543 sizeof(k_menu_items[items_num].str), in item_make()
547 if (!k_menu_items[items_num].is_visible) in item_make()
548 memcpy(k_menu_items[items_num].str, "XXX", 3); in item_make()
551 k_menu_items[items_num].str, in item_make()
552 k_menu_items[items_num].str); in item_make()
554 &k_menu_items[items_num]); in item_make()
579 k_menu_items[index].str, new_str); in item_add_str()
580 strncpy(k_menu_items[index].str, in item_add_str()
582 sizeof(k_menu_items[index].str)); in item_add_str()
586 k_menu_items[index].str, in item_add_str()
587 k_menu_items[index].str); in item_add_str()
589 &k_menu_items[index]); in item_add_str()