Searched refs:buflen (Results 1 - 25 of 103) sorted by relevance

12345

/haiku-fatelf/src/bin/network/tcpdump/
H A Ddecode_prefix.h36 extern int decode_prefix4(const u_char *pptr, char *buf, u_int buflen);
38 extern int decode_prefix6(const u_char *pd, char *buf, u_int buflen);
/haiku-fatelf/src/kits/network/libbind/nameser/
H A Dns_print.c52 char **buf, size_t *buflen);
55 char **buf, size_t *buflen);
56 static void addlen(size_t len, char **buf, size_t *buflen);
58 char **buf, size_t *buflen);
60 char **buf, size_t *buflen);
84 char *buf, size_t buflen)
91 name_ctx, origin, buf, buflen);
106 char *buf, size_t buflen)
120 T(addstr("\t\t\t", 3, &buf, &buflen));
126 T(addstr("@\t\t\t", 4, &buf, &buflen));
82 ns_sprintrr(const ns_msg *handle, const ns_rr *rr, const char *name_ctx, const char *origin, char *buf, size_t buflen) argument
102 ns_sprintrrf(const u_char *msg, size_t msglen, const char *name, ns_class class, ns_type type, u_long ttl, const u_char *rdata, size_t rdlen, const char *name_ctx, const char *origin, char *buf, size_t buflen) argument
158 addlen(strlen(buf), &buf, &buflen); local
328 addlen(strlen(buf), &buf, &buflen); local
419 addlen(strlen(buf), &buf, &buflen); local
658 addlen(strlen(buf), &buf, &buflen); local
681 addlen(strlen(buf), &buf, &buflen); local
951 addlen(strlen(buf), &buf, &buflen); local
956 addlen(strlen(buf), &buf, &buflen); local
1125 charstr(const u_char *rdata, const u_char *edata, char **buf, size_t *buflen) argument
1159 addname(const u_char *msg, size_t msglen, const u_char **pp, const char *origin, char **buf, size_t *buflen) argument
1203 addlen(size_t len, char **buf, size_t *buflen) argument
1210 addstr(const char *src, size_t len, char **buf, size_t *buflen) argument
1222 addtab(size_t len, size_t target, int spaced, char **buf, size_t *buflen) argument
[all...]
H A Dns_ttl.c43 static int fmt1(int t, char s, char **buf, size_t *buflen);
149 fmt1(int t, char s, char **buf, size_t *buflen) { argument
154 if (len + 1 > *buflen)
158 *buflen -= len;
/haiku-fatelf/src/bin/coreutils/lib/
H A Dunicodeio.h31 long (*success) (const char *buf, size_t buflen,
45 extern long fwrite_success_callback (const char *buf, size_t buflen,
H A Dhuman.c227 size_t buflen; local
233 buflen = strlen (buf);
251 buflen = strlen (buf);
254 if (1 + nonintegerlen + ! (opts & human_base_1024) < buflen
256 && buf[buflen - 1] == '0'))
260 buflen = strlen (buf);
265 p = psuffix - buflen;
266 memmove (p, buf, buflen);
267 integerlim = p + buflen - nonintegerlen;
/haiku-fatelf/src/kits/network/libbind/isc/
H A Dhex.c85 isc_puthexstring(FILE *fp, const unsigned char *buf, size_t buflen, argument
94 while (buflen > 0U) {
98 buflen--;
109 isc_tohex(const unsigned char *buf, size_t buflen, char *t) { argument
110 while (buflen > 0U) {
114 buflen--;
/haiku-fatelf/src/libs/libtelnet/
H A Dkrb4encpwd.c354 krb4encpwd_printsub(data, cnt, buf, buflen)
356 int cnt, buflen;
361 buf[buflen-1] = '\0'; /* make sure its NULL terminated */
362 buflen -= 1;
366 strncpy((char *)buf, " REJECT ", buflen);
370 strncpy((char *)buf, " ACCEPT ", buflen);
372 BUMP(buf, buflen);
375 ADDC(buf, buflen, '"');
377 ADDC(buf, buflen, data[i]);
378 ADDC(buf, buflen, '"');
[all...]
H A Dkerberos.c420 kerberos4_printsub(unsigned char *data, int cnt, unsigned char *buf, int buflen) argument
425 buf[buflen-1] = '\0'; /* make sure its NULL terminated */
426 buflen -= 1;
430 strncpy((char *)buf, " REJECT ", buflen);
434 strncpy((char *)buf, " ACCEPT ", buflen);
436 BUMP(buf, buflen);
439 ADDC(buf, buflen, '"');
441 ADDC(buf, buflen, data[i]);
442 ADDC(buf, buflen, '"');
443 ADDC(buf, buflen, '\
[all...]
H A Drsaencpwd.c401 rsaencpwd_printsub(data, cnt, buf, buflen)
403 int cnt, buflen;
408 buf[buflen-1] = '\0'; /* make sure its NULL terminated */
409 buflen -= 1;
413 strncpy((char *)buf, " REJECT ", buflen);
417 strncpy((char *)buf, " ACCEPT ", buflen);
419 BUMP(buf, buflen);
422 ADDC(buf, buflen, '"');
424 ADDC(buf, buflen, data[i]);
425 ADDC(buf, buflen, '"');
[all...]
H A Dsra.c358 sra_printsub(unsigned char *data, int cnt, unsigned char *buf, int buflen) argument
363 buf[buflen-1] = '\0'; /* make sure its NULL terminated */
364 buflen -= 1;
369 strncpy((char *)buf, " CONTINUE ", buflen);
373 strncpy((char *)buf, " REJECT ", buflen);
377 strncpy((char *)buf, " ACCEPT ", buflen);
380 BUMP(buf, buflen);
383 ADDC(buf, buflen, '"');
385 ADDC(buf, buflen, data[i]);
386 ADDC(buf, buflen, '"');
[all...]
/haiku-fatelf/src/kits/network/libbind/
H A Dport_before.h87 #define NET_R_ARGS char *buf, int buflen
89 #define NET_R_COPY buf, buflen
111 #define HOST_R_ARGS char *buf, int buflen, int *h_errnop
113 #define HOST_R_COPY buf, buflen
114 #define HOST_R_COPY_ARGS char *buf, int buflen
126 #define NGR_R_ARGS char *buf, int buflen
128 #define NGR_R_COPY buf, buflen
146 #define PROTO_R_ARGS char *buf, int buflen
148 #define PROTO_R_COPY buf, buflen
173 #define SERV_R_ARGS char *buf, int buflen
[all...]
/haiku-fatelf/src/bin/bc/dc/
H A Dstring.c145 static size_t buflen = 0; /* the current size of line_buf */
152 /* initial buflen should be large enough to handle most cases */
153 buflen = 2016;
154 line_buf = dc_malloc(buflen);
157 end = line_buf + buflen;
168 /* buflen increment should be big enough
171 buflen += 2048;
172 line_buf = realloc(line_buf, buflen);
176 end = line_buf + buflen;
144 static size_t buflen = 0; /* the current size of line_buf */ variable
/haiku-fatelf/src/kits/network/libbind/irs/
H A Dgetgrent_r.c46 copy_group(struct group *, struct group *, char *buf, int buflen);
52 char *buf, int buflen, struct group **result) {
56 char *buf, size_t buflen, struct group **result) {
66 res = copy_group(ge, gptr, buf, buflen);
74 char *buf, int buflen) {
80 res = copy_group(ge, gptr, buf, buflen);
89 char *buf, int buflen, struct group **result) {
93 char *buf, size_t buflen, struct group **result) {
103 res = copy_group(ge, gptr, buf, buflen);
111 char *buf, int buflen) {
51 __posix_getgrnam_r(const char *name, struct group *gptr, char *buf, int buflen, struct group **result) argument
73 getgrnam_r(const char *name, struct group *gptr, char *buf, int buflen) argument
88 __posix_getgrgid_r(gid_t gid, struct group *gptr, char *buf, int buflen, struct group **result) argument
110 getgrgid_r(gid_t gid, struct group *gptr, char *buf, int buflen) argument
177 copy_group(struct group *ge, struct group *gptr, char *buf, int buflen) argument
[all...]
H A Dgetpwent_r.c48 copy_passwd(struct passwd *, struct passwd *, char *buf, int buflen);
54 char *buf, size_t buflen, struct passwd **result) {
58 char *buf, size_t buflen, struct passwd **result) {
68 res = copy_passwd(pw, pwptr, buf, buflen);
75 getpwnam_r(const char *login, struct passwd *pwptr, char *buf, int buflen) { argument
82 res = copy_passwd(pw, pwptr, buf, buflen);
91 char *buf, int buflen, struct passwd **result) {
95 char *buf, size_t buflen, struct passwd **result) {
105 res = copy_passwd(pw, pwptr, buf, buflen);
112 getpwuid_r(uid_t uid, struct passwd *pwptr, char *buf, int buflen) { argument
53 __posix_getpwnam_r(const char *login, struct passwd *pwptr, char *buf, size_t buflen, struct passwd **result) argument
90 __posix_getpwuid_r(uid_t uid, struct passwd *pwptr, char *buf, int buflen, struct passwd **result) argument
200 copy_passwd(struct passwd *pw, struct passwd *pwptr, char *buf, int buflen) argument
[all...]
/haiku-fatelf/src/bin/gdb/gdb/
H A Di386obsd-tdep.c68 size_t buflen = sizeof sigreturn; local
83 buf = alloca (buflen);
86 if (!safe_frame_unwind_memory (next_frame, start_pc + 0x0a, buf, buflen))
90 if (memcmp (buf, sigreturn, buflen) == 0)
94 if (!safe_frame_unwind_memory (next_frame, start_pc + 0x14, buf, buflen))
98 if (memcmp (buf, sigreturn, buflen) == 0)
H A Dmonitor.h246 extern int monitor_expect (char *prompt, char *buf, int buflen);
247 extern int monitor_expect_prompt (char *buf, int buflen);
254 extern void monitor_write (char *buf, int buflen);
/haiku-fatelf/headers/libs/iconv/
H A Diconv.h101 void (*write_replacement) (const unsigned int *buf, size_t buflen,
111 void (*write_replacement) (const char *buf, size_t buflen,
122 void (*write_replacement) (const wchar_t *buf, size_t buflen,
132 void (*write_replacement) (const char *buf, size_t buflen,
/haiku-fatelf/src/add-ons/media/plugins/asf_reader/libasf/
H A Dutf.h27 * Decode UTF-16LE text from buffer of buflen size and
35 asf_utf8_from_utf16le(uint8_t *buf, uint16_t buflen) argument
42 for (i=0; i<buflen/2; i++) {
49 if (i*2 >= buflen) {
74 for (i=0; i<buflen/2; i++) {
/haiku-fatelf/src/bin/gdb/opcodes/
H A Dcgen-dis.in185 int buflen,
189 int status = (*info->read_memory_func) (pc, buf, buflen, info);
197 ex_info->valid = (1 << buflen) - 1;
200 *insn_value = bfd_get_bits (buf, buflen * 8, info->endian == BFD_ENDIAN_BIG);
215 unsigned int buflen)
223 basesize = cd->base_insn_bitsize < buflen * 8 ?
224 cd->base_insn_bitsize : buflen * 8;
231 ex_info.valid = (1 << buflen) - 1;
262 if ((unsigned) (CGEN_INSN_BITSIZE (insn) / 8) < buflen &&
323 int buflen;
[all...]
H A Diq2000-dis.c338 int buflen,
342 int status = (*info->read_memory_func) (pc, buf, buflen, info);
350 ex_info->valid = (1 << buflen) - 1;
353 *insn_value = bfd_get_bits (buf, buflen * 8, info->endian == BFD_ENDIAN_BIG);
368 unsigned int buflen)
376 basesize = cd->base_insn_bitsize < buflen * 8 ?
377 cd->base_insn_bitsize : buflen * 8;
384 ex_info.valid = (1 << buflen) - 1;
415 if ((unsigned) (CGEN_INSN_BITSIZE (insn) / 8) < buflen &&
476 int buflen;
330 read_insn(CGEN_CPU_DESC cd ATTRIBUTE_UNUSED, bfd_vma pc, disassemble_info *info, char *buf, int buflen, CGEN_EXTRACT_INFO *ex_info, unsigned long *insn_value) argument
360 print_insn(CGEN_CPU_DESC cd, bfd_vma pc, disassemble_info *info, char *buf, unsigned int buflen) argument
472 int buflen; local
[all...]
H A Dopenrisc-dis.c284 int buflen,
288 int status = (*info->read_memory_func) (pc, buf, buflen, info);
296 ex_info->valid = (1 << buflen) - 1;
299 *insn_value = bfd_get_bits (buf, buflen * 8, info->endian == BFD_ENDIAN_BIG);
314 unsigned int buflen)
322 basesize = cd->base_insn_bitsize < buflen * 8 ?
323 cd->base_insn_bitsize : buflen * 8;
330 ex_info.valid = (1 << buflen) - 1;
361 if ((unsigned) (CGEN_INSN_BITSIZE (insn) / 8) < buflen &&
422 int buflen;
276 read_insn(CGEN_CPU_DESC cd ATTRIBUTE_UNUSED, bfd_vma pc, disassemble_info *info, char *buf, int buflen, CGEN_EXTRACT_INFO *ex_info, unsigned long *insn_value) argument
306 print_insn(CGEN_CPU_DESC cd, bfd_vma pc, disassemble_info *info, char *buf, unsigned int buflen) argument
418 int buflen; local
[all...]
H A Dxstormy16-dis.c317 int buflen,
321 int status = (*info->read_memory_func) (pc, buf, buflen, info);
329 ex_info->valid = (1 << buflen) - 1;
332 *insn_value = bfd_get_bits (buf, buflen * 8, info->endian == BFD_ENDIAN_BIG);
347 unsigned int buflen)
355 basesize = cd->base_insn_bitsize < buflen * 8 ?
356 cd->base_insn_bitsize : buflen * 8;
363 ex_info.valid = (1 << buflen) - 1;
394 if ((unsigned) (CGEN_INSN_BITSIZE (insn) / 8) < buflen &&
455 int buflen;
309 read_insn(CGEN_CPU_DESC cd ATTRIBUTE_UNUSED, bfd_vma pc, disassemble_info *info, char *buf, int buflen, CGEN_EXTRACT_INFO *ex_info, unsigned long *insn_value) argument
339 print_insn(CGEN_CPU_DESC cd, bfd_vma pc, disassemble_info *info, char *buf, unsigned int buflen) argument
451 int buflen; local
[all...]
/haiku-fatelf/headers/private/mail/
H A Dmail_util.h70 ssize_t nextfoldedline(const char** header, char **buffer, size_t *buflen);
71 ssize_t readfoldedline(FILE *file, char **buffer, size_t *buflen);
72 ssize_t readfoldedline(BPositionIO &in, char **buffer, size_t *buflen);
85 // if buflen is not NULL, return the final size of the buffer in buflen
86 // if buffer is not NULL, buflen is not NULL, and *buffer is not NULL
87 // *buffer is a buffer of size *buflen
88 // if buffer is NULL or *buffer is NULL, and buflen is not NULL then
89 // start with a buffer of size *buflen
/haiku-fatelf/headers/posix/
H A Dpwd.h27 extern int getpwent_r(struct passwd* pwbuf, char* buf, size_t buflen,
/haiku-fatelf/src/bin/findutils/gnulib/lib/
H A Dhuman.c227 size_t buflen; local
233 buflen = strlen (buf);
251 buflen = strlen (buf);
254 if (1 + nonintegerlen + ! (opts & human_base_1024) < buflen
256 && buf[buflen - 1] == '0'))
260 buflen = strlen (buf);
265 p = psuffix - buflen;
266 memmove (p, buf, buflen);
267 integerlim = p + buflen - nonintegerlen;

Completed in 140 milliseconds

12345