Home
last modified time | relevance | path

Searched refs:retval (Results 1 – 25 of 40) 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/bt/msm8960/libbt-vendor/src/
Dbt_vendor_qcom.c98 int retval = 0; in op() local
109 retval = hw_config(nState); in op()
111 && retval == 0 in op()
113 retval = 0; in op()
116 retval = -1; in op()
152 retval = -1; in op()
155 retval = 2; in op()
190 return retval; in op()
/hardware/qcom/gps/msm8974/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/gps/msm8084/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/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/msm8992/libbt-vendor/src/
Dbt_vendor_qcom.c620 int retval = 0; in op() local
652 retval = hw_config(nState); in op()
654 && retval == 0 in op()
656 retval = 0; in op()
659 retval = -1; in op()
665 retval = bt_powerup(nState); in op()
682 retval = -1; in op()
719 retval = -1; in op()
722 retval = 2; in op()
731 retval = 1; in op()
[all …]
/hardware/broadcom/libbt/src/
Dbt_vendor_brcm.c133 int retval = 0; in op() local
160 retval = -1; in op()
175 retval = 1; in op()
197 retval = hw_lpm_enable(*mode); in op()
213 retval = hw_set_audio_state((bt_vendor_op_audio_state_t *)param); in op()
231 return retval; in op()
/hardware/libhardware/modules/sensors/
Dmultihal.cpp280 int retval = -EINVAL; in activate() local
285 retval = v0->activate(v0, local_handle, enabled); in activate()
290 ALOGV("retval %d", retval); in activate()
291 return retval; in activate()
295 int retval = -EINVAL; in setDelay() local
300 retval = v0->setDelay(v0, local_handle, ns); in setDelay()
304 ALOGV("retval %d", retval); in setDelay()
305 return retval; in setDelay()
374 int retval = -EINVAL; in batch() local
378 retval = v1->batch(v1, local_handle, flags, period_ns, timeout); in batch()
[all …]
/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/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/msm8084/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/msm8084/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/qcom/gps/msm8974/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/qcom/gps/msm8974/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/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/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/
Dviddec_parse_sc_fast_loop.c160 int retval=0; in viddec_parse_sc() local
181 retval = 1; in viddec_parse_sc()
188 return(retval); in viddec_parse_sc()
/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/libhardware/include/hardware/
Dkeymaster_defs.h436 int retval = KEYMASTER_SIMPLE_COMPARE(a->tag, b->tag); in keymaster_param_compare() local
437 if (retval != 0) in keymaster_param_compare()
438 return retval; in keymaster_param_compare()
465 retval = memcmp(a->blob.data, b->blob.data, a->blob.data_length < b->blob.data_length in keymaster_param_compare()
468 if (retval != 0) in keymaster_param_compare()
469 return retval; in keymaster_param_compare()
/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 …]

12