Lines Matching refs:buf
666 static int get_key3(request_st * const r, char *buf, uint32_t bytes) { in get_key3() argument
673 return chunkqueue_read_data(cq, buf, bytes, r->conf.errh); in get_key3()
698 uint32_t buf[4]; /* MD5 binary hash len */ in create_MD5_sum() local
705 if (NULL == key1 || get_key_number(buf+0, key1) < 0 || in create_MD5_sum()
706 NULL == key2 || get_key_number(buf+1, key2) < 0 || in create_MD5_sum()
707 get_key3(r, (char *)(buf+2), 2*sizeof(uint32_t)) < 0) { in create_MD5_sum()
717 u = buf[0]; in create_MD5_sum()
718 ws_htole32((unsigned char *)(buf+0), u); in create_MD5_sum()
719 u = buf[1]; in create_MD5_sum()
720 ws_htole32((unsigned char *)(buf+1), u); in create_MD5_sum()
723 MD5_once((unsigned char *)buf, buf, sizeof(buf)); in create_MD5_sum()
724 chunkqueue_append_mem(&r->write_queue, (char *)buf, sizeof(buf)); in create_MD5_sum()