/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | getentropy.c | 24 getentropy(void *buf, size_t buflen) argument 28 if (buflen > 256) { 33 ret = getrandom(buf, buflen, 0); 34 if (ret == -1 || ret != buflen) {
|
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 | 64 strerror_r(int errnum, char *strerrbuf, size_t buflen) argument 80 if (buflen < (strlen(buf) + 1)) {
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/ |
H A D | cksumtype_to_string.c | 32 krb5_cksumtype_to_string(krb5_cksumtype cksumtype, char *buffer, size_t buflen) argument 38 if ((strlen(krb5_cksumtypes_list[i].out_string)+1) > buflen)
|
H A D | enctype_to_string.c | 36 krb5_enctype_to_string(krb5_enctype enctype, char *buffer, size_t buflen) argument 42 if ((strlen(krb5_enctypes_list[i].out_string)+1) > buflen) 55 krb5_enctype_to_istring(krb5_enctype enctype, char *buffer, size_t buflen) argument 61 if ((strlen(krb5_enctypes_list[i].in_string)+1) > buflen) 64 strlcpy(buffer, krb5_enctypes_list[i].in_string, buflen);
|
/illumos-gate/usr/src/psm/promif/ieee1275/sun4/ |
H A D | prom_vername.c | 33 * Return a character string in buf,buflen representing the running 38 * Copy at most buflen bytes into the caller's buffer, always providing 42 * buf copying at most buflen bytes. Returns -1 if an internal error occurs. 46 prom_version_name(char *buf, int buflen) argument 52 *buf = *(buf + buflen - 1) = (char)0; /* Force NULL termination */ 65 proplen = prom_bounded_getprop(nodeid, "version", buf, buflen - 1); 67 (void) prom_strncpy(buf, unknown, buflen - 1);
|
H A D | prom_getunum.c | 40 uint_t buflen, int *ustrlen) 55 ci[5] = p1275_uint2cell(buflen); /* Arg3: buflen */ 39 prom_get_unum(int syn_code, unsigned long long physaddr, char *buf, uint_t buflen, int *ustrlen) argument
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | getcwd.c | 40 getcwd(char *buf, size_t buflen) argument 52 kbuflen = MIN(buflen, MAXPATHLEN); 68 if (kbuflen == buflen) { 72 kbuflen = MIN(kbuflen * 2, buflen);
|
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_ctxbuf.c | 54 smb_ctxbuf_init(smb_ctxbuf_t *ctx, unsigned char *buf, size_t buflen) argument 56 if (ctx == 0 || buf == 0 || buflen == 0) 63 ctx->endp = &buf[buflen];
|
/illumos-gate/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...] |
/illumos-gate/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
|
/illumos-gate/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
|
/illumos-gate/usr/src/cmd/fm/schemes/fmd/ |
H A D | scheme.c | 33 fmd_fmri_nvl2str(nvlist_t *nvl, char *buf, size_t buflen) argument 40 return (snprintf(buf, buflen,
|
/illumos-gate/usr/src/cmd/fm/schemes/legacy-hc/ |
H A D | scheme.c | 29 fmd_fmri_nvl2str(nvlist_t *nvl, char *buf, size_t buflen) argument 41 size = snprintf(buf, buflen, "legacy-hc:///component=%s", c);
|
/illumos-gate/usr/src/cmd/audio/include/ |
H A D | AudioBuffer.h | 44 Double buflen; // buffer size, in seconds member in class:AudioBuffer
|
/illumos-gate/usr/src/uts/common/rpc/sec/ |
H A D | sec_gen.c | 49 authany_wrap(AUTH *auth, caddr_t buf, u_int buflen, argument
|
/illumos-gate/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);
|
/illumos-gate/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);
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_stdlib.c | 43 fptos(const char *p, char *buf, size_t buflen, int decpt, int sign, char expchr) argument 54 (void) strncpy(q, p, buflen); 55 buf[buflen - 1] = '\0';
|
/illumos-gate/usr/src/cmd/fm/schemes/mod/ |
H A D | scheme.c | 31 fmd_fmri_nvl2str(nvlist_t *nvl, char *buf, size_t buflen) argument 47 len = snprintf(buf, buflen, "%s", str);
|
/illumos-gate/usr/src/cmd/fm/schemes/pkg/ |
H A D | scheme.c | 31 fmd_fmri_nvl2str(nvlist_t *nvl, char *buf, size_t buflen) argument 47 len = snprintf(buf, buflen, "%s", str);
|
/illumos-gate/usr/src/cmd/fm/schemes/sw/ |
H A D | scheme.c | 44 fmd_fmri_nvl2str(nvlist_t *nvl, char *buf, size_t buflen) argument 60 len = snprintf(buf, buflen, "%s", str);
|
/illumos-gate/usr/src/psm/promif/ieee1275/common/ |
H A D | prom_key.c | 41 prom_set_security_key(char *keyname, caddr_t buf, int buflen, int *reslen, argument 65 if (buflen > 0 && ((uintptr_t)buf > (uint32_t)-1)) { 67 buf = promplat_alloc(buflen); 72 promplat_bcopy(obuf, buf, buflen); 95 ci[5] = p1275_uint2cell(buflen); 105 promplat_free(buf, buflen); 123 prom_get_security_key(char *keyname, caddr_t buf, int buflen, int *keylen, argument 144 buf = promplat_alloc(buflen); 171 ci[5] = p1275_uint2cell(buflen); 181 promplat_bcopy(buf, obuf, buflen); [all...] |