Searched defs:buflen (Results 1 - 25 of 30) sorted by relevance

12

/bind-9.11.3/lib/lwres/
H A Dlwres_noop.c111 size_t buflen; local
122 buflen = LWRES_LWPACKET_LENGTH + payload_length;
123 buf = CTXMALLOC(buflen);
126 lwres_buffer_init(b, buf, (unsigned int)buflen);
128 pkt->length = (lwres_uint32_t)buflen;
139 CTXFREE(buf, buflen);
164 size_t buflen; local
175 buflen = LWRES_LWPACKET_LENGTH + payload_length;
176 buf = CTXMALLOC(buflen);
179 lwres_buffer_init(b, buf, (unsigned int)buflen);
[all...]
H A Dlwres_gnba.c112 size_t buflen; local
125 buflen = LWRES_LWPACKET_LENGTH + payload_length;
126 buf = CTXMALLOC(buflen);
129 lwres_buffer_init(b, buf, (unsigned int)buflen);
131 pkt->length = (lwres_uint32_t)buflen;
142 CTXFREE(buf, buflen);
169 size_t buflen; local
189 buflen = LWRES_LWPACKET_LENGTH + payload_length;
190 buf = CTXMALLOC(buflen);
193 lwres_buffer_init(b, buf, (unsigned int)buflen);
[all...]
H A Dlwres_gabn.c116 size_t buflen; local
131 buflen = LWRES_LWPACKET_LENGTH + payload_length;
132 buf = CTXMALLOC(buflen);
136 lwres_buffer_init(b, buf, (unsigned int)buflen);
138 pkt->length = (lwres_uint32_t)buflen;
149 CTXFREE(buf, buflen);
183 size_t buflen; local
213 buflen = LWRES_LWPACKET_LENGTH + payload_length;
214 buf = CTXMALLOC(buflen);
217 lwres_buffer_init(b, buf, (unsigned int)buflen);
[all...]
H A Dlwres_grbn.c35 size_t buflen; local
50 buflen = LWRES_LWPACKET_LENGTH + payload_length;
51 buf = CTXMALLOC(buflen);
55 lwres_buffer_init(b, buf, (unsigned int)buflen);
57 pkt->length = (lwres_uint32_t)buflen;
68 CTXFREE(buf, buflen);
108 size_t buflen; local
129 buflen = LWRES_LWPACKET_LENGTH + payload_length;
130 buf = CTXMALLOC(buflen);
133 lwres_buffer_init(b, buf, (unsigned int)buflen);
[all...]
H A Dgethost.c224 char *buf, int buflen, int *error)
232 res = copytobuf(myhe, resbuf, buf, buflen);
244 struct hostent *resbuf, char *buf, int buflen,
253 res = copytobuf(myhe, resbuf, buf, buflen);
264 lwres_gethostent_r(struct hostent *resbuf, char *buf, int buflen, int *error) { argument
267 UNUSED(buflen);
290 copytobuf(struct hostent *src, struct hostent *hptr, char *buf, int buflen) { argument
310 if (len > buflen) {
223 lwres_gethostbyname_r(const char *name, struct hostent *resbuf, char *buf, int buflen, int *error) argument
243 lwres_gethostbyaddr_r(const char *addr, int len, int type, struct hostent *resbuf, char *buf, int buflen, int *error) argument
/bind-9.11.3/unit/atf-src/atf-c++/detail/
H A Dexceptions_test.cpp52 test_format(const atf_error_t err, char *buf, size_t buflen) argument
59 snprintf(buf, buflen, "Message: %s", data->m_msg);
/bind-9.11.3/contrib/idn/idnkit-1.0-src/wsock/wsock11/
H A Ddllfunc.c161 const char FAR * name, char FAR * buf, int buflen)
174 buf, buflen);
181 buf, buflen);
191 int len, int type, char FAR * buf, int buflen)
206 buf, buflen);
160 WSAAsyncGetHostByName(HWND hWnd, u_int wMsg, const char FAR * name, char FAR * buf, int buflen) argument
190 WSAAsyncGetHostByAddr(HWND hWnd, u_int wMsg, const char FAR * addr, int len, int type, char FAR * buf, int buflen) argument
/bind-9.11.3/unit/atf-src/atf-c/
H A Derror_test.c44 char *buf, size_t buflen)
46 snprintf(buf, buflen, "Test formatting function");
43 test_format(const atf_error_t err ATF_DEFS_ATTRIBUTE_UNUSED, char *buf, size_t buflen) argument
H A Derror.c51 error_format(const atf_error_t err, char *buf, size_t buflen) argument
54 snprintf(buf, buflen, "Error '%s'", err->m_type);
165 atf_error_format(const atf_error_t err, char *buf, size_t buflen) argument
168 err->m_format(err, buf, buflen);
187 libc_format(const atf_error_t err, char *buf, size_t buflen) argument
194 snprintf(buf, buflen, "%s: %s", data->m_what, strerror(data->m_errno));
246 no_memory_format(const atf_error_t err, char *buf, size_t buflen) argument
250 snprintf(buf, buflen, "Not enough memory");
H A Dutils_test.c45 * Up to buflen-1 characters are read into buffer. If this function returns,
52 * \param buflen Size of the target buffer.
56 read_file(const char *path, void *const buffer, const size_t buflen) argument
60 const ssize_t length = read(fd, buffer, buflen - 1);
/bind-9.11.3/contrib/idn/idnkit-1.0-src/lib/
H A Dmapper.c345 size_t buflen[2] = {0, 0}; local
389 if (buflen[idx] < dstlen) {
399 buflen[idx] = dstlen;
403 dstlen = buflen[idx];
H A Dnormalizer.c254 size_t buflen[2] = {0, 0}; local
298 if (buflen[idx] < dstlen) {
308 buflen[idx] = dstlen;
312 dstlen = buflen[idx];
H A Drace.c96 size_t buflen);
108 size_t buflen; local
130 buflen = fromlen + 1;
131 buf = malloc(sizeof(*buf) * buflen);
140 r = race_decode_decompress(from, buf, buflen);
168 race_decode_decompress(const char *from, unsigned short *buf, size_t buflen) argument
247 size_t buflen; local
274 buflen = fromlen * 2 + 2;
283 new_buf = realloc(buf, sizeof(*buf) * buflen);
290 r = idn_ucs4_ucs4toutf16(from, buf + 1, buflen
[all...]
/bind-9.11.3/contrib/idn/idnkit-1.0-src/tools/runidn/
H A Dstub.c213 char *buffer, size_t buflen,
217 char *buffer, size_t buflen,
223 return ((*fp)(name, result, buffer, buflen, rp, errp));
231 char *buffer, size_t buflen,
235 char *buffer, size_t buflen,
241 return ((*fp)(name, af, result, buffer, buflen, rp, errp));
250 size_t buflen, struct hostent **rp, int *errp)
254 size_t buflen, struct hostent **rp, int *errp);
260 buffer, buflen, rp, errp));
270 char *buffer, int buflen, in
212 idn_stub_gethostbyname_r(const char *name, struct hostent *result, char *buffer, size_t buflen, struct hostent **rp, int *errp) argument
230 idn_stub_gethostbyname2_r(const char *name, int af, struct hostent *result, char *buffer, size_t buflen, struct hostent **rp, int *errp) argument
248 idn_stub_gethostbyaddr_r(GHBA_ADDR_T addr, GHBA_ADDRLEN_T len, int type, struct hostent *result, char *buffer, size_t buflen, struct hostent **rp, int *errp) argument
269 idn_stub_gethostbyname_r(const char *name, struct hostent *result, char *buffer, int buflen, int *errp) argument
285 idn_stub_gethostbyaddr_r(GHBA_ADDR_T addr, int len, int type, struct hostent *result, char *buffer, int buflen, int *errp) argument
[all...]
H A Dresolver.c129 char *buf, size_t buflen,
219 char *buf, size_t buflen, int *errp)
224 * also copied. They are copied into 'buf', whose length is 'buflen'.
250 if (buflen < sz)
254 buflen -= sz;
270 if (buflen < sz)
274 buflen -= sz;
280 if (buflen < sz)
291 buflen -= sz;
304 buf, buflen);
218 copy_decode_hostent_static(struct hostent *hp, struct hostent *newhp, char *buf, size_t buflen, int *errp) argument
614 gethostbyname_r(const char *name, struct hostent *result, char *buffer, size_t buflen, struct hostent **rp, int *errp) argument
672 gethostbyname2_r(const char *name, int af, struct hostent *result, char *buffer, size_t buflen, struct hostent **rp, int *errp) argument
729 gethostbyaddr_r(GHBA_ADDR_T addr, GHBA_ADDRLEN_T len, int type, struct hostent *result, char *buffer, size_t buflen, struct hostent **rp, int *errp) argument
782 gethostbyname_r(const char *name, struct hostent *result, char *buffer, int buflen, int *errp) argument
834 gethostbyaddr_r(GHBA_ADDR_T addr, GHBA_ADDRLEN_T len, int type, struct hostent *result, char *buffer, int buflen, int *errp) argument
[all...]
/bind-9.11.3/lib/dns/tests/
H A Ddnstest.c362 * of length 'buflen' pointed to by 'buf'. 'buflen' must be at least three
366 dns_test_tohex(const unsigned char *data, size_t len, char *buf, size_t buflen) argument
375 memset(buf, 0, buflen);
376 isc_buffer_init(&target, buf, buflen);
/bind-9.11.3/lib/dns/
H A Dgssapictx.c840 char *buf, size_t buflen) {
856 snprintf(buf, buflen, "GSSAPI error: Major = %s, Minor = %s.",
865 snprintf(buf, buflen, "GSSAPI error: Major = %u, Minor = %u.",
839 gss_error_tostring(isc_uint32_t major, isc_uint32_t minor, char *buf, size_t buflen) argument
H A Drdataslab.c130 unsigned int buflen; local
140 buflen = reservelen + 2;
151 rawbuf = isc_mem_get(mctx, buflen);
155 region->length = buflen;
229 buflen += (8 + x[i-1].rdata.length);
231 buflen += (2 + x[i-1].rdata.length);
237 buflen++;
245 buflen += (8 + x[i-1].rdata.length);
247 buflen += (2 + x[i-1].rdata.length);
253 buflen
[all...]
H A Dnsec3.c921 unsigned char *buf, size_t buflen)
938 isc_buffer_init(&buf2, buf, (unsigned int)buflen);
951 unsigned char *buf, size_t buflen)
953 REQUIRE(buflen >= src->length + 1);
920 dns_nsec3param_fromprivate(dns_rdata_t *src, dns_rdata_t *target, unsigned char *buf, size_t buflen) argument
949 dns_nsec3param_toprivate(dns_rdata_t *src, dns_rdata_t *target, dns_rdatatype_t privatetype, unsigned char *buf, size_t buflen) argument
/bind-9.11.3/lib/isc/unix/
H A Dfile.c214 isc_file_mktemplate(const char *path, char *buf, size_t buflen) { argument
215 return (isc_file_template(path, TEMPLATE, buf, buflen));
220 size_t buflen)
236 if ((prefixlen + strlen(templet) + 1) > buflen)
240 strlcpy(buf, path, ISC_MIN(prefixlen + 1, buflen));
241 strlcat(buf, templet, buflen);
243 if ((strlen(templet) + 1) > buflen)
246 strlcpy(buf, templet, buflen);
511 isc_file_progname(const char *filename, char *buf, size_t buflen) { argument
521 if (len > buflen)
219 isc_file_template(const char *path, const char *templet, char *buf, size_t buflen) argument
[all...]
/bind-9.11.3/lib/isc/win32/
H A Dfile.c313 isc_file_mktemplate(const char *path, char *buf, size_t buflen) { argument
314 return (isc_file_template(path, TEMPLATE, buf, buflen));
319 size_t buflen)
335 if ((prefixlen + strlen(templet) + 1) > buflen)
339 strlcpy(buf, path, ISC_MIN(prefixlen + 1, buflen));
340 strlcat(buf, templet, buflen);
342 if ((strlen(templet) + 1) > buflen)
345 strlcpy(buf, templet, buflen);
318 isc_file_template(const char *path, const char *templet, char *buf, size_t buflen) argument
/bind-9.11.3/lib/tests/
H A Dt_api.c97 t_getdate(char *buf, size_t buflen);
596 t_getdate(char *buf, size_t buflen) { argument
610 n = strftime(buf, buflen - 1, "%A %d %B %H:%M:%S %Y\n", p);
/bind-9.11.3/unit/atf-src/atf-c/detail/
H A Dfs.c88 invalid_umask_format(const atf_error_t err, char *buf, size_t buflen) argument
95 snprintf(buf, buflen, "Could not create the temporary %s %s because "
134 unknown_type_format(const atf_error_t err, char *buf, size_t buflen) argument
141 snprintf(buf, buflen, "Unknown file type %d of %s", data->m_type,
/bind-9.11.3/contrib/idn/idnkit-1.0-src/wsock/wsock20/
H A Ddllfunc.c204 const char FAR * name, char FAR * buf, int buflen)
217 name, buf, buflen);
224 buf, buflen);
234 int len, int type, char FAR * buf, int buflen)
249 buf, buflen);
203 WSAAsyncGetHostByName(HWND hWnd, u_int wMsg, const char FAR * name, char FAR * buf, int buflen) argument
233 WSAAsyncGetHostByAddr(HWND hWnd, u_int wMsg, const char FAR * addr, int len, int type, char FAR * buf, int buflen) argument
/bind-9.11.3/bin/named/
H A Dstatschannel.c1493 int *buflen, xmlChar **buf)
1938 xmlDocDumpFormatMemoryEnc(doc, buf, buflen, "UTF-8", 0);
1492 generatexml(ns_server_t *server, isc_uint32_t flags, int *buflen, xmlChar **buf) argument

Completed in 66 milliseconds

12