/titanic_44/usr/src/lib/libsocket/inet/ |
H A D | bootparams_getbyname.c | 76 int lenstr, in str2bootent() argument 85 (buffer >= instr && (instr + lenstr) > buffer)) { in str2bootent() 89 limit = p + lenstr; in str2bootent() 99 lenstr -= (p - instr); in str2bootent() 100 if (buflen <= lenstr) { /* not enough buffer */ in str2bootent() 103 (void) memcpy(buffer, p, lenstr); in str2bootent() 104 buffer[lenstr] = '\0'; in str2bootent()
|
H A D | getprotoent_r.c | 129 str2protoent(const char *instr, int lenstr, in str2protoent() argument 140 (buffer >= instr && (instr + lenstr) > buffer)) { in str2protoent() 145 limit = p + lenstr; in str2protoent() 210 proto->p_aliases = _nss_netdb_aliases(p, lenstr - (int)(p - instr), in str2protoent()
|
H A D | getnetent_r.c | 134 str2netent(const char *instr, int lenstr, in str2netent() argument 144 (buffer >= instr && (instr + lenstr) > buffer)) { in str2netent() 149 limit = p + lenstr; in str2netent() 215 net->n_aliases = _nss_netdb_aliases(p, lenstr - (int)(p - instr), in str2netent()
|
H A D | ether_addr.c | 183 str2ether(const char *instr, int lenstr, void *ent, char *buffer, int buflen) in str2ether() argument 191 limit = p + lenstr; in str2ether()
|
/titanic_44/usr/src/lib/libnsl/nss/ |
H A D | gethostent.c | 106 __str2hostent(int af, const char *instr, int lenstr, void *ent, char *buffer, in __str2hostent() argument 119 (buffer >= instr && (instr + lenstr) > buffer)) in __str2hostent() 152 while (lenstr > 0 && p[lenstr - 1] == '\n') in __str2hostent() 153 lenstr--; in __str2hostent() 156 limit = p + lenstr; in __str2hostent() 186 limit = memchr(p, '\n', lenstr - (p - instr)); in __str2hostent() 188 limit = instr + lenstr; in __str2hostent() 248 if (limit >= instr + lenstr) in __str2hostent()
|
H A D | getauthattr.c | 64 str2authattr(const char *instr, int lenstr, void *ent, char *buffer, int buflen) in str2authattr() argument 70 if (lenstr >= buflen) in str2authattr() 80 if (buffer[lenstr] == '\n') in str2authattr() 81 buffer[lenstr] = '\0'; in str2authattr()
|
H A D | getauuser.c | 68 str2auuser(const char *instr, int lenstr, void *ent, char *buffer, int buflen) in str2auuser() argument 74 if (lenstr >= buflen) in str2auuser() 84 if (buffer[lenstr] == '\n') { in str2auuser() 85 buffer[lenstr] = '\0'; in str2auuser()
|
H A D | getprofattr.c | 63 str2profattr(const char *instr, int lenstr, void *ent, char *buffer, int buflen) in str2profattr() argument 69 if (lenstr >= buflen) in str2profattr() 78 if (buffer[lenstr] == '\n') in str2profattr() 79 buffer[lenstr] = '\0'; in str2profattr()
|
H A D | getuserattr.c | 71 str2userattr(const char *instr, int lenstr, void *ent, char *buffer, int buflen) in str2userattr() argument 77 if (lenstr >= buflen) in str2userattr() 87 if (buffer[lenstr] == '\n') { in str2userattr() 88 buffer[lenstr] = '\0'; in str2userattr()
|
H A D | getrpcent_r.c | 119 str2rpcent(const char *instr, int lenstr, void *ent, char *buffer, int buflen) in str2rpcent() argument 128 (buffer >= instr && (instr + lenstr) > buffer)) in str2rpcent() 132 limit = p + lenstr; in str2rpcent() 190 rpc->r_aliases = _nss_netdb_aliases(p, (int)(lenstr - (p - instr)), in str2rpcent()
|
H A D | gethostent6.c | 57 str2hostent6(const char *instr, int lenstr, void *ent, char *buffer, int buflen) in str2hostent6() argument 59 return (__str2hostent(AF_INET6, instr, lenstr, ent, buffer, buflen)); in str2hostent6()
|
H A D | gethostent_r.c | 52 str2hostent(const char *instr, int lenstr, void *ent, char *buffer, int buflen) in str2hostent() argument 54 return (__str2hostent(AF_INET, instr, lenstr, ent, buffer, buflen)); in str2hostent()
|
H A D | getexecattr.c | 95 str2execattr(const char *instr, int lenstr, void *ent, char *buffer, int buflen) in str2execattr() argument 101 if (lenstr >= buflen) in str2execattr() 111 if (buffer[lenstr] == '\n') { in str2execattr() 112 buffer[lenstr] = '\0'; in str2execattr()
|
/titanic_44/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) in str2printer() argument 80 if (lenstr + 1 > buflen) in str2printer() 90 (void) memcpy(buffer, instr, lenstr); in str2printer() 91 buffer[lenstr] = '\0'; in str2printer()
|
/titanic_44/usr/src/psm/stand/boot/sparc/common/ |
H A D | wanboot.c | 415 char *lenstr; in read_digest() local 425 lenstr = http_get_header_value(handle, CONTENT_LENGTH); in read_digest() 426 if (lenstr == NULL) { in read_digest() 431 digest_size = (size_t)strtol(lenstr, NULL, 10); in read_digest() 432 free(lenstr); in read_digest() 827 char *lenstr; in process_miniinfo() local 837 lenstr = http_get_header_value(handle, CONTENT_LENGTH); in process_miniinfo() 838 if (lenstr == NULL) { in process_miniinfo() 843 cnt = (size_t)strtol(lenstr, NULL, 10); in process_miniinfo() 844 free(lenstr); in process_miniinfo() [all …]
|
/titanic_44/usr/src/lib/passwdutil/ |
H A D | switch_utils.c | 293 str2passwd(const char *instr, int lenstr, void *ent, char *buffer, int buflen) in str2passwd() argument 299 if (lenstr + 1 > buflen) { in str2passwd() 306 (void) memcpy(buffer, instr, lenstr); in str2passwd() 307 buffer[lenstr] = '\0'; in str2passwd() 517 str2spwd(instr, lenstr, ent, buffer, buflen) in str2spwd() argument 519 int lenstr; 529 limit = p + lenstr; 530 if ((p = memchr(instr, ':', lenstr)) == 0 || 533 lencopy = lenstr;
|
/titanic_44/usr/src/lib/nsswitch/nis/common/ |
H A D | getspent.c | 49 nis_str2spent(instr, lenstr, ent, buffer, buflen) in nis_str2spent() argument 51 int lenstr; 62 if ((p = memchr(instr, ':', lenstr)) == 0) { 65 if ((q = memchr(p + 1, ':', lenstr - (p + 1 - instr))) == 0) {
|
/titanic_44/usr/src/lib/libc/port/gen/ |
H A D | getspent_r.c | 180 str2spwd(const char *instr, int lenstr, void *ent, char *buffer, int buflen) in str2spwd() argument 188 limit = p + lenstr; in str2spwd() 189 if ((p = memchr(instr, ':', lenstr)) == 0 || in str2spwd() 192 lencopy = (size_t)lenstr; in str2spwd()
|
H A D | getgrnam_r.c | 315 str2group(const char *instr, int lenstr, void *ent, char *buffer, int buflen) in str2group() argument 323 if (lenstr + 1 > buflen) in str2group() 332 (void) memmove(buffer, instr, lenstr); in str2group() 333 buffer[lenstr] = '\0'; in str2group() 354 memlist = (char **)ROUND_UP(buffer + lenstr + 1, sizeof (char *)); in str2group()
|
H A D | getpwnam_r.c | 241 str2passwd(const char *instr, int lenstr, void *ent, char *buffer, int buflen) in str2passwd() argument 248 if (lenstr + 1 > buflen) in str2passwd() 257 (void) memmove(buffer, instr, lenstr); in str2passwd() 258 buffer[lenstr] = '\0'; in str2passwd()
|
/titanic_44/usr/src/lib/libtsnet/common/ |
H A D | tsol_gettpent.c | 167 str_to_tpstr(const char *instr, int lenstr, void *entp, char *buffer, in str_to_tpstr() argument 176 (buffer >= instr && (instr + lenstr) > buffer)) in str_to_tpstr() 178 if (lenstr >= buflen) in str_to_tpstr()
|
H A D | tsol_getrhent.c | 172 str_to_rhstr(const char *instr, int lenstr, void *entp, char *buffer, in str_to_rhstr() argument 182 (buffer >= instr && (instr + lenstr) > buffer)) in str_to_rhstr() 184 if (lenstr >= buflen) in str_to_rhstr()
|
/titanic_44/usr/src/lib/libproject/common/ |
H A D | getprojent.c | 378 str2project(const char *instr, int lenstr, void *ent, char *buffer, int buflen) in str2project() argument 386 if (lenstr + 1 > buflen) in str2project() 392 (void) memcpy(buffer, instr, lenstr); in str2project() 393 buffer[lenstr] = '\0'; in str2project() 459 uglist = (char **)ROUND_UP(buffer + lenstr + 1, sizeof (char *)); in str2project()
|
/titanic_44/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) in str2printer() argument 379 if (lenstr + 1 > buflen) in str2printer() 389 (void) memcpy(buffer, instr, lenstr); in str2printer() 390 buffer[lenstr] = '\0'; in str2printer()
|
/titanic_44/usr/src/lib/libnsl/key/ |
H A D | publickey.c | 119 str2key(const char *instr, int lenstr, in str2key() argument 121 if (lenstr + 1 > buflen) in str2key() 126 (void) memcpy(buffer, instr, lenstr); in str2key() 127 buffer[lenstr] = '\0'; in str2key()
|