/external/sl4a/Utils/src/com/trilead/ssh2/ |
StreamGobbler.java | 60 int avail = is.read(buffer, write_pos, buffer.length - write_pos); 68 write_pos += avail; 70 int space_available = buffer.length - write_pos; 77 write_pos -= read_pos; 80 write_pos = 0; 112 private int write_pos = 0; field in class:StreamGobbler 149 while (read_pos == write_pos) { 177 return write_pos - read_pos; 218 while (read_pos == write_pos) { [all...] |
/external/webrtc/webrtc/common_audio/ |
ring_buffer.c | 27 size_t write_pos; member in struct:RingBuffer 95 self->write_pos = 0; 173 const size_t margin = self->element_count - self->write_pos; 177 memcpy(self->data + self->write_pos * self->element_size, 179 self->write_pos = 0; 183 memcpy(self->data + self->write_pos * self->element_size, 186 self->write_pos += n; 235 return self->write_pos - self->read_pos; 237 return self->element_count - self->read_pos + self->write_pos;
|
/external/libopus/src/ |
analysis.h | 77 int write_pos; member in struct:__anon23961
|
analysis.c | 164 curr_lookahead = tonal->write_pos-tonal->read_pos; 168 if (len > 480 && pos != tonal->write_pos) 174 if (pos == tonal->write_pos) 258 info = &tonal->info[tonal->write_pos++]; 259 if (tonal->write_pos>=DETECT_SIZE) 260 tonal->write_pos-=DETECT_SIZE;
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_io/ |
bufferedio.c | 220 Py_off_t write_pos;
member in struct:__anon5710 [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/_io/ |
bufferedio.c | 220 Py_off_t write_pos;
member in struct:__anon5397 [all...] |
/external/webrtc/webrtc/base/ |
stream.cc | 1073 size_t count, read_pos, write_pos; local 1099 write_pos = 0; 1100 while (write_pos < read_pos) { 1101 result = sink->Write(buffer + write_pos, read_pos - write_pos, 1105 *data_len = read_pos - write_pos; 1106 if (write_pos > 0) { 1107 memmove(buffer, buffer + write_pos, *data_len); 1112 write_pos += count;
|