/osnet-11/usr/src/lib/gss_mechs/mech_krb5/crypto/ |
H A D | cksumtype_to_string.c | 31 krb5_cksumtype_to_string(krb5_cksumtype cksumtype, char *buffer, size_t buflen) argument 37 if ((strlen(krb5int_cksumtypes_list[i].out_string)+1) > buflen)
|
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | ctime_r.c | 94 ctime_r(const time_t *t, char *buffer, int buflen) argument 101 if (asctime_r(&res, buffer, buflen) == NULL)
|
H A D | strerror.c | 56 strerror_r(int errnum, char *strerrbuf, size_t buflen) argument 72 if (buflen < (strlen(buf) + 1)) {
|
H A D | ctime.c | 153 asctime_r(const struct tm *t, char *cbuf, int buflen) argument 155 if (buflen < CBUFSIZ) {
|
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | compat.c | 47 char *buffer, int buflen, int *h_errnop ) 51 if ( buflen < sizeof(struct hostent_data)) { /* sanity check */ 67 nsldapi_compat_ctime_r( const time_t *clock, char *buf, int buflen ) 69 NSLDAPI_CTIME1( clock, buf, buflen ); 46 nsldapi_compat_gethostbyname_r( const char *name, struct hostent *result, char *buffer, int buflen, int *h_errnop ) argument
|
/osnet-11/usr/src/lib/libnsl/nss/ |
H A D | gethostby_door.c | 43 int buflen, int *h_errnop) 46 result, buffer, buflen, h_errnop)); 51 struct hostent *result, char *buffer, int buflen, int *h_errnop) 54 length, type, result, buffer, buflen, h_errnop)); 42 _door_gethostbyname_r(const char *name, struct hostent *result, char *buffer, int buflen, int *h_errnop) argument 50 _door_gethostbyaddr_r(const char *addr, int length, int type, struct hostent *result, char *buffer, int buflen, int *h_errnop) argument
|
H A D | getipnodeby_door.c | 44 int buflen, int af_family, int flags, int *h_errnop) 47 result, buffer, buflen, af_family, flags, h_errnop)); 52 struct hostent *result, char *buffer, int buflen, int *h_errnop) 55 length, type, result, buffer, buflen, h_errnop)); 43 _door_getipnodebyname_r(const char *name, struct hostent *result, char *buffer, int buflen, int af_family, int flags, int *h_errnop) argument 51 _door_getipnodebyaddr_r(const char *addr, int length, int type, struct hostent *result, char *buffer, int buflen, int *h_errnop) argument
|
H A D | gethostbyname_r.c | 70 int buflen, int *h_errnop); 74 struct hostent *result, char *buffer, int buflen, int *h_errnop); 79 char *buffer, int buflen, int *h_errnop) 82 buffer, buflen, h_errnop)); 87 struct hostent *result, char *buffer, int buflen, int *h_errnop) 90 result, buffer, buflen, h_errnop)); 97 int buflen, int *h_errnop); 101 struct hostent *result, char *buffer, int buflen, int *h_errnop); 105 int buflen, int *h_errnop) 129 nssin.arg.nss.host.buflen 78 _uncached_gethostbyname_r(const char *nam, struct hostent *result, char *buffer, int buflen, int *h_errnop) argument 86 _uncached_gethostbyaddr_r(const char *addr, int length, int type, struct hostent *result, char *buffer, int buflen, int *h_errnop) argument 104 gethostbyname_r(const char *nam, struct hostent *result, char *buffer, int buflen, int *h_errnop) argument 147 gethostbyaddr_r(const char *addr, int length, int type, struct hostent *result, char *buffer, int buflen, int *h_errnop) argument [all...] |
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)); 87 __gethostent6(struct hostent *result, char *buffer, int buflen, int *h_errnop) argument 92 NSS_XbyY_INIT(&arg, result, buffer, buflen, str2hostent6);
|
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)); 91 gethostent_r(struct hostent *result, char *buffer, int buflen, int *h_errnop) argument 96 NSS_XbyY_INIT(&arg, result, buffer, buflen, str2hostent);
|
/osnet-11/usr/src/lib/libwanbootutil/common/ |
H A D | wbio.c | 35 * Write `buflen' bytes from `buffer' to the file represented by `fd'. 36 * Returns -1 if all `buflen' bytes cannot be written, otherwise returns 0. 39 wbio_nwrite(int fd, const void *buffer, size_t buflen) argument 45 for (nwritten = 0; nwritten < buflen; nwritten += nbytes) { 46 nbytes = write(fd, &buf[nwritten], buflen - nwritten); 55 * Read `buflen' bytes into `buffer' from the file represented by `fd'. 56 * Returns -1 if all `buflen' bytes cannot be read, otherwise returns 0. 59 wbio_nread(int fd, void *buffer, size_t buflen) argument 65 for (nread = 0; nread < buflen; nread += nbytes) { 66 nbytes = read(fd, &buf[nread], buflen 79 wbio_nread_rand(void *buffer, size_t buflen) argument [all...] |
/osnet-11/usr/src/lib/libsocket/inet/ |
H A D | getservbyname_r.c | 60 char *buffer, int buflen) 75 nssin.arg.nss.serv.buflen = buflen; 94 char *buffer, int buflen) 109 nssin.arg.nss.serv.buflen = buflen; 59 getservbyname_r(const char *name, const char *proto, struct servent *result, char *buffer, int buflen) argument 93 getservbyport_r(int port, const char *proto, struct servent *result, char *buffer, int buflen) argument
|
H A D | getservent_r.c | 80 getservent_r(struct servent *result, char *buffer, int buflen) argument 85 NSS_XbyY_INIT(&arg, result, buffer, buflen, str2servent);
|
/osnet-11/usr/src/lib/libuvfs/common/ |
H A D | dir.c | 47 libuvfs_add_direntry(void *data_buf, size_t buflen, const char *name, argument 66 if (((char *)*cookie + reclen) > ((char *)data_buf + buflen))
|
/osnet-11/usr/src/lib/nsswitch/nis/common/ |
H A D | getnetent.c | 40 static int nettoa(int anet, char *buf, int buflen, char **pnull); 105 nettoa(int anet, char *buf, int buflen, char **pnull) argument 117 (void) strncpy(buf, inet_ntoa(in), buflen);
|
/osnet-11/usr/src/lib/libresolv2/common/isc/ |
H A D | hex.c | 85 isc_puthexstring(FILE *fp, const unsigned char *buf, size_t buflen, argument 94 while (buflen > 0U) { 98 buflen--; 109 isc_tohex(const unsigned char *buf, size_t buflen, char *t) { argument 110 while (buflen > 0U) { 114 buflen--;
|
/osnet-11/usr/src/lib/libsmb/common/ |
H A D | smb_door_encdec.c | 137 smb_string_decode(smb_string_t *obj, char *buf, size_t buflen) argument 142 xdrmem_create(&xdrs, (const caddr_t)buf, buflen, XDR_DECODE); 158 lsa_account_encode(lsa_account_t *acct, uint8_t *buf, uint32_t buflen) argument 163 xdrmem_create(&xdrs, (const caddr_t)buf, buflen, XDR_ENCODE); 176 lsa_account_decode(lsa_account_t *acct, uint8_t *buf, uint32_t buflen) argument 181 xdrmem_create(&xdrs, (const caddr_t)buf, buflen, XDR_DECODE);
|
/osnet-11/usr/src/lib/efcode/packages/ |
H A D | memalloc.c | 80 int buflen; local 89 buflen = POP(DS); 93 debug_msg(DEBUG_FIND_FCODE, "package_to_path buf %p buflen %d " 94 "handle %s\n", buf, buflen, p); 95 (void) strncpy(buf, p, buflen);
|
/osnet-11/usr/src/lib/libc/port/stdio/ |
H A D | fwrite.c | 88 ssize_t buflen = bufend - iop->_base; local 89 if (--iop->_cnt >= (-buflen) && *dptr != '\n')
|
/osnet-11/usr/src/lib/nsswitch/ad/common/ |
H A D | getspent.c | 33 int buflen; local 46 buflen = snprintf(NULL, 0, "%s@%s:*NP*:::::::", name, domain) + 1; 49 buffer = be->buffer = malloc(buflen); 52 be->buflen = buflen; 54 if (buflen > argp->buf.buflen) 56 buflen = argp->buf.buflen; 60 buflen [all...] |
/osnet-11/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelEmulate.c | 66 * buflen indicates the size of the scratch buffer to be allocated. 69 emulate_buf_init(kernel_session_t *session_p, int buflen, int opflag) argument 85 if (buflen > bufp->buf_len) { 97 bufp->buf = malloc(buflen); 103 bufp->buf_len = buflen;
|
/osnet-11/usr/src/lib/libproc/common/ |
H A D | Pexecname.c | 258 Pexecname(struct ps_prochandle *P, char *buf, size_t buflen) argument 261 (void) strncpy(buf, P->execname, buflen); 277 if ((ret = readlink(exec_name, buf, buflen - 1)) > 0) { 279 (void) Pfindobj(P, buf, buf, buflen);
|
/osnet-11/usr/src/lib/libresolv2/common/nameser/ |
H A D | ns_ttl.c | 43 static int fmt1(int t, char s, char **buf, size_t *buflen); 149 fmt1(int t, char s, char **buf, size_t *buflen) { argument 154 if (len + 1 > *buflen) 158 *buflen -= len;
|
/osnet-11/usr/src/lib/libslp/clib/ |
H A D | slp_config.c | 98 size_t buflen = 512; local 111 if (!(buf = malloc(buflen))) { 122 err = super_fgets(&buf, &buflen, fp);
|
/osnet-11/usr/src/lib/libsmbfs/common/ |
H A D | smbfs_door.c | 51 size_t buflen; local 55 if ((err = smbfs_door_encode(SMBIOD_START, NULL, &buf, &buflen)) != 0) 62 if ((err = smbfs_door_call(buf, buflen, &da)) != 0) { 79 size_t buflen; local 87 &buf, &buflen)) != 0) 94 if ((err = smbfs_door_call(buf, buflen, &da)) != 0) { 112 size_t buflen; local 121 if ((err = smbfs_door_encode(cmd, pwdinfo, &buf, &buflen)) != 0) 128 if ((err = smbfs_door_call(buf, buflen, &da)) != 0) { 146 smbfs_door_decode(char *buf, size_t buflen, in argument 189 smbfs_door_encode(int cmd, smbfs_passwd_t *pwdinfo, char **buf, size_t *buflen) argument 228 smbfs_door_call(char *buf, size_t buflen, door_arg_t *da) argument [all...] |