Searched defs:fromlen (Results 1 - 7 of 7) sorted by relevance

/bind-9.11.3/contrib/idn/idnkit-1.0-src/lib/
H A Dmapselector.c272 size_t fromlen; local
295 fromlen = idn_ucs4_strlen(from);
312 if (fromlen + 1 > tolen) {
316 memcpy(to, from, (fromlen + 1) * sizeof(*from));
H A Dpunycode.c112 size_t fromlen; local
131 fromlen = strlen(from);
138 for (fidx = fromlen; fidx > 0; fidx--) {
156 while (fidx < fromlen) {
161 len = punycode_getwc(from + fidx, fromlen - fidx, bias, &delta);
211 size_t fromlen; local
238 fromlen = idn_ucs4_strlen(from);
244 if (fromlen > PUNYCODE_MAXINPUT) {
258 for (uidx = 0; uidx < fromlen; uidx++) {
290 while (ucsdone < fromlen) {
[all...]
H A Drace.c107 size_t fromlen; local
125 fromlen = strlen(from);
130 buflen = fromlen + 1;
248 size_t fromlen; local
273 fromlen = idn_ucs4_strlen(from);
274 buflen = fromlen * 2 + 2;
296 buflen = fromlen * 2 + 2;
H A Dconverter.c712 size_t fromlen; local
719 fromlen = idn_ucs4_strlen(from) + 1;
720 if (fromlen * sizeof(*back) <= sizeof(backbuf)) {
724 backlen = fromlen;
736 if (memcmp(back, from, sizeof(*from) * fromlen) != 0)
1164 size_t fromlen = strlen(from); local
1182 fromlen -= ullen;
1186 fromlen--;
1209 if (width == 0 || width > fromlen) {
1222 fromlen
[all...]
H A Dres.c850 size_t fromlen = strlen(from); local
852 if (fromlen + 1 > tolen)
854 (void)memcpy(to, from, fromlen + 1);
/bind-9.11.3/lib/lwres/
H A Dcontext.c400 LWRES_SOCKADDR_LEN_T fromlen; local
408 fromlen = sizeof(sin);
411 fromlen = sizeof(sin6);
415 * The address of fromlen is cast to void * to shut up compiler
420 ret = recvfrom(ctx->sock, recvbase, recvlen, 0, sa, (void *)&fromlen);
434 if (fromlen != sizeof(sin)
440 if (fromlen != sizeof(sin6)
/bind-9.11.3/bin/dig/
H A Ddighost.c4658 size_t fromlen, tolen; local
4665 fromlen = isc_buffer_usedlength(buffer) - used_org;
4666 if (fromlen >= MAXDLEN)
4668 memmove(tmp1, (char *)isc_buffer_base(buffer) + used_org, fromlen);
4669 end_with_dot = (tmp1[fromlen - 1] == '.') ? ISC_TRUE : ISC_FALSE;
4671 fromlen++;
4672 if (fromlen >= MAXDLEN)
4674 tmp1[fromlen - 1] = '.';
4676 tmp1[fromlen] = '\0';

Completed in 38 milliseconds