Searched refs:newlinelen (Results 1 – 6 of 6) sorted by relevance
/titanic_50/usr/src/lib/nsswitch/nis/common/ |
H A D | getpwnam.c | 67 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 D | getgrent.c | 74 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 D | getgrent.c | 177 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 D | getpwnam.c | 180 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 D | getpwent.c | 80 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 D | getgrent.c | 72 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()
|