/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
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...] |
/frameworks/base/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 | 412 *buf_nal_size = bitstream->write_pos; 441 *buf_nal_size = bitstream->write_pos; 475 *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/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;
|