Home
last modified time | relevance | path

Searched refs:read_pos (Results 1 – 17 of 17) sorted by relevance

/external/sl4a/Utils/src/com/trilead/ssh2/
DStreamGobbler.java74 if (read_pos > 0) { in run()
75 saveBuffer = new byte[read_pos]; in run()
76 System.arraycopy(buffer, 0, saveBuffer, 0, read_pos); in run()
77 System.arraycopy(buffer, read_pos, buffer, 0, buffer.length - read_pos); in run()
78 write_pos -= read_pos; in run()
79 read_pos = 0; in run()
112 private int read_pos = 0; field in StreamGobbler
150 while (read_pos == write_pos) { in read()
165 int b = buffer[read_pos++] & 0xff; in read()
178 return write_pos - read_pos; in available()
[all …]
/external/webrtc/webrtc/common_audio/
Dring_buffer.c26 size_t read_pos; member
49 const size_t margin = buf->element_count - buf->read_pos; in GetBufferReadRegions()
54 *data_ptr_1 = buf->data + buf->read_pos * buf->element_size; in GetBufferReadRegions()
59 *data_ptr_1 = buf->data + buf->read_pos * buf->element_size; in GetBufferReadRegions()
94 self->read_pos = 0; in WebRtc_InitBuffer()
202 int read_pos = (int) self->read_pos; in WebRtc_MoveReadPtr() local
211 read_pos += element_count; in WebRtc_MoveReadPtr()
212 if (read_pos > (int) self->element_count) { in WebRtc_MoveReadPtr()
214 read_pos -= (int) self->element_count; in WebRtc_MoveReadPtr()
217 if (read_pos < 0) { in WebRtc_MoveReadPtr()
[all …]
/external/webrtc/webrtc/base/
Dstream.cc1073 size_t count, read_pos, write_pos; in Flow() local
1075 read_pos = *data_len; in Flow()
1077 read_pos = 0; in Flow()
1083 while (!end_of_stream && (read_pos < buffer_len)) { in Flow()
1084 result = source->Read(buffer + read_pos, buffer_len - read_pos, in Flow()
1090 *data_len = read_pos; in Flow()
1094 read_pos += count; in Flow()
1100 while (write_pos < read_pos) { in Flow()
1101 result = sink->Write(buffer + write_pos, read_pos - write_pos, in Flow()
1105 *data_len = read_pos - write_pos; in Flow()
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/s3/
Dmock_storage_service.py115 self.read_pos = 0
120 self.read_pos = int(match.group(1))
128 data = self.data[self.read_pos:]
129 self.read_pos = self.size
131 data = self.data[self.read_pos:self.read_pos+size]
132 self.read_pos += size
/external/curl/lib/
Dsendf.c565 size_t bytestocopy = CURLMIN(conn->buf_len - conn->read_pos, in Curl_read()
570 memcpy(buf, conn->master_buffer + conn->read_pos, bytestocopy); in Curl_read()
571 conn->read_pos += bytestocopy; in Curl_read()
596 conn->read_pos = nread; in Curl_read()
Dtransfer.c329 DEBUGASSERT(conn->read_pos >= thismuch); in read_rewind()
331 conn->read_pos -= thismuch; in read_rewind()
339 show = CURLMIN(conn->buf_len - conn->read_pos, sizeof(buf)-1); in read_rewind()
341 memcpy(buf, conn->master_buffer + conn->read_pos, show); in read_rewind()
350 conn->read_pos, buf)); in read_rewind()
Durldata.h985 size_t read_pos; /* Current read position in the master buffer */ member
/external/libopus/src/
Danalysis.c150 pos = tonal->read_pos; in tonality_get_info()
151 curr_lookahead = tonal->write_pos-tonal->read_pos; in tonality_get_info()
170 tonal->read_pos++; in tonality_get_info()
172 if (tonal->read_pos>=DETECT_SIZE) in tonality_get_info()
173 tonal->read_pos-=DETECT_SIZE; in tonality_get_info()
Danalysis.h76 int read_pos; member
Dopus_encoder.c994 analysis_read_pos_bak = st->analysis.read_pos; in opus_encode_native()
1345 st->analysis.read_pos = analysis_read_pos_bak; in opus_encode_native()
/external/libvpx/libwebm/mkvparser/
Dmkvparser.cc4980 bool PrimaryChromaticity::Parse(IMkvReader* reader, long long read_pos, in Parse() argument
5001 UnserializeFloat(reader, read_pos, value_size, parser_value); in Parse()
5022 long long read_pos = mm_start; in Parse() local
5024 while (read_pos < mm_end) { in Parse()
5029 ParseElementHeader(reader, read_pos, mm_end, child_id, child_size); in Parse()
5036 UnserializeFloat(reader, read_pos, child_size, value); in Parse()
5045 UnserializeFloat(reader, read_pos, child_size, value); in Parse()
5079 reader, read_pos, child_size, is_x, chromaticity); in Parse()
5084 read_pos += child_size; in Parse()
5085 if (read_pos > mm_end) in Parse()
[all …]
Dmkvparser.h395 static bool Parse(IMkvReader* reader, long long read_pos,
/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_parser.cpp1763 FX_FILESIZE read_pos = pos; in GetNextChar() local
1768 if ((FX_FILESIZE)(read_pos + read_size) > m_FileLen) { in GetNextChar()
1770 read_pos = 0; in GetNextChar()
1773 read_pos = m_FileLen - read_size; in GetNextChar()
1776 if (!m_pFileAccess->ReadBlock(m_pFileBuf, read_pos, read_size)) { in GetNextChar()
1779 m_BufOffset = read_pos; in GetNextChar()
1791 FX_FILESIZE read_pos; in GetCharAtBackward() local
1793 read_pos = 0; in GetCharAtBackward()
1795 read_pos = pos - m_BufSize + 1; in GetCharAtBackward()
1798 if ((FX_FILESIZE)(read_pos + read_size) > m_FileLen) { in GetCharAtBackward()
[all …]
/external/robolectric/v3/runtime/
Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...