/third_party/ffmpeg/libavformat/ |
D | mxg.c | 35 uint8_t *buffer_ptr; member 67 mxg->soi_ptr = mxg->buffer_ptr = mxg->buffer = 0; in mxg_read_header() 103 unsigned int current_pos = mxg->buffer_ptr - mxg->buffer; in mxg_update_cache() 118 mxg->buffer_ptr = mxg->buffer + current_pos; in mxg_update_cache() 122 ret = avio_read(s->pb, mxg->buffer_ptr + mxg->cache_size, in mxg_update_cache() 146 end = mxg->buffer_ptr + mxg->cache_size; in mxg_read_packet() 151 startmarker_ptr = mxg_find_startmarker(mxg->buffer_ptr, search_end); in mxg_read_packet() 154 startmarker_ptr = mxg_find_startmarker(mxg->buffer_ptr, search_end); in mxg_read_packet() 161 mxg->buffer_ptr = startmarker_ptr + 2; in mxg_read_packet() 162 mxg->cache_size = end - mxg->buffer_ptr; in mxg_read_packet() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | Hashing.h | 387 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 …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | Hashing.h | 385 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 …]
|
/third_party/jerryscript/jerry-core/ecma/builtin-objects/ |
D | ecma-builtin-helpers.c | 64 lit_utf8_byte_t *buffer_ptr = str_buffer; in ecma_builtin_helper_object_to_string_tag_helper() local 76 buffer_ptr = lit_copy_magic_string_to_buffer (magic_string_ids[i], buffer_ptr, in ecma_builtin_helper_object_to_string_tag_helper() 77 … (lit_utf8_size_t) ((str_buffer + buffer_size) - buffer_ptr)); in ecma_builtin_helper_object_to_string_tag_helper() 79 JERRY_ASSERT (buffer_ptr <= str_buffer + buffer_size); in ecma_builtin_helper_object_to_string_tag_helper() 83 buffer_ptr += ecma_string_copy_to_cesu8_buffer (tag_str_p, buffer_ptr, in ecma_builtin_helper_object_to_string_tag_helper() 84 … (lit_utf8_size_t) ((str_buffer + buffer_size) - buffer_ptr)); in ecma_builtin_helper_object_to_string_tag_helper() 86 JERRY_ASSERT (buffer_ptr <= str_buffer + buffer_size); in ecma_builtin_helper_object_to_string_tag_helper() 89 buffer_ptr = lit_copy_magic_string_to_buffer (LIT_MAGIC_STRING_RIGHT_SQUARE_CHAR, buffer_ptr, in ecma_builtin_helper_object_to_string_tag_helper() 90 … (lit_utf8_size_t) ((str_buffer + buffer_size) - buffer_ptr)); in ecma_builtin_helper_object_to_string_tag_helper() 92 JERRY_ASSERT (buffer_ptr <= str_buffer + buffer_size); in ecma_builtin_helper_object_to_string_tag_helper() [all …]
|
D | ecma-builtin-string-prototype.c | 1168 lit_utf8_byte_t *buffer_ptr = str_buffer; in ecma_builtin_string_prototype_object_repeat() local 1172 buffer_ptr += ecma_string_copy_to_cesu8_buffer (original_string_p, buffer_ptr, in ecma_builtin_string_prototype_object_repeat() 1176 …ret_string_p = ecma_new_ecma_string_from_utf8 (str_buffer, (lit_utf8_size_t) (buffer_ptr - str_buf… in ecma_builtin_string_prototype_object_repeat()
|
/third_party/mesa3d/src/mesa/vbo/ |
D | vbo_exec_draw.c | 166 GLsizeiptr length = (exec->vtx.buffer_ptr - exec->vtx.buffer_map) * in vbo_exec_vtx_unmap() 175 exec->vtx.buffer_used += (exec->vtx.buffer_ptr - in vbo_exec_vtx_unmap() 179 assert(exec->vtx.buffer_ptr != NULL); in vbo_exec_vtx_unmap() 183 exec->vtx.buffer_ptr = NULL; in vbo_exec_vtx_unmap() 226 assert(!exec->vtx.buffer_ptr); in vbo_exec_vtx_map() 239 exec->vtx.buffer_ptr = exec->vtx.buffer_map; in vbo_exec_vtx_map() 242 exec->vtx.buffer_ptr = exec->vtx.buffer_map = NULL; in vbo_exec_vtx_map() 275 exec->vtx.buffer_ptr = exec->vtx.buffer_map; in vbo_exec_vtx_map() 347 exec->vtx.buffer_used += (exec->vtx.buffer_ptr - exec->vtx.buffer_map) * in vbo_exec_vtx_flush() 349 exec->vtx.buffer_map = exec->vtx.buffer_ptr; in vbo_exec_vtx_flush() [all …]
|
D | vbo_exec_api.c | 69 exec->vtx.buffer_ptr = exec->vtx.buffer_map; in vbo_exec_wrap_buffers() 140 if (!exec->vtx.buffer_ptr) { in vbo_exec_vtx_wrap() 150 memcpy(exec->vtx.buffer_ptr, in vbo_exec_vtx_wrap() 153 exec->vtx.buffer_ptr += numComponents; in vbo_exec_vtx_wrap() 263 if (unlikely(!exec->vtx.buffer_ptr)) { in vbo_exec_wrap_upgrade_vertex() 267 assert(exec->vtx.buffer_ptr); in vbo_exec_wrap_upgrade_vertex() 301 exec->vtx.buffer_ptr = exec->vtx.buffer_map; in vbo_exec_wrap_upgrade_vertex() 368 fi_type *dest = exec->vtx.buffer_ptr; in vbo_exec_wrap_upgrade_vertex() 370 assert(exec->vtx.buffer_ptr == exec->vtx.buffer_map); in vbo_exec_wrap_upgrade_vertex() 403 exec->vtx.buffer_ptr = dest; in vbo_exec_wrap_upgrade_vertex() [all …]
|
D | vbo.h | 118 fi_type *buffer_ptr; /* cursor, points into buffer */ member
|
/third_party/ffmpeg/libavdevice/ |
D | oss_enc.c | 65 len = FFMIN(OSS_AUDIO_BLOCK_SIZE - s->buffer_ptr, size); in audio_write_packet() 66 memcpy(s->buffer + s->buffer_ptr, buf, len); in audio_write_packet() 67 s->buffer_ptr += len; in audio_write_packet() 68 if (s->buffer_ptr >= OSS_AUDIO_BLOCK_SIZE) { in audio_write_packet() 76 s->buffer_ptr = 0; in audio_write_packet()
|
D | oss.h | 37 int buffer_ptr; member
|
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/ |
D | jdcoefct.c | 197 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 …]
|
D | jctrans.c | 300 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()
|
D | jccoefct.c | 348 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()
|
/third_party/skia/third_party/externals/libjpeg-turbo/ |
D | jdcoefct.c | 199 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 …]
|
D | jctrans.c | 301 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()
|
D | jccoefct.c | 348 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()
|
/third_party/libjpeg-turbo/ |
D | jdcoefct.c | 199 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 …]
|
D | jctrans.c | 301 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()
|
D | jccoefct.c | 348 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()
|
/third_party/json/include/nlohmann/detail/output/ |
D | serializer.hpp | 708 …auto buffer_ptr = number_buffer.begin(); // NOLINT(llvm-qualified-auto,readability-qualified-auto,… in dump_integer() local 717 *buffer_ptr = '-'; in dump_integer() 734 buffer_ptr += n_chars; in dump_integer() 742 *(--buffer_ptr) = digits_to_99[digits_index][1]; in dump_integer() 743 *(--buffer_ptr) = digits_to_99[digits_index][0]; in dump_integer() 749 *(--buffer_ptr) = digits_to_99[digits_index][1]; in dump_integer() 750 *(--buffer_ptr) = digits_to_99[digits_index][0]; in dump_integer() 754 *(--buffer_ptr) = static_cast<char>('0' + abs_value); in dump_integer()
|
/third_party/node/deps/cares/src/lib/ |
D | ares_query.c | 36 static void rc4(rc4_key* key, unsigned char *buffer_ptr, int buffer_len) in rc4() argument 56 buffer_ptr[counter] = (unsigned char)(buffer_ptr[counter]^state[xorIndex]); in rc4()
|
/third_party/mesa3d/src/imagination/vulkan/ |
D | pvr_cmd_buffer.c | 3967 uint32_t *buffer_ptr; in pvr_emit_ppp_state() local 3970 buffer_ptr = ppp_state_words; in pvr_emit_ppp_state() 3978 buffer_ptr++; in pvr_emit_ppp_state() 3983 *buffer_ptr++ = ppp_state->isp.control; in pvr_emit_ppp_state() 3985 *buffer_ptr++ = ppp_state->isp.front_a; in pvr_emit_ppp_state() 3989 *buffer_ptr++ = ppp_state->isp.front_b; in pvr_emit_ppp_state() 3994 *buffer_ptr++ = ppp_state->isp.back_a; in pvr_emit_ppp_state() 3999 *buffer_ptr++ = ppp_state->isp.back_b; in pvr_emit_ppp_state() 4016 pvr_csb_pack (buffer_ptr++, TA_STATE_ISPDBSC, ispdbsc) { in pvr_emit_ppp_state() 4028 *buffer_ptr++ = ppp_state->pds.pixel_shader_base; in pvr_emit_ppp_state() [all …]
|
D | pvr_job_context.c | 383 uint32_t *buffer_ptr; in pvr_pds_compute_ctx_sr_program_create_and_upload() local 406 buffer_ptr = in pvr_pds_compute_ctx_sr_program_create_and_upload() 411 buffer_ptr = pvr_pds_generate_compute_shared_loading_program( in pvr_pds_compute_ctx_sr_program_create_and_upload() 413 buffer_ptr, in pvr_pds_compute_ctx_sr_program_create_and_upload() 417 buffer_ptr = in pvr_pds_compute_ctx_sr_program_create_and_upload() 419 buffer_ptr, in pvr_pds_compute_ctx_sr_program_create_and_upload() 424 assert((uint32_t)(buffer_ptr - staging_buffer) * 4 < in pvr_pds_compute_ctx_sr_program_create_and_upload() 439 (uint32_t)(buffer_ptr - &staging_buffer[code_offset]), in pvr_pds_compute_ctx_sr_program_create_and_upload()
|
/third_party/libuv/src/win/ |
D | process-stdio.c | 171 BYTE** buffer_ptr) { in uv__stdio_create() argument 348 *buffer_ptr = buffer; in uv__stdio_create()
|
/third_party/ffmpeg/libavcodec/ |
D | qdmc.c | 66 float *buffer_ptr; member 624 s->buffer_ptr = &s->buffer[s->nb_channels * s->buffer_offset]; in decode_frame() 656 r = &s->buffer_ptr[s->nb_channels * n * s->subframe_size]; in decode_frame() 663 r = &s->buffer_ptr[n * s->subframe_size * s->nb_channels]; in decode_frame()
|