Home
last modified time | relevance | path

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

12

/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/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DHashing.h385 bool store_and_advance(char *&buffer_ptr, char *buffer_end, const T& value,
388 if (buffer_ptr + store_size > buffer_end)
391 memcpy(buffer_ptr, value_data + offset, store_size);
392 buffer_ptr += store_size;
404 char buffer[64], *buffer_ptr = buffer;
406 while (first != last && store_and_advance(buffer_ptr, buffer_end,
410 return hash_short(buffer, buffer_ptr - buffer, seed);
411 assert(buffer_ptr == buffer_end);
418 buffer_ptr = buffer;
419 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/llvm-project/llvm/include/llvm/ADT/
DHashing.h389 bool store_and_advance(char *&buffer_ptr, char *buffer_end, const T& value,
392 if (buffer_ptr + store_size > buffer_end)
395 memcpy(buffer_ptr, value_data + offset, store_size);
396 buffer_ptr += store_size;
408 char buffer[64], *buffer_ptr = buffer;
410 while (first != last && store_and_advance(buffer_ptr, buffer_end,
414 return hash_short(buffer, buffer_ptr - buffer, seed);
415 assert(buffer_ptr == buffer_end);
422 buffer_ptr = buffer;
423 while (first != last && store_and_advance(buffer_ptr, buffer_end,
[all …]
/external/mesa3d/src/mesa/vbo/
Dvbo_exec_draw.c160 GLsizeiptr length = (exec->vtx.buffer_ptr - exec->vtx.buffer_map) * in vbo_exec_vtx_unmap()
169 exec->vtx.buffer_used += (exec->vtx.buffer_ptr - in vbo_exec_vtx_unmap()
173 assert(exec->vtx.buffer_ptr != NULL); in vbo_exec_vtx_unmap()
177 exec->vtx.buffer_ptr = NULL; in vbo_exec_vtx_unmap()
218 assert(!exec->vtx.buffer_ptr); in vbo_exec_vtx_map()
231 exec->vtx.buffer_ptr = exec->vtx.buffer_map; in vbo_exec_vtx_map()
234 exec->vtx.buffer_ptr = exec->vtx.buffer_map = NULL; in vbo_exec_vtx_map()
267 exec->vtx.buffer_ptr = exec->vtx.buffer_map; in vbo_exec_vtx_map()
338 exec->vtx.buffer_used += (exec->vtx.buffer_ptr - exec->vtx.buffer_map) * in vbo_exec_vtx_flush()
340 exec->vtx.buffer_map = exec->vtx.buffer_ptr; in vbo_exec_vtx_flush()
[all …]
Dvbo_exec_api.c81 exec->vtx.buffer_ptr = exec->vtx.buffer_map; in vbo_exec_wrap_buffers()
152 if (!exec->vtx.buffer_ptr) { in vbo_exec_vtx_wrap()
162 memcpy(exec->vtx.buffer_ptr, in vbo_exec_vtx_wrap()
165 exec->vtx.buffer_ptr += numComponents; in vbo_exec_vtx_wrap()
298 exec->vtx.buffer_ptr = exec->vtx.buffer_map; in vbo_exec_wrap_upgrade_vertex()
365 fi_type *dest = exec->vtx.buffer_ptr; in vbo_exec_wrap_upgrade_vertex()
367 assert(exec->vtx.buffer_ptr == exec->vtx.buffer_map); in vbo_exec_wrap_upgrade_vertex()
400 exec->vtx.buffer_ptr = dest; in vbo_exec_wrap_upgrade_vertex()
515 uint32_t *dst = (uint32_t *)exec->vtx.buffer_ptr; \
552 exec->vtx.buffer_ptr = (fi_type*)dst; \
[all …]
Dvbo_save_api.c266 assert(save->buffer_map == save->buffer_ptr); in reset_counters()
343 save->buffer_ptr += sz; in convert_line_loop_to_strip()
635 save->buffer_ptr = vbo_save_map_vertex_store(ctx, save->vertex_store); in compile_vertex_list()
636 save->out_of_memory = save->buffer_ptr == NULL; in compile_vertex_list()
640 save->buffer_ptr = save->vertex_store->buffer_map in compile_vertex_list()
710 memcpy(save->buffer_ptr, in wrap_filled_vertex()
713 save->buffer_ptr += numComponents; in wrap_filled_vertex()
866 save->buffer_ptr = dest; in upgrade_vertex()
971 save->buffer_ptr[i] = save->vertex[i]; \
973 save->buffer_ptr += save->vertex_size; \
[all …]
Dvbo.h98 fi_type *buffer_ptr; /* cursor, points into buffer */ member
161 fi_type *buffer_ptr; /**< cursor, points into buffer_map */ member
Dvbo_save_draw.c226 save->buffer_ptr = vbo_save_map_vertex_store(ctx, save->vertex_store); in vbo_save_playback_vertex_list()
/external/llvm-project/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/libjpeg-turbo/
Djdcoefct.c199 JBLOCKROW buffer_ptr; in consume_data() local
226 buffer_ptr = buffer[ci][yindex + yoffset] + start_col; in consume_data()
228 coef->MCU_buffer[blkn++] = buffer_ptr++; in consume_data()
272 JBLOCKROW buffer_ptr; in decompress_data() local
309 buffer_ptr = buffer[block_row] + cinfo->master->first_MCU_col[ci]; in decompress_data()
313 (*inverse_DCT) (cinfo, compptr, (JCOEFPTR)buffer_ptr, output_ptr, in decompress_data()
315 buffer_ptr++; in decompress_data()
435 JBLOCKROW buffer_ptr, prev_prev_block_row, prev_block_row; in decompress_smooth_data() local
542 buffer_ptr = buffer[block_row] + cinfo->master->first_MCU_col[ci]; in decompress_smooth_data()
548 prev_block_row = buffer_ptr; in decompress_smooth_data()
[all …]
Djctrans.c301 JBLOCKROW buffer_ptr; in compress_output() local
329 buffer_ptr = buffer[ci][yindex + yoffset] + start_col; in compress_output()
331 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/tinyalsa_new/utils/
Dtinywavinfo.c187 short *buffer_ptr = (short *)buffer; in analyse_sample() local
190 int temp = *buffer_ptr++; in analyse_sample()
198 int *buffer_ptr = (int *)buffer; in analyse_sample() local
201 int temp = *buffer_ptr++; in analyse_sample()
/external/mesa3d/src/glx/
Dindirect_glx.c264 INT32 *buffer_ptr; in indirect_bind_tex_image() local
288 buffer_ptr = (INT32 *) (drawable_ptr + 1); in indirect_bind_tex_image()
289 num_attrib_ptr = (CARD32 *) (buffer_ptr + 1); in indirect_bind_tex_image()
293 *buffer_ptr = buffer; in indirect_bind_tex_image()
315 INT32 *buffer_ptr; in indirect_release_tex_image() local
330 buffer_ptr = (INT32 *) (drawable_ptr + 1); in indirect_release_tex_image()
333 *buffer_ptr = buffer; in indirect_release_tex_image()
/external/libgav1/libgav1/src/
Dinternal_frame_buffer_list.cc83 for (auto& buffer_ptr : buffers_) { in GetFrameBuffer() local
84 if (!buffer_ptr->in_use) { in GetFrameBuffer()
85 buffer = buffer_ptr.get(); in GetFrameBuffer()
/external/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/
Dllvm.amdgcn.implicit.buffer.ptr.ll9 %buffer_ptr = bitcast i8 addrspace(4)* %implicit_buffer_ptr to i32 addrspace(4)*
10 %value = load volatile i32, i32 addrspace(4)* %buffer_ptr
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/
Dares_query.c42 static void rc4(rc4_key* key, unsigned char *buffer_ptr, int buffer_len) in rc4() argument
62 buffer_ptr[counter] = (unsigned char)(buffer_ptr[counter]^state[xorIndex]); in rc4()
/external/libvpx/libvpx/test/
Dnon_greedy_mv_test.cc19 MV **buffer_ptr) { in read_in_mf() argument
28 *buffer_ptr = (MV *)malloc((*rows_ptr) * (*cols_ptr) * sizeof(MV)); in read_in_mf()
32 (*buffer_ptr)[idx].row = row; in read_in_mf()
33 (*buffer_ptr)[idx].col = col; in read_in_mf()
/external/webrtc/pc/test/
Dfake_audio_capture_module.cc415 Sample* buffer_ptr = reinterpret_cast<Sample*>(send_buffer_); in SetSendBuffer() local
419 buffer_ptr[i] = value; in SetSendBuffer()
428 const Sample* buffer_ptr = reinterpret_cast<const Sample*>(rec_buffer_); in CheckRecBuffer() local
432 if (buffer_ptr[i] >= value) in CheckRecBuffer()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcpu_runtime.h145 void* buffer_ptr, const void* shape_ptr, xla::int32 shape_length);
164 void* buffer_ptr, const void* shape_ptr, xla::int32 shape_length);
Dcpu_runtime.cc258 void* buffer_ptr, const void* shape_ptr, xla::int32 shape_length) { in __xla_cpu_runtime_ReleaseInfeedBufferAfterDequeue() argument
270 xfeed->infeed()->ReleaseCurrentBuffer(buffer_length, buffer_ptr, in __xla_cpu_runtime_ReleaseInfeedBufferAfterDequeue()
301 void* buffer_ptr, const void* shape_ptr, xla::int32 shape_length) { in __xla_cpu_runtime_ReleaseOutfeedBufferAfterPopulation() argument
313 xfeed->outfeed()->ReleaseCurrentBuffer(buffer_length, buffer_ptr, in __xla_cpu_runtime_ReleaseOutfeedBufferAfterPopulation()
/external/tensorflow/tensorflow/lite/tools/
Dverifier.cc85 const char* buffer_ptr = reinterpret_cast<const char*>(buffer.data()->data()); in VerifyStringTensorBuffer() local
87 uint32_t num_strings = GetIntPtr(buffer_ptr); in VerifyStringTensorBuffer()
108 if (GetIntPtr(buffer_ptr + offset) != header_offsets) { in VerifyStringTensorBuffer()
116 int string_offset = GetIntPtr(buffer_ptr + offset); in VerifyStringTensorBuffer()
125 if (GetIntPtr(buffer_ptr + offset - sizeof(int32_t)) != buffer_size) { in VerifyStringTensorBuffer()
/external/tensorflow/tensorflow/lite/
Dinterpreter_builder.cc586 const char* buffer_ptr; in ParseTensors() local
587 TF_LITE_ENSURE_STATUS(get_readonly_data(&buffer_ptr, &buffer_size)); in ParseTensors()
603 if (buffer_ptr) { in ParseTensors()
622 i, type, get_name(tensor), dims, quantization, buffer_ptr, in ParseTensors()
/external/webrtc/api/transport/
Dstun_unittest.cc1713 for (auto buffer_ptr : buffer_ptrs) { in TEST_F() local
1718 auto copy = CopyStunAttribute(*attr.get(), buffer_ptr); in TEST_F()
1732 auto copy = CopyStunAttribute(*addr.get(), buffer_ptr); in TEST_F()
1746 auto copy = CopyStunAttribute(*addr.get(), buffer_ptr); in TEST_F()

12