Home
last modified time | relevance | path

Searched refs:bufmax (Results 1 – 7 of 7) sorted by relevance

/openbsd/libexec/tradcpp/
H A Dfiles.c181 size_t bufend, bufmax, linestart, lineend, nextlinestart, tmp; in file_read() local
195 bufmax = 128; in file_read()
199 buf = domalloc(bufmax); in file_read()
212 if (bufend >= bufmax) { in file_read()
214 buf = dorealloc(buf, bufmax, bufmax*2); in file_read()
215 bufmax = bufmax*2; in file_read()
217 if (bufmax > 0xffffffff) { in file_read()
228 result = read(fd, buf+bufend, bufmax - bufend); in file_read()
255 assert(bufend < bufmax); in file_read()
311 dofree(buf, bufmax); in file_read()
H A Dmacro.c681 size_t bufpos, bufmax; member
701 es->bufmax = 0; in expstate_init()
711 dofree(es->buf, es->bufmax); in expstate_cleanup()
735 assert(es->bufpos <= es->bufmax); in expand_send()
736 if (es->bufpos + len > es->bufmax) { in expand_send()
737 oldmax = es->bufmax; in expand_send()
738 if (es->bufmax == 0) { in expand_send()
739 es->bufmax = 64; in expand_send()
742 es->bufmax *= 2; in expand_send()
748 assert(es->bufpos <= es->bufmax); in expand_send()
[all …]
/openbsd/usr.sbin/smtpd/
H A Drfc5322.c30 size_t bufmax; member
57 parser->hdr.bufmax = 1024; in rfc5322_parser_new()
58 parser->val.bufmax = 65536; in rfc5322_parser_new()
224 if (need >= b->bufmax) { in buf_alloc()
/openbsd/usr.bin/rsync/
H A Dio.c509 size_t *bufsz, size_t *bufmax, size_t sz) in io_lowbuffer_alloc() argument
516 if (*bufsz + sz + extra > *bufmax) { in io_lowbuffer_alloc()
523 *bufmax = *bufsz + sz + extra; in io_lowbuffer_alloc()
H A Duploader.c49 size_t bufmax; /* maximum size of buf */ member
1057 if (u->bufsz > u->bufmax) { in rsync_uploader()
1064 u->bufmax = u->bufsz; in rsync_uploader()
/openbsd/gnu/usr.bin/binutils/gdb/
H A Dmonitor.h109 int bufmax,
H A Dmonitor.c1050 int bufmax, in monitor_wait_filter() argument
1057 resp_len = monitor_expect_prompt (buf, bufmax); in monitor_wait_filter()