Home
last modified time | relevance | path

Searched refs:avail (Results 1 – 4 of 4) sorted by relevance

/system/media/alsa_utils/
Dalsa_device_proxy.c258 unsigned int avail; in proxy_get_presentation_position() local
261 && pcm_get_htimestamp(proxy->pcm, &avail, &alsaTs) == 0) { in proxy_get_presentation_position()
263 if (avail > kernel_buffer_size) { in proxy_get_presentation_position()
267 ALOGW("available frames(%u) > buffer size(%zu), clamped", avail, kernel_buffer_size); in proxy_get_presentation_position()
268 avail = kernel_buffer_size; in proxy_get_presentation_position()
275 int64_t signed_frames = proxy->transferred - kernel_buffer_size + avail; in proxy_get_presentation_position()
291 unsigned int avail; in proxy_get_capture_position() local
294 && pcm_get_htimestamp(proxy->pcm, &avail, &timestamp) == 0) { in proxy_get_capture_position()
299 uint64_t framesTemp = proxy->transferred + avail; in proxy_get_capture_position()
/system/extras/sound/
Dplaywav.c126 static unsigned avail; variable
130 if (sz > avail) in fill_buffer()
134 avail -= sz; in fill_buffer()
150 avail = count; in play_file()
/system/keymint/tests/src/
Dlib.rs571 let avail = if is_strongbox { in test_signing_cert_parse() localVariable
576 for which in avail { in test_signing_cert_parse()
/system/libhwbinder/
DParcel.cpp1099 const size_t avail = mDataSize-mDataPos; in readCString() local
1102 const char* eos = reinterpret_cast<const char*>(memchr(str, 0, avail)); in readCString()