HomeSort by relevance Sort by last modified time
    Searched refs:write_pos (Results 1 - 17 of 17) sorted by null

  /libcore/crypto/src/main/java/org/conscrypt/
HandshakeIODataStream.java 195 if (write_pos_beg != write_pos) {
204 if (read_pos < write_pos) {
205 read_pos = write_pos;
229 write_pos = 0;
237 private int write_pos; field in class:HandshakeIODataStream
243 // (write_pos == write_pos_beg) iff:
246 if (write_pos == write_pos_beg) {
259 write_pos = write_pos_beg;
263 if (write_pos + length >= buff_size) {
274 buffer[write_pos++] = b
    [all...]
  /external/chromium_org/media/base/
audio_pull_fifo.cc 28 int write_pos = frames_read; local
37 read_cb_.Run(write_pos, fifo_.get());
41 ReadFromFifo(destination, remaining_frames_to_provide, write_pos);
42 write_pos += frames_read;
51 int write_pos) {
58 float* dest = destination->channel(ch) + write_pos;
audio_pull_fifo.h 45 // Append new data to the |destination| starting at |write_pos|.
46 int ReadFromFifo(AudioBus* destination, int frames_to_provide, int write_pos);
  /external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/
StreamGobbler.java 62 int space_available = buffer.length - write_pos;
68 int unread_size = write_pos - read_pos;
87 write_pos = unread_size;
90 System.arraycopy(buff, 0, buffer, write_pos, avail);
91 write_pos += avail;
119 private int write_pos = 0; field in class:StreamGobbler
141 while (read_pos == write_pos)
176 return write_pos - read_pos;
221 while (read_pos == write_pos)
239 int avail = write_pos - read_pos
    [all...]
  /frameworks/av/media/libstagefright/codecs/avc/enc/src/
bitstream_io.cpp 36 ^ ^write_pos ^buf_size
57 stream->write_pos = 0;
91 if (stream->buf_size - stream->write_pos <= (num_bits >> 3) + 2) /* 2 more bytes for possible EPBS */
100 write_pnt = stream->bitstreamBuffer + stream->write_pos;
102 while (num_bits) /* no need to check stream->buf_size and stream->write_pos, taken care already */
109 stream->write_pos++;
116 stream->write_pos++;
120 stream->write_pos++;
270 if (stream->write_pos + numExtraBytes >= stream->oBSize)
272 stream->oBSize = stream->write_pos + numExtraBytes + 100
    [all...]
avcenc_api.cpp 404 *buf_nal_size = bitstream->write_pos;
433 *buf_nal_size = bitstream->write_pos;
467 *buf_nal_size = bitstream->write_pos;
avcenc_int.h 135 int write_pos; /* next position to write to bitstreamBuffer */ member in struct:tagEncBitstream
slice.cpp 412 start_mb_bits = 32 + (encvid->bitstream->write_pos << 3) - encvid->bitstream->bit_left;
433 start_text_bits = 32 + (encvid->bitstream->write_pos << 3) - encvid->bitstream->bit_left;
499 num_bits = 32 + (encvid->bitstream->write_pos << 3) - encvid->bitstream->bit_left;
header.cpp 326 num_bits = (stream->write_pos << 3) - stream->bit_left;
500 encvid->rateCtrl->NumberofHeaderBits += (stream->write_pos << 3) - stream->bit_left - num_bits;
    [all...]
  /external/webrtc/src/modules/audio_processing/utility/
ring_buffer.c 27 size_t write_pos; member in struct:__anon31413
104 self->write_pos = 0;
190 const size_t margin = self->element_count - self->write_pos;
194 memcpy(self->data + self->write_pos * self->element_size,
196 self->write_pos = 0;
200 memcpy(self->data + self->write_pos * self->element_size,
203 self->write_pos += n;
257 return self->write_pos - self->read_pos;
259 return self->element_count - self->read_pos + self->write_pos;
  /external/chromium_org/third_party/libjingle/source/talk/examples/pcp/
pcp_main.cc 445 size_t write_pos = 0; local
446 while (write_pos < buffer_len_) {
447 result = stream->Write(buffer_ + write_pos, buffer_len_ - write_pos,
450 write_pos += count;
454 buffer_len_ -= write_pos;
455 memmove(buffer_, buffer_ + write_pos, buffer_len_);
519 size_t write_pos = 0; local
520 while (write_pos < buffer_len_) {
521 result = file_->Write(buffer_ + write_pos, buffer_len_ - write_pos
    [all...]
  /external/chromium_org/chrome_frame/
urlmon_upload_data_stream_unittest.cc 61 int write_pos = 0; local
65 while ((hr = upload_istream->Read(&big_rcv_buffer[write_pos],
71 write_pos += bytes_read;
76 EXPECT_TRUE((write_pos + bytes_read) == kBigBufferLength);
  /external/chromium_org/third_party/opus/src/src/
analysis.h 75 int write_pos; member in struct:__anon16533
analysis.c 151 curr_lookahead = tonal->write_pos-tonal->read_pos;
155 if (len > 480 && pos != tonal->write_pos)
161 if (pos == tonal->write_pos)
245 info = &tonal->info[tonal->write_pos++];
246 if (tonal->write_pos>=DETECT_SIZE)
247 tonal->write_pos-=DETECT_SIZE;
  /external/qemu/audio/
winaudio.c 99 int write_pos; /* position in current writable buffer */ member in struct:WinAudioOut
247 s->write_pos = 0;
271 int wav_bytes = (s->write_size - s->write_pos);
275 uint8_t* dst = (uint8_t*)wav_buffer->lpData + s->write_pos;
284 // s->write_pos, s->write_size, wav_samples, wav_bytes, live, hw->rpos, hw->samples);
292 s->write_pos += wav_bytes;
293 if (s->write_pos == s->write_size) {
303 s->write_pos = 0;
  /external/chromium/third_party/libjingle/source/talk/base/
stream.cc 1041 size_t count, read_pos, write_pos; local
1067 write_pos = 0;
1068 while (write_pos < read_pos) {
1069 result = sink->Write(buffer + write_pos, read_pos - write_pos,
1073 *data_len = read_pos - write_pos;
1074 if (write_pos > 0) {
1075 memmove(buffer, buffer + write_pos, *data_len);
1080 write_pos += count;
  /external/chromium_org/third_party/libjingle/source/talk/base/
stream.cc 1299 size_t count, read_pos, write_pos; local
    [all...]

Completed in 1077 milliseconds