Home
last modified time | relevance | path

Searched refs:alen (Results 1 – 25 of 77) sorted by relevance

1234

/illumos-gate/usr/src/common/bignum/i386/
H A Dbignum_i386.c88 (*big_sqr_vec_impl)(uint32_t *r, uint32_t *a, int alen)
106 big_mul_vec_init(uint32_t *r, uint32_t *a, int alen, uint32_t *b, int blen) in big_mul_vec_init() argument
109 (*big_mul_vec_impl)(r, a, alen, b, blen); in big_mul_vec_init()
113 big_sqr_vec_init(uint32_t *r, uint32_t *a, int alen) in big_sqr_vec_init() argument
116 (*big_sqr_vec_impl)(r, a, alen); in big_sqr_vec_init()
140 r[alen] = big_mul_set_vec_umul(r, a, alen, b[0]); in big_mul_vec_umul()
142 r[alen + i] = big_mul_add_vec_umul(r+i, a, alen, b[i]); in big_mul_vec_umul()
146 big_sqr_vec_umul(uint32_t *r, uint32_t *a, int alen) in big_sqr_vec_umul() argument
150 r[alen] = big_mul_set_vec_umul(r, a, alen, a[0]); in big_sqr_vec_umul()
151 for (i = 1; i < alen; ++i) in big_sqr_vec_umul()
[all …]
H A Dbignum_i386_asm.s759 / r[alen] = big_mul_set_vec_sse2(r, a, alen, b[0]);
761 / r[alen + i] = big_mul_add_vec_sse2(r+i, a, alen, b[i]);
850 movl 16(%ebp), %eax / alen
899 / r[1..alen] = a[0] * a[1..alen-1]
903 movl 16(%ebp), %ecx / cnt = arg(alen)
910 call big_mul_set_vec_sse2_r / r[1..alen-1] = a[0] * a[1..alen-1]
917 / for (i = 1; i < alen-1; ++i)
925 / cnt = alen - 3;
940 / cnt = alen - 3;
952 subl $2, %ecx / cnt = alen - 2; i in 1..alen-2
[all …]
/illumos-gate/usr/src/lib/libmp/common/
H A Dmult.c79 int alen; in m_mult() local
86 alen = a->len; in m_mult()
89 c->len = alen + blen; in m_mult()
98 for (i = alen; i > 0; i--) { in m_mult()
107 aptr -= alen; in m_mult()
108 cptr -= alen; in m_mult()
114 for (i = alen; i > 0; i--) { in m_mult()
123 aptr -= alen; in m_mult()
124 cptr -= alen; in m_mult()
/illumos-gate/usr/src/common/bignum/amd64/
H A Dbignum_amd64.c47 big_mul_vec(BIG_CHUNK_TYPE *r, BIG_CHUNK_TYPE *a, int alen, in big_mul_vec() argument
52 r[alen] = big_mul_set_vec(r, a, alen, b[0]); in big_mul_vec()
54 r[alen + i] = big_mul_add_vec(r + i, a, alen, b[i]); in big_mul_vec()
/illumos-gate/usr/src/cmd/vi/port/
H A Dprintf.c365 int alen; in _p_emit() local
369 alen = send - s; in _p_emit()
370 if (alen > width) in _p_emit()
371 width = alen; in _p_emit()
377 alen--; in _p_emit()
380 npad = width - alen; in _p_emit()
388 while (--alen >= 0) { in _p_emit()
397 alen = alen - length + 1; in _p_emit()
/illumos-gate/usr/src/lib/libproc/common/
H A Dproc_stdio.c110 int rlen, alen; in copy_fd() local
116 alen = read(fileno(in), buffer, rlen); in copy_fd()
117 if (alen == rlen) { in copy_fd()
118 if (write(out, buffer, alen) < alen) in copy_fd()
121 len -= alen; in copy_fd()
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dniprop.c72 int j, alen, l; variable
184 alen = 1;
186 alen += strlen(ninl.ni_namelist_val[j]) + 1;
187 propval = p = sm_malloc(alen);
192 (void) sm_strlcpy(p, ninl.ni_namelist_val[j], alen);
196 alen -= l + 1;
/illumos-gate/usr/src/common/net/dhcp/
H A Doctet.c82 hexascii_to_octet(const char *asp, uint_t alen, void *bufp, uint_t *blen) in hexascii_to_octet() argument
91 if (alen > (*blen * 2)) in hexascii_to_octet()
94 k = ((alen % 2) == 0) ? alen / 2 : (alen / 2) + 1; in hexascii_to_octet()
/illumos-gate/usr/src/uts/common/os/
H A Dmain.c155 size_t argvlen, alen; in exec_init() local
167 alen = strlen(initpath) + 1 + strlen(args) + 1; in exec_init()
168 scratchargs = kmem_alloc(alen, KM_SLEEP); in exec_init()
169 (void) snprintf(scratchargs, alen, "%s %s", initpath, args); in exec_init()
224 for (i = 0; i < alen; i++) { in exec_init()
229 argv[argc++] = ucp - (alen - sarg); in exec_init()
239 ucp -= alen; in exec_init()
240 error |= copyout(scratchargs, (caddr_t)ucp, alen); in exec_init()
268 kmem_free(scratchargs, alen); in exec_init()
273 kmem_free(scratchargs, alen); in exec_init()
/illumos-gate/usr/src/lib/librcm/
H A Dlibrcm_event.c247 door_service(void *cookie, char *args, size_t alen, in door_service() argument
259 if (alen == sizeof (uint64_t)) { in door_service()
268 (*cook->door_func)((void **)&args, &alen); in door_service()
281 alen = 0; in door_service()
301 if (errno = nvlist_pack(nvl, &args, &alen, NV_ENCODE_NATIVE, 0)) { in door_service()
312 if (alen <= BUF_THRESHOLD) { in door_service()
313 bcopy(args, rbuf, alen); in door_service()
325 (void) door_return(args, alen, NULL, 0); in door_service()
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Ddigest_md5.c469 int alen, vlen; in digest_parse() local
480 alen = scan - attr; in digest_parse()
516 if (lstreqcase(cstr, attr, alen)) { in digest_parse()
527 if (lstreqcase(dstr, attr, alen)) { in digest_parse()
538 if (lstreqcase(mstr, attr, alen)) { in digest_parse()
545 if (lstreqcase(nstr, attr, alen)) { in digest_parse()
549 if (lstreqcase(ncstr, attr, alen)) { in digest_parse()
556 if (lstreqcase(qstr, attr, alen)) { in digest_parse()
563 if (lstreqcase(rstr, attr, alen)) { in digest_parse()
574 if (lstreqcase(sstr, attr, alen)) { in digest_parse()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_aarp.c51 interpret_aarp(int flags, char *data, int alen) in interpret_aarp() argument
59 if (alen < sizeof (struct ether_arp)) { in interpret_aarp()
87 show_header("AARP: ", "AARP Frame", alen); in interpret_aarp()
90 if (alen < sizeof (struct ether_arp)) { in interpret_aarp()
H A Dsnoop_arp.c59 interpret_arp(int flags, struct arphdr *ap, int alen) in interpret_arp() argument
72 if (sizeof (struct arphdr) > alen) in interpret_arp()
88 if ((tip + ap->ar_pln) > ((unsigned char *)ap + alen)) in interpret_arp()
137 show_header("ARP: ", "ARP/RARP Frame", alen); in interpret_arp()
181 show_header("ARP: ", "ARP/RARP Frame", alen); in interpret_arp()
H A Dsnoop_trill.c37 interpret_trill(int flags, struct ether_header **e, char *data, int *alen) in interpret_trill() argument
43 int dlen = *alen; in interpret_trill()
114 *alen = dlen; in interpret_trill()
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_error.c53 size_t alen; in sctp_link_abort() local
60 alen = sizeof (*acp) + (serror != 0 ? (sizeof (*eph) + len) : 0); in sctp_link_abort()
62 amp = allocb(alen, BPRI_MED); in sctp_link_abort()
67 amp->b_wptr = amp->b_rptr + alen; in sctp_link_abort()
73 acp->sch_len = htons(alen); in sctp_link_abort()
80 return (alen); in sctp_link_abort()
93 return (alen); in sctp_link_abort()
184 ssize_t alen; in sctp_send_abort() local
273 ixa->ixa_pktlen = ahlen + alen; in sctp_send_abort()
333 ssize_t alen; in sctp_ootb_send_abort() local
[all …]
/illumos-gate/usr/src/lib/nsswitch/dns/common/
H A Ddns_common.c431 int hlen = 0, alen, iplen, len, isans; in _nss_dns_gethost_withttl() local
442 alen = 0; in _nss_dns_gethost_withttl()
680 if (alen + hlen + 2 > NS_MAXMSG) { in _nss_dns_gethost_withttl()
685 alen++; in _nss_dns_gethost_withttl()
687 NS_MAXMSG - alen); in _nss_dns_gethost_withttl()
688 alen += hlen; in _nss_dns_gethost_withttl()
724 len = iplen + 2 + hlen + alen; in _nss_dns_gethost_withttl()
725 if (alen > 0) in _nss_dns_gethost_withttl()
739 if (alen > 0) { in _nss_dns_gethost_withttl()
743 blen += alen; in _nss_dns_gethost_withttl()
[all …]
/illumos-gate/usr/src/lib/nsswitch/files/common/
H A Dgethostent.c482 int alen, cplen, erange = 0; local
492 alen = 0;
494 alen = linelen - (ap - instr);
495 if (alen + 1 >= buflen)
497 if (erange == 0 && alen != 0) {
501 alen, alias_end, buffer -
505 ap, alen);
506 buffer += alen;
507 buflen -= alen;
508 args->returnlen += alen;
[all …]
/illumos-gate/usr/src/lib/libadutils/common/
H A Dsrv_query.c419 save_addr(ad_disc_cds_t *cds, sa_family_t af, uchar_t *addr, size_t alen) in save_addr() argument
423 new_ai = make_addrinfo(af, addr, alen); in save_addr()
450 make_addrinfo(sa_family_t af, uchar_t *addr, size_t alen) in make_addrinfo() argument
469 if (alen < sizeof (in_addr_t)) { in make_addrinfo()
473 alen = sizeof (in_addr_t); in make_addrinfo()
475 (void) memcpy(&sin->sin_addr, addr, alen); in make_addrinfo()
481 if (alen < sizeof (in6_addr_t)) { in make_addrinfo()
485 alen = sizeof (in6_addr_t); in make_addrinfo()
487 (void) memcpy(&sin6->sin6_addr, addr, alen); in make_addrinfo()
/illumos-gate/usr/src/cmd/sgs/crle/common/
H A Dutil.c181 size_t llen, alen = strlen(arg); in addlib() local
191 (str += alen) && in addlib()
212 alen += 1; in addlib()
213 tlen += alen; in addlib()
228 crle->c_strsize += alen; in addlib()
/illumos-gate/usr/src/cmd/iscsid/
H A Discsid.c94 size_t alen,
104 size_t alen,
327 size_t alen, in iscsi_child_door() argument
336 if (alen >= sizeof (iscsi_child_smf_exit_code)) { in iscsi_child_door()
354 size_t alen, in iscsi_kernel_door() argument
383 } else if (alen < sizeof (iscsi_door_msg_hdr_t)) { in iscsi_kernel_door()
408 alen, in iscsi_kernel_door()
/illumos-gate/usr/src/common/bignum/
H A Dbignum.h186 #define BIG_MUL_VEC(r, a, alen, b, blen) \ argument
187 (*big_mul_vec_impl)(r, a, alen, b, blen)
196 (BIG_CHUNK_TYPE *r, BIG_CHUNK_TYPE *a, int alen, BIG_CHUNK_TYPE *b,
205 #define BIG_MUL_VEC(r, a, alen, b, blen) big_mul_vec(r, a, alen, b, blen) argument
212 extern void big_mul_vec(BIG_CHUNK_TYPE *r, BIG_CHUNK_TYPE *a, int alen,
/illumos-gate/usr/src/cmd/tsol/tnctl/
H A Dtnctl.c132 translate_inet_addr(tsol_rhent_t *rhentp, int *alen, char abuf[], int abuflen) in translate_inet_addr() argument
151 *alen = strlen(abuf); in translate_inet_addr()
162 *alen = strlen(abuf); in translate_inet_addr()
176 int alen; in process_rhl() local
202 translate_inet_addr(rhentp, &alen, abuf, in process_rhl()
237 int alen; in process_rh() local
324 translate_inet_addr(rhentp, &alen, abuf, sizeof (abuf)); in process_rh()
332 (rhentp = tsol_getrhbyaddr(abuf, alen+1, in process_rh()
/illumos-gate/usr/src/uts/common/sys/usb/usba/
H A Dwhcdi.h297 const uchar_t *adata, size_t alen,
301 #define PRF_64(key, klen, nonce, adata, alen, bdata, blen, out) \ argument
302 PRF(key, klen, nonce, adata, alen, bdata, blen, out, 64)
304 #define PRF_128(key, klen, nonce, adata, alen, bdata, blen, out) \ argument
305 PRF(key, klen, nonce, adata, alen, bdata, blen, out, 128)
307 #define PRF_256(key, klen, nonce, adata, alen, bdata, blen, out) \ argument
308 PRF(key, klen, nonce, adata, alen, bdata, blen, out, 256)
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dcbcp.c221 int code, id, len, olen, alen; local
286 alen = strllen((const char *)p, olen);
287 if (olen > 0 && alen > 0)
288 printer(arg, " '%.*s'", alen, p);
291 p += alen + 1;
292 olen -= alen + 1;
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/bridged/
H A Ddlpi.c140 size_t alen = DLPI_PHYSADDR_MAX; in port_dlpi_open() local
200 rc = dlpi_get_physaddr(port->dlpi, DL_CURR_PHYS_ADDR, addrbuf, &alen); in port_dlpi_open()
206 if (alen != ETHERADDRL) { in port_dlpi_open()
208 alen, port->name); in port_dlpi_open()

1234