/third_party/curl/lib/ |
H A D | bufq.h | 49 * The same pool can be shared by many `bufq` instances. However, a pool 69 * `bufq`s can be empty or full or neither. Its `len` is the number 70 * of bytes that can be read. For an empty bufq, `len` will be 0. 72 * By default, a bufq can hold up to `max_chunks * chunk_size` number 74 * `tail` chunk is full, the bufq will report that it is full. 76 * On a full bufq, `len` may be less than the maximum number of bytes, 80 * By default, writing to a full bufq will return (-1, CURLE_AGAIN). Same 81 * as reading from an empty bufq. 82 * With `BUFQ_OPT_SOFT_LIMIT` set, a bufq will allow writing becond this 87 * By default and without a pool, a bufq wil 94 struct bufq { global() struct [all...] |
H A D | bufq.c | 26 #include "bufq.h" 213 static void bufq_init(struct bufq *q, struct bufc_pool *pool, in bufq_init() 225 void Curl_bufq_init2(struct bufq *q, size_t chunk_size, size_t max_chunks, in Curl_bufq_init2() 231 void Curl_bufq_init(struct bufq *q, size_t chunk_size, size_t max_chunks) in Curl_bufq_init() 236 void Curl_bufq_initp(struct bufq *q, struct bufc_pool *pool, in Curl_bufq_initp() 242 void Curl_bufq_free(struct bufq *q) in Curl_bufq_free() 250 void Curl_bufq_reset(struct bufq *q) in Curl_bufq_reset() 262 size_t Curl_bufq_len(const struct bufq *q) in Curl_bufq_len() 273 size_t Curl_bufq_space(const struct bufq *q) in Curl_bufq_space() 291 bool Curl_bufq_is_empty(const struct bufq * [all...] |
H A D | ws.h | 71 struct bufq recvbuf; /* raw data from the server */ 72 struct bufq sendbuf; /* raw data to be sent to the server */
|
H A D | ws.c | 30 #include "bufq.h" 164 struct bufq *inraw) in ws_dec_read_head() 258 struct bufq *inraw, in ws_dec_pass_payload() 290 struct bufq *inraw, in ws_dec_pass() 360 struct bufq buf; 538 struct bufq *out, in ws_enc_write_head() 627 /* We use a bufq with SOFT_LIMIT, writing should always succeed */ in ws_enc_write_head() 638 struct bufq *out, CURLcode *err) in ws_enc_write_payload()
|
H A D | cf-h2-proxy.c | 34 #include "bufq.h" 70 struct bufq recvbuf; 71 struct bufq sendbuf; 176 struct bufq inbufq; /* network receive buffer */ 177 struct bufq outbufq; /* network send buffer */
|
H A D | http2.c | 31 #include "bufq.h" 128 struct bufq inbufq; /* network input */ 129 struct bufq outbufq; /* network output */ 177 struct bufq recvbuf; /* response buffer */ 178 struct bufq sendbuf; /* request buffer */
|
H A D | cf-socket.c | 57 #include "bufq.h" 778 struct bufq recvbuf; /* used when `buffer_recv` is set */
|
/third_party/ffmpeg/libavcodec/x86/ |
H A D | imdct36.asm | 323 movss m4, [bufq + 4*68] 324 movss m7, [bufq + 4*64] 333 LOAD m4, m7, bufq + 4*16, 16 339 LOAD m7, m6, bufq + 4*32, 16 345 LOAD m7, m6, bufq + 4*48, 16 350 LOAD m6, m7, bufq, 16 355 STORE m4, m7, bufq, 16 358 STORE m3, m7, bufq + 4*16, 16 362 STORE m0, m7, bufq + 4*32, 16 366 STORE m5, m7, bufq [all...] |
H A D | alacdsp.asm | 114 mov bufq, [bufq] 116 add bufq, lenq 122 mova m0, [bufq + lenq] 123 mova m1, [bufq + lenq + mmsize] 128 mova [bufq + lenq], m0 129 mova [bufq + lenq + mmsize], m1
|
H A D | videodsp.asm | 432 prefetcht0 [bufq] 433 add bufq, strideq
|
/third_party/ffmpeg/libavfilter/x86/ |
H A D | vf_psnr.asm | 35 mov bufq, r0mp 47 movu m0, [bufq+mmsize*0] 48 movu m1, [bufq+mmsize*1] 52 add bufq, mmsize*2 67 movu m2, [bufq+mmsize*2] 68 movu m3, [bufq+mmsize*3] 73 add bufq, mmsize*4 118 movzx px1d, %2 [bufq+wq*(%1/8)-(%1/8)]
|
H A D | vf_ssim.asm | 49 pmovzxbw m0, [bufq+buf_strideq*0] 53 pmovzxbw m2, [bufq+buf_strideq*1] 62 pmovzxbw m2, [bufq+buf_strideq*2] 66 pmovzxbw m5, [bufq+buf_stride3q] 77 movh m0, [bufq+buf_strideq*0] ; a1 79 movh m2, [bufq+buf_strideq*1] ; a2 98 movh m2, [bufq+buf_strideq*2] ; a3 100 movh m5, [bufq+buf_stride3q] ; a4 154 add bufq, mmsize/2
|
/third_party/curl/tests/unit/ |
H A D | unit2601.c | 27 #include "bufq.h" 40 static const char *tail_err(struct bufq *q) in tail_err() 61 static void dump_bufq(struct bufq *q, const char *msg) in dump_bufq() 67 fprintf(stderr, "bufq[chunk_size=%zu, max_chunks=%zu] %s\n", in dump_bufq() 95 struct bufq q; in check_bufq() 115 fail_unless(Curl_bufq_len(&q) == 0, "init: bufq length != 0"); in check_bufq() 122 /* write empty bufq full */ in check_bufq() 139 fail_if(TRUE, "write: bufq full but nwritten wrong"); in check_bufq() 142 /* read full bufq empty */ in check_bufq() 158 fail_if(TRUE, "read: bufq empt in check_bufq() [all...] |
/third_party/curl/lib/vquic/ |
H A D | vquic_int.h | 28 #include "bufq.h" 42 struct bufq sendbuf; /* buffer for sending one or more packets */
|
H A D | curl_osslq.c | 215 struct bufq recvbuf; /* QUIC war data recv buffer */ 481 struct bufq sendbuf; /* h3 request body */ 482 struct bufq recvbuf; /* h3 response body */
|
H A D | curl_msh3.c | 140 struct bufq recvbuf; /* h3 response */
|
H A D | curl_ngtcp2.c | 147 struct bufq sendbuf; /* h3 request body */ 148 struct bufq recvbuf; /* h3 response body */
|
H A D | curl_quiche.c | 31 #include "bufq.h" 142 struct bufq recvbuf; /* h3 response */
|
/third_party/mesa3d/src/nouveau/codegen/ |
H A D | nv50_ir_lowering_nv50.cpp | 1157 NV50LoweringPreSSA::handleBUFQ(Instruction *bufq) in handleBUFQ() argument 1159 bufq->op = OP_MOV; in handleBUFQ() 1160 bufq->setSrc(0, loadSuInfo(bufq->getSrc(0)->reg.fileIndex, NV50_SU_INFO_SIZE_X)); in handleBUFQ() 1161 bufq->setIndirect(0, 0, NULL); in handleBUFQ() 1162 bufq->setIndirect(0, 1, NULL); in handleBUFQ()
|
H A D | nv50_ir_lowering_nvc0.cpp | 1439 NVC0LoweringPass::handleBUFQ(Instruction *bufq) in handleBUFQ() argument 1441 bufq->op = OP_MOV; in handleBUFQ() 1442 bufq->setSrc(0, loadBufLength32(bufq->getIndirect(0, 1), in handleBUFQ() 1443 bufq->getSrc(0)->reg.fileIndex * 16)); in handleBUFQ() 1444 bufq->setIndirect(0, 0, NULL); in handleBUFQ() 1445 bufq->setIndirect(0, 1, NULL); in handleBUFQ()
|