Searched defs:buflen (Results 1 - 25 of 510) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetentropy.c24 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 Dctime_r.c94 ctime_r(const time_t *t, char *buffer, int buflen) argument
101 if (asctime_r(&res, buffer, buflen) == NULL)
H A Dstrerror.c64 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 Dcksumtype_to_string.c32 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 Denctype_to_string.c36 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 Dprom_vername.c33 * 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 Dprom_getunum.c40 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 Dgetcwd.c40 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 Dsmb_ctxbuf.c54 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 Dwbio.c35 * 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 Dgethostby_door.c43 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 Dgetipnodeby_door.c44 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 Dcompat.c47 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 Dscheme.c33 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 Dscheme.c29 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 DAudioBuffer.h44 Double buflen; // buffer size, in seconds member in class:AudioBuffer
/illumos-gate/usr/src/uts/common/rpc/sec/
H A Dsec_gen.c49 authany_wrap(AUTH *auth, caddr_t buf, u_int buflen, argument
/illumos-gate/usr/src/lib/nsswitch/nis/common/
H A Dgetnetent.c40 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 Dgetservbyname_r.c60 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 Dgetservent_r.c80 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 Dmdb_stdlib.c43 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 Dscheme.c31 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 Dscheme.c31 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 Dscheme.c44 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 Dprom_key.c41 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...]

Completed in 4961 milliseconds

1234567891011>>