Searched defs:rlen (Results 51 - 75 of 118) sorted by relevance

12345

/illumos-gate/usr/src/lib/efcode/engine/
H A Dfcode.c826 int len, llen, rlen; local
846 rlen = lstr + llen - rstr;
849 rlen = 0;
853 PUSH(DS, rlen);
/illumos-gate/usr/src/lib/libsip/common/
H A Dsip_dialog.c317 int rcnt, int rlen)
338 dialog->sip_dlg_rset.sip_str_len = rlen + rcnt - 1;
339 dialog->sip_dlg_rset.sip_str_ptr = malloc(rlen + rcnt);
343 rspl = rlen + rcnt;
345 rset_len = rlen;
360 rset_len = rlen - strlen(route->sip_dlg_route) + strlen(uri) +
316 sip_dialog_set_route_hdr(_sip_dialog_t *dialog, sip_dlg_route_set_t *rset_head, int rcnt, int rlen) argument
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Ddigest_md5.c76 int rlen, nlen, clen, qlen, ulen, resplen, dlen; member in struct:__anon3486
211 digest_hash_pass(const char *user, int ulen, const char *realm, int rlen, argument
225 if (rlen == 0) rlen = strlen(realm);
227 MD5Update(&ctx, (CONST_UCHAR *) realm, rlen);
229 MD5_UTF8_8859_1(&ctx, (CONST_UCHAR *) realm, rlen);
361 attr->realm == NULL || attr->rlen == 0 ||
391 len = prefixsize + attr->ulen + attr->rlen + attr->nlen + attr->nclen;
412 attr->rlen, attr->realm, attr->nlen, attr->nonce,
565 attr_out->rlen
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dtables.c2227 int rlen; local
2247 rlen = write(rtsock, rt_msg, rt_msg->rtm_msglen);
2248 if (rlen < 0) {
2253 } else if (rlen < rt_msg->rtm_msglen) {
2255 "only %d for rlen (interface %s)\n", rlen, pi->pi_name);
2271 int rlen; local
2291 rlen = write(rtsock, rt_msg, rt_msg->rtm_msglen);
2292 if (rlen < 0) {
2296 } else if (rlen < rt_ms
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wpad/
H A Dwpa.c803 int rlen; local
823 rlen = sizeof (*ethhdr) + sizeof (*hdr) + sizeof (*reply);
824 rbuf = malloc(rlen);
828 (void) memset(rbuf, 0, rlen);
859 rlen - sizeof (*ethhdr), reply->key_mic);
864 error, pairwise, wpa_s->ptk_set, rlen);
865 wpa_hexdump(MSG_MSGDUMP, "WPA: TX EAPOL-Key Request", rbuf, rlen);
866 (void) l2_packet_send(wpa_s->l2, rbuf, rlen);
874 int rlen; local
934 rlen
1107 int rlen; local
1300 int rlen; local
[all...]
/illumos-gate/usr/src/cmd/ldapcachemgr/
H A Dcachemgr.c1599 const int rlen = offsetof(ldap_admin_mod_result_t, msg); local
1601 const int msgmax = MAXERROR - rlen;
1797 config_info->len = rlen + mlen + 1;
1808 (void) strcpy(config_info->str + rlen, buffer);
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_asconf.c379 ssize_t rlen; local
398 rlen = ntohs(ch->sch_len) - sizeof (*ch) - sizeof (*idp);
400 if (rlen < 0 || rlen < sizeof (*idp)) {
433 if (rlen <= ntohs(ph->sph_len)) {
444 rlen -= ntohs(ph->sph_len);
455 ssize_t orlen = rlen;
509 while (rlen > 0 && cont) {
513 if (rlen < sizeof (*ph))
516 if (plen < sizeof (*ph) || plen > rlen) {
597 sctp_lookup_asconf_param(sctp_parm_hdr_t *ph, uint32_t cid, ssize_t rlen) argument
619 ssize_t rlen; local
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dbusra.c938 int rlen, rcount, i; local
1024 "available", (caddr_t)&regs, &rlen) == DDI_SUCCESS) {
1036 rcount = rlen / sizeof (pci_regspec_t);
1075 kmem_free(regs, rlen);
1325 int rlen, rcount; local
1341 "available", (caddr_t)&regs, &rlen);
1352 newregs = kmem_alloc(rlen + sizeof (pci_regspec_t), KM_SLEEP);
1354 rcount = rlen / sizeof (pci_regspec_t);
1438 kmem_free(newregs, rlen + sizeof (pci_regspec_t));
1439 kmem_free(regs, rlen);
1476 int rlen, rcount; local
[all...]
/illumos-gate/usr/src/uts/common/io/chxge/
H A Dch.c889 size_t rlen; local
955 &rlen, /* real size allocated */
971 rlen, /* length of object */
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_wr.c451 int rlen; local
473 rlen = 0;
671 rlen += sgl[i].ds_len;
693 "total len %x", tail, rkey, raddr, rlen);
/illumos-gate/usr/src/uts/common/io/iprb/
H A Diprb.c454 size_t rlen; local
464 DDI_DMA_SLEEP, NULL, &h->vaddr, &rlen, &h->acch) != DDI_SUCCESS) {
/illumos-gate/usr/src/uts/common/io/usb/clients/printer/
H A Dusbprn.c1399 usbprn_devid32.rlen = usbprnp->usbprn_device_id_len - 2;
1400 len = min(usbprn_devid32.len, usbprn_devid32.rlen);
1434 usbprn_devid.rlen = usbprnp->usbprn_device_id_len - 2;
1435 len = min(usbprn_devid.len, usbprn_devid.rlen);
1471 usbprn_devid.rlen = usbprnp->usbprn_device_id_len - 2;
1472 len = min(usbprn_devid.len, usbprn_devid.rlen);
2037 int rlen, len; local
2039 rlen = strlen(usbprn_prnio_ifinfo);
2054 prn_info32.if_rlen = rlen;
2055 len = min(rlen, prn_info3
[all...]
/illumos-gate/usr/src/lib/libadutils/common/
H A Dadutils.c161 int rlen, i, len; local
186 rlen = snprintf(str, len, "S-1-%llu", sidp->authority);
188 cp += rlen;
189 len -= rlen;
193 rlen = snprintf(cp, len, "-%u", sidp->sub_authorities[i]);
194 cp += rlen;
195 len -= rlen;
/illumos-gate/usr/src/uts/common/io/ipw/
H A Dipw2100.c2647 uint32_t rlen; local
2650 rlen = LE_32(status->len);
2651 m = allocb(rlen, BPRI_MED);
2653 (void) memcpy(m->b_wptr, rxbuf, rlen);
2654 m->b_wptr += rlen;
/illumos-gate/usr/src/uts/sun4v/io/
H A Ddr_cpu.c955 int rlen; local
970 rlen = sizeof (dr_cpu_hdr_t);
971 rlen += req->num_records * sizeof (dr_cpu_stat_t);
972 rp = kmem_zalloc(rlen, KM_SLEEP);
973 DR_DBG_KMEM("%s: alloc addr %p size %d\n", __func__, (void *)rp, rlen);
1044 *resp_len = rlen;
H A Ddr_mem.c755 int rlen; local
770 rlen = sizeof (dr_mem_hdr_t);
783 rlen += nml * sizeof (dr_mem_query_t);
785 rlen += req->msg_arg * sizeof (dr_mem_query_t);
787 rp = kmem_zalloc(rlen, KM_SLEEP);
810 *resp_len = rlen;
946 int rlen; local
956 rlen = sizeof (dr_mem_hdr_t);
957 rlen += status * sizeof (memdelstat_t);
958 rp = kmem_zalloc(rlen, KM_SLEE
982 int rlen; local
[all...]
/illumos-gate/usr/src/uts/sun4u/daktari/io/
H A Dhpc3130_dak.c1155 int rlen; local
1160 rlen = 0;
1163 rlen = 1;
1167 &i2c_tran_pointer, wlen, rlen, I2C_SLEEP);
/illumos-gate/usr/src/uts/intel/io/dktp/dcdev/
H A Ddadk.c1035 size_t rlen; local
1057 &bp->b_un.b_addr, &rlen, NULL) != DDI_SUCCESS) {
/illumos-gate/usr/src/uts/common/io/audio/drv/audioens/
H A Daudioens.c851 size_t rlen; local
901 &rlen, &port->acch) != DDI_SUCCESS) {
907 bzero(port->kaddr, rlen);
/illumos-gate/usr/src/boot/lib/libstand/
H A Dnfs.c277 int len, rlen; local
316 rlen = sizeof(*repl);
319 args, len, repl, rlen);
397 int hlen, rlen; local
425 rlen = cc - hlen;
427 if (rlen < x) {
428 printf("nfsread: short packet, %d < %ld\n", rlen, x);
880 int len, rlen, pos; local
923 rlen = sizeof(*repl);
926 args, len, repl, rlen);
1037 int hlen, rlen, pos; local
[all...]
/illumos-gate/usr/src/lib/libsasl/lib/
H A Dcommon.c1556 const char *requested_user, unsigned rlen,
1568 if (!auth_identity || !requested_user || rlen != alen ||
1569 (memcmp(auth_identity, requested_user, rlen) != 0)) {
1554 _sasl_proxy_policy(sasl_conn_t *conn, void *context __attribute__((unused)), const char *requested_user, unsigned rlen, const char *auth_identity, unsigned alen, const char *def_realm __attribute__((unused)), unsigned urlen __attribute__((unused)), struct propctx *propctx __attribute__((unused))) argument
/illumos-gate/usr/src/common/bignum/
H A Dbignumimpl.c1023 int i, alen, blen, tlen, rlen, offs; local
1109 rlen = tmp1.len - bblow.len + 1;
1110 tresult.len = rlen;
1115 for (i = 0; i < rlen; i++) {
1133 tresult.value[rlen - i - 1] = coeff << (BIG_CHUNK_SIZE / 2);
1143 tresult.value[rlen - i - 1] =
1144 tresult.value[rlen - i - 1] + coeff;
3156 * Get a rlen-bit random number in BIGNUM format. Caller-supplied
3161 big_random(BIGNUM *r, size_t rlen, int (*rfunc)(void *, size_t)) argument
3166 if (r == NULL || rlen
[all...]
/illumos-gate/usr/src/cmd/praudit/
H A Dformat.c1807 int mlen, rlen; local
1832 rlen = 0;
1841 rlen = mbtowc(&wc, mbuf, mlen);
1842 } while (!eos && mlen < mbmax && rlen <= 0);
1847 if (rlen <= 0) { /* no good sequence */
1848 rlen = 1;
1853 wstat = pa_putstr(context, printable, mbuf, rlen);
1854 mlen -= rlen;
1857 mbuf[i] = mbuf[rlen + i];
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wanboot/wanboot-cgi/
H A Dwanboot-cgi.c239 size_t rlen; local
247 rlen = (size < sizeof (buf)) ? size : sizeof (buf);
249 if ((wlen = read(ifd, buf, rlen)) < 0 ||
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ldap.c855 static int rlen = 0; /* tlv's real length */ local
895 rlen = olen[ctxnum];
898 for (rlen = 0, olen[ctxnum] &= 0x0F;
902 rlen = (rlen << 8) | INT(hex);
904 if (!rlen) {
1212 /* asnshw2(" Length=%d ",rlen); */
1214 if (rlen > pdulen) {
1217 rlen = pdulen;
1225 stlv = decpdu((rlen
[all...]

Completed in 157 milliseconds

12345