Home
last modified time | relevance | path

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

12

/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/jackson-core/src/main/java/com/fasterxml/jackson/core/io/
DJsonStringEncoder.java74 char[] qbuf = null; in quoteAsString() local
97 if (qbuf == null) { in quoteAsString()
98 qbuf = _qbuf(); in quoteAsString()
103 ? _appendNumeric(d, qbuf) in quoteAsString()
104 : _appendNamed(escCode, qbuf); in quoteAsString()
109 System.arraycopy(qbuf, 0, outputBuffer, outPtr, first); in quoteAsString()
116 System.arraycopy(qbuf, first, outputBuffer, 0, second); in quoteAsString()
119 System.arraycopy(qbuf, 0, outputBuffer, outPtr, length); in quoteAsString()
151 char[] qbuf = null; in quoteAsString() local
174 if (qbuf == null) { in quoteAsString()
[all …]
/external/webrtc/rtc_base/third_party/base64/
Dbase64.cc141 unsigned char qbuf[4], in GetNextQuantum()
145 qbuf[byte_len] = DecodeTable[static_cast<unsigned char>(data[*dpos])]; in GetNextQuantum()
146 if ((il == qbuf[byte_len]) || (illegal_pads && (pd == qbuf[byte_len]))) { in GetNextQuantum()
150 } else if (sp == qbuf[byte_len]) { in GetNextQuantum()
154 } else if (pd == qbuf[byte_len]) { in GetNextQuantum()
179 qbuf[i] = 0; in GetNextQuantum()
241 unsigned char c, qbuf[4]; in DecodeFromArrayTemplate() local
244 len, &dpos, qbuf, &padded); in DecodeFromArrayTemplate()
245 c = (qbuf[0] << 2) | ((qbuf[1] >> 4) & 0x3); in DecodeFromArrayTemplate()
248 c = ((qbuf[1] << 4) & 0xf0) | ((qbuf[2] >> 2) & 0xf); in DecodeFromArrayTemplate()
[all …]
Dbase64.h113 unsigned char qbuf[4],
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/
Dares_query.c115 unsigned char *qbuf; in ares_query() local
120 status = ares_create_query(name, dnsclass, type, channel->next_id, rd, &qbuf, in ares_query()
124 if (qbuf != NULL) ares_free(qbuf); in ares_query()
135 ares_free_string(qbuf); in ares_query()
143 ares_send(channel, qbuf, qlen, qcallback, qquery); in ares_query()
144 ares_free_string(qbuf); in ares_query()
Dares_send.c35 void ares_send(ares_channel channel, const unsigned char *qbuf, int qlen, in ares_send() argument
80 query->qid = DNS_HEADER_QID(qbuf); in ares_send()
89 memcpy(query->tcpbuf + 2, qbuf, qlen); in ares_send()
93 query->qbuf = query->tcpbuf + 2; in ares_send()
Dares_process.c87 static int same_questions(const unsigned char *qbuf, int qlen,
601 if ((q->qid == id) && same_questions(q->qbuf, q->qlen, abuf, alen)) in process_answer()
628 query->qbuf = query->tcpbuf + 2; in process_answer()
867 if (socket_write(channel, server->udp_socket, query->qbuf, query->qlen) == -1) in ares__send_query()
1274 static int same_questions(const unsigned char *qbuf, int qlen, in same_questions() argument
1291 q.qdcount = DNS_HEADER_QDCOUNT(qbuf); in same_questions()
1297 q.p = qbuf + HFIXEDSZ; in same_questions()
1301 if (ares_expand_name(q.p, qbuf, qlen, &q.name, &q.namelen) in same_questions()
1305 if (q.p + QFIXEDSZ > qbuf + qlen) in same_questions()
Dares_private.h214 const unsigned char *qbuf; member
Dares.h394 const unsigned char *qbuf,
DCHANGES.0676 DNS_HEADER_QID(qbuf); Valgrind says that qbuf has unitialised bytes. And
677 qbuf has uninitialised bytes because of channel->next_id . And next_id is
/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/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/rust/crates/grpcio-sys/grpc/src/core/ext/transport/chttp2/transport/
Dframe_settings.cc136 grpc_slice_buffer_add(&t->qbuf, grpc_chttp2_settings_ack_create()); in grpc_chttp2_settings_parser_parse()
210 &t->qbuf); in grpc_chttp2_settings_parser_parse()
Dframe_rst_stream.cc67 grpc_slice_buffer_add(&t->qbuf, in grpc_chttp2_add_rst_stream_to_next_write()
Dwriting.cc232 grpc_slice_buffer_move_into(&t_->qbuf, &t_->outbuf); in FlushQueuedBuffers()
234 GPR_ASSERT(t_->qbuf.count == 0); in FlushQueuedBuffers()
Dchttp2_transport.cc181 grpc_slice_buffer_destroy_internal(&qbuf); in ~grpc_chttp2_transport()
451 grpc_slice_buffer_init(&qbuf); in grpc_chttp2_transport()
1724 grpc_slice_ref_internal(slice), &t->qbuf); in send_goaway()
2347 grpc_slice_buffer_add(&t->qbuf, hdr); in close_from_api()
2349 grpc_slice_buffer_add(&t->qbuf, http_status_hdr); in close_from_api()
2350 grpc_slice_buffer_add(&t->qbuf, content_type_hdr); in close_from_api()
2352 grpc_slice_buffer_add(&t->qbuf, status_hdr); in close_from_api()
2353 grpc_slice_buffer_add(&t->qbuf, message_pfx); in close_from_api()
2354 grpc_slice_buffer_add(&t->qbuf, grpc_slice_ref_internal(slice)); in close_from_api()
Dinternal.h352 grpc_slice_buffer qbuf; member
/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
/external/kernel-headers/original/uapi/linux/
Di2o-dev.h91 void __user *qbuf; /* Pointer to HTTP query string */ member

12