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

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

Completed in 119 milliseconds