Searched refs:buf_pos (Results 1 – 4 of 4) sorted by relevance
/openbsd/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_flags.cpp | 58 char *buf_pos = buf + 32; in SubstituteForFlagValue() local 60 *--buf_pos = (pid % 10) + '0'; in SubstituteForFlagValue() 63 while (buf_pos < buf + 32 && out < out_end - 1) in SubstituteForFlagValue() 64 *out++ = *buf_pos++; in SubstituteForFlagValue()
|
/openbsd/sys/dev/pci/drm/amd/display/modules/hdcp/ |
H A D | hdcp_log.c | 40 uint32_t buf_pos = 0; in mod_hdcp_dump_binary_message() local 46 buf[buf_pos++] = '\n'; in mod_hdcp_dump_binary_message() 47 snprintf(&buf[buf_pos], buf_size - buf_pos, "%02X ", msg[i]); in mod_hdcp_dump_binary_message() 48 buf_pos += byte_size; in mod_hdcp_dump_binary_message() 50 buf[buf_pos++] = '\0'; in mod_hdcp_dump_binary_message()
|
/openbsd/usr.sbin/slowcgi/ |
H A D | slowcgi.c | 123 size_t buf_pos; member 499 c->buf_pos = 0; in slowcgi_accept() 632 n = read(fd, c->buf + c->buf_pos + c->buf_len, in slowcgi_request() 633 FCGI_RECORD_SIZE - c->buf_pos-c->buf_len); in slowcgi_request() 662 parsed = parse_record(c->buf + c->buf_pos, c->buf_len, c); in slowcgi_request() 663 c->buf_pos += parsed; in slowcgi_request() 669 bcopy(c->buf + c->buf_pos, c->buf, c->buf_len); in slowcgi_request() 670 c->buf_pos = 0; in slowcgi_request()
|
/openbsd/usr.sbin/bgplgd/ |
H A D | slowcgi.c | 113 size_t buf_pos; member 490 c->buf_pos = 0; in slowcgi_accept() 658 n = read(fd, c->buf + c->buf_pos + c->buf_len, in slowcgi_request() 659 FCGI_RECORD_SIZE - c->buf_pos-c->buf_len); in slowcgi_request() 688 parsed = parse_record(c->buf + c->buf_pos, c->buf_len, c); in slowcgi_request() 689 c->buf_pos += parsed; in slowcgi_request() 695 memmove(c->buf, c->buf + c->buf_pos, c->buf_len); in slowcgi_request() 696 c->buf_pos = 0; in slowcgi_request()
|