Home
last modified time | relevance | path

Searched refs:buff (Results 1 – 25 of 56) sorted by relevance

123

/hardware/libhardware/include/hardware/
Dqemu_pipe.h57 char buff[256]; in qemu_pipe_open() local
66 snprintf(buff, sizeof buff, "pipe:%s", pipeName); in qemu_pipe_open()
77 buffLen = strlen(buff); in qemu_pipe_open()
79 ret = TEMP_FAILURE_RETRY(write(fd, buff, buffLen+1)); in qemu_pipe_open()
Dqemud.h44 qemud_fd_write(int fd, const void* buff, int len) in qemud_fd_write() argument
48 len2 = write(fd, buff, len); in qemud_fd_write()
54 qemud_fd_read(int fd, void* buff, int len) in qemud_fd_read() argument
58 len2 = read(fd, buff, len); in qemud_fd_read()
Dfb.h143 void (*dump)(struct framebuffer_device_t* dev, char *buff, int buff_len);
Dgralloc.h354 void (*dump)(struct alloc_device_t *dev, char *buff, int buff_len);
/hardware/libhardware/modules/usbaudio/
Dlogging.c39 char buff[BUFF_SIZE]; in log_pcm_mask() local
40 buff[0] = '\0'; in log_pcm_mask()
43 strcat(buff, "["); in log_pcm_mask()
47 strcat(buff, (mask->bits[slot_index] & bit_mask) != 0 ? "1" : "0"); in log_pcm_mask()
51 strcat(buff, ","); in log_pcm_mask()
54 strcat(buff, "]"); in log_pcm_mask()
56 ALOGV("%s: mask:%s", mask_name, buff); in log_pcm_mask()
/hardware/ti/omap4-aah/camera/inc/
DCameraProperties.h43 #define REMAINING_BYTES(buff) ((((int)sizeof(buff) - 1 - (int)strlen(buff)) < 0) ? 0 : (sizeof(buff argument
/hardware/ril/reference-ril/
Datchannel.h29 extern void AT_DUMP(const char* prefix, const char* buff, int len);
31 #define AT_DUMP(prefix,buff,len) do{}while(0)
Datchannel.c59 void AT_DUMP(const char* prefix, const char* buff, int len) in AT_DUMP() argument
62 len = strlen(buff); in AT_DUMP()
63 RLOGD("%.*s", len, buff); in AT_DUMP()
/hardware/invensense/60xx/mlsdk/platform/include/
Di2c.h94 …er_cb(int (*func)(int fd, int client_addr, unsigned char start_reg, unsigned char *buff, int len));
102 …i2c_dump_register (int fd, int client_addr, unsigned char start_reg, unsigned char *buff, int len);
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_dec/src/
DOMX_G722Decoder.c1788 OMX_U8* buff = NULL; in FreeBuffer() local
1799 buff = (OMX_U8 *)pComponentPrivate->pInputBufferList->pBufHdr[i]; in FreeBuffer()
1800 if (buff == (OMX_U8 *)pBuffer) { in FreeBuffer()
1802 G722DEC_DPRINT("buff = %p\n",buff); in FreeBuffer()
1812 buff = (OMX_U8 *)pComponentPrivate->pOutputBufferList->pBufHdr[i]; in FreeBuffer()
1813 if (buff == (OMX_U8 *)pBuffer) { in FreeBuffer()
1815 G722DEC_DPRINT("buff = %p\n",buff); in FreeBuffer()
1826 buff = pComponentPrivate->pInputBufferList->pBufHdr[inputIndex]->pBuffer; in FreeBuffer()
1827 if(buff != 0){ in FreeBuffer()
1828 buff -= 128; in FreeBuffer()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/src/
DOMX_G726Decoder.c1829 OMX_U8* buff = NULL; in FreeBuffer() local
1842 buff = (OMX_U8 *)pComponentPrivate->pInputBufferList->pBufHdr[i]; in FreeBuffer()
1843 if (buff == (OMX_U8 *)pBuffer) { in FreeBuffer()
1845 G726DEC_DPRINT("buff = %p\n",buff); in FreeBuffer()
1855 buff = (OMX_U8 *)pComponentPrivate->pOutputBufferList->pBufHdr[i]; in FreeBuffer()
1856 if (buff == (OMX_U8 *)pBuffer) { in FreeBuffer()
1858 G726DEC_DPRINT("buff = %p\n",buff); in FreeBuffer()
1870 buff = pComponentPrivate->pInputBufferList->pBufHdr[inputIndex]->pBuffer; in FreeBuffer()
1871 if(buff != 0){ in FreeBuffer()
1872 buff -= 128; in FreeBuffer()
[all …]
/hardware/ti/omap4xxx/test/CameraHal/
Dcamera_test_menu.cpp453 unsigned char *buff = NULL; in my_raw_callback() local
478 buff = (unsigned char *)mem->pointer(); in my_raw_callback()
480 if (!buff) in my_raw_callback()
483 if (size != write(fd, buff, size)) in my_raw_callback()
488 __FUNCTION__, (int)buff, size, fn); in my_raw_callback()
500 unsigned char *buff = NULL; in saveFile() local
524 buff = (unsigned char *)mem->pointer(); in saveFile()
525 if (!buff) { in saveFile()
530 if (size != write(fd, buff, size)) in saveFile()
535 __FUNCTION__, (int)buff, size); in saveFile()
[all …]
/hardware/intel/common/omx-components/videocodec/
DOMXVideoDecoderVP9Hybrid.cpp69 uint32_t buff[MAX_GRAPHIC_BUFFER_NUM]; in ProcessorInit() local
89 buff[i] = (uint32_t)(buf_hdr->pBuffer); in ProcessorInit()
123 …coder(mHybridCtx,bufferSize,bufferStride,bufferWidth, bufferHeight,bufferCount,gralloc_mode, buff); in ProcessorInit()
129 uint32_t buff[MAX_GRAPHIC_BUFFER_NUM]; in ProcessorReset() local
149 buff[i] = (uint32_t)(buf_hdr->pBuffer); in ProcessorReset()
152 …ecoder(mHybridCtx,bufferSize,bufferStride,bufferWidth,bufferHeight,bufferCount,gralloc_mode, buff); in ProcessorReset()
/hardware/samsung_slsi/exynos5/exynos_omx/codecs/exynos_codecs/audio/exynos5/srp/alp/src/
Dsrp_api.c101 int SRP_Decode(void *buff, int size_byte) in SRP_Decode() argument
109 ret = write(srp_dev, buff, size_byte); /* Write Buffer to RP Driver */ in SRP_Decode()
/hardware/samsung_slsi/exynos5/exynos_omx/codecs/exynos_codecs/audio/exynos5/srp/alp/include/
Dsrp_api.h60 int SRP_Decode(void *buff, int size_byte);
/hardware/intel/img/hwcomposer/common/base/
DHwcModule.cpp73 char *buff, in hwc_dump() argument
77 hwc->dump(buff, buff_len, 0); in hwc_dump()
DHwcomposer.cpp365 bool Hwcomposer::dump(char *buff, int buff_len, int * /* cur_len */) in dump() argument
369 Dump d(buff, buff_len); in dump()
/hardware/libhardware_legacy/qemu/
Dqemu.c65 qemu_fd_read( int fd, char* buff, int len ) in qemu_fd_read() argument
69 len2 = read(fd, buff, len); in qemu_fd_read()
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/src/
DOMX_G726Encoder.c1466 OMX_BUFFERHEADERTYPE* buff = NULL; in FreeBuffer() local
1480 buff = pComponentPrivate->pInputBufferList->pBufHdr[i]; in FreeBuffer()
1481 if (buff == pBuffer) { in FreeBuffer()
1483 G726ENC_DPRINT("%d :: buff = %p\n",__LINE__,buff); in FreeBuffer()
1490 G726ENC_DPRINT("%d :: buff = %p\n",__LINE__,buff); in FreeBuffer()
1496 buff = pComponentPrivate->pOutputBufferList->pBufHdr[i]; in FreeBuffer()
1497 if (buff == pBuffer) { in FreeBuffer()
1499 G726ENC_DPRINT("%d :: buff = %p\n",__LINE__,buff); in FreeBuffer()
1506 G726ENC_DPRINT("%d :: buff = %p\n",__LINE__,buff); in FreeBuffer()
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/src/
DOMX_G711Decoder.c1710 OMX_BUFFERHEADERTYPE* buff = NULL; in FreeBuffer() local
1722 buff = pComponentPrivate->pInputBufferList->pBufHdr[i]; in FreeBuffer()
1723 if (buff == pBuffer) { in FreeBuffer()
1725 G711DEC_DPRINT("buff = %p\n",buff); in FreeBuffer()
1732 G711DEC_DPRINT("buff = %p\n",buff); in FreeBuffer()
1738 buff = pComponentPrivate->pOutputBufferList->pBufHdr[i]; in FreeBuffer()
1739 if (buff == pBuffer) { in FreeBuffer()
1741 G711DEC_DPRINT("buff = %p\n",buff); in FreeBuffer()
1748 G711DEC_DPRINT("buff = %p\n",buff); in FreeBuffer()
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_enc/src/
DOMX_G711Encoder.c1546 OMX_BUFFERHEADERTYPE* buff = NULL; in FreeBuffer() local
1560 buff = pComponentPrivate->pInputBufferList->pBufHdr[i]; in FreeBuffer()
1561 if (buff == pBuffer) { in FreeBuffer()
1563 G711ENC_DPRINT("%d :: buff = %p\n",__LINE__,buff); in FreeBuffer()
1570 G711ENC_DPRINT("%d :: buff = %p\n",__LINE__,buff); in FreeBuffer()
1576 buff = pComponentPrivate->pOutputBufferList->pBufHdr[i]; in FreeBuffer()
1577 if (buff == pBuffer) { in FreeBuffer()
1579 G711ENC_DPRINT("%d :: buff = %p\n",__LINE__,buff); in FreeBuffer()
1586 G711ENC_DPRINT("%d :: buff = %p\n",__LINE__,buff); in FreeBuffer()
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_dec/src/
DOMX_G729Decoder.c1757 OMX_BUFFERHEADERTYPE* buff = NULL; in FreeBuffer() local
1772 buff = pComponentPrivate->pInputBufferList->pBufHdr[i]; in FreeBuffer()
1773 if (buff == pBuffer) in FreeBuffer()
1776 G729DEC_DPRINT("buff = %p\n", buff); in FreeBuffer()
1784 G729DEC_DPRINT("buff = %p\n", buff); in FreeBuffer()
1792 buff = pComponentPrivate->pOutputBufferList->pBufHdr[i]; in FreeBuffer()
1793 if (buff == pBuffer) in FreeBuffer()
1796 G729DEC_DPRINT("buff = %p\n", buff); in FreeBuffer()
1804 G729DEC_DPRINT("buff = %p\n", buff); in FreeBuffer()
/hardware/libhardware/modules/audio_remote_submix/
Daudio_hw.cpp1074 char* buff = (char*)buffer; in audio_config_compare() local
1116 char* const saved_buff = buff; in audio_config_compare()
1124 buff = (char*)rsxadev->routes[in->route_handle].resampler_buffer; in audio_config_compare()
1137 frames_read = source->read(buff, read_frames, AudioBufferProvider::kInvalidPTS); in audio_config_compare()
1146 int16_t *data = (int16_t*)buff; in audio_config_compare()
1172 const int16_t * const data = (int16_t*)buff; in audio_config_compare()
1187 buff = saved_buff; in audio_config_compare()
1193 if (in->log_fd >= 0) write(in->log_fd, buff, frames_read * frame_size); in audio_config_compare()
1197 buff += frames_read * frame_size; in audio_config_compare()
/hardware/intel/img/hwcomposer/include/
DHwcomposer.h45 virtual bool dump(char *buff, int buff_len, int *cur_len);
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_enc/src/
DOMX_G729Encoder.c1752 OMX_BUFFERHEADERTYPE* buff = NULL; in FreeBuffer() local
1767 buff = pComponentPrivate->pInputBufferList->pBufHdr[i]; in FreeBuffer()
1768 if (buff == pBuffer) in FreeBuffer()
1771 G729ENC_DPRINT("buff = %p\n", buff); in FreeBuffer()
1779 G729ENC_DPRINT("buff = %p\n", buff); in FreeBuffer()
1787 buff = pComponentPrivate->pOutputBufferList->pBufHdr[i]; in FreeBuffer()
1788 if (buff == pBuffer) in FreeBuffer()
1791 G729ENC_DPRINT("buff = %p\n", buff); in FreeBuffer()
1799 G729ENC_DPRINT("buff = %p\n", buff); in FreeBuffer()

123