Searched defs:newlinelen (Results 1 - 6 of 6) sorted by relevance

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

Completed in 61 milliseconds