Home
last modified time | relevance | path

Searched refs:qbuf (Results 1 – 17 of 17) sorted by relevance

/external/mesa3d/src/gallium/drivers/radeonsi/
Dgfx10_query.c84 struct gfx10_sh_query_buffer *qbuf = in emit_shader_query() local
86 qbuf->head += sizeof(struct gfx10_sh_query_buffer_mem); in emit_shader_query()
94 struct gfx10_sh_query_buffer *qbuf = first; in gfx10_release_query_buffers() local
96 first = LIST_ENTRY(struct gfx10_sh_query_buffer, qbuf->list.next, list); in gfx10_release_query_buffers()
100 qbuf->refcount--; in gfx10_release_query_buffers()
101 if (qbuf->refcount) in gfx10_release_query_buffers()
104 if (qbuf->list.next == &sctx->shader_query_buffers) in gfx10_release_query_buffers()
106 if (qbuf->list.prev == &sctx->shader_query_buffers) in gfx10_release_query_buffers()
109 list_del(&qbuf->list); in gfx10_release_query_buffers()
110 si_resource_reference(&qbuf->buf, NULL); in gfx10_release_query_buffers()
[all …]
Dsi_query.c584 struct si_query_buffer *qbuf = prev; in si_query_buffer_destroy() local
586 si_resource_reference(&qbuf->buf, NULL); in si_query_buffer_destroy()
587 FREE(qbuf); in si_query_buffer_destroy()
597 struct si_query_buffer *qbuf = buffer->previous; in si_query_buffer_reset() local
598 buffer->previous = qbuf->previous; in si_query_buffer_reset()
601 buffer->buf = qbuf->buf; /* move ownership */ in si_query_buffer_reset()
602 FREE(qbuf); in si_query_buffer_reset()
627 struct si_query_buffer *qbuf = MALLOC_STRUCT(si_query_buffer); in si_query_buffer_alloc() local
628 memcpy(qbuf, buffer, sizeof(*qbuf)); in si_query_buffer_alloc()
629 buffer->previous = qbuf; in si_query_buffer_alloc()
[all …]
Dsi_perfcounter.c1055 for (struct si_query_buffer *qbuf = &query->buffer; qbuf; qbuf = qbuf->previous) { in si_pc_query_get_result() local
1061 map = sctx->ws->buffer_map(qbuf->buf->buf, NULL, usage); in si_pc_query_get_result()
1063 map = si_buffer_map_sync_with_rings(sctx, qbuf->buf, usage); in si_pc_query_get_result()
1068 while (results_base != qbuf->results_end) { in si_pc_query_get_result()
/external/webrtc/webrtc/base/
Dbase64.cc140 unsigned char qbuf[4], bool* padded) in GetNextQuantum()
144 qbuf[byte_len] = DecodeTable[static_cast<unsigned char>(data[*dpos])]; in GetNextQuantum()
145 if ((il == qbuf[byte_len]) || (illegal_pads && (pd == qbuf[byte_len]))) { in GetNextQuantum()
149 } else if (sp == qbuf[byte_len]) { in GetNextQuantum()
153 } else if (pd == qbuf[byte_len]) { in GetNextQuantum()
178 qbuf[i] = 0; in GetNextQuantum()
224 unsigned char c, qbuf[4]; in DecodeFromArrayTemplate() local
227 data, len, &dpos, qbuf, &padded); in DecodeFromArrayTemplate()
228 c = (qbuf[0] << 2) | ((qbuf[1] >> 4) & 0x3); in DecodeFromArrayTemplate()
231 c = ((qbuf[1] << 4) & 0xf0) | ((qbuf[2] >> 2) & 0xf); in DecodeFromArrayTemplate()
[all …]
Dbase64.h95 unsigned char qbuf[4], bool* padded);
/external/mesa3d/src/gallium/drivers/r600/
Dr600_query.c490 struct r600_query_buffer *qbuf = prev; in r600_query_hw_destroy() local
492 r600_resource_reference(&qbuf->buf, NULL); in r600_query_hw_destroy()
493 FREE(qbuf); in r600_query_hw_destroy()
789 struct r600_query_buffer *qbuf = MALLOC_STRUCT(r600_query_buffer); in r600_query_hw_emit_start() local
790 *qbuf = query->buffer; in r600_query_hw_emit_start()
792 query->buffer.previous = qbuf; in r600_query_hw_emit_start()
916 struct r600_query_buffer *qbuf; in r600_emit_query_predication() local
952 for (qbuf = &query->buffer; qbuf; qbuf = qbuf->previous) { in r600_emit_query_predication()
954 uint64_t va_base = qbuf->buf->gpu_address; in r600_emit_query_predication()
956 while (results_base < qbuf->results_end) { in r600_emit_query_predication()
[all …]
/external/v4l2_codec2/accel/
Dv4l2_video_decode_accelerator.cc1029 struct v4l2_buffer qbuf {}; in EnqueueInputRecord() struct
1031 qbuf.index = v4l2_buffer_index; in EnqueueInputRecord()
1032 qbuf.type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in EnqueueInputRecord()
1033 qbuf.timestamp.tv_sec = input_record.bitstream_buffer->input_id; in EnqueueInputRecord()
1034 qbuf.memory = V4L2_MEMORY_DMABUF; in EnqueueInputRecord()
1035 qbuf.m.planes = &qbuf_plane; in EnqueueInputRecord()
1055 qbuf.m.planes[0].m.fd = buffer->dmabuf_fd.get(); in EnqueueInputRecord()
1056 qbuf.m.planes[0].data_offset = buffer->offset; in EnqueueInputRecord()
1057 qbuf.m.planes[0].bytesused = buffer->offset + buffer->size; in EnqueueInputRecord()
1060 qbuf.m.planes[0].length = input_buffer_size_; in EnqueueInputRecord()
[all …]
/external/toybox/toys/pending/
Dhost.c76 unsigned char qbuf[280], *p; in host_main() local
119 qlen = res_mkquery(0, name, 1, type, 0, 0, 0, qbuf, sizeof(qbuf)); in host_main()
132 send(s, qbuf, qlen, 0); in host_main()
134 } else alen = res_send(qbuf, qlen, abuf, abuf_len); in host_main()
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/
Dframe_settings.cc134 grpc_slice_buffer_add(&t->qbuf, grpc_chttp2_settings_ack_create()); in grpc_chttp2_settings_parser_parse()
207 &t->qbuf); in grpc_chttp2_settings_parser_parse()
Dchttp2_transport.cc162 grpc_slice_buffer_destroy_internal(&t->qbuf); in destruct_transport()
487 grpc_slice_buffer_init(&t->qbuf); in init_transport()
1771 grpc_slice_ref_internal(slice), &t->qbuf); in send_goaway()
2065 &t->qbuf, in grpc_chttp2_cancel_stream()
2371 grpc_slice_buffer_add(&t->qbuf, hdr); in close_from_api()
2373 grpc_slice_buffer_add(&t->qbuf, http_status_hdr); in close_from_api()
2374 grpc_slice_buffer_add(&t->qbuf, content_type_hdr); in close_from_api()
2376 grpc_slice_buffer_add(&t->qbuf, status_hdr); in close_from_api()
2377 grpc_slice_buffer_add(&t->qbuf, message_pfx); in close_from_api()
2378 grpc_slice_buffer_add(&t->qbuf, grpc_slice_ref_internal(slice)); in close_from_api()
[all …]
Dwriting.cc220 grpc_slice_buffer_move_into(&t_->qbuf, &t_->outbuf); in FlushQueuedBuffers()
221 GPR_ASSERT(t_->qbuf.count == 0); in FlushQueuedBuffers()
Dparsing.cc384 &t->qbuf, grpc_chttp2_rst_stream_create(t->incoming_stream_id, in init_data_frame_parser()
739 &t->qbuf, grpc_chttp2_rst_stream_create(t->incoming_stream_id, in parse_frame_slice()
Dinternal.h346 grpc_slice_buffer qbuf; member
Dhpack_parser.cc1601 &t->qbuf, grpc_chttp2_rst_stream_create(s->id, GRPC_HTTP2_NO_ERROR, in force_client_rst_stream()
/external/honggfuzz/examples/bind/
Dbind-9.14.1.patch207 + static const uint8_t qbuf[] = {
214 + buf = qbuf;
215 + len = sizeof(qbuf);
Dbind-9.13.5-W1.patch207 + static const uint8_t qbuf[] = {
214 + buf = qbuf;
215 + len = sizeof(qbuf);
/external/kernel-headers/original/uapi/linux/
Di2o-dev.h91 void __user *qbuf; /* Pointer to HTTP query string */ member