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

12

/bind-9.6-ESV-R11/lib/lwres/
H A Dlwres_noop.c120 size_t buflen; local
131 buflen = LWRES_LWPACKET_LENGTH + payload_length;
132 buf = CTXMALLOC(buflen);
135 lwres_buffer_init(b, buf, buflen);
137 pkt->length = buflen;
148 CTXFREE(buf, buflen);
173 size_t buflen; local
184 buflen = LWRES_LWPACKET_LENGTH + payload_length;
185 buf = CTXMALLOC(buflen);
188 lwres_buffer_init(b, buf, buflen);
[all...]
H A Dlwres_gnba.c121 size_t buflen; local
134 buflen = LWRES_LWPACKET_LENGTH + payload_length;
135 buf = CTXMALLOC(buflen);
138 lwres_buffer_init(b, buf, buflen);
140 pkt->length = buflen;
151 CTXFREE(buf, buflen);
178 size_t buflen; local
198 buflen = LWRES_LWPACKET_LENGTH + payload_length;
199 buf = CTXMALLOC(buflen);
202 lwres_buffer_init(b, buf, buflen);
[all...]
H A Dlwres_gabn.c125 size_t buflen; local
140 buflen = LWRES_LWPACKET_LENGTH + payload_length;
141 buf = CTXMALLOC(buflen);
145 lwres_buffer_init(b, buf, buflen);
147 pkt->length = buflen;
158 CTXFREE(buf, buflen);
192 size_t buflen; local
222 buflen = LWRES_LWPACKET_LENGTH + payload_length;
223 buf = CTXMALLOC(buflen);
226 lwres_buffer_init(b, buf, buflen);
[all...]
H A Dlwres_grbn.c44 size_t buflen; local
59 buflen = LWRES_LWPACKET_LENGTH + payload_length;
60 buf = CTXMALLOC(buflen);
64 lwres_buffer_init(b, buf, buflen);
66 pkt->length = buflen;
77 CTXFREE(buf, buflen);
117 size_t buflen; local
138 buflen = LWRES_LWPACKET_LENGTH + payload_length;
139 buf = CTXMALLOC(buflen);
142 lwres_buffer_init(b, buf, buflen);
[all...]
H A Dgethost.c230 char *buf, int buflen, int *error)
238 res = copytobuf(he, resbuf, buf, buflen);
250 struct hostent *resbuf, char *buf, int buflen,
259 res = copytobuf(he, resbuf, buf, buflen);
270 lwres_gethostent_r(struct hostent *resbuf, char *buf, int buflen, int *error) { argument
273 UNUSED(buflen);
296 copytobuf(struct hostent *he, struct hostent *hptr, char *buf, int buflen) { argument
316 if (len > buflen) {
229 lwres_gethostbyname_r(const char *name, struct hostent *resbuf, char *buf, int buflen, int *error) argument
249 lwres_gethostbyaddr_r(const char *addr, int len, int type, struct hostent *resbuf, char *buf, int buflen, int *error) argument
/bind-9.6-ESV-R11/unit/atf-src/atf-c++/detail/
H A Dexceptions_test.cpp55 test_format(const atf_error_t err, char *buf, size_t buflen) argument
62 snprintf(buf, buflen, "Message: %s", data->m_msg);
/bind-9.6-ESV-R11/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.6-ESV-R11/unit/atf-src/atf-c/
H A Derror_test.c49 char *buf, size_t buflen)
51 snprintf(buf, buflen, "Test formatting function");
48 test_format(const atf_error_t err ATF_DEFS_ATTRIBUTE_UNUSED, char *buf, size_t buflen) argument
H A Derror.c55 error_format(const atf_error_t err, char *buf, size_t buflen) argument
58 snprintf(buf, buflen, "Error '%s'", err->m_type);
169 atf_error_format(const atf_error_t err, char *buf, size_t buflen) argument
172 err->m_format(err, buf, buflen);
191 libc_format(const atf_error_t err, char *buf, size_t buflen) argument
198 snprintf(buf, buflen, "%s: %s", data->m_what, strerror(data->m_errno));
250 no_memory_format(const atf_error_t err, char *buf, size_t buflen) argument
254 snprintf(buf, buflen, "Not enough memory");
H A Dutils_test.c48 * Up to buflen-1 characters are read into buffer. If this function returns,
55 * \param buflen Size of the target buffer.
59 read_file(const char *path, void *const buffer, const size_t buflen) argument
63 const ssize_t length = read(fd, buffer, buflen - 1);
/bind-9.6-ESV-R11/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.6-ESV-R11/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.6-ESV-R11/lib/isc/unix/
H A Dfile.c159 isc_file_mktemplate(const char *path, char *buf, size_t buflen) { argument
160 return (isc_file_template(path, TEMPLATE, buf, buflen));
165 size_t buflen) {
179 if ((s - path + 1 + strlen(templet) + 1) > buflen)
186 if ((strlen(templet) + 1) > buflen)
395 isc_file_progname(const char *filename, char *buf, size_t buflen) { argument
405 if (len > buflen)
164 isc_file_template(const char *path, const char *templet, char *buf, size_t buflen) argument
/bind-9.6-ESV-R11/lib/isc/win32/
H A Dfile.c259 isc_file_mktemplate(const char *path, char *buf, size_t buflen) { argument
260 return (isc_file_template(path, TEMPLATE, buf, buflen));
265 size_t buflen) {
279 if ((s - path + 1 + strlen(templet) + 1) > buflen)
286 if ((strlen(templet) + 1) > buflen)
264 isc_file_template(const char *path, const char *templet, char *buf, size_t buflen) argument
H A Dsocket.c286 unsigned int buflen; member in struct:buflist
976 cpbuffer->buflen = write_count;
1016 cpbuffer->buflen = uselen;
/bind-9.6-ESV-R11/lib/dns/
H A Dgssapictx.c776 char *buf, size_t buflen) {
792 snprintf(buf, buflen, "GSSAPI error: Major = %s, Minor = %s.",
801 snprintf(buf, buflen, "GSSAPI error: Major = %u, Minor = %u.",
775 gss_error_tostring(isc_uint32_t major, isc_uint32_t minor, char *buf, size_t buflen) argument
H A Drdataslab.c139 unsigned int buflen; local
149 buflen = reservelen + 2;
218 buflen += (8 + x[i-1].rdata.length);
220 buflen += (2 + x[i-1].rdata.length);
226 buflen++;
233 buflen += (8 + x[i-1].rdata.length);
235 buflen += (2 + x[i-1].rdata.length);
241 buflen++;
259 rawbuf = isc_mem_get(mctx, buflen);
269 isc_mem_put(mctx, rawbuf, buflen);
[all...]
/bind-9.6-ESV-R11/lib/tests/
H A Dt_api.c98 t_getdate(char *buf, size_t buflen);
575 t_getdate(char *buf, size_t buflen) { argument
582 n = strftime(buf, buflen - 1, "%A %d %B %H:%M:%S %Y\n", p);
/bind-9.6-ESV-R11/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.6-ESV-R11/unit/atf-src/atf-c/detail/
H A Dfs.c92 invalid_umask_format(const atf_error_t err, char *buf, size_t buflen) argument
99 snprintf(buf, buflen, "Could not create the temporary %s %s because "
138 unknown_type_format(const atf_error_t err, char *buf, size_t buflen) argument
145 snprintf(buf, buflen, "Unknown file type %d of %s", data->m_type,
/bind-9.6-ESV-R11/bin/named/
H A Dstatschannel.c778 generatexml(ns_server_t *server, int *buflen, xmlChar **buf) { argument
957 xmlDocDumpFormatMemoryEnc(doc, buf, buflen, "UTF-8", 1);
/bind-9.6-ESV-R11/bin/tests/names/
H A Dt_names.c97 chkdata(unsigned char *buf, size_t buflen, char *exp_data, argument
107 if (buflen == exp_data_len) {
176 (unsigned long)exp_data_len, (unsigned long)buflen);
177 result = exp_data_len - buflen;
195 unsigned int buflen; local
204 buflen = isc_buffer_availablelength(pbuf);
234 if (cnt >= buflen) {
2002 isc_result_t exp_result, size_t buflen)
2028 isc_buffer_init(&iscbuf2, buf2, buflen);
2070 t_dns_name_fromwire_x(const char *testfile, size_t buflen) { argument
2000 test_dns_name_fromwire(char *datafile_name, int testname_offset, int downcase, unsigned int dc_method, char *exp_name, isc_result_t exp_result, size_t buflen) argument
2198 test_dns_name_towire(char *testname, unsigned int dc_method, char *exp_data, size_t exp_data_len, isc_result_t exp_result, size_t buflen) argument
2264 t_dns_name_towire_x(const char *testfile, size_t buflen) argument
[all...]

Completed in 305 milliseconds

12