Home
last modified time | relevance | path

Searched refs:newlinelen (Results 1 – 6 of 6) sorted by relevance

/titanic_50/usr/src/lib/nsswitch/nis/common/
H A Dgetpwnam.c67 int linelen = *linelenp, newlinelen; in validate_passwd_ids() local
102 newlinelen = linelen + idlen - olduidlen - oldgidlen - 1; in validate_passwd_ids()
103 if (newlinelen > linelen) { in validate_passwd_ids()
105 if (!allocbuf || (newline = malloc(newlinelen + 1)) == NULL) in validate_passwd_ids()
109 (void) snprintf(newline, newlinelen + 1, "%s:%u:%u%s", in validate_passwd_ids()
113 *linelenp = newlinelen; in validate_passwd_ids()
121 *linelenp = newlinelen; in validate_passwd_ids()
H A Dgetgrent.c74 int linelen = *linelenp, newlinelen; in validate_group_ids() local
100 newlinelen = linelen + idlen - oldgidlen; in validate_group_ids()
101 if (newlinelen > linelen) { in validate_group_ids()
103 if (!allocbuf || (newline = malloc(newlinelen + 1)) == NULL) in validate_group_ids()
107 (void) snprintf(newline, newlinelen + 1, "%s:%u%s", in validate_group_ids()
111 *linelenp = newlinelen; in validate_group_ids()
119 *linelenp = newlinelen; in validate_group_ids()
/titanic_50/usr/src/lib/nsswitch/files/common/
H A Dgetgrent.c177 int linelen = *linelenp, newlinelen; in validate_group_ids() local
211 newlinelen = linelen + idlen - oldgidlen; in validate_group_ids()
212 if (newlinelen + extra_chars > buflen) in validate_group_ids()
218 *linelenp = newlinelen; in validate_group_ids()
H A Dgetpwnam.c180 int linelen = *linelenp, newlinelen; in validate_passwd_ids() local
219 newlinelen = linelen + idlen - olduidlen - oldgidlen - 1; in validate_passwd_ids()
220 if (newlinelen + extra_chars > buflen) in validate_passwd_ids()
227 *linelenp = newlinelen; in validate_passwd_ids()
/titanic_50/usr/src/lib/nsswitch/compat/common/
H A Dgetpwent.c80 int linelen = *linelenp, newlinelen; in validate_passwd_ids() local
114 newlinelen = linelen + idlen - olduidlen - oldgidlen - 1; in validate_passwd_ids()
115 if (newlinelen + extra_chars > buflen) in validate_passwd_ids()
122 *linelenp = newlinelen; in validate_passwd_ids()
H A Dgetgrent.c72 int linelen = *linelenp, newlinelen; in validate_group_ids() local
97 newlinelen = linelen + idlen - oldgidlen; in validate_group_ids()
98 if (newlinelen + extra_chars > buflen) in validate_group_ids()
104 *linelenp = newlinelen; in validate_group_ids()