Home
last modified time | relevance | path

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

/external/chromium_org/third_party/cython/src/Cython/Plex/
DScanners.py195 buf_index = next_pos - buf_start_pos
196 if buf_index < buf_len:
197 c = buffer[buf_index]
207 buf_index = buf_index - discard
209 c = buffer[buf_index]
DScanners.pxd38 buf_start_pos=long, buf_len=long, buf_index=long,
/external/chromium_org/content/common/gpu/media/
Dandroid_video_encode_accelerator.cc353 int32 buf_index = 0; in DequeueOutput() local
359 NoWaitTimeOut(), &buf_index, &offset, &size, NULL, NULL, &key_frame); in DequeueOutput()
377 DCHECK_GE(buf_index, 0); in DequeueOutput()
384 } while (buf_index < 0); in DequeueOutput()
398 media_codec_->CopyFromOutputBuffer(buf_index, offset, shm->memory(), size); in DequeueOutput()
399 media_codec_->ReleaseOutputBuffer(buf_index, false); in DequeueOutput()
Dandroid_video_decode_accelerator.cc225 int32 buf_index = 0; in DequeueOutput() local
231 NoWaitTimeOut(), &buf_index, &offset, &size, &timestamp, &eos, NULL); in DequeueOutput()
268 DCHECK_GE(buf_index, 0); in DequeueOutput()
275 } while (buf_index < 0); in DequeueOutput()
291 media_codec_->ReleaseOutputBuffer(buf_index, true); in DequeueOutput()
/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_utility.cpp224 int buf_index = 0; in FindTagParam() local
227 pBuf[buf_index++] = m_dwCurPos; in FindTagParam()
228 if (buf_index == nParams) { in FindTagParam()
229 buf_index = 0; in FindTagParam()
244 m_dwCurPos = pBuf[buf_index]; in FindTagParam()
/external/qemu/
Dsavevm.c180 int buf_index; member
678 if (f->buf_index > 0) { in qemu_fflush()
679 ret = f->ops->put_buffer(f->opaque, f->buf, f->pos, f->buf_index); in qemu_fflush()
685 f->buf_index = 0; in qemu_fflush()
761 pending = f->buf_size - f->buf_index; in qemu_fill_buffer()
763 memmove(f->buf, f->buf + f->buf_index, pending); in qemu_fill_buffer()
765 f->buf_index = 0; in qemu_fill_buffer()
862 l = IO_BUF_SIZE - f->buf_index; in qemu_put_buffer()
865 memcpy(f->buf + f->buf_index, buf, l); in qemu_put_buffer()
868 add_to_iovec(f, f->buf + f->buf_index, l); in qemu_put_buffer()
[all …]