Searched refs:ret (Results 1 - 25 of 289) sorted by relevance

1234567891011>>

/hardware/samsung_slsi/exynos5/exynos_omx/codecs/exynos_codecs/audio/exynos5/srp/alp/src/
H A Dsrp_api.c70 int ret = SRP_RETURN_OK; local
74 ret = ioctl(srp_dev, SRP_INIT);
75 if (ret < 0)
76 return ret;
79 ret = ioctl(srp_dev, SRP_GET_MMAP_SIZE, &mmapped_size);
80 if (ret < 0) {
92 ret = SRP_RETURN_OK;
95 ret = SRP_ERROR_NOT_READY; /* device is not created */
98 return ret;
103 int ret local
158 int ret = SRP_RETURN_OK; local
179 int ret; local
200 int ret = SRP_RETURN_OK; local
228 int ret = SRP_RETURN_OK; local
268 int ret; local
[all...]
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/
H A DExynos_OSAL_Event.c47 OMX_ERRORTYPE ret = OMX_ErrorNone; local
51 ret = OMX_ErrorInsufficientResources;
58 ret = Exynos_OSAL_MutexCreate(&event->mutex);
59 if (ret != OMX_ErrorNone) {
67 ret = OMX_ErrorUndefined;
72 ret = OMX_ErrorNone;
75 return ret;
81 OMX_ERRORTYPE ret = OMX_ErrorNone; local
84 ret = OMX_ErrorBadParameter;
88 ret
120 OMX_ERRORTYPE ret = OMX_ErrorNone; local
144 OMX_ERRORTYPE ret = OMX_ErrorNone; local
169 OMX_ERRORTYPE ret = OMX_ErrorNone; local
[all...]
/hardware/akm/AK8975_FS/akmdfs/
H A DAKFS_FileIO.c45 int16 ret; local
55 ret = 1;
59 ret = 0;
62 ret = 0;
66 ret = 0;
69 ret = 0;
73 ret = 0;
76 ret = 0;
82 ret = 0;
85 if (ret
105 int16 ret = 1; local
[all...]
/hardware/samsung_slsi/exynos5/libv4l2/
H A Dexynos_subdev.c140 int ret = -1; local
144 return ret;
149 return ret;
152 ret = ioctl(fd, VIDIOC_SUBDEV_ENUM_FRAME_SIZE, frame_size_enum);
153 if (ret) {
155 return ret;
158 return ret;
167 int ret = -1; local
171 return ret;
176 return ret;
194 int ret = -1; local
221 int ret = -1; local
248 int ret = -1; local
275 int ret = -1; local
302 int ret = -1; local
329 int ret = -1; local
356 int ret = -1; local
[all...]
H A Dexynos_v4l2.c177 int ret = -1; local
184 ret = close(fd);
188 return ret;
193 int ret = -1; local
204 ret = ioctl(fd, VIDIOC_ENUMINPUT, &input);
205 if (ret) {
221 int ret = -1; local
228 return ret;
233 ret = ioctl(fd, VIDIOC_S_INPUT, &input);
234 if (ret){
247 int ret; local
315 int ret = -1; local
347 int ret = -1; local
393 int ret = -1; local
439 int ret = -1; local
477 int ret = -1; local
516 int ret = -1; local
555 int ret = -1; local
582 int ret = -1; local
609 int ret = -1; local
641 int ret = -1; local
673 int ret = -1; local
705 int ret = -1; local
732 int ret = -1; local
758 int ret = -1; local
785 int ret = -1; local
812 int ret = -1; local
837 int ret = -1; local
[all...]
/hardware/ril/reference-ril/
H A Dat_tok.c72 char *ret = NULL; local
77 ret = NULL;
80 ret = strsep(p_cur, "\"");
83 ret = strsep(p_cur, ",");
86 return ret;
99 char *ret; local
105 ret = nextTok(p_cur);
107 if (ret == NULL) {
114 l = strtoul(ret, &end, base);
116 l = strtol(ret,
152 int ret; local
[all...]
/hardware/ti/omap4xxx/ion/
H A Dion.c49 int ret = ioctl(fd, req, arg); local
50 if (ret < 0) {
52 ret, strerror(errno));
55 return ret;
61 int ret; local
68 ret = ion_ioctl(fd, ION_IOC_ALLOC, &data);
69 if (ret < 0)
70 return ret;
72 return ret;
78 int ret; local
113 int ret = ion_ioctl(fd, ION_IOC_MAP, &data); local
135 int ret = ion_ioctl(fd, ION_IOC_SHARE, &data); local
151 int ret = ion_ioctl(fd, ION_IOC_IMPORT, &data); local
[all...]
/hardware/samsung_slsi/exynos5/mobicore/daemon/Common/
H A DCThread.cpp106 int ret; local
107 ret = pthread_create(&m_thread, NULL, CThreadStartup, this);
108 if (0 != ret)
109 LOG_E("pthread_create failed with error code %d", ret);
118 int ret; local
119 ret = pthread_join(m_thread, NULL);
120 if (0 != ret)
121 LOG_E("pthread_join failed with error code %d", ret);
H A DConnection.cpp110 size_t ret = 0; local
127 ret = select(socketDescriptor + 1, &readfds, NULL, NULL, ptv);
130 if ((int)ret == -1) {
136 if (0 == ret) {
146 return ret;
149 ret = recv(socketDescriptor, buffer, len, MSG_DONTWAIT);
150 if (ret == 0) {
154 return ret;
161 size_t ret; local
166 ret
180 size_t ret; local
[all...]
/hardware/ti/omap4xxx/camera/
H A DBaseCameraAdapter.cpp83 status_t ret = NO_ERROR; local
92 return ret;
97 status_t ret = NO_ERROR; local
106 return ret;
111 status_t ret = NO_ERROR; local
118 ret = -EINVAL;
121 if ( NO_ERROR == ret )
128 return ret;
329 status_t ret = NO_ERROR; local
347 if ( ret
991 status_t ret = NO_ERROR; local
1035 status_t ret = NO_ERROR; local
1073 status_t ret = NO_ERROR; local
1109 status_t ret = NO_ERROR; local
1142 status_t ret = NO_ERROR; local
1209 status_t ret = NO_ERROR; local
1267 int ret = NO_ERROR; local
1408 status_t ret = NO_ERROR; local
1441 status_t ret = NO_ERROR; local
1473 status_t ret = NO_ERROR; local
1484 status_t ret = NO_ERROR; local
1495 status_t ret = NO_ERROR; local
1506 status_t ret = NO_ERROR; local
1517 status_t ret = NO_ERROR; local
1530 status_t ret = NO_ERROR; local
1541 status_t ret = NO_ERROR; local
1552 status_t ret = NO_ERROR; local
1563 status_t ret = NO_ERROR; local
1574 status_t ret = NO_ERROR; local
1585 status_t ret = NO_ERROR; local
1596 status_t ret = NO_ERROR; local
1607 status_t ret = NO_ERROR; local
1618 status_t ret = NO_ERROR; local
1629 status_t ret = NO_ERROR; local
1640 status_t ret = NO_ERROR; local
1651 status_t ret = NO_ERROR; local
1662 status_t ret = NO_ERROR; local
1670 status_t ret = NO_ERROR; local
2146 status_t ret = NO_ERROR; local
2161 status_t ret = NO_ERROR; local
2229 status_t ret = NO_ERROR; local
2244 status_t ret = NO_ERROR; local
2262 status_t ret = NO_ERROR; local
2275 status_t ret = NO_ERROR; local
2293 status_t ret = NO_ERROR; local
2306 status_t ret = NO_ERROR; local
[all...]
/hardware/samsung_slsi/exynos5/mobicore/daemon/Kernel/Platforms/Generic/
H A DCMcKMod.cpp59 int ret = 0; local
72 ret = ioctl(fdKMod, MC_IO_MAP_WSM, &mapParams);
73 if (ret != 0) {
123 int ret = ioctl(fdKMod, MC_IO_MAP_MCI, &mapParams); local
124 if (ret != 0) {
176 int ret = 0; local
183 ret = ::read(fdKMod, buffer, len);
184 if (ret == -1) {
187 return ret;
211 int ret local
239 int ret = 0; local
271 int ret = 0; local
291 int ret = 0; local
324 int ret = ioctl(fdKMod, MC_IO_FREE, handle); local
358 int ret = ioctl(fdKMod, MC_IO_REG_WSM, &params); local
388 int ret = ioctl(fdKMod, MC_IO_UNREG_WSM, handle); local
400 int ret = 0; local
421 int ret = 0; local
443 int ret = 0; local
465 mcResult_t ret = MC_DRV_OK; local
491 int ret = 0; local
512 int ret = 0; local
541 int ret = ioctl(fdKMod, MC_IO_VERSION, &version); local
[all...]
/hardware/samsung_slsi/exynos5/mobicore/common/MobiCore/inc/Mci/
H A Dmcifcfunc.h121 reg_r0_r1_r2_r3_t ret; local
123 ret = fastCall(
130 return ret.r1;
147 reg_r0_r1_r2_r3_t ret; local
149 ret = fastCall(MC_FC_INFO,extInfoId,0,0);
151 if (MC_FC_RET_OK == ret.r1)
153 *mc4state = ret.r2;
154 *extInfo = ret.r3;
157 return ret.r1;
174 reg_r0_r1_r2_r3_t ret; local
[all...]
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/Device/Platforms/Generic/
H A DTrustZoneDevice.cpp104 mcResult_t ret = pMcKMod->open(devFile); local
105 if (ret != MC_DRV_OK) {
134 int ret = pMcKMod->fcInit(0, NQ_BUFFER_SIZE, NQ_BUFFER_SIZE, MCP_BUFFER_SIZE); local
135 if (ret != 0) {
207 int32_t ret = pMcKMod->fcYield(); local
208 if (ret != 0) {
209 LOG_E("pMcKMod->fcYield() failed: %d", ret);
211 return ret == 0;
227 int32_t ret = pMcKMod->fcNSIQ(); local
228 if (ret !
286 int ret; local
309 int ret; local
380 mcResult_t ret = pMcKMod->mapMCI(len, &handle, &virtAddr, &physAddr, &isReused); local
411 int ret = pMcKMod->registerWsmL2( local
452 int ret = pMcKMod->unregisterWsmL2(pWsm->handle); local
465 int ret = pMcKMod->lockWsmL2(handle); local
477 int ret = pMcKMod->unlockWsmL2(handle); local
489 int ret = pMcKMod->cleanupWsmL2(); local
500 addr_t ret = pMcKMod->findWsmL2(handle); local
[all...]
/hardware/ril/librilutils/
H A Drecord_stream.c47 RecordStream *ret; local
51 ret = (RecordStream *)calloc(1, sizeof(RecordStream));
53 ret->fd = fd;
54 ret->maxRecordLen = maxRecordLen;
55 ret->buffer = (unsigned char *)malloc (maxRecordLen + HEADER_SIZE);
57 ret->unconsumed = ret->buffer;
58 ret->read_end = ret->buffer;
59 ret
130 void *ret; local
[all...]
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/common/
H A DExynos_OMX_Resourcemanager.c55 OMX_ERRORTYPE ret = OMX_ErrorNone; local
67 ret = OMX_ErrorInsufficientResources;
77 ret = OMX_ErrorInsufficientResources;
87 return ret;
92 OMX_ERRORTYPE ret = OMX_ErrorNone; local
98 ret = OMX_ErrorUndefined;
123 ret = OMX_ErrorComponentNotFound;
125 ret = OMX_ErrorNone;
128 return ret;
133 int ret local
168 OMX_ERRORTYPE ret = OMX_ErrorNone; local
194 OMX_ERRORTYPE ret = OMX_ErrorNone; local
205 OMX_ERRORTYPE ret = OMX_ErrorNone; local
265 OMX_ERRORTYPE ret = OMX_ErrorNone; local
364 OMX_ERRORTYPE ret = OMX_ErrorNone; local
437 OMX_ERRORTYPE ret = OMX_ErrorNone; local
459 OMX_ERRORTYPE ret = OMX_ErrorNone; local
[all...]
H A DExynos_OMX_Basecomponent.c53 OMX_ERRORTYPE ret = OMX_ErrorNone; local
57 ret = OMX_ErrorBadParameter;
62 ret = OMX_ErrorBadParameter;
67 ret = OMX_ErrorVersionMismatch;
70 ret = OMX_ErrorNone;
72 return ret;
82 OMX_ERRORTYPE ret = OMX_ErrorNone; local
93 ret = OMX_ErrorBadParameter;
97 ret = Exynos_OMX_Check_SizeVersion(pOMXComponent, sizeof(OMX_COMPONENTTYPE));
98 if (ret !
136 OMX_ERRORTYPE ret = OMX_ErrorNone; local
169 OMX_ERRORTYPE ret = OMX_ErrorNone; local
585 OMX_ERRORTYPE ret = OMX_ErrorNone; local
698 OMX_ERRORTYPE ret = OMX_ErrorNone; local
735 OMX_ERRORTYPE ret = OMX_ErrorNone; local
778 OMX_ERRORTYPE ret = OMX_ErrorNone; local
816 OMX_ERRORTYPE ret = OMX_ErrorNone; local
844 OMX_ERRORTYPE ret = OMX_ErrorNone; local
872 OMX_ERRORTYPE ret = OMX_ErrorNone; local
946 OMX_ERRORTYPE ret = OMX_ErrorNone; local
1092 OMX_ERRORTYPE ret = OMX_ErrorNone; local
1290 OMX_ERRORTYPE ret = OMX_ErrorNone; local
1338 OMX_ERRORTYPE ret = OMX_ErrorNone; local
1386 OMX_ERRORTYPE ret = OMX_ErrorNone; local
1430 OMX_ERRORTYPE ret = OMX_ErrorNone; local
1489 OMX_ERRORTYPE ret = OMX_ErrorNone; local
1555 OMX_ERRORTYPE ret = OMX_ErrorNone; local
[all...]
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/core/
H A DExynos_OMX_Core.c56 OMX_ERRORTYPE ret = OMX_ErrorNone; local
62 ret = OMX_ErrorInsufficientResources;
67 ret = Exynos_OMX_ResourceManager_Init();
68 if (OMX_ErrorNone != ret) {
73 ret = Exynos_OSAL_MutexCreate(&ghLoadComponentListMutex);
74 if (OMX_ErrorNone != ret) {
86 return ret;
91 OMX_ERRORTYPE ret = OMX_ErrorNone; local
101 ret = OMX_ErrorUndefined;
111 return ret;
119 OMX_ERRORTYPE ret = OMX_ErrorNone; local
143 OMX_ERRORTYPE ret = OMX_ErrorNone; local
212 OMX_ERRORTYPE ret = OMX_ErrorNone; local
263 OMX_ERRORTYPE ret = OMX_ErrorNotImplemented; local
273 OMX_ERRORTYPE ret = OMX_ErrorNotImplemented; local
284 OMX_ERRORTYPE ret = OMX_ErrorNone; local
322 OMX_ERRORTYPE ret = OMX_ErrorNone; local
[all...]
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/
H A DOMXZoom.cpp55 status_t ret = NO_ERROR; local
83 return ret;
88 status_t ret = NO_ERROR; local
97 ret = -1;
103 ret = -EINVAL;
111 if ( NO_ERROR == ret )
124 ret = -1;
135 return ret;
140 status_t ret = NO_ERROR; local
151 ret
240 status_t ret = NO_ERROR; local
269 status_t ret = NO_ERROR; local
[all...]
H A DOMXCapabilities.cpp231 status_t ret = NO_ERROR; local
249 return ret;
258 status_t ret = NO_ERROR; local
302 return ret;
311 status_t ret = NO_ERROR; local
369 return ret;
378 size_t ret = 0; local
392 ret++;
399 return ret;
407 status_t ret local
434 status_t ret = NO_ERROR; local
459 status_t ret = NO_ERROR; local
485 status_t ret = NO_ERROR; local
511 status_t ret = NO_ERROR; local
537 status_t ret = NO_ERROR; local
565 status_t ret = NO_ERROR; local
596 status_t ret = NO_ERROR; local
627 status_t ret = NO_ERROR; local
659 status_t ret = NO_ERROR; local
685 status_t ret = NO_ERROR; local
717 status_t ret = NO_ERROR; local
736 status_t ret = NO_ERROR; local
760 status_t ret = NO_ERROR; local
795 status_t ret = NO_ERROR; local
819 status_t ret = NO_ERROR; local
843 status_t ret = NO_ERROR; local
867 status_t ret = NO_ERROR; local
892 status_t ret = NO_ERROR; local
917 status_t ret = NO_ERROR; local
953 status_t ret = NO_ERROR; local
977 status_t ret = NO_ERROR; local
1000 status_t ret = NO_ERROR; local
1013 status_t ret = NO_ERROR; local
1077 status_t ret = NO_ERROR; local
1110 status_t ret = NO_ERROR; local
1222 status_t ret = NO_ERROR; local
[all...]
H A DOMXFocus.cpp42 status_t ret = NO_ERROR; local
56 ret = CameraArea::parseAreas(str, ( strlen(str) + 1 ), tempAreas);
59 if ( (NO_ERROR == ret) && CameraArea::areAreasDifferent(mFocusAreas, tempAreas) ) {
66 ret = -EINVAL;
77 return ret;
82 status_t ret = NO_ERROR; local
142 ret = checkFocus(&focusStatus);
143 if ( NO_ERROR != ret ) {
144 CAMHAL_LOGEB("Focus status check failed 0x%x!", ret);
145 return ret;
300 status_t ret = NO_ERROR; local
333 status_t ret = NO_ERROR; local
389 status_t ret = NO_ERROR; local
485 status_t ret = NO_ERROR; local
534 status_t ret = NO_ERROR; local
559 status_t ret = NO_ERROR; local
602 status_t ret = NO_ERROR; local
637 status_t ret = NO_ERROR; local
684 status_t ret = NO_ERROR; local
793 status_t ret = NO_ERROR; local
[all...]
/hardware/ti/omap4xxx/libtiutils/
H A DSemaphore.cpp89 status_t ret = NO_ERROR; local
97 ret = Release();
98 if ( NO_ERROR != ret )
100 return ret;
195 status_t ret = NO_ERROR; local
203 ret = BAD_VALUE;
206 if ( NO_ERROR == ret )
217 ret = sem_timedwait(mSemaphore, &timeSpec);
220 if ( NO_ERROR != ret )
226 return ret;
[all...]
/hardware/ti/wlan/mac80211/wpa_supplicant_lib/
H A Ddriver_mac80211_nl.c49 int ret; local
54 ret = write(fd, &state, sizeof(state));
58 state, ret);
59 return ret;
68 int ret = 0; local
81 ret = wpa_driver_toggle_btcoex_state('0');
83 ret = wpa_driver_toggle_btcoex_state('1');
86 ret = -1;
91 ret = linux_get_ifhwaddr(drv->global->ioctl_sock, bss->ifname, macaddr);
92 if (!ret)
[all...]
/hardware/samsung_slsi/exynos5/libkeymaster/
H A DtlcTeeKeymaster_if.c115 teeResult_t ret = TEE_ERR_NONE; local
125 ret = TEE_ERR_SESSION;
134 ret = TEE_ERR_MC_DEVICE;
161 teeResult_t ret = TEE_ERR_NONE; local
172 ret = TEE_ERR_MEMORY;
179 ret = TEE_ERR_MAP;
195 ret = TEE_ERR_NOTIFICATION;
202 ret = TEE_ERR_NOTIFICATION;
210 ret = TEE_ERR_MAP;
218 ret
256 teeResult_t ret = TEE_ERR_NONE; local
386 teeResult_t ret = TEE_ERR_NONE; local
507 teeResult_t ret = TEE_ERR_NONE; local
597 teeResult_t ret = TEE_ERR_NONE; local
725 teeResult_t ret = TEE_ERR_NONE; local
862 teeResult_t ret = TEE_ERR_NONE; local
967 teeResult_t ret = TEE_ERR_NONE; local
[all...]
/hardware/libhardware/include/hardware/
H A Dqemu_pipe.h59 int fd, ret; local
77 ret = TEMP_FAILURE_RETRY(write(fd, buff, buffLen+1));
78 if (ret != buffLen+1) {
80 if (ret == 0) {
82 } else if (ret > 0) {
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/audio/dec/mp3/
H A DExynos_OMX_Mp3dec.c60 OMX_ERRORTYPE ret = OMX_ErrorNone; local
67 ret = OMX_ErrorBadParameter;
71 ret = Exynos_OMX_Check_SizeVersion(pOMXComponent, sizeof(OMX_COMPONENTTYPE));
72 if (ret != OMX_ErrorNone) {
76 ret = OMX_ErrorBadParameter;
82 ret = OMX_ErrorInvalidState;
93 ret = Exynos_OMX_Check_SizeVersion(pDstMp3Param, sizeof(OMX_AUDIO_PARAM_MP3TYPE));
94 if (ret != OMX_ErrorNone) {
99 ret = OMX_ErrorBadPortIndex;
115 ret
159 OMX_ERRORTYPE ret = OMX_ErrorNone; local
267 OMX_ERRORTYPE ret = OMX_ErrorNone; local
310 OMX_ERRORTYPE ret = OMX_ErrorNone; local
353 OMX_ERRORTYPE ret = OMX_ErrorNone; local
397 OMX_ERRORTYPE ret = OMX_ErrorNone; local
438 OMX_ERRORTYPE ret = OMX_ErrorNone; local
466 OMX_ERRORTYPE ret = OMX_ErrorNone; local
484 OMX_ERRORTYPE ret = OMX_ErrorNone; local
628 OMX_ERRORTYPE ret = OMX_ErrorNone; local
682 OMX_ERRORTYPE ret = OMX_ErrorNone; local
885 OMX_ERRORTYPE ret = OMX_ErrorNone; local
[all...]

Completed in 432 milliseconds

1234567891011>>