Home
last modified time | relevance | path

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

12

/third_party/mbedtls/tests/suites/
Dtest_suite_pkwrite.function20 size_t ilen, pem_len, buf_index;
34 for (buf_index = pem_len; buf_index < sizeof(buf); ++buf_index) {
35 TEST_ASSERT(buf[buf_index] == 0);
59 size_t ilen, pem_len, buf_index;
74 for (buf_index = pem_len; buf_index < sizeof(buf); ++buf_index) {
75 TEST_ASSERT(buf[buf_index] == 0);
Dtest_suite_x509write.function151 size_t pem_len = 0, buf_index;
209 for (buf_index = pem_len; buf_index < sizeof(buf); ++buf_index) {
210 TEST_ASSERT(buf[buf_index] == 0);
346 size_t olen = 0, pem_len = 0, buf_index = 0;
480 for (buf_index = pem_len; buf_index < sizeof(buf); ++buf_index) {
481 TEST_ASSERT(buf[buf_index] == 0);
/third_party/ffmpeg/libavcodec/
Dh2645_parse.h120 int buf_size, int *buf_index, void *logctx) in get_nalsize() argument
124 if (*buf_index >= buf_size - nal_length_size) { in get_nalsize()
130 nalsize = ((unsigned)nalsize << 8) | buf[(*buf_index)++]; in get_nalsize()
131 if (nalsize <= 0 || nalsize > buf_size - *buf_index) { in get_nalsize()
133 "Invalid NAL unit size (%d > %d).\n", nalsize, buf_size - *buf_index); in get_nalsize()
Dh264_parser.c70 int buf_index, int next_avc) in find_start_code() argument
74 buf_index = avpriv_find_start_code(buf + buf_index, buf + next_avc + 1, &state) - buf - 1; in find_start_code()
76 return FFMIN(buf_index, buf_size); in find_start_code()
263 int buf_index, next_avc; in parse_nal_units() local
287 buf_index = 0; in parse_nal_units()
293 if (buf_index >= next_avc) { in parse_nal_units()
294 nalsize = get_nalsize(p->nal_length_size, buf, buf_size, &buf_index, avctx); in parse_nal_units()
297 next_avc = buf_index + nalsize; in parse_nal_units()
299 buf_index = find_start_code(buf, buf_size, buf_index, next_avc); in parse_nal_units()
300 if (buf_index >= buf_size) in parse_nal_units()
[all …]
Dh264dec.c949 int *got_frame, int buf_index) in send_next_delayed_frame() argument
978 return buf_index; in send_next_delayed_frame()
987 int buf_index; in h264_decode_frame() local
1014 buf_index = decode_nal_units(h, buf, buf_size); in h264_decode_frame()
1015 if (buf_index < 0) in h264_decode_frame()
1019 av_assert0(buf_index <= buf_size); in h264_decode_frame()
1020 return send_next_delayed_frame(h, pict, got_frame, buf_index); in h264_decode_frame()
1048 return get_consumed_bytes(buf_index, buf_size); in h264_decode_frame()
Dh2645_parse.c429 int buf_index; in ff_h2645_packet_split() local
435 buf_index = find_next_start_code(bc.buffer, buf + next_avc); in ff_h2645_packet_split()
437 bytestream2_skip(&bc, buf_index); in ff_h2645_packet_split()
/third_party/ffmpeg/libavfilter/
Daf_vibrato.c34 int buf_index; member
91 samp1_index = s->buf_index + integer; in filter_frame()
100 buf[s->buf_index] = this_samp; in filter_frame()
102 s->buf_index++; in filter_frame()
103 if (s->buf_index >= s->buf_size) in filter_frame()
104 s->buf_index -= s->buf_size; in filter_frame()
140 s->buf_index = 0; in config_input()
Daf_loudnorm.c68 int buf_index; member
466 buf[s->buf_index + c] = src[c]; in filter_frame()
469 s->buf_index += inlink->ch_layout.nb_channels; in filter_frame()
486 s->buf_index = in filter_frame()
491 … limiter_buf[s->limiter_buf_index + c] = buf[s->buf_index + c] * s->delta[s->index] * s->offset; in filter_frame()
497 s->buf_index += inlink->ch_layout.nb_channels; in filter_frame()
519 …limiter_buf[s->limiter_buf_index + c] = buf[s->buf_index + c] * (gain + (((double) n / in->nb_samp… in filter_frame()
531 s->buf_index += inlink->ch_layout.nb_channels; in filter_frame()
532 if (s->buf_index >= s->buf_size) in filter_frame()
533 s->buf_index -= s->buf_size; in filter_frame()
[all …]
/third_party/ltp/include/lapi/
Dio_uring.h62 uint16_t buf_index; member
/third_party/ffmpeg/libavformat/
Dmpegenc.c279 int buf_index, i, private_stream_coded; in get_system_header_size() local
286 buf_index = 12; in get_system_header_size()
295 buf_index += 3; in get_system_header_size()
297 return buf_index; in get_system_header_size()
/third_party/node/deps/uv/src/win/
Dpipe.c1657 size_t buf_count, buf_index; in uv__pipe_write_ipc() local
1705 buf_index = 0; in uv__pipe_write_ipc()
1709 bufs[buf_index++] = uv_buf_init((char*) &frame_header, sizeof frame_header); in uv__pipe_write_ipc()
1725 bufs[buf_index++] = uv_buf_init((char*) &xfer_info, sizeof xfer_info); in uv__pipe_write_ipc()
1734 bufs[buf_index++] = data_bufs[i]; in uv__pipe_write_ipc()
/third_party/libuv/src/win/
Dpipe.c1657 size_t buf_count, buf_index; in uv__pipe_write_ipc() local
1705 buf_index = 0; in uv__pipe_write_ipc()
1709 bufs[buf_index++] = uv_buf_init((char*) &frame_header, sizeof frame_header); in uv__pipe_write_ipc()
1725 bufs[buf_index++] = uv_buf_init((char*) &xfer_info, sizeof xfer_info); in uv__pipe_write_ipc()
1734 bufs[buf_index++] = data_bufs[i]; in uv__pipe_write_ipc()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_ps.c38 LLVMValueRef buf_index = LLVMConstInt(ctx->ac.i32, SI_PS_CONST_SAMPLE_POSITIONS, 0); in load_sample_position() local
39 LLVMValueRef resource = ac_build_load_to_sgpr(&ctx->ac, desc, buf_index); in load_sample_position()
Dsi_shader_llvm_vs.c976 LLVMValueRef buf_index = LLVMConstInt(ctx->ac.i32, SI_VS_CONST_INSTANCE_DIVISORS, 0); in si_llvm_build_vs_prolog() local
977 instance_divisor_constbuf = ac_build_load_to_sgpr(&ctx->ac, list, buf_index); in si_llvm_build_vs_prolog()
/third_party/rust/crates/rustix/src/
Dio_uring.rs742 pub buf_index: u16,
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_vgpu10.c6427 unsigned buf_index = u_bit_scan(&atomic_bufs_mask); in emit_atomic_buf_declarations() local
6428 unsigned uav_index = emit->key.atomic_buf_uav_index[buf_index]; in emit_atomic_buf_declarations()
/third_party/rust/crates/linux-raw-sys/src/aarch64/
Dgeneral.rs4399 pub buf_index: __u16,
/third_party/rust/crates/linux-raw-sys/src/riscv64/
Dgeneral.rs4397 pub buf_index: __u16,
/third_party/rust/crates/linux-raw-sys/src/s390x/
Dgeneral.rs4457 pub buf_index: __u16,
/third_party/rust/crates/linux-raw-sys/src/x86/
Dgeneral.rs4514 pub buf_index: __u16,
/third_party/rust/crates/linux-raw-sys/src/powerpc64/
Dgeneral.rs4541 pub buf_index: __u16,
/third_party/rust/crates/linux-raw-sys/src/mips/
Dgeneral.rs4675 pub buf_index: __u16,
/third_party/rust/crates/linux-raw-sys/src/powerpc/
Dgeneral.rs4569 pub buf_index: __u16,
/third_party/rust/crates/linux-raw-sys/src/sparc64/
Dgeneral.rs4731 pub buf_index: __u16,
/third_party/rust/crates/linux-raw-sys/src/x86_64/
Dgeneral.rs4435 pub buf_index: __u16,

12