/third_party/ffmpeg/libavformat/ |
D | rtpdec_mpeg4.c | 65 int buf_pos, buf_size; member 186 if (data->buf_size - data->buf_pos < data->au_headers[data->cur_au_index].size) { in aac_parse_packet() 194 memcpy(pkt->data, &data->buf[data->buf_pos], data->au_headers[data->cur_au_index].size); in aac_parse_packet() 195 data->buf_pos += data->au_headers[data->cur_au_index].size; in aac_parse_packet() 200 data->buf_pos = 0; in aac_parse_packet() 217 if (!data->buf_pos) { in aac_parse_packet() 229 data->buf_pos + len > MAX_AAC_HBR_FRAME_SIZE) { in aac_parse_packet() 230 data->buf_pos = 0; in aac_parse_packet() 236 memcpy(&data->buf[data->buf_pos], buf, len); in aac_parse_packet() 237 data->buf_pos += len; in aac_parse_packet() [all …]
|
D | subtitles.c | 31 r->buf_pos = r->buf_len = 0; in ff_text_init_avio() 37 r->buf_pos += 2; in ff_text_init_avio() 40 r->buf_pos += 2; in ff_text_init_avio() 45 r->buf_pos += 3; in ff_text_init_avio() 62 return avio_tell(r->pb) - r->buf_len + r->buf_pos; in ff_text_pos() 69 if (r->buf_pos < r->buf_len) in ff_text_r8() 70 return r->buf[r->buf_pos++]; in ff_text_r8() 80 r->buf_pos = 0; in ff_text_r8() 83 return r->buf[r->buf_pos++]; // buf_len is at least 1 in ff_text_r8() 94 return r->buf_pos >= r->buf_len && avio_feof(r->pb); in ff_text_eof() [all …]
|
D | subtitles.h | 44 int buf_pos, buf_len; member
|
/third_party/ffmpeg/libavcodec/ |
D | flashsv2enc.c | 292 int buf_pos, len; in write_header() local 305 buf_pos = 4; in write_header() 307 buf[buf_pos++] = s->flags; in write_header() 310 len = write_palette(s, buf + buf_pos, buf_size - buf_pos); in write_header() 313 buf_pos += len; in write_header() 316 return buf_pos; in write_header() 321 int buf_pos = 0; in write_block() local 333 buf[buf_pos++] = block_size >> 8; in write_block() 334 buf[buf_pos++] = block_size; in write_block() 337 return buf_pos; in write_block() [all …]
|
D | dvbsub_parser.c | 51 int i, len, buf_pos = 0; in dvbsub_parse() local 88 buf_pos = 2; in dvbsub_parse() 108 if (buf_size - buf_pos + pc->packet_index > PARSE_BUF_SIZE) in dvbsub_parse() 115 memcpy(pc->packet_buf + pc->packet_index, buf + buf_pos, buf_size - buf_pos); in dvbsub_parse() 116 pc->packet_index += buf_size - buf_pos; in dvbsub_parse()
|
D | flashsvenc.c | 135 int buf_pos, res; in encode_bitstream() local 145 buf_pos = 4; in encode_bitstream() 163 uint8_t *ptr = buf + buf_pos; in encode_bitstream() 182 buf_pos += zsize + 2; in encode_bitstream() 183 ff_dlog(s->avctx, "buf_pos = %d\n", buf_pos); in encode_bitstream() 187 buf_pos += 2; in encode_bitstream() 197 return buf_pos; in encode_bitstream()
|
/third_party/mesa3d/src/gallium/frontends/clover/core/ |
D | printf.cpp | 51 for (size_t buf_pos = 0; buf_pos < buffer.size(); ) { in print_formatted() local 52 cl_uint fmt_idx = *(cl_uint*)&buffer[buf_pos]; in print_formatted() 57 buf_pos += sizeof(cl_uint); in print_formatted() 99 printf(print_str.c_str(), &buffer[buf_pos]); in print_formatted() 102 memcpy(&idx, &buffer[buf_pos], 8); in print_formatted() 129 size_t elmt_buf_pos = buf_pos + i * elmt_size; in print_formatted() 168 buf_pos += arg_size; in print_formatted() 169 buf_pos = ALIGN(buf_pos, 4); in print_formatted()
|
/third_party/selinux/libsepol/cil/src/ |
D | cil.c | 1428 int buf_pos = 0; in cil_userprefixes_to_string() local 1457 buf_pos = snprintf(str_tmp, str_len, "user %s prefix %s;\n", user->datum.fqn, in cil_userprefixes_to_string() 1459 if (buf_pos < 0) { in cil_userprefixes_to_string() 1465 str_len -= buf_pos; in cil_userprefixes_to_string() 1466 str_tmp += buf_pos; in cil_userprefixes_to_string() 1603 int buf_pos = 0; in __cil_level_to_string() local 1610 buf_pos = sprintf(str_tmp, "%s", lvl->sens->datum.fqn); in __cil_level_to_string() 1611 str_tmp += buf_pos; in __cil_level_to_string() 1614 buf_pos = sprintf(str_tmp, ":"); in __cil_level_to_string() 1615 str_tmp += buf_pos; in __cil_level_to_string() [all …]
|
/third_party/musl/src/dirent/ |
D | readdir.c | 14 if (dir->buf_pos >= dir->buf_end) { in readdir() 21 dir->buf_pos = 0; in readdir() 23 de = (void *)(dir->buf + dir->buf_pos); in readdir() 24 dir->buf_pos += de->d_reclen; in readdir()
|
D | __dirent.h | 5 int buf_pos; member
|
D | rewinddir.c | 10 dir->buf_pos = dir->buf_end = 0; in rewinddir()
|
D | seekdir.c | 10 dir->buf_pos = dir->buf_end = 0; in seekdir()
|
/third_party/alsa-utils/alsaloop/ |
D | pcmjob.c | 512 cpos = capt->buf_pos - count; 515 ppos = (play->buf_pos + play->buf_count) % play->buf_size; 549 pos1 = capt->buf_pos - count; in buf_add_src() 585 pos1 = (play->buf_pos + play->buf_count) % play->buf_size; in buf_add_src() 698 if (r + lhandle->buf_pos > lhandle->buf_size) in readit() 699 r = lhandle->buf_size - lhandle->buf_pos; in readit() 704 lhandle->buf_pos * in readit() 722 fwrite(lhandle->buf + lhandle->buf_pos * lhandle->frame_size, in readit() 730 lhandle->buf_pos += r; in readit() 731 lhandle->buf_pos %= lhandle->buf_size; in readit() [all …]
|
D | alsaloop.h | 108 snd_pcm_uframes_t buf_pos; /* I/O position */ member
|
/third_party/alsa-lib/src/rawmidi/ |
D | rawmidi_hw.c | 48 size_t buf_pos; /* offset to frame in the read buffer (bytes) */ member 56 hw->buf_pos = 0; in buf_reset() 202 f = (struct snd_rawmidi_framing_tstamp *)(hw->buf + hw->buf_pos); in read_from_ts_buf() 209 hw->buf_pos += sizeof(*f); in read_from_ts_buf() 236 hw->buf_pos += sizeof(*f); in read_from_ts_buf()
|
/third_party/musl/porting/liteos_a/user/src/dirent/ |
D | __dirent.h | 5 int buf_pos; member
|
/third_party/musl/porting/liteos_a/kernel/src/dirent/ |
D | __dirent.h | 5 int buf_pos; member
|
/third_party/harfbuzz/src/ |
D | hb-buffer.cc | 1941 const hb_glyph_position_t *buf_pos = buffer->pos; in hb_buffer_diff() local 1945 if ((unsigned int) abs (buf_pos->x_advance - ref_pos->x_advance) > position_fuzz || in hb_buffer_diff() 1946 (unsigned int) abs (buf_pos->y_advance - ref_pos->y_advance) > position_fuzz || in hb_buffer_diff() 1947 (unsigned int) abs (buf_pos->x_offset - ref_pos->x_offset) > position_fuzz || in hb_buffer_diff() 1948 (unsigned int) abs (buf_pos->y_offset - ref_pos->y_offset) > position_fuzz) in hb_buffer_diff() 1953 buf_pos++; in hb_buffer_diff()
|
/third_party/flutter/skia/third_party/externals/harfbuzz/src/ |
D | hb-buffer.cc | 1971 const hb_glyph_position_t *buf_pos = buffer->pos; in hb_buffer_diff() local 1975 if ((unsigned int) abs (buf_pos->x_advance - ref_pos->x_advance) > position_fuzz || in hb_buffer_diff() 1976 (unsigned int) abs (buf_pos->y_advance - ref_pos->y_advance) > position_fuzz || in hb_buffer_diff() 1977 (unsigned int) abs (buf_pos->x_offset - ref_pos->x_offset) > position_fuzz || in hb_buffer_diff() 1978 (unsigned int) abs (buf_pos->y_offset - ref_pos->y_offset) > position_fuzz) in hb_buffer_diff() 1983 buf_pos++; in hb_buffer_diff()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | hb-buffer.cc | 2000 const hb_glyph_position_t *buf_pos = buffer->pos; in hb_buffer_diff() local 2004 if ((unsigned int) abs (buf_pos->x_advance - ref_pos->x_advance) > position_fuzz || in hb_buffer_diff() 2005 (unsigned int) abs (buf_pos->y_advance - ref_pos->y_advance) > position_fuzz || in hb_buffer_diff() 2006 (unsigned int) abs (buf_pos->x_offset - ref_pos->x_offset) > position_fuzz || in hb_buffer_diff() 2007 (unsigned int) abs (buf_pos->y_offset - ref_pos->y_offset) > position_fuzz) in hb_buffer_diff() 2012 buf_pos++; in hb_buffer_diff()
|