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

/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/lib/
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 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 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.6-ESV-R11/lib/lwres/
H A Dcontext.c397 LWRES_SOCKADDR_LEN_T fromlen; local
405 fromlen = sizeof(sin);
408 fromlen = sizeof(sin6);
412 * The address of fromlen is cast to void * to shut up compiler
417 ret = recvfrom(ctx->sock, recvbase, recvlen, 0, sa, (void *)&fromlen);
431 if (fromlen != sizeof(sin)
437 if (fromlen != sizeof(sin6)
/bind-9.6-ESV-R11/bin/dig/
H A Ddighost.c3754 size_t fromlen, tolen; local
3761 fromlen = isc_buffer_usedlength(buffer) - used_org;
3762 if (fromlen >= MAXDLEN)
3764 memmove(tmp1, (char *)isc_buffer_base(buffer) + used_org, fromlen);
3765 end_with_dot = (tmp1[fromlen - 1] == '.') ? ISC_TRUE : ISC_FALSE;
3767 fromlen++;
3768 if (fromlen >= MAXDLEN)
3770 tmp1[fromlen - 1] = '.';
3772 tmp1[fromlen] = '\0';

Completed in 33 milliseconds