/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | bld_pr_ext.c | 37 unsigned int rlen, const char * realm, ...) 68 tmpdata = malloc(rlen+1); 74 krb5_princ_set_realm_length(context, princ_ret, rlen); 76 memcpy(tmpdata, realm, rlen); 77 tmpdata[rlen] = 0; 36 krb5_build_principal_ext(krb5_context context, krb5_principal * princ, unsigned int rlen, const char * realm, ...) argument
|
H A D | bld_princ.c | 36 krb5_build_principal_va(krb5_context context, krb5_principal princ, unsigned int rlen, const char *realm, va_list ap) argument 50 krb5_princ_set_realm_length(context, princ, rlen); 51 tmpdata = malloc(rlen); 57 memcpy(tmpdata, realm, rlen); 95 unsigned int rlen, 106 retval = krb5_build_principal_va(context, pr_ret, rlen, realm, ap); 94 krb5_build_principal(krb5_context context, krb5_principal * princ, unsigned int rlen, const char * realm, ...) argument
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | proc_stdio.c | 110 int rlen, alen; local 115 rlen = (len > sizeof (buffer)) ? sizeof (buffer) : len; 116 alen = read(fileno(in), buffer, rlen); 117 if (alen == rlen) {
|
/illumos-gate/usr/src/cmd/sendmail/db/mp/ |
H A D | mp_region.c | 213 size_t rlen; local 235 rlen = cachesize + cachesize / 4; 252 dbmp->reginfo.size = rlen; 288 __db_shalloc_init(dbmp->addr, rlen - sizeof(MPOOL));
|
/illumos-gate/usr/src/psm/promif/ieee1275/common/ |
H A D | prom_io.c | 147 ssize_t rlen; local 162 rlen = promif_redirect(promif_redirect_arg, (uchar_t *)buf, 165 return (rlen); 227 rlen = p1275_cell2size(ci[6]); /* Res1: actual len */ 237 return (rlen);
|
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | crypt.c | 226 int fd, rlen; local 232 rlen = read(fd, data, dlen); 235 if (rlen < 0) 237 if (rlen < dlen)
|
H A D | rap.c | 57 smb_rap_parserqparam(const char *s, char **next, int *rlen) argument 87 *rlen = len; 93 smb_rap_parserpparam(const char *s, char **next, int *rlen) argument 116 *rlen = len; 122 smb_rap_parserpdata(const char *s, char **next, int *rlen) argument 146 *rlen = len;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/bridged/ |
H A D | door.c | 94 size_t rlen; local 100 rlen = sizeof (twoints); 102 rlen = sizeof (int) + nextport * sizeof (datalink_id_t); 103 rbuf = alloca(rlen); 110 rlen = sizeof (int) + nports * sizeof (datalink_id_t); 113 (void) door_return((char *)rbuf, rlen, NULL, 0);
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | ecppsys.h | 68 int rlen; /* actual length of device id string */ member in struct:ecpp_device_id 82 int rlen; /* actual length of device id string */ member in struct:ecpp_device_id32
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | srchpref.c | 69 long rlen, len; local 93 rlen = fread( buf, 1, (size_t)len, fp ); 97 if ( rlen != len && !eof ) { /* error: didn't get the whole file */ 102 rc = ldap_init_searchprefs_buf( buf, rlen, solistp );
|
H A D | getfilter.c | 59 ssize_t rlen, len; local 84 rlen = fread( buf, 1, (size_t)len, fp ); 88 if ( rlen != len && !eof ) { /* error: didn't get the whole file */ 94 lfdp = ldap_init_getfilter_buf( buf, rlen );
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/ |
H A D | deflate.c | 234 int rlen, olen, ospace; local 261 rlen = state->strm.avail_in + PPP_HDRLEN + DEFLATE_OVHD; 289 state->stats.comp_bytes += rlen; 306 int rlen, proto, r; local 322 rlen = mi + mlen - rptr; 324 state->strm.avail_in = rlen; 340 ++rlen; 341 rlen += 2; 342 state->stats.inc_bytes += rlen; 344 state->stats.unc_bytes += rlen; [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | 6to4relay.c | 106 int rlen; local 147 rlen = write(rtsock, &rt_msg, rt_msg.rt_hdr.rtm_msglen); 148 if (rlen < rt_msg.rt_hdr.rtm_msglen) { 149 if (rlen < 0) { 155 "routing socket got only %d for rlen\n"), rlen);
|
/illumos-gate/usr/src/cmd/fs.d/smbclnt/test/ |
H A D | srvenum.c | 340 int err, len, rlen, wlen; local 388 rlen = smb_fh_read(fid, 0, 390 if (rlen == -1) { 397 printf("enum recv, len=%d\n", rlen); 398 hexdump(recvbuf, rlen);
|
H A D | srvinfo.c | 309 int err, len, rlen, wlen, x; local 356 rlen = smb_fh_read(fid, 0, 358 if (rlen == -1) { 365 printf("info recv, len=%d\n", rlen); 366 hexdump(recvbuf, rlen);
|
/illumos-gate/usr/src/cmd/ldap/common/ |
H A D | fileurl.c | 362 long rlen; local 399 rlen = fread( bvp->bv_val, 1, bvp->bv_len, fp ); 403 if ( rlen != (long)bvp->bv_len ) {
|
/illumos-gate/usr/src/uts/sun4u/starfire/io/ |
H A D | memctrl.c | 90 int rlen; local 94 rlen = prom_getproplen(nodeid, "reg"); 95 if (rlen != sizeof (struct sf_memunit_regspec)) 110 int rlen; local 114 rlen = prom_getproplen(nodeid, "reg"); 115 if (rlen != sizeof (struct sf_memunit_regspec)) 132 int i, rlen; local 135 rlen = prom_getproplen(nodeid, "reg"); 136 if (rlen != sizeof (struct sf_memunit_regspec)) 164 int i, rlen; local [all...] |
/illumos-gate/usr/src/uts/sun4u/io/i2c/misc/ |
H A D | i2c_svc.c | 170 * with read and write buffers of size rlen and wlen respectively. 175 * rlen - read size buffer to allocate. May be 0. 183 ushort_t rlen, 204 size = sizeof (i2c_transfer_alloc_t) + rlen + wlen; 213 i2cw->i2cw_i2ct.i2c_rlen = rlen; 218 if (rlen != 0) { 180 i2c_transfer_alloc(i2c_client_hdl_t hdl, i2c_transfer_t **i2c, ushort_t wlen, ushort_t rlen, uint_t flags) argument
|
/illumos-gate/usr/src/uts/sun/io/dada/impl/ |
H A D | dcd_resource.c | 66 size_t rlen; local 81 0, NULL, &bp->b_un.b_addr, &rlen, NULL) != DDI_SUCCESS) {
|
/illumos-gate/usr/src/boot/sys/boot/uboot/lib/ |
H A D | net.c | 280 int err, rlen; local 287 err = ub_dev_recv(sc->sc_handle, sc->sc_rxbuf, len, &rlen); 292 rlen = 0; 295 } while ((rlen == -1 || rlen == 0) && (getsecs() - t < timeout)); 298 printf("net_get: received len %d (%x)\n", rlen, rlen); 301 if (rlen > 0) { 302 memcpy(pkt, sc->sc_rxbuf, MIN(len, rlen)); 303 if (rlen ! [all...] |
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | vfpops.c | 295 ssize_t rlen; local 321 rlen = read(fileno(fp), vfp->_vfpStart, 323 if (rlen != statbuf.st_size) {
|
/illumos-gate/usr/src/lib/librcm/ |
H A D | librcm_event.c | 85 void **result, size_t *rlen) 122 *rlen = 0; 84 get_event_service(char *door_name, void *data, size_t datalen, void **result, size_t *rlen) argument
|
/illumos-gate/usr/src/cmd/sendmail/libmilter/ |
H A D | smfi.c | 649 size_t rlen; local 683 rlen = len; 695 len += tl + 2 + rlen;
|
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | routing_events.c | 390 int rlen, index; local 418 if ((rlen = write(af == AF_INET ? v4_sock : v6_sock, 422 } else if (rlen < rtm->rtm_msglen) { 425 rlen, rtm->rtm_msglen);
|
/illumos-gate/usr/src/cmd/ldmad/ |
H A D | ldma_system.c | 82 size_t rlen; local 105 rlen = syslen + nodlen + rellen + verlen + maclen; 107 reply = ldma_alloc_result_msg(request, rlen); 114 reply->msg_info = rlen; 132 LDMA_DBG("GET_SYSINFO: return info=%u, {%s, %s, %s, %s, %s}", rlen, 137 *reply_dlenp = rlen; 258 size_t rlen; local 276 rlen = strlen(str) + 1; 278 reply = ldma_alloc_result_msg(request, rlen); 285 reply->msg_info = rlen; [all...] |