Home
last modified time | relevance | path

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

123456

/device/generic/goldfish-opengl/tests/gles_android_wrapper/
Dgles_dispatch.h295 … set_glAlphaFunc(glAlphaFunc_t f) { glAlphaFunc_t retval = glAlphaFunc; glAlphaFunc = f; return re… in set_glAlphaFunc() local
296 …_glClearColor(glClearColor_t f) { glClearColor_t retval = glClearColor; glClearColor = f; return r… in set_glClearColor() local
297 …learDepthf(glClearDepthf_t f) { glClearDepthf_t retval = glClearDepthf; glClearDepthf = f; return in set_glClearDepthf() local
298 …_glClipPlanef(glClipPlanef_t f) { glClipPlanef_t retval = glClipPlanef; glClipPlanef = f; return r… in set_glClipPlanef() local
299 …olor4f_t set_glColor4f(glColor4f_t f) { glColor4f_t retval = glColor4f; glColor4f = f; return retv… in set_glColor4f() local
300 …epthRangef(glDepthRangef_t f) { glDepthRangef_t retval = glDepthRangef; glDepthRangef = f; return in set_glDepthRangef() local
301 glFogf_t set_glFogf(glFogf_t f) { glFogf_t retval = glFogf; glFogf = f; return retval;} in set_glFogf() local
302 glFogfv_t set_glFogfv(glFogfv_t f) { glFogfv_t retval = glFogfv; glFogfv = f; return retval;} in set_glFogfv() local
303 …mf_t set_glFrustumf(glFrustumf_t f) { glFrustumf_t retval = glFrustumf; glFrustumf = f; return ret… in set_glFrustumf() local
304 …anef(glGetClipPlanef_t f) { glGetClipPlanef_t retval = glGetClipPlanef; glGetClipPlanef = f; retur… in set_glGetClipPlanef() local
[all …]
Degl_dispatch.h67 … set_eglGetError(eglGetError_t f) { eglGetError_t retval = eglGetError; eglGetError = f; return re… in set_eglGetError() local
68 …GetDisplay(eglGetDisplay_t f) { eglGetDisplay_t retval = eglGetDisplay; eglGetDisplay = f; return in set_eglGetDisplay() local
69 …Initialize(eglInitialize_t f) { eglInitialize_t retval = eglInitialize; eglInitialize = f; return in set_eglInitialize() local
70 …_eglTerminate(eglTerminate_t f) { eglTerminate_t retval = eglTerminate; eglTerminate = f; return r… in set_eglTerminate() local
71 …yString(eglQueryString_t f) { eglQueryString_t retval = eglQueryString; eglQueryString = f; return… in set_eglQueryString() local
72 …GetConfigs(eglGetConfigs_t f) { eglGetConfigs_t retval = eglGetConfigs; eglGetConfigs = f; return in set_eglGetConfigs() local
73 …nfig(eglChooseConfig_t f) { eglChooseConfig_t retval = eglChooseConfig; eglChooseConfig = f; retur… in set_eglChooseConfig() local
74 …etConfigAttrib_t f) { eglGetConfigAttrib_t retval = eglGetConfigAttrib; eglGetConfigAttrib = f; re… in set_eglGetConfigAttrib() local
75 …urface_t f) { eglCreateWindowSurface_t retval = eglCreateWindowSurface; eglCreateWindowSurface = f… in set_eglCreateWindowSurface() local
76 …face_t f) { eglCreatePbufferSurface_t retval = eglCreatePbufferSurface; eglCreatePbufferSurface = … in set_eglCreatePbufferSurface() local
[all …]
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/
DXform.c119 int retval; in EFI2errno() local
123 retval = 0; in EFI2errno()
126 retval = EINVAL; in EFI2errno()
129 retval = ENODEV; in EFI2errno()
133 retval = EBUFSIZE; in EFI2errno()
136 retval = EBUSY; in EFI2errno()
139 retval = EROFS; in EFI2errno()
142 retval = ENOMEM; in EFI2errno()
145 retval = ENOSPC; in EFI2errno()
149 retval = ENOENT; in EFI2errno()
[all …]
DSysCalls.c59 BOOLEAN retval = FALSE; in ValidateFD() local
63 retval = TRUE; in ValidateFD()
65 retval = (BOOLEAN)((filp->f_iflags != 0) && // TRUE if OPEN in ValidateFD()
68 retval = (BOOLEAN)!retval; // We want TRUE if CLOSED in ValidateFD()
72 return retval; in ValidateFD()
107 int retval = 0; in DeleteOnClose() local
114 retval = -1; in DeleteOnClose()
116 return retval; in DeleteOnClose()
131 int retval = 0; in isatty() local
136 retval = (Fp->f_iflags & _S_ITTY) ? 1 : 0; in isatty()
[all …]
/device/google/contexthub/firmware/lib/libm/
Dwf_pow.c46 exc.retval = 1.0;
48 _LIB_VERSION == _POSIX_) exc.retval = 1.0;
54 return (float)exc.retval;
67 exc.retval = 0.0;
68 if (_LIB_VERSION != _SVID_) exc.retval = 1.0;
74 return (float)exc.retval;
84 exc.retval = 0.0;
86 exc.retval = -HUGE_VAL;
94 return (float)exc.retval;
108 exc.retval = 0.0;
[all …]
Dwf_exp.c61 exc.retval = HUGE;
63 exc.retval = HUGE_VAL;
71 return exc.retval;
78 exc.retval = 0.0;
86 return exc.retval;
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dthread_beos.h39 status_t retval = benaphore_timedlock( ben, 0 ); in benaphore_destroy() local
41 if( retval == EOK || retval == EWOULDBLOCK ) { in benaphore_destroy()
67 status_t retval = acquire_sem_etc( ben->_sem, 1, B_TIMEOUT, micros ); in benaphore_timedlock() local
69 switch( retval ) { in benaphore_timedlock()
78 return retval; in benaphore_timedlock()
174 status_t retval; in PyThread_allocate_lock() local
189 retval = benaphore_create( name, lock ); in PyThread_allocate_lock()
190 if( retval != EOK ) { in PyThread_allocate_lock()
201 status_t retval; in PyThread_free_lock() local
205 retval = benaphore_destroy( (benaphore_t *)lock ); in PyThread_free_lock()
[all …]
Ddynload_beos.c55 status_t retval; in beos_nuke_dyn() local
60 retval = unload_add_on( id ); in beos_nuke_dyn()
125 int retval; in beos_add_dyn() local
133 retval = PyThread_acquire_lock( beos_dyn_lock, 1 ); in beos_add_dyn()
142 retval = PyDict_DelItemString( beos_dyn_images, name ); in beos_add_dyn()
147 retval = PyDict_SetItemString( beos_dyn_images, name, py_id ); in beos_add_dyn()
162 status_t retval; in _PyImport_GetDynLoadFunc() local
214 retval = get_image_symbol( the_id, funcname, B_SYMBOL_TYPE_TEXT, &p ); in _PyImport_GetDynLoadFunc()
215 if( retval != B_NO_ERROR || p == NULL ) { in _PyImport_GetDynLoadFunc()
224 switch( retval ) { in _PyImport_GetDynLoadFunc()
[all …]
Dmarshal.c642 PyObject *retval; in r_object() local
657 retval = NULL; in r_object()
661 retval = NULL; in r_object()
666 retval = Py_None; in r_object()
671 retval = PyExc_StopIteration; in r_object()
676 retval = Py_Ellipsis; in r_object()
681 retval = Py_False; in r_object()
686 retval = Py_True; in r_object()
690 retval = PyInt_FromLong(r_long(p)); in r_object()
694 retval = r_long64(p); in r_object()
[all …]
Dthread_atheos.h218 int retval; in PyThread_acquire_lock() local
225 retval = fastmutex_lock((fastmutex_t *) lock); in PyThread_acquire_lock()
227 retval = fastmutex_timedlock((fastmutex_t *) lock, 0); in PyThread_acquire_lock()
230 retval = lock_semaphore((sem_id) lock); in PyThread_acquire_lock()
232 retval = lock_semaphore_x((sem_id) lock, 1, 0, 0); in PyThread_acquire_lock()
234 if (retval < 0) { in PyThread_acquire_lock()
239 retval)); in PyThread_acquire_lock()
240 return retval < 0 ? 0 : 1; in PyThread_acquire_lock()
/device/linaro/bootloader/arm-trusted-firmware/lib/stdlib/
Dsubr_prf.c102 int retval; in sprintf() local
106 retval = kvprintf(cfmt, NULL, (void *)buf, 10, ap); in sprintf()
107 buf[retval] = '\0'; in sprintf()
109 return (retval); in sprintf()
118 int retval; in vsprintf() local
120 retval = kvprintf(cfmt, NULL, (void *)buf, 10, ap); in vsprintf()
121 buf[retval] = '\0'; in vsprintf()
122 return (retval); in vsprintf()
131 int retval; in snprintf() local
135 retval = vsnprintf(str, size, format, ap); in snprintf()
[all …]
/device/linaro/bootloader/edk2/StdLib/LibC/StdLib/
DEnvirons.c71 int retval = 1; in atexit() local
75 retval = 0; in atexit()
77 return retval; in atexit()
178 char *retval = NULL; in getenv() local
183 retval = UnicodeStrToAsciiStr( EfiEnv, gMD->ASgetenv); in getenv()
186 return retval; in getenv()
217 int retval; in setenv() local
225 retval = -1; in setenv()
271 retval = 0; in setenv()
280 return retval; in setenv()
/device/linaro/bootloader/edk2/StdLib/PosixLib/Gen/
Daccess.c52 int retval = -1; in access() local
66 retval = stat(Path, &FileStat); in access()
67 if(retval == 0) { in access()
76 retval = 0; in access()
108 retval = 0; in access()
117 return retval; in access()
/device/generic/goldfish-opengl/system/renderControl_enc/
DrenderControl_enc.cpp45 GLint retval; in rcGetRendererVersion_enc() local
46 stream->readback(&retval, 4); in rcGetRendererVersion_enc()
47 if (useChecksum) checksumCalculator->addBuffer(&retval, 4); in rcGetRendererVersion_enc()
58 return retval; in rcGetRendererVersion_enc()
92 EGLint retval; in rcGetEGLVersion_enc() local
93 stream->readback(&retval, 4); in rcGetEGLVersion_enc()
94 if (useChecksum) checksumCalculator->addBuffer(&retval, 4); in rcGetEGLVersion_enc()
105 return retval; in rcGetEGLVersion_enc()
137 EGLint retval; in rcQueryEGLString_enc() local
138 stream->readback(&retval, 4); in rcQueryEGLString_enc()
[all …]
/device/google/cuttlefish/host/commands/tombstone_receiver/
Dmain.cpp41 auto retval = ss.str(); in next_tombstone_path() local
44 if(retval == last_tombstone_name) { in next_tombstone_path()
46 retval += "_" + std::to_string(num_tombstones_in_last_second); in next_tombstone_path()
48 last_tombstone_name = retval; in next_tombstone_path()
52 LOG(INFO) << "Creating " << retval; in next_tombstone_path()
53 return retval; in next_tombstone_path()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
Dzlibmodule.c709 compobject *retval = NULL; in PyZlib_copy() local
712 retval = newcompobject(&Comptype); in PyZlib_copy()
713 if (!retval) return NULL; in PyZlib_copy()
719 err = deflateCopy(&retval->zst, &self->zst); in PyZlib_copy()
737 Py_XDECREF(retval->unused_data); in PyZlib_copy()
738 Py_XDECREF(retval->unconsumed_tail); in PyZlib_copy()
739 retval->unused_data = self->unused_data; in PyZlib_copy()
740 retval->unconsumed_tail = self->unconsumed_tail; in PyZlib_copy()
743 retval->is_initialised = 1; in PyZlib_copy()
746 return (PyObject *)retval; in PyZlib_copy()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Python/
Dmarshal.c642 PyObject *retval; in r_object() local
657 retval = NULL; in r_object()
661 retval = NULL; in r_object()
666 retval = Py_None; in r_object()
671 retval = PyExc_StopIteration; in r_object()
676 retval = Py_Ellipsis; in r_object()
681 retval = Py_False; in r_object()
686 retval = Py_True; in r_object()
690 retval = PyInt_FromLong(r_long(p)); in r_object()
694 retval = r_long64(p); in r_object()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Python/
Dmarshal.c647 PyObject *retval; in r_object() local
662 retval = NULL; in r_object()
666 retval = NULL; in r_object()
671 retval = Py_None; in r_object()
676 retval = PyExc_StopIteration; in r_object()
681 retval = Py_Ellipsis; in r_object()
686 retval = Py_False; in r_object()
691 retval = Py_True; in r_object()
695 retval = PyInt_FromLong(r_long(p)); in r_object()
699 retval = r_long64(p); in r_object()
[all …]
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/
DglUtils.cpp25 size_t retval = 0; in glSizeof() local
29 retval = 1; in glSizeof()
35 retval = 2; in glSizeof()
44 retval = 4; in glSizeof()
48 retval = 8; in glSizeof()
55 retval = 8; in glSizeof()
61 retval = 12; in glSizeof()
68 retval = 16; in glSizeof()
71 retval = 36; in glSizeof()
74 retval = 64; in glSizeof()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dzlibmodule.c683 compobject *retval = NULL; in PyZlib_copy() local
686 retval = newcompobject(&Comptype); in PyZlib_copy()
687 if (!retval) return NULL; in PyZlib_copy()
693 err = deflateCopy(&retval->zst, &self->zst); in PyZlib_copy()
711 Py_XDECREF(retval->unused_data); in PyZlib_copy()
712 Py_XDECREF(retval->unconsumed_tail); in PyZlib_copy()
713 retval->unused_data = self->unused_data; in PyZlib_copy()
714 retval->unconsumed_tail = self->unconsumed_tail; in PyZlib_copy()
717 retval->is_initialised = 1; in PyZlib_copy()
720 return (PyObject *)retval; in PyZlib_copy()
[all …]
D_hashopenssl.c87 EVPobject *retval = (EVPobject *)PyObject_New(EVPobject, &EVPtype); in DEFINE_CONSTS_FOR_NEW() local
90 if (retval != NULL) { in DEFINE_CONSTS_FOR_NEW()
92 retval->name = name; in DEFINE_CONSTS_FOR_NEW()
94 retval->lock = NULL; in DEFINE_CONSTS_FOR_NEW()
98 return retval; in DEFINE_CONSTS_FOR_NEW()
164 PyObject *retval; in EVP_digest() local
171 retval = PyString_FromStringAndSize((const char *)digest, digest_size); in EVP_digest()
173 return retval; in EVP_digest()
184 PyObject *retval; in EVP_hexdigest() local
198 retval = PyString_FromStringAndSize(NULL, digest_size * 2); in EVP_hexdigest()
[all …]
/device/generic/opengl-transport/host/commands/emugen/
DApiGen.h46 const char *retval; in sideString() local
49 retval = "client"; in sideString()
52 retval = "server"; in sideString()
55 retval = "wrapper"; in sideString()
58 retval = "unknown"; in sideString()
60 return retval; in sideString()
DstrUtils.cpp30 std::string retval = str.substr(pos, *last - pos); in getNextToken() local
31 retval = trim(retval); in getNextToken()
32 return retval; in getNextToken()
/device/linaro/bootloader/edk2/StdLib/LibC/String/
DMisc.c47 int retval = 0; in strerror_r() local
51 retval = EINVAL; in strerror_r()
61 retval = ERANGE; in strerror_r()
64 return retval; in strerror_r()
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/Devices/UefiShell/
DdaShell.c171 int retval = -1; in da_ShellMkdir() local
188 retval = 0; in da_ShellMkdir()
196 return retval; in da_ShellMkdir()
395 int retval = 0; in da_ShellIoctl() local
436 retval = -1; in da_ShellIoctl()
443 return retval; in da_ShellIoctl()
475 int retval; in da_ShellOpen() local
505 retval = -1; /* Initially assume failure. */ in da_ShellOpen()
553 retval = 0; in da_ShellOpen()
572 return retval; in da_ShellOpen()
[all …]

123456