/osnet-11/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 | 182 str2ether(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument 190 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;
|
/osnet-11/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 | 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)),
|
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | getauuser.c | 61 str2auuser(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument 67 if (lenstr >= buflen) 77 if (buffer[lenstr] == '\n') { 78 buffer[lenstr] = '\0';
|
H A D | getauthattr.c | 60 _str2authattr(const char *instr, int lenstr, void *ent, char *buf, int buflen) argument 66 if (lenstr >= buflen) 70 (void) memcpy(buf, instr, lenstr); 73 buf[lenstr] = '\0';
|
H A D | getprofattr.c | 60 _str2profattr(const char *instr, int lenstr, void *ent, char *buffer, argument 67 if (lenstr >= buflen) 71 (void) memcpy(buffer, instr, lenstr); 74 buffer[lenstr] = '\0';
|
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 | getuserattr.c | 70 _str2userattr(const char *instr, int lenstr, void *ent, char *buf, int buflen) argument 76 if (lenstr >= buflen) 80 (void) memcpy(buf, instr, lenstr); 83 buf[lenstr] = '\0';
|
H A D | getgrnam_r.c | 314 str2group(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument 322 if (lenstr + 1 > buflen) 331 (void) memmove(buffer, instr, lenstr); 332 buffer[lenstr] = '\0'; 353 memlist = (char **)ROUND_UP(buffer + lenstr + 1, sizeof (char *));
|
H A D | getexecattr.c | 96 _str2execattr(const char *instr, int lenstr, void *ent, char *buf, int buflen) argument 103 if (lenstr >= buflen) 107 (void) memcpy(buf, instr, lenstr); 110 buf[lenstr] = '\0'; 124 * place and such that lenstr < buflen. 131 int nlen = buf + lenstr - nbuf;
|
/osnet-11/usr/src/lib/libtsnet/common/ |
H A D | tsol_gettpent.c | 162 str_to_tpstr(const char *instr, int lenstr, void *entp, char *buffer, argument 171 (buffer >= instr && (instr + lenstr) > buffer)) 173 if (lenstr >= buflen)
|
H A D | tsol_getrhent.c | 168 str_to_rhstr(const char *instr, int lenstr, void *entp, char *buffer, argument 179 (buffer >= instr && (instr + lenstr) > buffer)) 181 if (lenstr >= buflen)
|
/osnet-11/usr/src/lib/nsswitch/nis/common/ |
H A D | getspent.c | 46 nis_str2spent(const char *instr, int lenstr, void *ent, char *buffer, argument 55 if ((p = memchr(instr, ':', lenstr)) == 0) { 58 if ((q = memchr(p + 1, ':', lenstr - (p + 1 - instr))) == 0) {
|
/osnet-11/usr/src/lib/libproject/common/ |
H A D | getprojent.c | 375 _str2project(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument 383 if (lenstr + 1 > buflen) 389 (void) memcpy(buffer, instr, lenstr); 390 buffer[lenstr] = '\0'; 456 uglist = (char **)ROUND_UP(buffer + lenstr + 1, sizeof (char *));
|
/osnet-11/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, 66 int lenstr, 75 if (lenstr >= buflen) 64 str2auuser_s( const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument
|
/osnet-11/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;
|
/osnet-11/usr/src/lib/libnisdb/ |
H A D | ldap_xdr.c | 92 char *lenstr, *tmp; local 131 if ((lenstr = strrchr(buf, '.')) == NULL) { 137 i = atoi(lenstr + 1); 138 strcpy(lenstr, domainname + i);
|
/osnet-11/usr/src/lib/libnsl/key/ |
H A D | publickey.c | 116 str2key(const char *instr, int lenstr, argument 118 if (lenstr + 1 > buflen) 123 (void) memcpy(buffer, instr, lenstr); 124 buffer[lenstr] = '\0';
|