/opensolaris-onvv-gate/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_send.c | 306 const u_char *buf, int buflen, u_char *ans, int anssiz) 325 (stdout, ";; res_send()\n"), buf, buflen); 326 v_circuit = (statp->options & RES_USEVC) || buflen > PACKETSZ; 435 act = (*statp->qhook)(&nsap, &buf, &buflen, 469 n = send_vc(statp, buf, buflen, ans, anssiz, &terrno, 478 n = send_dg(statp, buf, buflen, ans, anssiz, &terrno, 514 act = (*statp->rhook)(nsap, buf, buflen, 604 const u_char *buf, int buflen, u_char *ans, int anssiz, 689 ns_put16((u_short)buflen, (u_char*)&len); 692 iov[1] = evConsIovec(tmp, buflen); 305 res_nsend(res_state statp, const u_char *buf, int buflen, u_char *ans, int anssiz) argument 603 send_vc(res_state statp, const u_char *buf, int buflen, u_char *ans, int anssiz, int *terrno, int ns) argument 801 send_dg(res_state statp, const u_char *buf, int buflen, u_char *ans, int anssiz, int *terrno, int ns, int tries, int *v_circuit, int *gotsomewhere) argument [all...] |
/opensolaris-onvv-gate/usr/src/uts/common/os/ |
H A D | devcache.c | 355 nvp_cksum(uchar_t *buf, int64_t buflen) argument 361 if ((buflen & 0x01) != 0) { 362 buflen--; 363 cksum = buf[buflen]; 365 n = buflen / 2; 670 size_t buflen; local 676 err = nvlist_pack(nvl, &nvbuf, &buflen, NV_ENCODE_NATIVE, 0); 683 buf = kmem_alloc(sizeof (nvpf_hdr_t) + buflen, KM_SLEEP); 688 ((nvpf_hdr_t *)buf)->nvpf_size = buflen; 689 ((nvpf_hdr_t *)buf)->nvpf_chksum = nvp_cksum((uchar_t *)nvbuf, buflen); [all...] |
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/lib/ipmgmtd/ |
H A D | ipmgmt_persist.c | 206 ipmgmt_db_getprop(void *arg, nvlist_t *db_nvl, char *buf, size_t buflen, argument 243 ipmgmt_db_resetprop(void *arg, nvlist_t *db_nvl, char *buf, size_t buflen, argument 300 (void) memset(buf, 0, buflen); 301 if (ipadm_nvlist2str(db_nvl, buf, buflen) == 0) { 322 ipmgmt_db_getaddr(void *arg, nvlist_t *db_nvl, char *buf, size_t buflen, argument 482 ipmgmt_db_add(void *arg, nvlist_t *db_nvl, char *buf, size_t buflen, int *errp) argument 493 ipmgmt_db_update(void *arg, nvlist_t *db_nvl, char *buf, size_t buflen, argument 540 (void) memset(buf, 0, buflen); 541 if (ipadm_nvlist2str(db_nvl, buf, buflen) == 0) { 556 ipmgmt_db_getif(void *arg, nvlist_t *db_nvl, char *buf, size_t buflen, argument 611 ipmgmt_db_resetif(void *arg, nvlist_t *db_nvl, char *buf, size_t buflen, int *errp) argument 706 ipmgmt_db_resetaddr(void *arg, nvlist_t *db_nvl, char *buf, size_t buflen, int *errp) argument 728 ipmgmt_db_initif(void *arg, nvlist_t *db_nvl, char *buf, size_t buflen, int *errp) argument 1105 ipmgmt_aobjmap_init(void *arg, nvlist_t *db_nvl, char *buf, size_t buflen, int *errp) argument 1164 ipmgmt_update_aobjmap(void *arg, nvlist_t *db_nvl, char *buf, size_t buflen, int *errp) argument 1203 ipmgmt_delete_aobjmap(void *arg, nvlist_t *db_nvl, char *buf, size_t buflen, int *errp) argument 1265 ipmgmt_db_upgrade(void *arg, nvlist_t *db_nvl, char *buf, size_t buflen, int *errp) argument 1346 ipmgmt_db_init(void *cbarg, nvlist_t *db_nvl, char *buf, size_t buflen, int *errp) argument [all...] |
/opensolaris-onvv-gate/usr/src/cmd/audio/include/ |
H A D | AudioBuffer.h | 44 Double buflen; // buffer size, in seconds member in class:AudioBuffer
|
/opensolaris-onvv-gate/usr/src/cmd/hal/utils/ |
H A D | cdutils.h | 58 boolean_t read_toc(int fd, int format, int trackno, int buflen,
|
/opensolaris-onvv-gate/usr/src/cmd/zoneadmd/ |
H A D | zoneadmd.h | 77 size_t buflen; /* total len of 'buf' */ member in struct:zlog
|
/opensolaris-onvv-gate/usr/src/head/ |
H A D | xti.h | 455 #define _T_NEXTHDR(pbuf, buflen, popt) \ 457 _T_OPTHDR_SZ <= ((char *)(pbuf) + (buflen))) ? \ 469 * struct t_opthdr *OPT_NEXTHDR(char *pbuf, unsigned int buflen, 475 #define OPT_NEXTHDR(pbuf, buflen, popt) (_T_NEXTHDR((pbuf), (buflen), (popt)))
|
/opensolaris-onvv-gate/usr/src/lib/libdns_sd/common/ |
H A D | dnssd_clientlib.c | 194 uint16_t buflen; // Length of buffer member in struct:_TXTRecordRefRealType 216 txtRec->buflen = buffer ? bufferLen : (uint16_t)0; 243 if (txtRec->datalen + keyvalsize > txtRec->buflen) 253 txtRec->buflen = (uint16_t)(newlen);
|
/opensolaris-onvv-gate/usr/src/lib/libldap5/include/ldap/ |
H A D | srchpref.h | 129 ldap_init_searchprefs_buf( char *buf, long buflen,
|
/opensolaris-onvv-gate/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);
|
/opensolaris-onvv-gate/usr/src/lib/librcm/ |
H A D | librcm.c | 678 uint_t buflen; local 687 (uchar_t **)&buf, &buflen)) 690 if (errno = nvlist_unpack(buf, buflen, &nvl, 0)) { 1281 uint_t buflen; local 1287 buflen = 0; 1298 &buflen)) { 1304 if (errno = nvlist_unpack(buf, buflen, &(tmp->info), 0)) { 1335 size_t buflen = 0; local 1402 if (errno = nvlist_pack(arg, &buf, &buflen, NV_ENCODE_NATIVE, 1410 buflen) ! 1470 size_t buflen = 0; local [all...] |
/opensolaris-onvv-gate/usr/src/lib/libtsnet/common/ |
H A D | tsol_getrhent.c | 173 int buflen) 181 if ((instr >= buffer && (buffer + buflen) > instr) || 184 if (lenstr >= buflen) 186 (void) strncpy(buffer, instr, buflen); 172 str_to_rhstr(const char *instr, int lenstr, void *entp, char *buffer, int buflen) argument
|
/opensolaris-onvv-gate/usr/src/lib/nsswitch/mdns/common/ |
H A D | mdns_common.h | 79 int buflen; member in struct:mdns_querydata
|
/opensolaris-onvv-gate/usr/src/lib/nsswitch/user/common/ |
H A D | user_common.h | 88 int buflen);
|
/opensolaris-onvv-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelEmulate.h | 65 CK_RV emulate_buf_init(kernel_session_t *session_p, int buflen, int opflag);
|
/opensolaris-onvv-gate/usr/src/lib/print/libpapi-lpd/common/ |
H A D | job.c | 170 void *buffer, size_t buflen) 176 (buflen == 0)) 179 if (write(s->fd, buffer, buflen) != buflen) 169 papiJobStreamWrite(papi_service_t handle, papi_stream_t stream, void *buffer, size_t buflen) argument
|
/opensolaris-onvv-gate/usr/src/lib/print/libprint/common/ |
H A D | nss_write.c | 58 freadline(FILE *fp, char *buf, int buflen) argument 62 while (fgets(s, buflen, fp)) { 71 buflen -= strlen(s); 77 buflen -= 2;
|
/opensolaris-onvv-gate/usr/src/psm/promif/ieee1275/common/ |
H A D | prom_prop.c | 336 prom_decode_composite_string(void *buf, size_t buflen, char *prev) argument 338 if ((buf == 0) || (buflen == 0) || ((int)buflen == -1)) 345 if (prev >= ((char *)buf + buflen))
|
/opensolaris-onvv-gate/usr/src/uts/common/rpc/ |
H A D | auth.h | 288 #define AUTH_WRAP(auth, buf, buflen, xdrs, xfunc, xwhere) \ 289 ((*((auth)->ah_ops->ah_wrap))(auth, buf, buflen, \ 291 #define auth_wrap(auth, buf, buflen, xdrs, xfunc, xwhere) \ 292 ((*((auth)->ah_ops->ah_wrap))(auth, buf, buflen, \
|
/opensolaris-onvv-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_string.c | 747 mdb_inet_ntop(int af, const void *addr, char *buf, size_t buflen) argument 756 ASSERT(buflen >= INET_ADDRSTRLEN); 758 (void) mdb_snprintf(buf, buflen, "%d.%d.%d.%d", 763 ASSERT(buflen >= INET6_ADDRSTRLEN); 767 (void) mdb_snprintf(buf, buflen, "::ffff:%d.%d.%d.%d", 772 (void) mdb_snprintf(buf, buflen, "::%d.%d.%d.%d", 776 (void) mdb_snprintf(buf, buflen, "::");
|
/opensolaris-onvv-gate/usr/src/lib/libresolv/ |
H A D | res_gethost.c | 90 int type, class, buflen, ancount, qdcount; local 102 buflen = sizeof (hostbuf); 107 cp, bp, buflen)) < 0) { 115 buflen -= n; 136 cp, bp, buflen)) < 0) 152 buflen -= n; 157 cp, bp, buflen)) < 0) {
|
/opensolaris-onvv-gate/usr/src/cmd/cdrw/ |
H A D | mmc.c | 175 read_toc(int fd, int format, int trackno, int buflen, uchar_t *buf) argument 185 scmd->uscsi_cdb[8] = buflen & 0xff; 186 scmd->uscsi_cdb[7] = (buflen >> 8) & 0xff; 189 scmd->uscsi_buflen = buflen; 194 if ((format == 0) && (buflen == 4) && (buf[0] == 0) && (buf[1] == 2)) { 901 size_t buflen; local 915 buflen = read_scsi32(bufp) + 4; 917 bufp = (uchar_t *)my_zalloc(buflen); 922 if (get_configuration(fd, MMC_FTR_PRFL_LIST, buflen, bufp)) { 936 i < buflen; [all...] |
/opensolaris-onvv-gate/usr/src/lib/libkmf/libkmf/common/ |
H A D | client.c | 221 int buflen = 0; local 264 if ((buflen - offset) < buf_incre) { 265 buflen += buf_incre; 266 buf = realloc(buf, buflen + 1); 308 } while ((!headerEnd) && (EOS == B_FALSE) && (buflen < maxBufSize)); 416 buflen = (1 + (offset-1) / buf_incre) * buf_incre; 420 (buflen < maxBufSize)) { 422 if ((buflen - offset) < buf_incre) { 423 buflen += buf_incre; 424 buf = realloc(buf, buflen [all...] |
/opensolaris-onvv-gate/usr/src/lib/nsswitch/ldap/common/ |
H A D | getexecattr.c | 121 int buflen = (int)0; local 129 buflen = (size_t)argp->buf.buflen; 130 (void) memset(argp->buf.buffer, 0, buflen); 132 ceiling = buffer + buflen; 279 (void) memset(argp->buf.buffer, 0, argp->buf.buflen); 330 if (len > argp->buf.buflen) { 348 be->buflen = strlen(buffer); 500 be->buflen, 503 argp->buf.buflen); [all...] |
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | auth.c | 332 radix_encode(uchar_t *inbuf, uchar_t *outbuf, size_t buflen, argument 341 inbuf[i] && inbuf[i] != radix_pad && (j < buflen); 362 if (j == buflen && (inbuf[i] && inbuf[i] != radix_pad)) { 379 for (i = j = 0; i < *outlen && j < buflen; i++) 394 if (j == buflen && i < *outlen) {
|