Searched defs:len (Results 1 - 25 of 132) sorted by relevance

123456

/bind-9.6-ESV-R11/lib/dns/rdata/generic/
H A Dnsec_47.h31 isc_uint16_t len; member in struct:dns_rdata_nsec
H A Dnxt_30.h31 isc_uint16_t len; member in struct:dns_rdata_nxt
H A Dnsec3_50.h36 isc_uint16_t len; member in struct:dns_rdata_nsec3
H A Duri_256.c182 isc_uint8_t len; local
206 len = 255U;
210 REQUIRE(len == 255U);
211 len = uint8_fromregion(&region);
213 if (region.length < len)
215 isc_region_consume(&region, len);
/bind-9.6-ESV-R11/lib/isc/unix/
H A Dos.c67 size_t len; local
69 len = sizeof(ncpu);
70 result = sysctlbyname("hw.ncpu", &ncpu, &len , 0, 0);
/bind-9.6-ESV-R11/bin/tests/
H A Dgxba_test.c69 size_t len; local
77 len = sizeof(in_addr);
81 len = sizeof(in6_addr);
88 he = gethostbyaddr(addr, len, af);
91 he = getipnodebyaddr(addr, len, af, &error);
H A Dentropy_test.c34 unsigned int len; local
41 for (len = 0; len < length; len++) {
42 if (len % 16 == 0 && !first)
44 printf("%02x ", base[len]);
H A Dsym_test.c45 size_t len; local
75 len = strlen(s);
76 if (len > 0U && s[len - 1] == '\n') {
77 s[len - 1] = '\0';
78 len--;
H A Dentropy2_test.c36 unsigned int len; local
43 for (len = 0; len < length; len++) {
44 if (len % 16 == 0 && !first)
46 printf("%02x ", base[len]);
H A Dlwres_test.c43 hexdump(const char *msg, void *base, size_t len) { argument
50 printf("*** %s (%lu bytes @ %p)\n", msg, (unsigned long)len, base);
52 while (cnt < len) {
188 printf("\tAddr len %u family %08x %s\n",
202 unsigned int len; local
205 len = 4;
209 len = 16;
215 ret = lwres_getnamebyaddr(ctx, af, len, addrbuf, &res);
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/wsock/common/
H A Ddump.c55 dumpAddr(const char FAR *addr, int len, char *buff, size_t size) { argument
60 for (i = 0, p = buff; i < len; i++) {
64 if (i + 1 < len) {
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/wsock/wsock11/
H A Ddllfunc.c121 gethostbyaddr(const char FAR * addr, int len, int type) { argument
130 dumpAddr(addr, len, abuff, sizeof(abuff)));
134 ret = _org_gethostbyaddr(addr, len, type);
191 int len, int type, char FAR * buf, int buflen)
204 dumpAddr(addr, len, abuff, sizeof(abuff)));
205 ret = _org_WSAAsyncGetHostByAddr(hWnd, wMsg, addr, len, type,
190 WSAAsyncGetHostByAddr(HWND hWnd, u_int wMsg, const char FAR * addr, int len, int type, char FAR * buf, int buflen) argument
/bind-9.6-ESV-R11/contrib/zkt/
H A Dstrlist.c62 int len; local
68 len = strlen (str);
69 if ( (new = malloc (len + 2)) == NULL )
/bind-9.6-ESV-R11/lib/isc/
H A Dhmacmd5.c44 unsigned int len)
50 if (len > sizeof(ctx->key)) {
53 isc_md5_update(&md5ctx, key, len);
56 memmove(ctx->key, key, len);
77 unsigned int len)
79 isc_md5_update(&ctx->md5ctx, buf, len);
113 isc_hmacmd5_verify2(isc_hmacmd5_t *ctx, unsigned char *digest, size_t len) { argument
116 REQUIRE(len <= ISC_MD5_DIGESTLENGTH);
118 return (isc_safe_memcmp(digest, newdigest, len));
43 isc_hmacmd5_init(isc_hmacmd5_t *ctx, const unsigned char *key, unsigned int len) argument
76 isc_hmacmd5_update(isc_hmacmd5_t *ctx, const unsigned char *buf, unsigned int len) argument
H A Dinet_ntop.c121 struct { int base, len; } best, cur; member in struct:__anon182
138 cur.base = i, cur.len = 1;
140 cur.len++;
143 if (best.base == -1 || cur.len > best.len)
150 if (best.base == -1 || cur.len > best.len)
153 if (best.base != -1 && best.len < 2)
163 i < (best.base + best.len)) {
172 if (i == 6 && best.base == 0 && (best.len
[all...]
H A Dmd5.c184 isc_md5_update(isc_md5_t *ctx, const unsigned char *buf, unsigned int len) { argument
190 if ((ctx->bytes[0] = t + len) < t)
194 if (t > len) {
195 memmove((unsigned char *)ctx->in + 64 - t, buf, len);
203 len -= t;
206 while (len >= 64) {
211 len -= 64;
215 memmove(ctx->in, buf, len);
/bind-9.6-ESV-R11/lib/lwres/
H A Dlwinetntop.c89 size_t len; local
91 len = snprintf(tmp, sizeof(tmp), fmt, src[0], src[1], src[2], src[3]);
92 if (len >= size) {
118 struct { int base, len; } best, cur; member in struct:__anon225
131 best.len = 0;
133 cur.len = 0;
137 cur.base = i, cur.len = 1;
139 cur.len++;
142 if (best.base == -1 || cur.len > best.len)
[all...]
H A Dgetrrset.c132 size_t len = number * size; local
133 void *mem = sane_malloc(len);
135 memset(mem, 0, len);
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/lib/
H A Dutf8.c81 idn_utf8_getmb(const char *s, size_t len, char *buf) { argument
91 TRACE(("idn_utf8_getmb(s=<%s>,len=%d)\n",
92 idn__debug_hexstring(s, 6), len));
95 if (width == 0 || len < width)
112 idn_utf8_getwc(const char *s, size_t len, unsigned long *vp) { argument
123 TRACE(("idn_utf8_getwc(s=<%s>,len=%d)\n",
124 idn__debug_hexstring(s, 10), len));
162 if (len < width)
181 idn_utf8_putwc(char *s, size_t len, unsigned long v) { argument
215 if (len <
[all...]
H A Dutil.c134 DWORD len, type; local
151 len = (DWORD)length;
153 &type, (LPBYTE)str, &len);
/bind-9.6-ESV-R11/contrib/pkcs11-keygen/
H A Ddestroyobj.c133 int j, len; local
144 len = attr_template[2].ulValueLen;
147 if (len > 4)
148 len = 4;
149 for (j = 0; j < len; j++)
151 if (attr_template[2].ulValueLen > len)
H A Dlistobjs.c143 int j, len; local
161 len = attr_template[2].ulValueLen;
166 if (len == 2) {
171 if (len > 8)
172 len = 8;
173 for (j = 0; j < len; j++)
175 if (attr_template[2].ulValueLen > len)
/bind-9.6-ESV-R11/lib/dns/tests/
H A Drdata_test.c87 size_t len; member in struct:__anon141
213 for (i = 0; test_data[i].len != 0; i++) {
214 isc_buffer_init(&source, test_data[i].data, test_data[i].len);
215 isc_buffer_add(&source, test_data[i].len);
216 isc_buffer_setactive(&source, test_data[i].len);
238 size_t len; member in struct:__anon142
273 for (i = 0; test_data[i].len != 0; i++) {
274 isc_buffer_init(&source, test_data[i].data, test_data[i].len);
275 isc_buffer_add(&source, test_data[i].len);
276 isc_buffer_setactive(&source, test_data[i].len);
312 size_t len; member in struct:__anon143
[all...]
/bind-9.6-ESV-R11/lib/dns/
H A Dttl.c56 size_t len; local
60 len = snprintf(tmp, sizeof(tmp), "%s%u %s%s",
65 len = snprintf(tmp, sizeof(tmp), "%u%c", t, s[0]);
67 INSIST(len + 1 <= sizeof(tmp));
69 if (len > region.length)
71 memmove(region.base, tmp, len);
72 isc_buffer_add(target, len);
/bind-9.6-ESV-R11/bin/named/
H A Dbuiltin.c88 unsigned int len = strlen(text); local
89 if (len > 255)
90 len = 255; /* Silently truncate */
91 buf[0] = len;
92 memmove(&buf[1], text, len);
93 return (dns_sdb_putrdata(lookup, dns_rdatatype_txt, 0, buf, len + 1));

Completed in 93 milliseconds

123456