Home
last modified time | relevance | path

Searched refs:buffer_ptr (Results 1 – 25 of 39) sorted by relevance

12

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DHashing.h387 bool store_and_advance(char *&buffer_ptr, char *buffer_end, const T& value,
390 if (buffer_ptr + store_size > buffer_end)
393 memcpy(buffer_ptr, value_data + offset, store_size);
394 buffer_ptr += store_size;
406 char buffer[64], *buffer_ptr = buffer;
408 while (first != last && store_and_advance(buffer_ptr, buffer_end,
412 return hash_short(buffer, buffer_ptr - buffer, seed);
413 assert(buffer_ptr == buffer_end);
420 buffer_ptr = buffer;
421 while (first != last && store_and_advance(buffer_ptr, buffer_end,
[all …]
/external/llvm/include/llvm/ADT/
DHashing.h387 bool store_and_advance(char *&buffer_ptr, char *buffer_end, const T& value,
390 if (buffer_ptr + store_size > buffer_end)
393 memcpy(buffer_ptr, value_data + offset, store_size);
394 buffer_ptr += store_size;
406 char buffer[64], *buffer_ptr = buffer;
408 while (first != last && store_and_advance(buffer_ptr, buffer_end,
412 return hash_short(buffer, buffer_ptr - buffer, seed);
413 assert(buffer_ptr == buffer_end);
420 buffer_ptr = buffer;
421 while (first != last && store_and_advance(buffer_ptr, buffer_end,
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DHashing.h387 bool store_and_advance(char *&buffer_ptr, char *buffer_end, const T& value,
390 if (buffer_ptr + store_size > buffer_end)
393 memcpy(buffer_ptr, value_data + offset, store_size);
394 buffer_ptr += store_size;
406 char buffer[64], *buffer_ptr = buffer;
408 while (first != last && store_and_advance(buffer_ptr, buffer_end,
412 return hash_short(buffer, buffer_ptr - buffer, seed);
413 assert(buffer_ptr == buffer_end);
420 buffer_ptr = buffer;
421 while (first != last && store_and_advance(buffer_ptr, buffer_end,
[all …]
/external/libjpeg-turbo/
Djdcoefct.c197 JBLOCKROW buffer_ptr; in consume_data() local
224 buffer_ptr = buffer[ci][yindex + yoffset] + start_col; in consume_data()
226 coef->MCU_buffer[blkn++] = buffer_ptr++; in consume_data()
268 JBLOCKROW buffer_ptr; in decompress_data() local
305 buffer_ptr = buffer[block_row] + cinfo->master->first_MCU_col[ci]; in decompress_data()
309 (*inverse_DCT) (cinfo, compptr, (JCOEFPTR)buffer_ptr, output_ptr, in decompress_data()
311 buffer_ptr++; in decompress_data()
415 JBLOCKROW buffer_ptr, prev_block_row, next_block_row; in decompress_smooth_data() local
494 buffer_ptr = buffer[block_row] + cinfo->master->first_MCU_col[ci]; in decompress_smooth_data()
496 prev_block_row = buffer_ptr; in decompress_smooth_data()
[all …]
Djctrans.c300 JBLOCKROW buffer_ptr; in compress_output() local
328 buffer_ptr = buffer[ci][yindex + yoffset] + start_col; in compress_output()
330 MCU_buffer[blkn++] = buffer_ptr++; in compress_output()
Djccoefct.c348 JBLOCKROW buffer_ptr; in compress_output() local
374 buffer_ptr = buffer[ci][yindex + yoffset] + start_col; in compress_output()
376 coef->MCU_buffer[blkn++] = buffer_ptr++; in compress_output()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AMDGPU/
Dllvm.amdgcn.implicit.buffer.ptr.ll14 %buffer_ptr = bitcast i8 addrspace(4)* %implicit_buffer_ptr to i32 addrspace(4)*
15 %value = load volatile i32, i32 addrspace(4)* %buffer_ptr
27 %buffer_ptr = bitcast i8 addrspace(4)* %implicit_buffer_ptr to i32 addrspace(4)*
28 %value = load volatile i32, i32 addrspace(4)* %buffer_ptr
/external/mesa3d/src/mesa/vbo/
Dvbo_exec_draw.c291 GLsizeiptr length = (exec->vtx.buffer_ptr - exec->vtx.buffer_map) * in vbo_exec_vtx_unmap()
300 exec->vtx.buffer_used += (exec->vtx.buffer_ptr - in vbo_exec_vtx_unmap()
304 assert(exec->vtx.buffer_ptr != NULL); in vbo_exec_vtx_unmap()
308 exec->vtx.buffer_ptr = NULL; in vbo_exec_vtx_unmap()
332 assert(!exec->vtx.buffer_ptr); in vbo_exec_vtx_map()
345 exec->vtx.buffer_ptr = exec->vtx.buffer_map; in vbo_exec_vtx_map()
348 exec->vtx.buffer_ptr = exec->vtx.buffer_map = NULL; in vbo_exec_vtx_map()
377 exec->vtx.buffer_ptr = exec->vtx.buffer_map; in vbo_exec_vtx_map()
457 exec->vtx.buffer_ptr = exec->vtx.buffer_map; in vbo_exec_vtx_flush()
Dvbo_exec_api.c70 exec->vtx.buffer_ptr = exec->vtx.buffer_map; in vbo_exec_wrap_buffers()
141 if (!exec->vtx.buffer_ptr) { in vbo_exec_vtx_wrap()
151 memcpy(exec->vtx.buffer_ptr, in vbo_exec_vtx_wrap()
154 exec->vtx.buffer_ptr += numComponents; in vbo_exec_vtx_wrap()
325 exec->vtx.buffer_ptr = exec->vtx.buffer_map; in vbo_exec_wrap_upgrade_vertex()
360 fi_type *dest = exec->vtx.buffer_ptr; in vbo_exec_wrap_upgrade_vertex()
362 assert(exec->vtx.buffer_ptr == exec->vtx.buffer_map); in vbo_exec_wrap_upgrade_vertex()
395 exec->vtx.buffer_ptr = dest; in vbo_exec_wrap_upgrade_vertex()
505 if (unlikely(!exec->vtx.buffer_ptr)) { \
508 assert(exec->vtx.buffer_ptr); \
[all …]
Dvbo_save_api.c315 assert(save->buffer_map == save->buffer_ptr); in reset_counters()
393 save->buffer_ptr += sz; in convert_line_loop_to_strip()
534 save->buffer_ptr = vbo_save_map_vertex_store(ctx, save->vertex_store); in compile_vertex_list()
535 save->out_of_memory = save->buffer_ptr == NULL; in compile_vertex_list()
539 save->buffer_ptr = save->vertex_store->buffer_map in compile_vertex_list()
636 memcpy(save->buffer_ptr, in wrap_filled_vertex()
639 save->buffer_ptr += numComponents; in wrap_filled_vertex()
787 save->buffer_ptr = dest; in upgrade_vertex()
875 save->buffer_ptr[i] = save->vertex[i]; \
877 save->buffer_ptr += save->vertex_size; \
[all …]
Dvbo_exec.h96 fi_type *buffer_ptr; /* cursor, points into buffer */ member
Dvbo_save.h163 fi_type *buffer_ptr; /**< cursor, points into buffer_map */ member
/external/mesa3d/src/glx/
Dindirect_glx.c246 INT32 *buffer_ptr; in indirect_bind_tex_image() local
270 buffer_ptr = (INT32 *) (drawable_ptr + 1); in indirect_bind_tex_image()
271 num_attrib_ptr = (CARD32 *) (buffer_ptr + 1); in indirect_bind_tex_image()
275 *buffer_ptr = buffer; in indirect_bind_tex_image()
297 INT32 *buffer_ptr; in indirect_release_tex_image() local
312 buffer_ptr = (INT32 *) (drawable_ptr + 1); in indirect_release_tex_image()
315 *buffer_ptr = buffer; in indirect_release_tex_image()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcpu_runtime.cc134 void* buffer_ptr, const void* shape_ptr, xla::int32 shape_length) { in __xla_cpu_runtime_ReleaseInfeedBufferAfterDequeue() argument
146 xfeed->infeed()->ReleaseCurrentBuffer(buffer_length, buffer_ptr, in __xla_cpu_runtime_ReleaseInfeedBufferAfterDequeue()
177 void* buffer_ptr, const void* shape_ptr, xla::int32 shape_length) { in __xla_cpu_runtime_ReleaseOutfeedBufferAfterPopulation() argument
189 xfeed->outfeed()->ReleaseCurrentBuffer(buffer_length, buffer_ptr, in __xla_cpu_runtime_ReleaseOutfeedBufferAfterPopulation()
Dcpu_runtime.h124 void* buffer_ptr, const void* shape_ptr, xla::int32 shape_length);
143 void* buffer_ptr, const void* shape_ptr, xla::int32 shape_length);
/external/tensorflow/tensorflow/lite/tools/
Dverifier.cc60 const char* buffer_ptr = reinterpret_cast<const char*>(buffer.data()->data()); in VerifyStringTensorBuffer() local
62 uint32_t num_strings = *GetIntPtr(buffer_ptr); in VerifyStringTensorBuffer()
83 if (*GetIntPtr(buffer_ptr + offset) != header_offsets) { in VerifyStringTensorBuffer()
91 int string_offset = *GetIntPtr(buffer_ptr + offset); in VerifyStringTensorBuffer()
99 if (*GetIntPtr(buffer_ptr + offset - sizeof(int32_t)) != buffer_size) { in VerifyStringTensorBuffer()
/external/webrtc/talk/app/webrtc/test/
Dfakeaudiocapturemodule.cc617 Sample* buffer_ptr = reinterpret_cast<Sample*>(send_buffer_); in SetSendBuffer() local
621 buffer_ptr[i] = value; in SetSendBuffer()
630 const Sample* buffer_ptr = reinterpret_cast<const Sample*>(rec_buffer_); in CheckRecBuffer() local
634 if (buffer_ptr[i] >= value) return true; in CheckRecBuffer()
/external/openssh/
Dssh-pkcs11-helper.c109 buffer_append(&oqueue, buffer_ptr(m), mlen); in send_msg()
222 cp = buffer_ptr(&iqueue); in process()
347 len = write(out, buffer_ptr(&oqueue), olen); in main()
Dttymodes.c337 packet_put_string(buffer_ptr(&buf), buffer_len(&buf)); in tty_make_modes()
339 packet_put_raw(buffer_ptr(&buf), buffer_len(&buf)); in tty_make_modes()
Dmux.c654 buffer_put_string(&c->output, buffer_ptr(&out), buffer_len(&out)); in mux_confirm_remote_forward()
1075 buffer_put_string(&cc->output, buffer_ptr(&reply), buffer_len(&reply)); in mux_stdio_confirm()
1152 buffer_put_string(&c->output, buffer_ptr(&out), in mux_master_read_cb()
1202 buffer_put_string(&c->output, buffer_ptr(&out), in mux_master_read_cb()
1230 buffer_put_string(&mux_chan->output, buffer_ptr(&m), buffer_len(&m)); in mux_exit_message()
1251 buffer_put_string(&mux_chan->output, buffer_ptr(&m), buffer_len(&m)); in mux_tty_alloc_failed()
1404 buffer_put_string(&cc->output, buffer_ptr(&reply), buffer_len(&reply)); in mux_session_confirm()
1497 buffer_put_string(&queue, buffer_ptr(m), buffer_len(m)); in mux_client_write_packet()
1500 ptr = buffer_ptr(&queue); in mux_client_write_packet()
1554 need = get_u32(buffer_ptr(&queue)); in mux_client_read_packet()
[all …]
Dclientloop.c531 packet_put_string(buffer_ptr(&stdin_buffer), len); in client_make_packets_from_stdin_data()
725 atomicio(vwrite, fileno(stdout), buffer_ptr(bout), in client_suspend_self()
728 atomicio(vwrite, fileno(stderr), buffer_ptr(berr), in client_suspend_self()
1393 len = write(fileno(stdout), buffer_ptr(&stdout_buffer), in client_process_output()
1417 len = write(fileno(stderr), buffer_ptr(&stderr_buffer), in client_process_output()
1761 buffer_ptr(&stdout_buffer), buffer_len(&stdout_buffer)); in client_loop()
1771 buffer_ptr(&stderr_buffer), buffer_len(&stderr_buffer)); in client_loop()
2671 len, (u_char*)buffer_ptr(cmd)); in client_session2_setup()
2676 len, (u_char*)buffer_ptr(cmd)); in client_session2_setup()
2680 packet_put_string(buffer_ptr(cmd), buffer_len(cmd)); in client_session2_setup()
Dmonitor_wrap.c113 put_u32(buffer_ptr(&log_msg), buffer_len(&log_msg) - 4); in mm_log_handler()
114 if (atomicio(vwrite, mon->m_log_sendfd, buffer_ptr(&log_msg), in mm_log_handler()
142 if (atomicio(vwrite, sock, buffer_ptr(m), mlen) != mlen) in mm_request_send()
164 if (atomicio(read, sock, buffer_ptr(m), msg_len) != msg_len) in mm_request_receive()
Dbuffer.h35 #define buffer_ptr(b) sshbuf_mutable_ptr(b) macro
/external/tensorflow/tensorflow/lite/
Dmodel.cc407 const char* buffer_ptr; in ParseTensors() local
408 TF_LITE_ENSURE_STATUS(get_readonly_data(&buffer_ptr, &buffer_size)); in ParseTensors()
411 if (buffer_ptr) { in ParseTensors()
421 i, type, get_name(tensor), dims, quantization, buffer_ptr, in ParseTensors()
/external/webrtc/webrtc/common_video/libyuv/
Dwebrtc_libyuv.cc137 uint8_t* buffer_ptr = buffer; in ExtractBuffer() local
147 memcpy(&buffer_ptr[pos], plane_ptr, width); in ExtractBuffer()

12