/illumos-gate/usr/src/lib/libsocket/inet/ |
H A D | bootparams_getbyname.c | 76 int lenstr, 85 (buffer >= instr && (instr + lenstr) > buffer)) { 89 limit = p + lenstr; 99 lenstr -= (p - instr); 100 if (buflen <= lenstr) { /* not enough buffer */ 103 (void) memcpy(buffer, p, lenstr); 104 buffer[lenstr] = '\0'; 74 str2bootent( const char *instr, int lenstr, void *ent, char *buffer, int buflen ) argument
|
H A D | getnetent_r.c | 134 str2netent(const char *instr, int lenstr, argument 144 (buffer >= instr && (instr + lenstr) > buffer)) { 149 limit = p + lenstr; 215 net->n_aliases = _nss_netdb_aliases(p, lenstr - (int)(p - instr),
|
H A D | getprotoent_r.c | 129 str2protoent(const char *instr, int lenstr, argument 140 (buffer >= instr && (instr + lenstr) > buffer)) { 145 limit = p + lenstr; 210 proto->p_aliases = _nss_netdb_aliases(p, lenstr - (int)(p - instr),
|
H A D | ether_addr.c | 183 str2ether(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument 191 limit = p + lenstr;
|
H A D | netmasks.c | 224 str2addr(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument 234 limit = p + lenstr;
|
/illumos-gate/usr/src/lib/libnsl/nss/ |
H A D | gethostent6.c | 57 str2hostent6(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument 59 return (__str2hostent(AF_INET6, instr, lenstr, ent, buffer, buflen));
|
H A D | gethostent_r.c | 52 str2hostent(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument 54 return (__str2hostent(AF_INET, instr, lenstr, ent, buffer, buflen));
|
H A D | getauthattr.c | 64 str2authattr(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument 70 if (lenstr >= buflen) 80 if (buffer[lenstr] == '\n') 81 buffer[lenstr] = '\0';
|
H A D | getauuser.c | 68 str2auuser(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument 74 if (lenstr >= buflen) 84 if (buffer[lenstr] == '\n') { 85 buffer[lenstr] = '\0';
|
H A D | getprofattr.c | 63 str2profattr(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument 69 if (lenstr >= buflen) 78 if (buffer[lenstr] == '\n') 79 buffer[lenstr] = '\0';
|
H A D | getuserattr.c | 71 str2userattr(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument 77 if (lenstr >= buflen) 87 if (buffer[lenstr] == '\n') { 88 buffer[lenstr] = '\0';
|
H A D | gethostent.c | 106 __str2hostent(int af, const char *instr, int lenstr, void *ent, char *buffer, argument 119 (buffer >= instr && (instr + lenstr) > buffer)) 152 while (lenstr > 0 && p[lenstr - 1] == '\n') 153 lenstr--; 156 limit = p + lenstr; 186 limit = memchr(p, '\n', lenstr - (p - instr)); 188 limit = instr + lenstr; 248 if (limit >= instr + lenstr)
|
H A D | getrpcent_r.c | 119 str2rpcent(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument 128 (buffer >= instr && (instr + lenstr) > buffer)) 132 limit = p + lenstr; 190 rpc->r_aliases = _nss_netdb_aliases(p, (int)(lenstr - (p - instr)),
|
H A D | getexecattr.c | 95 str2execattr(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument 101 if (lenstr >= buflen) 111 if (buffer[lenstr] == '\n') { 112 buffer[lenstr] = '\0';
|
/illumos-gate/usr/src/lib/print/libprint/common/ |
H A D | nss_printer.c | 78 str2printer(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument 80 if (lenstr + 1 > buflen) 90 (void) memcpy(buffer, instr, lenstr); 91 buffer[lenstr] = '\0';
|
/illumos-gate/usr/src/lib/libtsnet/common/ |
H A D | tsol_gettpent.c | 167 str_to_tpstr(const char *instr, int lenstr, void *entp, char *buffer, argument 176 (buffer >= instr && (instr + lenstr) > buffer)) 178 if (lenstr >= buflen)
|
H A D | tsol_getrhent.c | 172 str_to_rhstr(const char *instr, int lenstr, void *entp, char *buffer, argument 182 (buffer >= instr && (instr + lenstr) > buffer)) 184 if (lenstr >= buflen)
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | getpwnam_r.c | 241 str2passwd(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument 248 if (lenstr + 1 > buflen) 257 (void) memmove(buffer, instr, lenstr); 258 buffer[lenstr] = '\0';
|
H A D | getspent_r.c | 180 str2spwd(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument 188 limit = p + lenstr; 189 if ((p = memchr(instr, ':', lenstr)) == 0 || 192 lencopy = (size_t)lenstr;
|
H A D | getgrnam_r.c | 315 str2group(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument 323 if (lenstr + 1 > buflen) 332 (void) memmove(buffer, instr, lenstr); 333 buffer[lenstr] = '\0'; 354 memlist = (char **)ROUND_UP(buffer + lenstr + 1, sizeof (char *));
|
/illumos-gate/usr/src/lib/nsswitch/compat/common/ |
H A D | compat_common.c | 51 extern int str2passwd(const char *instr, int lenstr, void *ent, 53 extern int str2spwd(const char *instr, int lenstr, void *ent, 55 extern int str2group(const char *instr, int lenstr, void *ent, 71 int lenstr, 80 if (lenstr >= buflen) 90 int lenstr, 99 if (lenstr >= buflen) 69 str2auuser_s( const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument 88 str2userattr_s( const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument
|
/illumos-gate/usr/src/lib/passwdutil/ |
H A D | switch_utils.c | 293 str2passwd(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument 299 if (lenstr + 1 > buflen) { 306 (void) memcpy(buffer, instr, lenstr); 307 buffer[lenstr] = '\0'; 517 str2spwd(instr, lenstr, ent, buffer, buflen) 519 int lenstr; 529 limit = p + lenstr; 530 if ((p = memchr(instr, ':', lenstr)) == 0 || 533 lencopy = lenstr;
|
/illumos-gate/usr/src/lib/print/libpapi-dynamic/common/ |
H A D | nss.c | 377 str2printer(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument 379 if (lenstr + 1 > buflen) 389 (void) memcpy(buffer, instr, lenstr); 390 buffer[lenstr] = '\0';
|
/illumos-gate/usr/src/lib/libproject/common/ |
H A D | getprojent.c | 378 str2project(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument 386 if (lenstr + 1 > buflen) 392 (void) memcpy(buffer, instr, lenstr); 393 buffer[lenstr] = '\0'; 459 uglist = (char **)ROUND_UP(buffer + lenstr + 1, sizeof (char *));
|
/illumos-gate/usr/src/lib/nsswitch/files/common/ |
H A D | gethostent.c | 232 filter_ipv6(char *instr, int lenstr) { argument 238 limit = p + lenstr;
|