Lines Matching refs:NUL
66 while (line[i] != NUL) in get_leader_len()
83 *string++ = NUL; // isolate flags from string in get_leader_len()
112 for (j = 0; string[j] != NUL && string[j] == line[i + j]; ++j) in get_leader_len()
114 if (string[j] != NUL) in get_leader_len()
120 && !VIM_ISWHITE(line[i + j]) && line[i + j] != NUL) in get_leader_len()
222 *string++ = NUL; // Isolate flags from string. in get_last_leader_offset()
238 for (j = 0; string[j] != NUL && string[j] == line[i + j]; ++j) in get_last_leader_offset()
240 if (string[j] != NUL) in get_last_leader_offset()
248 && !VIM_ISWHITE(line[i + j]) && line[i + j] != NUL) in get_last_leader_offset()
398 if (*s == NUL) // empty line in plines_win_nofold()
406 if (wp->w_p_list && wp->w_lcs_chars.eol != NUL) in plines_win_nofold()
450 while (*s != NUL && --column >= 0) in plines_win_col()
520 return NUL; in gchar_pos()
730 buf[1] = NUL; in f_mode()
895 buf[len >= buflen ? buflen - 1 : len] = NUL; in get_keystroke()
1181 if (var == NULL || *var == NUL) in init_homedir()
1187 if (homepath == NULL || *homepath == NUL) in init_homedir()
1193 if (NameBuff[0] != NUL) in init_homedir()
1216 if (exp != NULL && *exp != NUL in init_homedir()
1225 if (var != NULL && *var == NUL) // empty is same as not set in init_homedir()
1405 while (c-- > 0 && *tail != NUL && ((vim_isIDc(*tail)) in expand_env_esc()
1429 *var = NUL; in expand_env_esc()
1436 else if ( src[1] == NUL in expand_env_esc()
1457 *var = NUL; in expand_env_esc()
1469 struct passwd *pw = (*dst == NUL) in expand_env_esc()
1503 *next_path++ = NUL; in expand_env_esc()
1557 if (var != NULL && *var != NUL in expand_env_esc()
1565 if (*var != NUL && after_pathsep(dst, dst + c) in expand_env_esc()
1587 if (src[0] == '\\' && src[1] != NUL) in expand_env_esc()
1607 *dst = NUL; in expand_env_esc()
1636 if (vimdir == NULL || *vimdir == NUL) in vim_version_dir()
1677 if (wp != NULL && *wp == NUL) // empty is the same as not set in vim_getenv()
1691 if (p != NULL && *p == NUL) // empty is the same as not set in vim_getenv()
1723 && *default_vimruntime_dir == NUL in vim_getenv()
1730 if (wp != NULL && *wp == NUL) // empty is the same as not set in vim_getenv()
1745 if (p != NULL && *p == NUL) // empty is the same as not set in vim_getenv()
1850 if (vimruntime && *default_vimruntime_dir != NUL) in vim_getenv()
1855 else if (*default_vim_dir != NUL) in vim_getenv()
1944 if (*val != NUL && STRICMP(name, "VIMRUNTIME") == 0) in vim_setenv()
1986 if (str[n] == '=' || str[n] == NUL) in get_env_name()
1990 name[n] = NUL; in get_env_name()
2005 if (user_copy == NULL || *user_copy == NUL || ga_grow(&ga_users, 1) == FAIL) in add_user()
2063 if (user_env != NULL && *user_env != NUL) in init_users()
2340 if (buffer[i] == NUL) in get_cmd_output()
2343 buffer[len] = NUL; // make sure the buffer is terminated in get_cmd_output()
2412 for (p = ml_get_buf(buf, lnum, FALSE); *p != NUL; ++p) in get_cmd_output_as_rettv()
2413 if (putc(*p == '\n' ? NUL : *p, fd) == EOF) in get_cmd_output_as_rettv()
2488 *p = *start == NUL ? NL : *start; in get_cmd_output_as_rettv()
2489 *p = NUL; in get_cmd_output_as_rettv()
2522 *d = NUL; in get_cmd_output_as_rettv()
2592 if (*p == NUL) in get_isolated_shell_name()