Home
last modified time | relevance | path

Searched refs:retval (Results 1 – 25 of 34) sorted by relevance

12

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/
Dquant_common.c41 int retval; in vp8_dc_quant() local
50 retval = dc_qlookup[ QIndex ]; in vp8_dc_quant()
51 return retval; in vp8_dc_quant()
56 int retval; in vp8_dc2quant() local
65 retval = dc_qlookup[ QIndex ] * 2; in vp8_dc2quant()
66 return retval; in vp8_dc2quant()
71 int retval; in vp8_dc_uv_quant() local
80 retval = dc_qlookup[ QIndex ]; in vp8_dc_uv_quant()
82 if (retval > 132) in vp8_dc_uv_quant()
83 retval = 132; in vp8_dc_uv_quant()
[all …]
/hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-stub/src/
Dloc_api_rpcgen_cb_svc.c56 bool_t retval; in loc_apicbprog_0x00050001() local
80 retval = (bool_t) (*local)((char *)&argument, (void *)&result, rqstp); in loc_apicbprog_0x00050001()
81 if (retval > 0 && !svc_sendreply(transp, (xdrproc_t) _xdr_result, (char *)&result)) { in loc_apicbprog_0x00050001()
103 bool_t retval; in loc_apicbprog_0x00050002() local
127 retval = (bool_t) (*local)((char *)&argument, (void *)&result, rqstp); in loc_apicbprog_0x00050002()
128 if (retval > 0 && !svc_sendreply(transp, (xdrproc_t) _xdr_result, (char *)&result)) { in loc_apicbprog_0x00050002()
150 bool_t retval; in loc_apicbprog_0x00050003() local
174 retval = (bool_t) (*local)((char *)&argument, (void *)&result, rqstp); in loc_apicbprog_0x00050003()
175 if (retval > 0 && !svc_sendreply(transp, (xdrproc_t) _xdr_result, (char *)&result)) { in loc_apicbprog_0x00050003()
197 bool_t retval; in loc_apicbprog_0x00050004() local
[all …]
/hardware/qcom/bt/libbt-vendor/src/
Dbt_vendor_qcom.c97 int retval = 0; in op() local
108 retval = hw_config(nState); in op()
110 && retval == 0 in op()
112 retval = 0; in op()
115 retval = -1; in op()
151 retval = -1; in op()
154 retval = 2; in op()
189 return retval; in op()
/hardware/broadcom/libbt/src/
Dbt_vendor_brcm.c132 int retval = 0; in op() local
159 retval = -1; in op()
174 retval = 1; in op()
196 retval = hw_lpm_enable(*mode); in op()
212 retval = hw_set_audio_state((bt_vendor_op_audio_state_t *)param); in op()
230 return retval; in op()
Dhardware.c434 uint8_t retval = FALSE; in hw_config_findpatch() local
495 retval = TRUE; in hw_config_findpatch()
504 if (retval == FALSE) in hw_config_findpatch()
526 retval = hw_config_findpatch(p_chip_id_str); in hw_config_findpatch()
535 return (retval); in hw_config_findpatch()
550 uint8_t retval = FALSE; in hw_config_set_bdaddr() local
569 retval = bt_vendor_cbacks->xmit_cb(HCI_VSC_WRITE_BD_ADDR, p_buf, \ in hw_config_set_bdaddr()
572 return (retval); in hw_config_set_bdaddr()
588 uint8_t retval = FALSE; in hw_config_read_bdaddr() local
597 retval = bt_vendor_cbacks->xmit_cb(HCI_READ_LOCAL_BDADDR, p_buf, \ in hw_config_read_bdaddr()
[all …]
/hardware/libhardware/modules/sensors/
Dmultihal.cpp254 int retval = -EINVAL; in activate() local
259 retval = v0->activate(v0, local_handle, enabled); in activate()
261 ALOGV("retval %d", retval); in activate()
262 return retval; in activate()
266 int retval = -EINVAL; in setDelay() local
271 retval = v0->setDelay(v0, local_handle, ns); in setDelay()
273 ALOGV("retval %d", retval); in setDelay()
274 return retval; in setDelay()
343 int retval = -EINVAL; in batch() local
348 retval = v1->batch(v1, local_handle, flags, period_ns, timeout); in batch()
[all …]
/hardware/intel/img/libdrm/libdrm/
Dxf86drm.c165 char *retval; in drmStrdup() local
170 retval = malloc(strlen(s)+1); in drmStrdup()
171 if (!retval) in drmStrdup()
174 strcpy(retval, s); in drmStrdup()
176 return retval; in drmStrdup()
452 int retval = 0; in drmAvailable() local
465 retval = 1; in drmAvailable()
470 return retval; in drmAvailable()
738 drmVersionPtr retval; in drmGetVersion() local
771 retval = drmMalloc(sizeof(*retval)); in drmGetVersion()
[all …]
Dxf86drmHash.c350 unsigned long retval = 0; in check_table() local
351 int retcode = drmHashLookup(table, key, &retval); in check_table()
357 table->magic, key, value, retval); in check_table()
361 key, value, retval); in check_table()
364 if (value != retval) in check_table()
366 key, value, retval); in check_table()
370 retcode, key, value, retval); in check_table()
/hardware/intel/common/wrs_omxil_core/core/src/
Dintel_video_config_parser.cpp85 int16 retval = 0; in intel_video_config_parser() local
86retval = iDecodeVOLHeader(&psBits, &width, &height, &display_width, &display_height, &profile_leve… in intel_video_config_parser()
87 if (retval != 0) in intel_video_config_parser()
89 return retval; in intel_video_config_parser()
138 int16 retval; in intel_video_config_parser() local
139 retval = iGetAVCConfigInfo(tp, in intel_video_config_parser()
147 if (retval != 0) in intel_video_config_parser()
149 return retval; in intel_video_config_parser()
/hardware/ti/omap3/omx/ti_omx_config_parser/src/
Dti_video_config_parser.cpp84 int16 retval = 0; in ti_video_config_parser() local
85retval = iDecodeVOLHeader(&psBits, &width, &height, &display_width, &display_height, &profile_leve… in ti_video_config_parser()
86 if (retval != 0) in ti_video_config_parser()
88 return retval; in ti_video_config_parser()
139 int16 retval; in ti_video_config_parser() local
140 retval = iGetAVCConfigInfo(tp, in ti_video_config_parser()
149 if (retval != 0) in ti_video_config_parser()
151 return retval; in ti_video_config_parser()
/hardware/intel/common/libwsbm/src/
Dwsbm_manager.c374 int retval; in wsbmBOMap() local
376 retval = storage->pool->map(storage, mode, &virtual); in wsbmBOMap()
378 return (retval == 0) ? virtual : NULL; in wsbmBOMap()
490 int retval = 0; in wsbmBOData() local
524 retval = 0; in wsbmBOData()
531 retval = -ENOMEM; in wsbmBOData()
556 retval = curPool->syncforcpu(storage, WSBM_SYNCCPU_WRITE); in wsbmBOData()
557 if (retval) in wsbmBOData()
576 retval = curPool->setStatus(storage, in wsbmBOData()
579 if (retval) in wsbmBOData()
[all …]
/hardware/qcom/gps/loc_api/libloc_api-rpc/gen-3200/
Dloc_api_cb_svc.c28 bool_t retval; in loc_apicbprog_0x00010001() local
52 retval = (bool_t) (*local)((char *)&argument, (void *)&result, rqstp); in loc_apicbprog_0x00010001()
53 if (retval > 0 && !svc_sendreply(transp, (xdrproc_t) _xdr_result, (char *)&result)) { in loc_apicbprog_0x00010001()
/hardware/qcom/gps/loc_api/libloc_api-rpc/gen-1240/
Dloc_api_cb_svc.c28 bool_t retval; in loc_apicbprog_0x00040001() local
52 retval = (bool_t) (*local)((char *)&argument, (void *)&result, rqstp); in loc_apicbprog_0x00040001()
53 if (retval > 0 && !svc_sendreply(transp, (xdrproc_t) _xdr_result, (char *)&result)) { in loc_apicbprog_0x00040001()
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/tests/
DG711DecTest.c465 OMX_S16 retval = 0, i = 0, j = 0,k = 0; in main() local
558 retval = pipe(IpBuf_Pipe); in main()
559 if( retval != 0) { in main()
564 retval = pipe(OpBuf_Pipe); in main()
565 if( retval != 0) { in main()
569 retval = pipe(Event_Pipe); in main()
570 if( retval != 0) { in main()
687 retval = pipe( IpBuf_Pipe); in main()
688 if( retval != 0) { in main()
693 retval = pipe( OpBuf_Pipe); in main()
[all …]
/hardware/intel/common/libva/test/putsurface/
Dputsurface_wayland.c295 int retval; in check_window_event() local
306 retval = select(d->event_fd + 1, &rfds, NULL, NULL, &tv); in check_window_event()
307 if (retval < 0) { in check_window_event()
311 if (retval == 1) in check_window_event()
313 } while (retval > 0); in check_window_event()
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_enc/tests/
DG711EncTest.c422 int retval= 0, i= 0, j= 0, k= 0, kk= 0, tcID = 0; in main() local
521 retval = pipe(IpBuf_Pipe); in main()
522 if( retval != 0) { in main()
527 retval = pipe(OpBuf_Pipe); in main()
528 if( retval != 0) { in main()
532 retval = pipe(Event_Pipe); in main()
533 if( retval != 0) { in main()
912 retval = pipe(IpBuf_Pipe); in main()
913 if( retval != 0) { in main()
917 retval = pipe(OpBuf_Pipe); in main()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/wma_dec/tests/
DWmaDecTest.c492 int retval, i, j; in main() local
587 retval = pipe(IpBuf_Pipe); in main()
588 if( retval != 0) { in main()
593 retval = pipe(OpBuf_Pipe); in main()
594 if( retval != 0) { in main()
598 retval = pipe(Event_Pipe); in main()
599 if( retval != 0) { in main()
718 retval = pipe(IpBuf_Pipe); in main()
719 if( retval != 0) { in main()
723 retval = pipe(OpBuf_Pipe); in main()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_dec/tests/
DG729DecTest.c400 OMX_S16 retval = 0, i = 0, j = 0,k = 0; in main() local
517 retval = pipe(IpBuf_Pipe); in main()
518 if( retval != 0) { in main()
524 retval = pipe(OpBuf_Pipe); in main()
525 if( retval != 0) { in main()
635 retval = pipe( IpBuf_Pipe); in main()
636 if( retval != 0) { in main()
642 retval = pipe( OpBuf_Pipe); in main()
643 if( retval != 0) { in main()
978 retval = pipe(IpBuf_Pipe); in main()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_dec/tests/
DWBAmrDecTest.c514 int retval, i, j,k; local
615 retval = pipe(IpBuf_Pipe);
616 if( retval != 0) {
621 retval = pipe(OpBuf_Pipe);
622 if( retval != 0) {
627 retval = pipe(Event_Pipe);
628 if( retval != 0) {
769 retval = pipe(IpBuf_Pipe);
770 if( retval != 0) {
775 retval = pipe(OpBuf_Pipe);
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_enc/tests/
DG722EncTest.c322 int retval = 0, i = 0, j = 0; local
461 retval = pipe(IpBuf_Pipe);
462 if( retval != 0) {
466 retval = pipe(OpBuf_Pipe);
467 if( retval != 0) {
471 retval = pipe(Event_Pipe);
472 if( retval != 0) {
803 retval = select(fdmax+1, &rfds, NULL, NULL, &tv);
804 if(retval == -1) {
810 if(retval == 0) {
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/test/
DJPEGTestEnc.c1062 int retval; in _tmain() local
1354 retval = pipe(IpBuf_Pipe); in _tmain()
1355 if ( retval != 0 ) { in _tmain()
1360 retval = pipe(OpBuf_Pipe); in _tmain()
1361 if ( retval != 0 ) { in _tmain()
1366 retval = pipe(Event_Pipe); in _tmain()
1367 if ( retval != 0 ) { in _tmain()
1848 retval = pselect(fdmax+1, &rfds, NULL, NULL, NULL,&set); in _tmain()
1849 if ( retval == -1 ) { in _tmain()
1856 else if ( retval == 0 ) { in _tmain()
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/tests/
DG726EncTest.c471 int retval, i = 0, j = 0, k = 0, kk = 0, tcID = 0; local
616 retval = pipe(IpBuf_Pipe);
617 if( retval != 0) {
622 retval = pipe(OpBuf_Pipe);
623 if( retval != 0) {
628 retval = pipe(Event_Pipe);
629 if(retval != 0) {
1097 retval = 1;
1112 retval = select(fdmax+1, &rfds, NULL, NULL, &tv);
1113 if(retval == -1) {
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/tests/
DG726DecTest.c370 int retval = 0, j = 0; in main() local
545 retval = pipe(IpBuf_Pipe); in main()
546 if( retval != 0) { in main()
551 retval = pipe(OpBuf_Pipe); in main()
552 if( retval != 0) { in main()
941 retval = select(fdmax+1, &rfds, NULL, NULL, &tv); in main()
942 if(retval == -1) { in main()
948 if(retval == 0) { in main()
/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/tests/
DVPPTest.c457 int retval; in _tmain() local
831 retval = pipe(IpBuf_Pipe); in _tmain()
832 if(retval != 0){ in _tmain()
837 retval = pipe(OvlyBuf_Pipe); in _tmain()
838 if(retval != 0){ in _tmain()
843 retval = pipe(OpRGBBuf_Pipe); in _tmain()
844 if(retval != 0){ in _tmain()
848 retval = pipe(OpYUVBuf_Pipe); in _tmain()
849 if(retval != 0){ in _tmain()
854 retval = pipe(Event_Pipe); in _tmain()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_dec/tests/
DG722DecTest.c196 int retval = 0; in main() local
274 retval = pipe(IpBuf_Pipe); in main()
275 if( retval != 0) { in main()
280 retval = pipe(OpBuf_Pipe); in main()
281 if( retval != 0) { in main()
286 retval = pipe(Event_Pipe); in main()
287 if( retval != 0) { in main()
1342 int retval = select(fdmax+1, rfds, NULL, NULL, tv); in testCases() local
1343 if(retval == -1) { in testCases()
1349 if(retval == 0) { in testCases()

12