Searched refs:avail (Results 1 - 4 of 4) sorted by relevance
/system/media/alsa_utils/ |
H A D | alsa_device_proxy.c | 213 unsigned int avail; local 215 && pcm_get_htimestamp(proxy->pcm, &avail, timestamp) == 0) { 218 if (avail > kernel_buffer_size) { 219 ALOGE("available frames(%u) > buffer size(%zu)", avail, kernel_buffer_size); 221 int64_t signed_frames = proxy->transferred - kernel_buffer_size + avail;
|
/system/extras/sound/ |
H A D | playwav.c | 126 static unsigned avail; variable 130 if (sz > avail) 134 avail -= sz; 150 avail = count;
|
/system/core/adb/ |
H A D | sockets.cpp | 153 size_t avail = max_payload; local 157 while (avail > 0) { 158 r = adb_read(s->fd, x, avail); 159 D("LS(%d): post adb_read(fd=%d,...) r=%d (errno=%d) avail=%zu", s->id, s->fd, r, 160 r < 0 ? errno : 0, avail); 166 avail -= r; 175 D("LS(%d): fd=%d post avail loop. r=%d is_eof=%d forced_eof=%d", s->id, s->fd, r, is_eof, 178 if (avail != max_payload && s->peer) { 179 data.resize(max_payload - avail);
|
/system/libhwbinder/ |
H A D | Parcel.cpp | 1324 const size_t avail = mDataSize-mDataPos; local 1325 if (avail > 0) { 1328 const char* eos = reinterpret_cast<const char*>(memchr(str, 0, avail));
|
Completed in 7855 milliseconds