Home
last modified time | relevance | path

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

12

/third_party/ffmpeg/libavformat/
Dmxg.c35 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/
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 …]
/third_party/skia/third_party/externals/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 …]
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-helpers.c64 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 …]
Decma-builtin-string-prototype.c1168 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/
Dvbo_exec_draw.c166 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 …]
Dvbo_exec_api.c69 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 …]
Dvbo.h118 fi_type *buffer_ptr; /* cursor, points into buffer */ member
Dvbo_save_api.c1056 fi_type *buffer_ptr = save->vertex_store->buffer_in_ram; in wrap_filled_vertex() local
1059 memcpy(buffer_ptr, in wrap_filled_vertex()
1335 fi_type *buffer_ptr = save->vertex_store->buffer_in_ram + \
1339 buffer_ptr[i] = save->vertex[i]; \
/third_party/ffmpeg/libavdevice/
Doss_enc.c65 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()
Doss.h37 int buffer_ptr; member
/third_party/skia/third_party/externals/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()
/third_party/json/include/nlohmann/detail/output/
Dserializer.hpp740 …auto buffer_ptr = number_buffer.begin(); // NOLINT(llvm-qualified-auto,readability-qualified-auto,… in dump_integer() local
748 *buffer_ptr = '-'; in dump_integer()
765 buffer_ptr += n_chars; in dump_integer()
773 *(--buffer_ptr) = digits_to_99[digits_index][1]; in dump_integer()
774 *(--buffer_ptr) = digits_to_99[digits_index][0]; in dump_integer()
780 *(--buffer_ptr) = digits_to_99[digits_index][1]; in dump_integer()
781 *(--buffer_ptr) = digits_to_99[digits_index][0]; in dump_integer()
785 *(--buffer_ptr) = static_cast<char>('0' + abs_value); in dump_integer()
/third_party/mesa3d/src/imagination/vulkan/
Dpvr_cmd_buffer.c3967 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 …]
Dpvr_job_context.c383 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/
Dprocess-stdio.c171 BYTE** buffer_ptr) { in uv__stdio_create() argument
348 *buffer_ptr = buffer; in uv__stdio_create()
Dinternal.h292 BYTE** buffer_ptr);
/third_party/node/deps/uv/src/win/
Dprocess-stdio.c171 BYTE** buffer_ptr) { in uv__stdio_create() argument
348 *buffer_ptr = buffer; in uv__stdio_create()
Dinternal.h290 BYTE** buffer_ptr);
/third_party/ffmpeg/libavcodec/
Dqdmc.c66 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()
/third_party/mesa3d/src/glx/
Dglxcmds.c2423 INT32 *buffer_ptr; in glXBindTexImageEXT() local
2457 buffer_ptr = (INT32 *) (drawable_ptr + 1); in glXBindTexImageEXT()
2458 num_attrib_ptr = (CARD32 *) (buffer_ptr + 1); in glXBindTexImageEXT()
2462 *buffer_ptr = buffer; in glXBindTexImageEXT()
2484 INT32 *buffer_ptr; in glXReleaseTexImageEXT() local
2510 buffer_ptr = (INT32 *) (drawable_ptr + 1); in glXReleaseTexImageEXT()
2513 *buffer_ptr = buffer; in glXReleaseTexImageEXT()
/third_party/cares/
Dbackport-001-CVE-2023-31147.patch375 -static void rc4(rc4_key* key, unsigned char *buffer_ptr, int buffer_len)
395 - buffer_ptr[counter] = (unsigned char)(buffer_ptr[counter]^state[xorIndex]);
/third_party/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c311 radv_load_ubo(struct ac_shader_abi *abi, LLVMValueRef buffer_ptr) in radv_load_ubo() argument
314 return radv_load_rsrc(ctx, buffer_ptr, ctx->ac.v4i32); in radv_load_ubo()
318 radv_load_ssbo(struct ac_shader_abi *abi, LLVMValueRef buffer_ptr, bool write, bool non_uniform) in radv_load_ssbo() argument
321 return radv_load_rsrc(ctx, buffer_ptr, ctx->ac.v4i32); in radv_load_ssbo()

12