Lines Matching refs:NUL
171 while (*arg != NUL && *arg != ' ') in ex_menu()
177 if (*arg != NUL) in ex_menu()
179 *arg++ = NUL; in ex_menu()
230 if (*arg == NUL) in ex_menu()
285 if (*map_to == NUL && !unmenu && enable == MAYBE) in ex_menu()
290 else if (*map_to != NUL && (unmenu || enable != MAYBE)) in ex_menu()
515 if (*dname == NUL) in add_menu_path()
533 if (*next_name == NUL && menu->children != NULL) in add_menu_path()
539 if (*next_name != NUL && menu->children == NULL in add_menu_path()
573 if (*next_name == NUL && parent == NULL) in add_menu_path()
579 if (menu_is_separator(dname) && *next_name != NUL) in add_menu_path()
630 if (*next_name == NUL && menuarg->iconfile != NULL) in add_menu_path()
668 if (*next_name == NUL) in add_menu_path()
717 tearpath[idx] = NUL; in add_menu_path()
764 if (amenu && call_data != NULL && *call_data != NUL in add_menu_path()
805 menu->strings[i][len + 2] = NUL; in add_menu_path()
868 if (*name == NUL || *name == '*' || menu_name_equal(name, menu)) in menu_nable_recurse()
870 if (*p != NUL) in menu_nable_recurse()
892 if (*name != NUL && *name != '*') in menu_nable_recurse()
897 if (*name != NUL && *name != '*' && menu == NULL) in menu_nable_recurse()
935 if (*name == NUL || menu_name_equal(name, menu)) in remove_menu()
937 if (*p != NUL && menu->children == NULL) in remove_menu()
950 if (*p == NUL && modes == MENU_ALL_MODES) in remove_menu()
959 else if (*name != NUL) in remove_menu()
971 if (*name != NUL) in remove_menu()
987 if (*name != NUL) in remove_menu()
1128 if (*p != NUL && menu->children == NULL) in show_menus()
1218 if (*menu->strings[bit] == NUL) in show_menus_recursive()
1278 && (arg[6] == NUL || VIM_ISWHITE(arg[6]))) in set_context_in_menu_cmd()
1281 && (arg[7] == NUL || VIM_ISWHITE(arg[7]))) in set_context_in_menu_cmd()
1287 while (*p != NUL && VIM_ISWHITE(*p)) in set_context_in_menu_cmd()
1294 if ((*p == '\\' || *p == Ctrl_V) && p[1] != NUL) in set_context_in_menu_cmd()
1305 if (*p == NUL) // Complete the menu name in set_context_in_menu_cmd()
1335 if ((*p != NUL && menu->children == NULL) in set_context_in_menu_cmd()
1576 if (*p == NUL) in menu_name_skip()
1581 *p++ = NUL; in menu_name_skip()
1606 for (i = 0; name[i] != NUL && name[i] != TAB; ++i) in menu_namecmp()
1609 return ((name[i] == NUL || name[i] == TAB) in menu_namecmp()
1610 && (mname[i] == NUL || mname[i] == TAB)); in menu_namecmp()
1824 if (p[1] == NUL) // trailing "&" in menu_text()
1908 return (name[0] == ']') || (menu_is_popup(name) && name[5] != NUL); in menu_is_hidden()
2208 *d = NUL; in gui_create_tearoffs_recurse()
2214 *d = NUL; // remove TEAR_STRING in gui_create_tearoffs_recurse()
2368 if (*p_sel == 'e' && gchar_cursor() != NUL) in execute_menu()
2458 if (*p == NUL && menu->children != NULL) in menu_getbyname()
2464 else if (*p != NUL && menu->children == NULL) in menu_getbyname()
2473 if (menu == NULL || *p == NUL) in menu_getbyname()
2611 if (*p == NUL) in gui_find_menu()
2618 if (*p == NUL) // found a full match in gui_find_menu()
2696 *arg = NUL; in ex_menutranslate()
2743 while (*p != NUL && *p != '.' && !VIM_ISWHITE(*p)) in menu_skip_part()
2745 if ((*p == '\\' || *p == Ctrl_V) && p[1] != NUL) in menu_skip_part()
2766 if (STRNICMP(name, tp[i].from, len) == 0 && tp[i].from[len] == NUL) in menutrans_lookup()
2771 name[len] = NUL; in menutrans_lookup()
2813 if ((*arg == '\\' || *arg == Ctrl_V) && arg[1] != NUL) in menu_translate_tab_and_shift()
2822 if (*arg != NUL) in menu_translate_tab_and_shift()
2823 *arg++ = NUL; in menu_translate_tab_and_shift()
2838 if (*menu_name == NUL) in menuitem_getinfo()
2879 buf[utf_char2bytes(menu->mnemonic, buf)] = NUL; in menuitem_getinfo()
2883 buf[1] = NUL; in menuitem_getinfo()
2901 *menu->strings[bit] == NUL in menuitem_getinfo()
2986 if (*saved_name != NUL) in f_menu_info()
3001 if (menu == NULL || *p == NUL) in f_menu_info()