Searched refs:alen (Results 1 - 25 of 76) sorted by relevance

1234

/macosx-10.9.5/ntp-88/libntp/
H A Dstrstr.c40 int alen, blen, i; local
42 alen = strlen(a);
45 for(i=0; i <= alen-blen; i++, a++)
/macosx-10.9.5/xnu-2422.115.4/bsd/net/
H A Dmulticast_list.c99 int alen; local
108 alen = target_ifp->if_addrlen;
113 target_sdl.sdl_alen = alen;
137 bcopy(LLADDR(&source_sdl), LLADDR(&target_sdl), alen); local
/macosx-10.9.5/ruby-104/ruby/ext/socket/
H A Dinit.c93 socklen_t alen; member in struct:recvfrom_arg
102 arg->flags, (struct sockaddr*)&arg->buf, &arg->alen);
126 arg.alen = (socklen_t)sizeof(arg.buf);
153 if (arg.alen != sizeof(struct sockaddr_in)) {
157 if (arg.alen && arg.alen != sizeof(arg.buf)) /* OSX doesn't return a from result for connection-oriented sockets */
164 return rb_assoc_new(str, rsock_unixaddr((struct sockaddr_un*)&arg.buf, arg.alen));
167 return rb_assoc_new(str, rsock_io_socket_addrinfo(sock, (struct sockaddr*)&arg.buf, arg.alen));
179 socklen_t alen = (socklen_t)sizeof buf; local
208 slen = recvfrom(fd, RSTRING_PTR(str), buflen, flags, (struct sockaddr*)&buf, &alen);
[all...]
/macosx-10.9.5/passwordserver_sasl-170/cyrus_sasl/sasldb/
H A Dallockey.c97 unsigned alen = 0, rlen = 0, pnlen = 0; local
111 alen = (unsigned int)strlen(key);
112 rlen = (unsigned int)strlen(key + alen + 1);
113 pnlen = (unsigned int)key_len - alen - rlen - 2;
117 if(alen >= max_authid)
125 strncpy(realm, key + alen + 1, max_realm);
131 strncpy(propName, key + alen + rlen + 2, pnlen);
/macosx-10.9.5/bash-92/bash-3.2/
H A Dbraces.c94 size_t alen; local
185 alen = i - start;
189 alen = i - start;
190 amble[alen] = '\0';
204 ADVANCE_CHAR (amble, alen, j);
211 ADVANCE_CHAR (amble, alen, j);
216 tack = expand_seqterm (amble, alen);
229 tack = expand_amble (amble, alen, 0);
/macosx-10.9.5/ipsec-258.100.1/ipsec-tools/racoon/
H A Disakmp_unity.c208 int alen = ntohs(attr->lorv); local
220 if (alen)
221 count = alen / sizeof(struct unity_network);
236 if (alen)
237 count = alen / sizeof(struct unity_network);
H A Disakmp_cfg.c354 size_t alen; local
399 alen = ntohs(attr->lorv);
402 if (tlen < alen) {
411 s_isakmp_cfg_type(type), alen);
489 attr = (struct isakmp_data *)(npp + sizeof(*attr) + alen);
490 tlen -= (sizeof(*attr) + alen);
504 alen = ntohs(attrpl->h.len) - sizeof(*attrpl);
505 if ((iph1->mode_cfg->attr_list = vmalloc(alen)) == NULL) {
510 memcpy(iph1->mode_cfg->attr_list->v, attrpl + 1, alen);
530 size_t alen; local
708 size_t alen; local
1556 size_t alen = ntohs(attr->lorv); local
1577 size_t alen = ntohs(attr->lorv); local
1601 size_t alen = ntohs(attr->lorv); local
[all...]
/macosx-10.9.5/tcl-102/tcl_ext/tcllib/tcllib/modules/grammar_fa/
H A Dfa.tcl187 set alen [llength $args]
188 if {($alen != 2) && ($alen != 0) && ($alen != 3)} {
201 if {$alen == 0} return
206 if {$alen != 2} {
212 if {$alen != 2} {
220 if {$alen == 2} {
675 set alen [llength $args]
676 if {($alen !
[all...]
/macosx-10.9.5/OpenSSH-186/openssh/
H A Dauth2-hostbased.c63 u_int alen, blen, slen; local
71 pkalg = packet_get_string(&alen);
112 buffer_put_string(&b, pkalg, alen);
/macosx-10.9.5/Libinfo-449.1.3/gen.subproj/
H A Dgetifaddrs.c119 size_t len, alen; local
192 alen = 0;
200 alen = len;
212 dcnt += alen;
319 alen = 0;
327 alen = len;
349 memset(data, 0, alen);
350 data += alen;
/macosx-10.9.5/bind9-45.100/bind9/lib/isc/
H A Dnetaddr.c130 unsigned int alen; local
146 alen = strlen(netaddr->type.un);
147 if (alen > isc_buffer_availablelength(target))
151 alen);
161 alen = strlen(abuf);
162 INSIST(alen < sizeof(abuf));
172 if (alen + zlen > isc_buffer_availablelength(target))
175 isc_buffer_putmem(target, (unsigned char *)abuf, alen);
/macosx-10.9.5/ntp-88/lib/isc/
H A Dnetaddr.c132 unsigned int alen; local
148 alen = strlen(netaddr->type.un);
149 if (alen > isc_buffer_availablelength(target))
153 alen);
163 alen = strlen(abuf);
164 INSIST(alen < sizeof(abuf));
174 if (alen + zlen > isc_buffer_availablelength(target))
177 isc_buffer_putmem(target, (unsigned char *)abuf, alen);
/macosx-10.9.5/dyld-239.4/include/
H A Dobjc-shared-cache.h754 The key is hashed to a pair (a,b) where a in 0..*alen*-1 and b in
934 static void initnorm(key *keys, ub4 nkeys, ub4 alen, ub4 blen, ub4 smax, ub8 salt) argument
936 // ub4 alen; /* (a,b) has a in 0..alen-1, a power of 2 */
942 ub4 loga = log2u(alen); /* log based 2 of blen */
1146 /* guess initial values for alen and blen */
1147 static void initalen(ub4 *alen, ub4 *blen, ub4 smax, ub4 nkeys) argument
1148 // ub4 *alen; /* output, initial alen */
1154 * Find initial *alen, *ble
1204 findhash(bstuff **tabb, ub4 *alen, ub4 *blen, ub8 *salt, ub4 *scramble, ub4 smax, key *keys, ub4 nkeys) argument
1331 ub4 alen; /* a in 0..alen-1, a power of 2 */ local
[all...]
/macosx-10.9.5/passwordserver_sasl-170/cyrus_sasl/mac/mac_lib/
H A Dmac_dyn_dlopen.c218 int alen=strlen(a); local
220 if(blen<alen)
222 return (memcmp(a,b+(blen-alen),alen)==0);
/macosx-10.9.5/tcl-102/tcl_ext/tcllib/tcllib/modules/base64/
H A Dascii85.tcl34 set alen [llength $args]
35 if {$alen != 1 && $alen != 3 && $alen != 5} {
/macosx-10.9.5/OpenLDAP-491.1/OpenLDAP/servers/slapd/
H A Dsearch.c213 unsigned len = 0, alen; local
222 alen = op->ors_attrs[i].an_name.bv_len;
223 if (alen >= sizeof(abuf)) {
224 alen = sizeof(abuf)-1;
226 if (len && (len + 1 + alen >= sizeof(abuf))) {
236 ptr = lutil_strncopy(ptr, op->ors_attrs[i].an_name.bv_val, alen);
237 len += alen;
/macosx-10.9.5/zsh-60/zsh/Src/Zle/
H A Dcompmatch.c589 int both, loff, aoff, llen, alen, zoff, moff, ct, ict, aol; local
597 alen = mp->lalen; aol = mp->ralen;
599 alen = mp->ralen; aol = mp->lalen;
603 if (ll < llen + alen || lw < alen)
607 ap = mp->left; zoff = 0; moff = alen; aop = mp->right;
609 both = 0; loff = -llen; aoff = -(llen + alen);
611 both = 1; loff = alen; aoff = 0;
614 ap = mp->right; zoff = alen; moff = 0; aop = mp->left;
616 both = 1; loff = -(llen + alen); aof
2079 int len, alen, olen, line; member in struct:cmdata
[all...]
/macosx-10.9.5/passwordserver_sasl-170/cyrus_sasl/plugins/
H A Dplain.c161 oparams->authid, oparams->alen,
361 1 + oparams->alen +
375 memcpy(++p, oparams->authid, oparams->alen);
376 p += oparams->alen;
/macosx-10.9.5/lukemftp-13.92.1/tnftp/libedit/
H A Dfilecomplete.c458 size_t alen = strlen(matches[0]); local
460 || (alen > 0 && (matches[0])[alen - 1] != '/'))
/macosx-10.9.5/tcl-102/tcl_ext/mk4tcl/metakit/python/test/
H A Dmktestsupport.py70 alen = len(self.arr)
72 if alen != vlen:
74 actual=vlen, expected=alen)
/macosx-10.9.5/gpatch-3/patch/
H A Dpatch.c1271 similar (register char const *a, register size_t alen, argument
1275 alen -= alen && a[alen - 1] == '\n';
1284 if (alen)
1288 do a++, alen--;
1289 while (alen && (*a == ' ' || *a == '\t'));
1291 if (!alen || !blen)
1292 return alen == blen;
1294 else if (!alen || *
[all...]
/macosx-10.9.5/remote_cmds-41.90.1/tftpd.tproj/
H A Dtftpd.c574 int *alen, int *err)
606 r = op->o_handler(tp, option, value, ackb, alen, &ec);
630 int first, ecode=0, alen, etftp=0, r; local
674 alen = 2; /* Skip over opcode */
675 r = get_options(tp, cp, size, oackbuf, &alen, &ecode);
707 strcpy(oackbuf + alen, "tsize");
708 alen += 6;
709 l = sprintf(oackbuf + alen, "%u", tftp_tsize);
710 alen += l + 1;
717 (*pf->f_recv)(pf, etftp, alen);
573 get_options(struct tftphdr *tp, char *cp, int size, char *ackb, int *alen, int *err) argument
[all...]
/macosx-10.9.5/OpenLDAP-491.1/OpenLDAP/libraries/libldap/
H A Dutil-int.c443 int alen;
455 alen = sizeof(sin->sin6_addr);
461 alen = sizeof(sin->sin_addr);
474 hp=gethostbyaddr_r( addr, alen, sa->sa_family,
478 rc = gethostbyaddr_r( addr, alen, sa->sa_family,
502 hp = gethostbyaddr( addr, alen, sa->sa_family );
/macosx-10.9.5/ICU-511.35/icuSources/samples/uresb/
H A Duresb.c187 int alen = len; local
195 ++alen;
200 newstr = (UChar *) malloc((1 + alen) * sizeof(*newstr));
/macosx-10.9.5/passwordserver_sasl-170/cyrus_sasl/lib/
H A Dcanonusr.c69 /* a zero ulen or alen indicates that it is strlen(value) */
91 lenp = &(oparams->alen);
174 oparams->ulen = oparams->alen;
191 oparams->authid, oparams->alen);

Completed in 409 milliseconds

1234