Searched refs:buflen (Results 51 - 75 of 421) sorted by relevance

1234567891011>>

/macosx-10.10.1/ntp-92/lib/isc/include/isc/
H A Dfile.h69 isc_file_mktemplate(const char *path, char *buf, size_t buflen);
80 * buflen should be at least strlen(path) + 15 characters or
96 *\li #ISC_R_NOSPACE buflen indicates buf is too small for the catenation
204 isc_file_progname(const char *filename, char *buf, size_t buflen);
213 * lower case. The name is written to 'buf', an array of 'buflen'
223 size_t buflen);
/macosx-10.10.1/xnu-2782.1.97/bsd/sys/
H A Dutfconv.h103 * and produces the UTF-8 output into a buffer of buflen bytes pointed
129 size_t * utf8len, size_t buflen, u_int16_t altslash, int flags);
136 * and produces the Unicode output into a buffer of buflen bytes pointed
164 size_t *ucslen, size_t buflen, u_int16_t altslash, int flags);
171 * and produces normalized UTF-8 output into a buffer of buflen bytes
193 size_t *outlen, size_t buflen, int flags);
/macosx-10.10.1/bind9-45.101/bind9/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...]
/macosx-10.10.1/bind9-45.101/bind9/contrib/idn/idnkit-1.0-src/lib/
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...]
/macosx-10.10.1/libiconv-42/libiconv/tests/
H A Dtable-from.c35 static const char* hexbuf (unsigned char buf[], unsigned int buflen) argument
38 switch (buflen) {
48 static int try (iconv_t cd, unsigned char buf[], unsigned int buflen, unsigned int* out) argument
51 size_t inbytesleft = buflen;
66 fprintf(stderr,"%s: iconv error: ",hexbuf(buf,buflen));
75 fprintf(stderr,"%s: inbytes = %ld, outbytes = %ld\n",hexbuf(buf,buflen),(long)(buflen-inbytesleft),(long)(3*sizeof(unsigned int)-outbytesleft));
/macosx-10.10.1/CPANInternal-159.1/File-ExtAttr-1.09/
H A Dextattr_linux.c12 memstr (void *buf, const char *str, const size_t buflen) argument
15 size_t len = buflen;
19 if ((slen == 0) || (buflen == 0))
271 char *buf, const size_t buflen,
326 if (buflen == 0)
331 else if (sbuiltlen <= buflen)
350 const size_t buflen,
380 ret = attrlist2list(sbuf, slen, buf, buflen, 1, pNS);
403 const size_t buflen,
433 ret = attrlist2list(sbuf, slen, buf, buflen,
270 attrlist2list(char *sbuf, const size_t slen, char *buf, const size_t buflen, const int iWantNames, const char *pWantNS) argument
348 linux_listxattr(const char *path, char *buf, const size_t buflen, struct hv *flags) argument
401 linux_flistxattr(const int fd, char *buf, const size_t buflen, struct hv *flags) argument
453 linux_listxattrns(const char *path, char *buf, const size_t buflen, struct hv *flags) argument
494 linux_flistxattrns(const int fd, char *buf, const size_t buflen, struct hv *flags) argument
[all...]
H A Dextattr_solaris.c101 listclose (const int attrdirfd, char *buf, const size_t buflen) argument
132 if (buflen)
135 if ((len + namelen + 1) > buflen)
396 const size_t buflen,
400 return listclose(attrdirfd, buf, buflen);
406 const size_t buflen,
410 return listclose(attrdirfd, buf, buflen);
415 const size_t buflen,
424 ret = File_ExtAttr_default_listxattrns(buf, buflen);
431 const size_t buflen,
394 solaris_listxattr(const char *path, char *buf, const size_t buflen, struct hv *flags) argument
404 solaris_flistxattr(const int fd, char *buf, const size_t buflen, struct hv *flags) argument
413 solaris_listxattrns(const char *path, char *buf, const size_t buflen, struct hv *flags) argument
429 solaris_flistxattrns(const int fd, char *buf, const size_t buflen, struct hv *flags) argument
[all...]
/macosx-10.10.1/libtelnet-13/
H A Dsra.c360 sra_printsub(unsigned char *data, int cnt, unsigned char *buf, int buflen) argument
365 buf[buflen-1] = '\0'; /* make sure its NULL terminated */
366 buflen -= 1;
371 strncpy((char *)buf, " CONTINUE ", buflen);
375 strncpy((char *)buf, " REJECT ", buflen);
379 strncpy((char *)buf, " ACCEPT ", buflen);
382 BUMP(buf, buflen);
385 ADDC(buf, buflen, '"');
387 ADDC(buf, buflen, data[i]);
388 ADDC(buf, buflen, '"');
[all...]
/macosx-10.10.1/tcl-105/tcl84/tcl/unix/
H A DtclUnixCompat.c92 CopyArray(char **src, int elsize, char *buf, int buflen)
103 if ((sizeof(char *)*(i + 1)) > buflen) {
115 if (len > buflen) {
152 CopyString(char *src, char *buf, int buflen)
158 if (len > buflen) {
193 CopyHostent(struct hostent *tgtPtr, char *buf, int buflen)
198 copied = CopyString(tgtPtr->h_name, p, buflen - len);
209 copied = CopyArray(tgtPtr->h_aliases, -1, p, buflen - len);
218 copied = CopyArray(tgtPtr->h_addr_list, tgtPtr->h_length, p, buflen - len);
251 CopyPwd(struct passwd *tgtPtr, char *buf, int buflen)
91 CopyArray(char **src, int elsize, char *buf, int buflen) argument
150 CopyString(char *src, char *buf, int buflen) argument
190 CopyHostent(struct hostent *tgtPtr, char *buf, int buflen) argument
247 CopyPwd(struct passwd *tgtPtr, char *buf, int buflen) argument
308 CopyGrp(struct group *tgtPtr, char *buf, int buflen) argument
[all...]
/macosx-10.10.1/ipsec-286.1.1/ipsec-tools/libipsec/
H A Dipsec_dump_policy.c101 size_t off, buflen; local
190 buflen = strlen(ipsp_dir_strs[xpl->sadb_x_policy_dir])
200 if ((buf = malloc(buflen)) == NULL) {
207 snprintf(buf, buflen, "%s %s %c %u %s",
213 snprintf(buf, buflen, "%s %s %s",
219 snprintf(buf, buflen, "%s %s",
224 snprintf(buf, buflen, "%s %s", ipsp_dir_strs[xpl->sadb_x_policy_dir],
259 buflen = offset + strlen(delimiter) + strlen(isrbuf) + 1;
260 newbuf = (char *)realloc(buf, buflen);
267 snprintf(buf+offset, buflen
[all...]
/macosx-10.10.1/bind9-45.101/bind9/lib/lwres/
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...]
/macosx-10.10.1/cups-408/cups/cups/
H A Dfile.h78 size_t buflen, char **value,
81 size_t buflen) _CUPS_API_1_2;
82 extern char *cupsFileGets(cups_file_t *fp, char *buf, size_t buflen)
/macosx-10.10.1/rsync-45/rsync/popt/
H A Dpoptparse.c61 int buflen = strlen(s) + 1; local
62 char * buf = memset(alloca(buflen), 0, buflen);
/macosx-10.10.1/gnutar-453/gnutar/lib/
H A Dhuman.c232 size_t buflen; local
238 buflen = strlen (buf);
256 buflen = strlen (buf);
259 if (1 + nonintegerlen + ! (opts & human_base_1024) < buflen
261 && buf[buflen - 1] == '0'))
265 buflen = strlen (buf);
270 p = psuffix - buflen;
271 memmove (p, buf, buflen);
272 integerlim = p + buflen - nonintegerlen;
/macosx-10.10.1/libresolv-57/
H A Dns_ttl.c49 static int fmt1(int t, char s, char **buf, size_t *buflen);
154 fmt1(int t, char s, char **buf, size_t *buflen) { argument
159 if (len + 1 > *buflen)
163 *buflen -= len;
/macosx-10.10.1/ruby-106/ruby/ext/digest/rmd160/
H A Drmd160.h35 uint32_t buflen; /* number of chars in bbuffer */ member in struct:__anon12066
/macosx-10.10.1/Heimdal-398.1.2/appl/telnet/libtelnet/
H A Dspx.c534 unsigned char *buf, size_t buflen)
538 buf[buflen-1] = '\0'; /* make sure it's NULL terminated */
539 buflen -= 1;
543 strlcpy((char *)buf, " REJECT ", buflen);
547 strlcpy((char *)buf, " ACCEPT ", buflen);
549 BUMP(buf, buflen);
552 ADDC(buf, buflen, '"');
554 ADDC(buf, buflen, data[i]);
555 ADDC(buf, buflen, '"');
556 ADDC(buf, buflen, '\
533 spx_printsub(unsigned char *data, size_t cnt, unsigned char *buf, size_t buflen) argument
[all...]
/macosx-10.10.1/cxxfilt-11/cxxfilt/opcodes/
H A Diq2000-dis.c335 int buflen,
339 int status = (*info->read_memory_func) (pc, buf, buflen, info);
348 ex_info->valid = (1 << buflen) - 1;
351 *insn_value = bfd_get_bits (buf, buflen * 8, info->endian == BFD_ENDIAN_BIG);
366 unsigned int buflen)
374 basesize = cd->base_insn_bitsize < buflen * 8 ?
375 cd->base_insn_bitsize : buflen * 8;
382 ex_info.valid = (1 << buflen) - 1;
413 if ((unsigned) (CGEN_INSN_BITSIZE (insn) / 8) < buflen &&
474 int buflen;
327 read_insn(CGEN_CPU_DESC cd ATTRIBUTE_UNUSED, bfd_vma pc, disassemble_info *info, bfd_byte *buf, int buflen, CGEN_EXTRACT_INFO *ex_info, unsigned long *insn_value) argument
358 print_insn(CGEN_CPU_DESC cd, bfd_vma pc, disassemble_info *info, bfd_byte *buf, unsigned int buflen) argument
470 int buflen; local
[all...]
H A Dopenrisc-dis.c281 int buflen,
285 int status = (*info->read_memory_func) (pc, buf, buflen, info);
294 ex_info->valid = (1 << buflen) - 1;
297 *insn_value = bfd_get_bits (buf, buflen * 8, info->endian == BFD_ENDIAN_BIG);
312 unsigned int buflen)
320 basesize = cd->base_insn_bitsize < buflen * 8 ?
321 cd->base_insn_bitsize : buflen * 8;
328 ex_info.valid = (1 << buflen) - 1;
359 if ((unsigned) (CGEN_INSN_BITSIZE (insn) / 8) < buflen &&
420 int buflen;
273 read_insn(CGEN_CPU_DESC cd ATTRIBUTE_UNUSED, bfd_vma pc, disassemble_info *info, bfd_byte *buf, int buflen, CGEN_EXTRACT_INFO *ex_info, unsigned long *insn_value) argument
304 print_insn(CGEN_CPU_DESC cd, bfd_vma pc, disassemble_info *info, bfd_byte *buf, unsigned int buflen) argument
416 int buflen; local
[all...]
H A Dxstormy16-dis.c314 int buflen,
318 int status = (*info->read_memory_func) (pc, buf, buflen, info);
327 ex_info->valid = (1 << buflen) - 1;
330 *insn_value = bfd_get_bits (buf, buflen * 8, info->endian == BFD_ENDIAN_BIG);
345 unsigned int buflen)
353 basesize = cd->base_insn_bitsize < buflen * 8 ?
354 cd->base_insn_bitsize : buflen * 8;
361 ex_info.valid = (1 << buflen) - 1;
392 if ((unsigned) (CGEN_INSN_BITSIZE (insn) / 8) < buflen &&
453 int buflen;
306 read_insn(CGEN_CPU_DESC cd ATTRIBUTE_UNUSED, bfd_vma pc, disassemble_info *info, bfd_byte *buf, int buflen, CGEN_EXTRACT_INFO *ex_info, unsigned long *insn_value) argument
337 print_insn(CGEN_CPU_DESC cd, bfd_vma pc, disassemble_info *info, bfd_byte *buf, unsigned int buflen) argument
449 int buflen; local
[all...]
/macosx-10.10.1/libiconv-42/libiconv/lib/
H A Dloop_wchar.h72 static void wc_to_mb_write_replacement (const char *buf, size_t buflen,
82 size_t bufleft = buflen;
112 static void wc_to_mb_write_replacement (const char *buf, size_t buflen, argument
120 if (plocals->l_outbytesleft < buflen)
123 memcpy(plocals->l_outbuf, buf, buflen);
124 plocals->l_outbuf += buflen;
125 plocals->l_outbytesleft -= buflen;
296 static void mb_to_wc_write_replacement (const wchar_t *buf, size_t buflen, argument
304 if (plocals->l_outbytesleft < sizeof(wchar_t)*buflen)
307 for (; buflen >
[all...]
/macosx-10.10.1/bind9-45.101/bind9/contrib/idn/idnkit-1.0-src/wsock/wsock20/
H A Ddlldef.h81 char FAR * buf,int buflen);
85 int len, int type, char FAR * buf, int buflen);
/macosx-10.10.1/libiconv-42/libiconv/include/
H A Diconv.h.build.in114 void (*write_replacement) (const unsigned int *buf, size_t buflen,
124 void (*write_replacement) (const char *buf, size_t buflen,
135 void (*write_replacement) (const wchar_t *buf, size_t buflen,
145 void (*write_replacement) (const char *buf, size_t buflen,
H A Diconv.h.in110 void (*write_replacement) (const unsigned int *buf, size_t buflen,
120 void (*write_replacement) (const char *buf, size_t buflen,
131 void (*write_replacement) (const wchar_t *buf, size_t buflen,
141 void (*write_replacement) (const char *buf, size_t buflen,
H A Diconv.h.msvc-shared123 void (*write_replacement) (const unsigned int *buf, size_t buflen,
133 void (*write_replacement) (const char *buf, size_t buflen,
144 void (*write_replacement) (const wchar_t *buf, size_t buflen,
154 void (*write_replacement) (const char *buf, size_t buflen,

Completed in 208 milliseconds

1234567891011>>