Searched refs:offset (Results 1 – 4 of 4) sorted by relevance
519 off_t offset = 0; in send_ascii_command() local524 ssize_t nw = write(sock, ptr + offset, len - offset); in send_ascii_command()531 offset += nw; in send_ascii_command()543 off_t offset = 0; in read_ascii_response() local558 offset += nr; in read_ascii_response()598 size_t offset = 5; in test_issue_102() local600 offset += snprintf(buffer + offset, sizeof(buffer) - offset, in test_issue_102()669 off_t offset = 0; in safe_send() local713 off_t offset = 0; in safe_recv() local715 ssize_t nr = read(sock, ((char*)buf) + offset, len - offset); in safe_recv()[all …]
1560 char *buf = c->stats.buffer + c->stats.offset; in append_bin_stats()1583 c->stats.offset += sizeof(header.response) + bodylen; in append_bin_stats()1589 char *pos = c->stats.buffer + c->stats.offset; in append_ascii_stats()1591 int remaining = c->stats.size - c->stats.offset; in append_ascii_stats()1602 c->stats.offset += nbytes; in append_ascii_stats()1607 size_t available = nsize - c->stats.offset; in grow_stats_buf()1613 available = c->stats.size = c->stats.offset = 0; in grow_stats_buf()1619 available = nsize - c->stats.offset; in grow_stats_buf()1663 assert(c->stats.offset <= c->stats.size); in append_stats()1727 write_and_free(c, c->stats.buffer, c->stats.offset); in process_bin_stat()[all …]
549 size_t offset; member
90 than an offset from current time.165 items). If it's non-zero (either Unix time or offset in seconds from