Lines Matching refs:str_end
801 char *p, *str_end, *temp;
804 str_end = dptr + data->dsize;
807 if (NULL == (p = get_next_token(dptr, &temp, str_end)))
817 if (NULL == (p = get_next_token(p, &temp, str_end)))
828 pwd->adjunct_tail = am(myself, str_end - p + 1);
831 strncpy(pwd->adjunct_tail, p, str_end - p);
832 pwd->adjunct_tail[str_end - p] = '\0';
842 if (NULL == (p = get_next_token(p, &(pwd->pw_uid), str_end)))
846 if (NULL == (p = get_next_token(p, &(pwd->pw_gid), str_end)))
850 if (NULL == (p = get_next_token(p, &(pwd->pw_gecos), str_end)))
854 if (NULL == (p = get_next_token(p, &(pwd->pw_dir), str_end)))
858 get_next_token(p, &(pwd->pw_shell), str_end);
881 get_next_token(char *str, char **op, char *str_end)
893 while ((str_end + 1 != p) && (COLON_CHAR != *p)) {
1216 char *p, *str_end, *temp;
1219 str_end = dptr + data->dsize;
1222 if (NULL == (p = get_next_token(dptr, &(sp->sp_namp), str_end)))
1226 if (NULL == (p = get_next_token(p, &temp, str_end)))
1231 if (NULL == (p = get_next_token(p, &temp, str_end)))
1236 if (NULL == (p = get_next_token(p, &temp, str_end)))
1241 if (NULL == (p = get_next_token(p, &temp, str_end)))
1246 if (NULL == (p = get_next_token(p, &temp, str_end)))
1251 if (NULL == (p = get_next_token(p, &temp, str_end)))
1256 if (NULL != (p = get_next_token(p, &temp, str_end)))