Home
last modified time | relevance | path

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

12

/device/linaro/hikey/hifi/xaf/host-apf/playback/tinyalsa/
Dpcm.c444 int pcm_get_htimestamp(struct pcm *pcm, unsigned int *avail, in pcm_get_htimestamp() argument
477 *avail = (unsigned int)frames; in pcm_get_htimestamp()
1048 int avail; in pcm_mmap_playback_avail() local
1050 avail = pcm->mmap_status->hw_ptr + pcm->buffer_size - pcm->mmap_control->appl_ptr; in pcm_mmap_playback_avail()
1052 if (avail < 0) in pcm_mmap_playback_avail()
1053 avail += pcm->boundary; in pcm_mmap_playback_avail()
1054 else if (avail > (int)pcm->boundary) in pcm_mmap_playback_avail()
1055 avail -= pcm->boundary; in pcm_mmap_playback_avail()
1057 return avail; in pcm_mmap_playback_avail()
1062 int avail = pcm->mmap_status->hw_ptr - pcm->mmap_control->appl_ptr; in pcm_mmap_capture_avail() local
[all …]
Dasoundlib.h217 int pcm_get_htimestamp(struct pcm *pcm, unsigned int *avail,
/device/google/cuttlefish/host/frontend/gcastv2/https/
DWebSocketHandler.cpp32 const size_t avail = size - offset; in handleRequest() local
42 if (packetOffset + 1 >= avail) { in handleRequest()
49 if (packetOffset + 7 >= avail) { in handleRequest()
59 if (packetOffset + 3 >= avail) { in handleRequest()
67 if (packetOffset + payloadLen > avail) { in handleRequest()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_io/
Dbufferedio.c1064 Py_off_t current, avail; in buffered_seek() local
1072 avail = READAHEAD(self); in buffered_seek()
1073 if (avail > 0) { in buffered_seek()
1079 if (offset >= -self->pos && offset <= avail) { in buffered_seek()
1081 return PyLong_FromOff_t(current - avail + offset); in buffered_seek()
1786 Py_ssize_t written, avail, remaining; in bufferedwriter_write() local
1810 avail = Py_SAFE_DOWNCAST(self->buffer_size - self->pos, Py_off_t, Py_ssize_t); in bufferedwriter_write()
1811 if (buf.len <= avail) { in bufferedwriter_write()
1840 avail = Py_SAFE_DOWNCAST(self->buffer_size - self->write_end, in bufferedwriter_write()
1842 if (buf.len <= avail) { in bufferedwriter_write()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/_io/
Dbufferedio.c1091 Py_off_t current, avail; in buffered_seek() local
1099 avail = READAHEAD(self); in buffered_seek()
1100 if (avail > 0) { in buffered_seek()
1106 if (offset >= -self->pos && offset <= avail) { in buffered_seek()
1108 return PyLong_FromOff_t(current - avail + offset); in buffered_seek()
1812 Py_ssize_t written, avail, remaining; in bufferedwriter_write() local
1836 avail = Py_SAFE_DOWNCAST(self->buffer_size - self->pos, Py_off_t, Py_ssize_t); in bufferedwriter_write()
1837 if (buf.len <= avail) { in bufferedwriter_write()
1866 avail = Py_SAFE_DOWNCAST(self->buffer_size - self->write_end, in bufferedwriter_write()
1868 if (buf.len <= avail) { in bufferedwriter_write()
[all …]
/device/google/crosshatch/sdm845/kernel-headers/sound/
Dcompress_offload.h43 __u64 avail; member
/device/google/bonito/sdm710/kernel-headers/sound/
Dcompress_offload.h43 __u64 avail; member
/device/google/bonito/sdm710/original-kernel-headers/sound/
Dcompress_offload.h82 __u64 avail; member
/device/google/crosshatch/sdm845/original-kernel-headers/sound/
Dcompress_offload.h82 __u64 avail; member
/device/google/sunfish-kernel/sm7150/kernel-headers/sound/
Dcompress_offload.h43 __u64 avail; member
/device/google/redbull-kernel/sm7250/original-kernel-headers/sound/
Dcompress_offload.h82 __u64 avail; member
/device/google/sunfish-kernel/sm7150/original-kernel-headers/sound/
Dcompress_offload.h84 __u64 avail; member
Dasound.h459 snd_pcm_uframes_t avail; /* number of frames available */ member
647 size_t avail; /* available bytes */ member
/device/google/coral-kernel/sm8150/kernel-headers/sound/
Dcompress_offload.h43 __u64 avail; member
/device/google/barbet-kernel/sm7250/kernel-headers/sound/
Dcompress_offload.h42 __u64 avail; member
/device/google/coral-kernel/sm8150/original-kernel-headers/sound/
Dcompress_offload.h84 __u64 avail; member
/device/google/barbet-kernel/sm7250/original-kernel-headers/sound/
Dcompress_offload.h82 __u64 avail; member
/device/google/redbull-kernel/sm7250/kernel-headers/sound/
Dcompress_offload.h42 __u64 avail; member
/device/linaro/poplar/audio/
Daudio_hw.c297 unsigned int avail; in out_get_presentation_position() local
298 if (pcm_get_htimestamp(out->pcm, &avail, timestamp) == 0) { in out_get_presentation_position()
300 int64_t signed_frames = out->written - kernel_buffer_size + avail; in out_get_presentation_position()
/device/linaro/dragonboard/audio/
Daudio_hw.c298 unsigned int avail; in out_get_presentation_position() local
299 if (pcm_get_htimestamp(out->pcm, &avail, timestamp) == 0) { in out_get_presentation_position()
301 int64_t signed_frames = out->written - kernel_buffer_size + avail; in out_get_presentation_position()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Ddifflib.py679 avail = {}
680 availhas, matches = avail.__contains__, 0
683 numb = avail[elt]
686 avail[elt] = numb - 1
D_pyio.py959 avail = len(buf) - pos # Length of the available buffered data.
960 if n <= avail:
968 while avail < n:
978 avail += len(chunk)
982 n = min(n, avail)
/device/linaro/hikey/audio/
Daudio_hw.c476 unsigned int avail; in out_get_presentation_position() local
477 if (pcm_get_htimestamp(out->pcm, &avail, timestamp) == 0) { in out_get_presentation_position()
479 int64_t signed_frames = out->written - kernel_buffer_size + avail; in out_get_presentation_position()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dbytearrayobject.c478 Py_ssize_t avail, needed; in bytearray_setslice() local
517 avail = hi - lo; in bytearray_setslice()
518 if (avail < 0) in bytearray_setslice()
519 lo = hi = avail = 0; in bytearray_setslice()
521 if (avail != needed) { in bytearray_setslice()
522 if (avail > needed) { in bytearray_setslice()
538 Py_SIZE(self) + needed - avail) < 0) { in bytearray_setslice()
542 if (avail < needed) { in bytearray_setslice()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dbytearrayobject.c478 Py_ssize_t avail, needed; in bytearray_setslice() local
517 avail = hi - lo; in bytearray_setslice()
518 if (avail < 0) in bytearray_setslice()
519 lo = hi = avail = 0; in bytearray_setslice()
521 if (avail != needed) { in bytearray_setslice()
522 if (avail > needed) { in bytearray_setslice()
538 Py_SIZE(self) + needed - avail) < 0) { in bytearray_setslice()
542 if (avail < needed) { in bytearray_setslice()

12