Searched refs:buf_pos (Results 1 - 4 of 4) sorted by relevance

/openbsd-current/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_flags.cpp58 char *buf_pos = buf + 32; local
60 *--buf_pos = (pid % 10) + '0';
63 while (buf_pos < buf + 32 && out < out_end - 1)
64 *out++ = *buf_pos++;
/openbsd-current/sys/dev/pci/drm/amd/display/modules/hdcp/
H A Dhdcp_log.c40 uint32_t buf_pos = 0; local
46 buf[buf_pos++] = '\n';
47 snprintf(&buf[buf_pos], buf_size - buf_pos, "%02X ", msg[i]);
48 buf_pos += byte_size;
50 buf[buf_pos++] = '\0';
/openbsd-current/usr.sbin/bgplgd/
H A Dslowcgi.c113 size_t buf_pos; member in struct:request
490 c->buf_pos = 0;
658 n = read(fd, c->buf + c->buf_pos + c->buf_len,
659 FCGI_RECORD_SIZE - c->buf_pos-c->buf_len);
688 parsed = parse_record(c->buf + c->buf_pos, c->buf_len, c);
689 c->buf_pos += parsed;
695 memmove(c->buf, c->buf + c->buf_pos, c->buf_len);
696 c->buf_pos = 0;
/openbsd-current/usr.sbin/slowcgi/
H A Dslowcgi.c123 size_t buf_pos; member in struct:request
499 c->buf_pos = 0;
632 n = read(fd, c->buf + c->buf_pos + c->buf_len,
633 FCGI_RECORD_SIZE - c->buf_pos-c->buf_len);
662 parsed = parse_record(c->buf + c->buf_pos, c->buf_len, c);
663 c->buf_pos += parsed;
669 bcopy(c->buf + c->buf_pos, c->buf, c->buf_len);
670 c->buf_pos = 0;

Completed in 198 milliseconds