Home
last modified time | relevance | path

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

12

/external/tpm2/
Dmarshal_test.c33 BYTE *buffer_ptr = buffer; \
40 BYTE *buffer_ptr = buffer; \
46 buffer_ptr = buffer; \
51 buffer_ptr = buffer; \
83 UINT16 bytes_marshalled = uint32_t_Marshal(&value, &buffer_ptr, &size); in BasicTypesSuccessTest()
86 CHECK_EQ(buffer_ptr, buffer+num_bytes) in BasicTypesSuccessTest()
89 TPM_RC rc = uint32_t_Unmarshal(&value, &buffer_ptr, &size); in BasicTypesSuccessTest()
92 CHECK_EQ(buffer_ptr, buffer+num_bytes); in BasicTypesSuccessTest()
101 UINT16 bytes_marshalled = uint32_t_Marshal(&value, &buffer_ptr, &size); in BasicTypesFailureTest()
104 CHECK_EQ(buffer, buffer_ptr); in BasicTypesFailureTest()
[all …]
/external/llvm/include/llvm/ADT/
DHashing.h388 bool store_and_advance(char *&buffer_ptr, char *buffer_end, const T& value,
391 if (buffer_ptr + store_size > buffer_end)
394 memcpy(buffer_ptr, value_data + offset, store_size);
395 buffer_ptr += store_size;
407 char buffer[64], *buffer_ptr = buffer;
409 while (first != last && store_and_advance(buffer_ptr, buffer_end,
413 return hash_short(buffer, buffer_ptr - buffer, seed);
414 assert(buffer_ptr == buffer_end);
421 buffer_ptr = buffer;
422 while (first != last && store_and_advance(buffer_ptr, buffer_end,
[all …]
/external/pdfium/third_party/libjpeg/
Dfpdfapi_jdcoefct.c251 JBLOCKROW buffer_ptr; in consume_data() local
278 buffer_ptr = buffer[ci][yindex+yoffset] + start_col; in consume_data()
280 coef->MCU_buffer[blkn++] = buffer_ptr++; in consume_data()
322 JBLOCKROW buffer_ptr; in decompress_data() local
359 buffer_ptr = buffer[block_row]; in decompress_data()
362 (*inverse_DCT) (cinfo, compptr, (JCOEFPTR) buffer_ptr, in decompress_data()
364 buffer_ptr++; in decompress_data()
468 JBLOCKROW buffer_ptr, prev_block_row, next_block_row; in decompress_smooth_data() local
544 buffer_ptr = buffer[block_row]; in decompress_smooth_data()
546 prev_block_row = buffer_ptr; in decompress_smooth_data()
[all …]
Dfpdfapi_jctrans.c288 JBLOCKROW buffer_ptr; in compress_output() local
316 buffer_ptr = buffer[ci][yindex+yoffset] + start_col; in compress_output()
318 MCU_buffer[blkn++] = buffer_ptr++; in compress_output()
Dfpdfapi_jccoefct.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/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, 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.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.c347 JBLOCKROW buffer_ptr; in compress_output() local
373 buffer_ptr = buffer[ci][yindex+yoffset] + start_col; in compress_output()
375 coef->MCU_buffer[blkn++] = buffer_ptr++; in compress_output()
/external/opencv3/3rdparty/libjpeg/
Djdcoefct.c253 JBLOCKROW buffer_ptr; in consume_data() local
280 buffer_ptr = buffer[ci][yindex+yoffset] + start_col; in consume_data()
282 coef->MCU_buffer[blkn++] = buffer_ptr++; in consume_data()
324 JBLOCKROW buffer_ptr; in decompress_data() local
361 buffer_ptr = buffer[block_row]; in decompress_data()
364 (*inverse_DCT) (cinfo, compptr, (JCOEFPTR) buffer_ptr, in decompress_data()
366 buffer_ptr++; in decompress_data()
470 JBLOCKROW buffer_ptr, prev_block_row, next_block_row; in decompress_smooth_data() local
546 buffer_ptr = buffer[block_row]; in decompress_smooth_data()
548 prev_block_row = buffer_ptr; in decompress_smooth_data()
[all …]
Djctrans.c285 JBLOCKROW buffer_ptr; in compress_output() local
313 buffer_ptr = buffer[ci][yindex+yoffset] + start_col; in compress_output()
315 MCU_buffer[blkn++] = buffer_ptr++; in compress_output()
Djccoefct.c353 JBLOCKROW buffer_ptr; in compress_output() local
379 buffer_ptr = buffer[ci][yindex+yoffset] + start_col; in compress_output()
381 coef->MCU_buffer[blkn++] = buffer_ptr++; in compress_output()
/external/mesa3d/src/mesa/vbo/
Dvbo_exec_draw.c274 GLsizeiptr length = (exec->vtx.buffer_ptr - exec->vtx.buffer_map) * sizeof(float); in vbo_exec_vtx_unmap()
281 exec->vtx.buffer_used += (exec->vtx.buffer_ptr - in vbo_exec_vtx_unmap()
285 assert(exec->vtx.buffer_ptr != NULL); in vbo_exec_vtx_unmap()
289 exec->vtx.buffer_ptr = NULL; in vbo_exec_vtx_unmap()
313 assert(!exec->vtx.buffer_ptr); in vbo_exec_vtx_map()
325 exec->vtx.buffer_ptr = exec->vtx.buffer_map; in vbo_exec_vtx_map()
328 exec->vtx.buffer_ptr = exec->vtx.buffer_map = NULL; in vbo_exec_vtx_map()
352 exec->vtx.buffer_ptr = exec->vtx.buffer_map; in vbo_exec_vtx_map()
439 exec->vtx.buffer_ptr = exec->vtx.buffer_map; in vbo_exec_vtx_flush()
Dvbo_exec_api.c72 exec->vtx.buffer_ptr = exec->vtx.buffer_map; in vbo_exec_wrap_buffers()
127 if (!exec->vtx.buffer_ptr) { in vbo_exec_vtx_wrap()
137 memcpy( exec->vtx.buffer_ptr, data, in vbo_exec_vtx_wrap()
139 exec->vtx.buffer_ptr += exec->vtx.vertex_size; in vbo_exec_vtx_wrap()
286 exec->vtx.buffer_ptr = exec->vtx.buffer_map; in vbo_exec_wrap_upgrade_vertex()
320 GLfloat *dest = exec->vtx.buffer_ptr; in vbo_exec_wrap_upgrade_vertex()
323 assert(exec->vtx.buffer_ptr == exec->vtx.buffer_map); in vbo_exec_wrap_upgrade_vertex()
355 exec->vtx.buffer_ptr = dest; in vbo_exec_wrap_upgrade_vertex()
429 exec->vtx.buffer_ptr[i] = exec->vtx.vertex[i]; \
431 exec->vtx.buffer_ptr += exec->vtx.vertex_size; \
[all …]
Dvbo_save_api.c293 assert(save->buffer == save->buffer_ptr); in _save_reset_counters()
422 save->buffer_ptr = vbo_save_map_vertex_store(ctx, save->vertex_store); in _save_compile_vertex_list()
423 save->out_of_memory = save->buffer_ptr == NULL; in _save_compile_vertex_list()
500 memcpy(save->buffer_ptr, data, save->vertex_size * sizeof(GLfloat)); in _save_wrap_filled_vertex()
502 save->buffer_ptr += save->vertex_size; in _save_wrap_filled_vertex()
640 save->buffer_ptr = dest; in _save_upgrade_vertex()
717 save->buffer_ptr[i] = save->vertex[i]; \
719 save->buffer_ptr += save->vertex_size; \
1507 save->buffer_ptr = vbo_save_map_vertex_store(ctx, save->vertex_store); in vbo_save_NewList()
Dvbo_exec.h96 GLfloat *buffer_ptr; /* cursor, points into buffer */ member
/external/mesa3d/src/glx/
Dindirect_glx.c251 INT32 *buffer_ptr; in indirect_bind_tex_image() local
275 buffer_ptr = (INT32 *) (drawable_ptr + 1); in indirect_bind_tex_image()
276 num_attrib_ptr = (CARD32 *) (buffer_ptr + 1); in indirect_bind_tex_image()
280 *buffer_ptr = buffer; in indirect_bind_tex_image()
302 INT32 *buffer_ptr; in indirect_release_tex_image() local
317 buffer_ptr = (INT32 *) (drawable_ptr + 1); in indirect_release_tex_image()
320 *buffer_ptr = buffer; in indirect_release_tex_image()
/external/c-ares/
Dares_query.c46 void ares__rc4(rc4_key* key, unsigned char *buffer_ptr, int buffer_len) in ares__rc4() argument
66 buffer_ptr[counter] = (unsigned char)(buffer_ptr[counter]^state[xorIndex]); in ares__rc4()
/external/netperf/src/
Dnettest_sctp.c693 message_int_ptr = (int *)(send_ring->buffer_ptr); in send_sctp_stream()
711 send_ring->buffer_ptr, send_size, in send_sctp_stream()
794 sctp_recvmsg(send_socket, send_ring->buffer_ptr, send_size, NULL, in send_sctp_stream()
1307 message_int_ptr = (int *)recv_ring->buffer_ptr; in recv_sctp_stream()
1322 recv_ring->buffer_ptr, recv_size, in recv_sctp_stream()
1353 if (sctp_process_event(s_data, recv_ring->buffer_ptr) == SCTP_CLOSE) in recv_sctp_stream()
1370 message_int_ptr = (int *)(recv_ring->buffer_ptr); in recv_sctp_stream()
1831 message_int_ptr = (int *)(send_ring->buffer_ptr); in send_sctp_stream_1toMany()
1851 send_ring->buffer_ptr, in send_sctp_stream_1toMany()
1951 sctp_recvmsg(send_socket[num_associations], send_ring->buffer_ptr, in send_sctp_stream_1toMany()
[all …]
Dnettest_unix.c483 message_int_ptr = (int *)(send_ring->buffer_ptr); in send_stream_stream()
495 send_ring->buffer_ptr, in send_stream_stream()
940 message_int_ptr = (int *)recv_ring->buffer_ptr; in recv_stream_stream()
952 while ((len = recv(s_data, recv_ring->buffer_ptr, recv_size, 0)) != 0) { in recv_stream_stream()
965 message_int_ptr = (int *)(recv_ring->buffer_ptr); in recv_stream_stream()
1279 send_ring->buffer_ptr, in send_stream_rr()
1294 temp_message_ptr = recv_ring->buffer_ptr; in send_stream_rr()
1730 message_int_ptr = (int *)(send_ring->buffer_ptr); in send_dg_stream()
1742 send_ring->buffer_ptr, in send_dg_stream()
2107 recv_ring->buffer_ptr, in recv_dg_stream()
[all …]
Dnettest_sdp.c513 access_buffer(send_ring->buffer_ptr, in send_sdp_stream()
530 send_ring->buffer_ptr, in send_sdp_stream()
593 recv(send_socket, send_ring->buffer_ptr, send_size, 0); in send_sdp_stream()
1223 recv_ring->buffer_ptr, in send_sdp_maerts()
1236 access_buffer(recv_ring->buffer_ptr, in send_sdp_maerts()
1814 while ((len = recv(s_data, recv_ring->buffer_ptr, recv_size, 0)) != 0) { in recv_sdp_stream()
1826 access_buffer(recv_ring->buffer_ptr, in recv_sdp_stream()
2163 access_buffer(send_ring->buffer_ptr, in recv_sdp_maerts()
2171 send_ring->buffer_ptr, in recv_sdp_maerts()
2205 recv(s_data, send_ring->buffer_ptr, send_size, 0); in recv_sdp_maerts()
[all …]
Dnettest_xti.c902 access_buffer(send_ring->buffer_ptr, in send_xti_tcp_stream()
915 send_ring->buffer_ptr, in send_xti_tcp_stream()
1549 access_buffer(recv_ring->buffer_ptr, in recv_xti_tcp_stream()
1560 recv_ring->buffer_ptr, in recv_xti_tcp_stream()
1571 access_buffer(recv_ring->buffer_ptr, in recv_xti_tcp_stream()
2083 send_ring->buffer_ptr, in send_xti_tcp_rr()
2104 temp_message_ptr = recv_ring->buffer_ptr; in send_xti_tcp_rr()
2716 unitdata.udata.buf = send_ring->buffer_ptr; in send_xti_udp_stream()
2770 access_buffer(send_ring->buffer_ptr, in send_xti_udp_stream()
2799 unitdata.udata.buf = send_ring->buffer_ptr; in send_xti_udp_stream()
[all …]
Dnettest_bsd.c2060 access_buffer(send_ring->buffer_ptr, in send_tcp_stream()
2077 send_ring->buffer_ptr, in send_tcp_stream()
2140 recv(send_socket, send_ring->buffer_ptr, send_size, 0); in send_tcp_stream()
2792 recv_ring->buffer_ptr, in send_tcp_maerts()
2805 access_buffer(recv_ring->buffer_ptr, in send_tcp_maerts()
3715 access_buffer(send_ring->buffer_ptr, in send_exs_tcp_stream()
3730 (exs_send (send_socket, send_ring->buffer_ptr, send_size, in send_exs_tcp_stream()
3841 recv(send_socket, send_ring->buffer_ptr, send_size, 0); in send_exs_tcp_stream()
5143 while (!times_up && ((len = recv(s_data, recv_ring->buffer_ptr, recv_size, 0)) != 0)) { in recv_tcp_stream()
5157 access_buffer(recv_ring->buffer_ptr, in recv_tcp_stream()
[all …]
Dnetlib.c1585 temp_link->buffer_ptr = (char *)(( (long)(temp_link->buffer_base) + in allocate_buffer_ring()
1589 temp_link->buffer_ptr = (char *)(( (ULONG_PTR)(temp_link->buffer_base) + in allocate_buffer_ring()
1593 temp_link->buffer_ptr += offset; in allocate_buffer_ring()
1596 char *bufptr = temp_link->buffer_ptr; in allocate_buffer_ring()
1614 char *bufptr = temp_link->buffer_ptr; in allocate_buffer_ring()
1643 access_buffer(char *buffer_ptr,int length, int dirty_count, int clean_count) { in access_buffer() argument
1649 temp_buffer = buffer_ptr; in access_buffer()
1776 temp_link->buffer_ptr = (char *) in allocate_exs_buffer_ring()
1780 temp_link->buffer_ptr = (char *) in allocate_exs_buffer_ring()
1784 temp_link->buffer_ptr += offset; in allocate_exs_buffer_ring()
[all …]
/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/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