Searched refs:ret (Results 251 - 275 of 289) sorted by relevance

<<1112

/hardware/qcom/media/mm-video-v4l2/vidc/vdec/src/
H A Domx_vdec.cpp217 DEBUG_PRINT_ERROR("\nERROR: read from pipe failed, ret %d errno %d", n, errno);
249 bool ret = true; local
262 ret = false;
266 return ret;
272 bool ret = true; local
286 ret = false;
289 return ret;
311 bool ret = true; local
329 ret = false;
332 return ret;
337 bool ret = true; local
377 bool ret = true; local
3610 OMX_ERRORTYPE ret = OMX_ErrorNone; local
5370 OMX_ERRORTYPE ret = OMX_ErrorNone; local
6782 OMX_ERRORTYPE ret = OMX_ErrorNone; local
8371 OMX_ERRORTYPE ret = OMX_ErrorNone; local
[all...]
/hardware/libhardware/modules/audio/
H A Daudio_policy.c246 int ret; local
/hardware/qcom/camera/QCamera2/HAL/
H A DQCamera2HWICallbacks.cpp170 ALOGD("DEBUG: registerFaceImage X, ret=%d, faceId=%d", rc, faceId);
1044 int ret; local
1054 ret = cam_sem_wait(&cmdThread->cmd_sem);
1055 if (ret != 0 && errno != EINVAL) {
1060 } while (ret != 0);
/hardware/ti/wpan/tools/FM/service/src/jni/
H A DJFmRxNative.cpp265 int ret,index; local
281 ret = poll(&pfd, 1, 10);
282 if (ret == 0){
288 ret = read(radio_fd,buf,500);
289 if(ret < 0)
294 else if( ret > 0)
298 for(index=0;index<ret;index+=3)
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/src/
H A DOMX_G711Dec_Utils.c650 OMX_S16 ret = 0; local
661 ret = (OMX_U16) (read (pComponentPrivate->cmdPipe[0], &command, sizeof (command)));
663 if (ret == -1) {
671 ret = (OMX_U16) (read (pComponentPrivate->cmdDataPipe[0], &commandData, sizeof (commandData)));
673 if (ret == -1) {
2114 OMX_S16 ret = 0; local
2188 ret = (OMX_U16) G711DECHandleDataBuf_FromLCML(pComponentPrivate_CC, pLcmlHdr);
2189 if (ret != OMX_ErrorNone) {
2213 ret = (OMX_U16) G711DECHandleDataBuf_FromLCML(pComponentPrivate_CC, pLcmlHdr);
2216 if (ret !
[all...]
H A DOMX_G711Decoder.c1306 ssize_t ret = 0; local
1356 ret = write (pComponentPrivate->dataPipe[1], &pBuffer,
1359 if (ret == -1) {
/hardware/ti/omap3/omx/video/src/openmax_il/video_encode/src/
H A DOMX_VideoEnc_Utils.c4059 int ret = OMX_ErrorNone; local
4063 ret = OMX_ErrorBadParameter;
4068 ret = (int)GetLastError();
4070 return ret;
4074 int ret = OMX_ErrorNone; local
4077 ret = OMX_ErrorBadParameter;
4081 ret = (int)GetLastError();
4083 return ret;
4087 int ret = OMX_ErrorNone; local
4090 ret
4100 int ret = OMX_ErrorNone; local
[all...]
/hardware/ti/omap3/omx/video/src/openmax_il/video_decode/src/
H A DOMX_VideoDecoder.c2291 int ret = 0; local
2323 ret = pthread_cond_timedwait(&(pComponentPrivate->StateChangeCondition), &(pComponentPrivate->mutexStateChangeRequest), &abs_time);
2324 if (!ret) {
2332 else if(ret == ETIMEDOUT) {
2372 OMX_S32 ret = 0; local
2419 ret = pBufferPrivate->eBufferOwner;
2427 pBuffHead, ret,pBuffHead->nAllocLen,pBuffHead->nFilledLen,pBufferPrivate->eBufferOwner);
2429 ret = write (pComponentPrivate->filled_inpBuf_Q[VIDDEC_PIPE_WRITE], &(pBuffHead), sizeof(pBuffHead));
2430 if (ret == -1) {
2468 int ret local
[all...]
H A DOMX_VideoDec_Utils.c1873 OMX_ERRORTYPE ret = pComponentPrivate->cbInfo.EmptyBufferDone(pComponentPrivate->pHandle, local
1887 return ret;
1906 OMX_ERRORTYPE ret = pComponentPrivate->cbInfo.FillBufferDone(pComponentPrivate->pHandle, local
1920 return ret;
3837 int ret; local
3844 ret = read(pComponentPrivate->free_outBuf_Q[0], &pBuffHead, sizeof(pBuffHead));
3847 if (ret == -1) {
5249 int ret = 0; local
5265 ret = read(pComponentPrivate->filled_inpBuf_Q[0], &(pBuffHead), sizeof(pBuffHead));
5266 if (ret
6437 int ret; local
6734 int ret; local
[all...]
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_enc/src/
H A DOMX_G711Encoder.c1141 int ret = 0; local
1201 ret = write (pComponentPrivate->dataPipe[1], &pBuffer, sizeof(OMX_BUFFERHEADERTYPE*));
1202 if (ret == -1) {
1231 int ret = 0; local
1296 ret = write (pComponentPrivate->dataPipe[1], &pBuffer, sizeof (OMX_BUFFERHEADERTYPE*));
1297 if (ret == -1) {
H A DOMX_G711Enc_Utils.c608 OMX_U32 ret = 0; local
621 ret = read(pComponentPrivate->cmdPipe[0], &command, sizeof (command));
622 if (ret == -1) {
627 ret = read(pComponentPrivate->cmdDataPipe[0], &commandData, sizeof (commandData));
628 if (ret == -1) {
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/src/
H A DOMX_G726Encoder.c1071 int ret = 0; local
1127 ret = write (pComponentPrivate->dataPipe[1], &pBuffer, sizeof(OMX_BUFFERHEADERTYPE*));
1128 if (ret == -1) {
1157 int ret = 0; local
1219 ret = write (pComponentPrivate->dataPipe[1], &pBuffer, sizeof (OMX_BUFFERHEADERTYPE*));
1220 if (ret == -1) {
H A DOMX_G726Enc_Utils.c646 OMX_U32 ret = 0; local
659 ret = read(pComponentPrivate->cmdPipe[0], &command, sizeof (command));
660 if (ret == -1) {
665 ret = read(pComponentPrivate->cmdDataPipe[0], &commandData, sizeof (commandData));
666 if (ret == -1) {
/hardware/samsung_slsi/exynos5/mobicore/daemon/ClientLib/
H A DClientLib.cpp148 int ret = CONNECTION->writeData(&x, sizeof x); \
149 if(ret < 0) { \
738 LOG_E("Registering buffer failed. ret=%x", mcResult);
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/
H A Dmm_camera_channel.c1445 int8_t ret = 0; local
1449 ret = 1;
1451 ret = -1;
1454 return ret;
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/
H A Dmm_qcamera_app.c203 int ret = MM_CAMERA_OK; local
227 ret = -MM_CAMERA_E_GENERAL;
232 return ret;
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/src/
H A DOMX_JpegEnc_Utils.c868 int ret; local
870 ret = read(pComponentPrivate->filled_inpBuf_Q[0], &(pBuffHead), sizeof(pBuffHead));
871 if ( ret == -1 ) {
976 int ret; local
979 ret = read(pComponentPrivate->free_outBuf_Q[0], &pBuffHead, sizeof(pBuffHead));
980 if ( ret == -1 ) {
2081 int ret; local
2088 ret = read(pComponentPrivate->free_outBuf_Q[0], &pBuffHead, sizeof(pBuffHead));
2089 if ( ret == -1 ) {
2604 int ret; local
[all...]
H A DOMX_JpegEncoder.c1591 int ret = 0; local
1624 ret = pthread_cond_timedwait(&(pComponentPrivate->StateChangeCondition), &(pComponentPrivate->mutexStateChangeRequest), &abs_time);
1625 if (!ret) {
1633 else if(ret == ETIMEDOUT) {
1673 int ret; local
1798 ret = write (pComponentPrivate->filled_inpBuf_Q[1], &(pBuffHead),sizeof(pBuffHead));
1800 if ( ret == -1 ) {
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_dec/src/
H A DOMX_G722Dec_Utils.c166 int ret = read(pComponentPrivate->dataPipe[0], &pBufHeader, sizeof(pBufHeader)); local
167 if (ret == -1) {
683 OMX_U32 i = 0,ret = 0; local
699 ret = read (pComponentPrivate->cmdPipe[0], &command, sizeof (command));
700 if(ret == -1){
705 ret = read (pComponentPrivate->cmdDataPipe[0], &commandData, sizeof (commandData));
706 if(ret == -1){
/hardware/ti/omap4xxx/domx/domx/omx_proxy_common/src/
H A Domx_proxy_common.c203 int ret; local
206 ret = ion_alloc(pCompPrv->ion_fd, len, 0x1000, 1 << ION_HEAP_TYPE_CARVEOUT, &temp);
207 DOMX_DEBUG("ION being USED for allocation!!!!! handle = %x, ret =%x",temp,ret);
208 if (ret)
211 ret = ion_share(pCompPrv->ion_fd, temp, &fd);
212 if (ret) {
2695 OMX_U32 i = 0, ret = 0; local
2701 ret =
2704 PROXY_assert(ret
[all...]
/hardware/broadcom/wlan/bcmdhd/dhdutil/
H A Dbcmutils.c61 uint n, ret = 0; local
82 ret += n;
86 return ret;
93 uint n, ret = 0; local
111 ret += n;
115 return ret;
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/src/
H A DOMX_G726Dec_Utils.c554 OMX_U32 i = 0,ret = 0; local
570 ret = read (pComponentPrivate->cmdPipe[0], &command, sizeof (command));
571 if(ret == -1){
576 ret = read (pComponentPrivate->cmdDataPipe[0], &commandData, sizeof (commandData));
577 if(ret == -1){
1672 /*ret = write (pComponentPrivate->lcml_Pipe[1], &pLcmlHdr, sizeof(pLcmlHdr)); */
1708 /*ret = write (pComponentPrivate->lcml_Pipe[1], &pLcmlHdr, sizeof(pLcmlHdr));*/
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_dec/src/
H A DOMX_G729Dec_Utils.c673 OMX_S16 ret = 0; local
684 ret = (OMX_U16)(read (pComponentPrivate->cmdPipe[0], &command, sizeof (command)));
685 if (ret == -1) {
691 ret = (OMX_U16)(read (pComponentPrivate->cmdDataPipe[0], &commandData, sizeof (commandData)));
692 if (ret == -1) {
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_enc/src/
H A DOMX_G729Enc_Utils.c644 OMX_U32 ret = 0; local
652 ret = read(pComponentPrivate->cmdPipe[0], &command, sizeof (command));
653 if (ret == -1)
659 ret = read(pComponentPrivate->cmdDataPipe[0], &commandData, sizeof (commandData));
660 if (ret == -1)
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_enc/src/
H A DOMX_AacEnc_Utils.c694 OMX_S32 ret = 0; local
707 ret = read (pComponentPrivate->cmdPipe[0], &command, sizeof (command));
708 OMX_TRACE1(pComponentPrivate->dbg, "%d :: AACENC: Command pipe has been read = %ld \n",__LINE__,ret);
709 if (ret == -1)
715 ret = read (pComponentPrivate->cmdDataPipe[0], &commandData, sizeof (commandData));
716 OMX_TRACE1(pComponentPrivate->dbg, "%d :: AACENC: Command data pipe has been read = %ld \n",__LINE__,ret);
717 if (ret == -1)
2316 /* OMX_S16 ret = 0; */

Completed in 5852 milliseconds

<<1112