Home
last modified time | relevance | path

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

/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/generic/goldfish/opengl/system/renderControl_enc/
DrenderControl_enc.cpp44 GLint retval; in rcGetRendererVersion_enc() local
45 stream->readback(&retval, 4); in rcGetRendererVersion_enc()
46 if (useChecksum) checksumCalculator->addBuffer(&retval, 4); in rcGetRendererVersion_enc()
55 return retval; in rcGetRendererVersion_enc()
89 EGLint retval; in rcGetEGLVersion_enc() local
90 stream->readback(&retval, 4); in rcGetEGLVersion_enc()
91 if (useChecksum) checksumCalculator->addBuffer(&retval, 4); in rcGetEGLVersion_enc()
100 return retval; in rcGetEGLVersion_enc()
132 EGLint retval; in rcQueryEGLString_enc() local
133 stream->readback(&retval, 4); in rcQueryEGLString_enc()
[all …]
/device/google/dragon/recovery/updater/
Drecovery_updater.cpp30 Value *retval = NULL; in firmware_update() local
46 retval = StringValue(strdup(res ? "UPDATED" : "")); in firmware_update()
52 retval ? retval->data : state->errmsg); in firmware_update()
53 return retval; in firmware_update()
/device/generic/goldfish/opengl/shared/OpenglCodecCommon/
DglUtils.cpp23 size_t retval = 0; in glSizeof() local
27 retval = 1; in glSizeof()
32 retval = 2; in glSizeof()
39 retval = 4; in glSizeof()
43 retval = 8; in glSizeof()
49 retval = 8; in glSizeof()
54 retval = 12; in glSizeof()
60 retval = 16; in glSizeof()
63 retval = 36; in glSizeof()
66 retval = 64; in glSizeof()
[all …]
DGLClientState.cpp134 int retval; in getLocation() local
138 retval = int(VERTEX_LOCATION); in getLocation()
141 retval = int(NORMAL_LOCATION); in getLocation()
144 retval = int(COLOR_LOCATION); in getLocation()
147 retval = int(POINTSIZE_LOCATION); in getLocation()
150 retval = int (TEXCOORD0_LOCATION + m_activeTexture); in getLocation()
153 retval = int (MATRIXINDEX_LOCATION); in getLocation()
156 retval = int (WEIGHT_LOCATION); in getLocation()
159 retval = loc; in getLocation()
161 return retval; in getLocation()
[all …]
DSocketStream.cpp96 int retval = 0; in writeFully() local
102 retval = stat; in writeFully()
110 return retval; in writeFully()
/device/generic/goldfish/opengl/system/OpenglSystemCommon/
DQemuPipeStream.cpp102 int retval = 0; in writeFully() local
112 retval = -1; in writeFully()
118 retval = stat; in writeFully()
124 return retval; in writeFully()
/device/google/contexthub/firmware/src/drivers/bosch_bmi160/
Dbosch_bmm150_slave.c122 int32_t retval = 0; in bmm150TempCompensateZ() local
126 retval = ((((int32_t)(mag_z - magTask->dig_z4)) << 15) in bmm150TempCompensateZ()
129 retval /= (magTask->dig_z2 in bmm150TempCompensateZ()
133 retval = BMM150_MAG_OVERFLOW_OUTPUT; in bmm150TempCompensateZ()
135 return retval; in bmm150TempCompensateZ()
/device/linaro/hikey/gralloc/
Dgralloc_module.cpp73 int retval = -EINVAL; in gralloc_register_buffer() local
87 return retval; in gralloc_register_buffer()
149 retval = -errno; in gralloc_register_buffer()
165 retval = -errno; in gralloc_register_buffer()
175 retval = -errno; in gralloc_register_buffer()
192 return retval; in gralloc_register_buffer()
/device/generic/goldfish/camera/
DEmulatedCameraHotplugThread.cpp354 int retval; in readFile() local
360 retval = 0; // empty file is the same thing as 0 in readFile()
362 retval = 0; in readFile()
364 retval = 1; in readFile()
369 return retval; in readFile()
/device/generic/goldfish/opengl/system/GLESv2_enc/
Dgl2_enc.cpp438 GLenum retval; in glCheckFramebufferStatus_enc() local
439 stream->readback(&retval, 4); in glCheckFramebufferStatus_enc()
440 if (useChecksum) checksumCalculator->addBuffer(&retval, 4); in glCheckFramebufferStatus_enc()
449 return retval; in glCheckFramebufferStatus_enc()
776 GLuint retval; in glCreateProgram_enc() local
777 stream->readback(&retval, 4); in glCreateProgram_enc()
778 if (useChecksum) checksumCalculator->addBuffer(&retval, 4); in glCreateProgram_enc()
787 return retval; in glCreateProgram_enc()
814 GLuint retval; in glCreateShader_enc() local
815 stream->readback(&retval, 4); in glCreateShader_enc()
[all …]
DGL2Encoder.cpp163 GLubyte *retval = (GLubyte *) ""; in s_glGetString() local
166 retval = gVendorString; in s_glGetString()
169 retval = gRendererString; in s_glGetString()
172 retval = gVersionString; in s_glGetString()
175 retval = gExtensionsString; in s_glGetString()
178 return retval; in s_glGetString()
/device/generic/goldfish/opengl/system/GLESv1_enc/
DGLEncoder.cpp240 GLubyte *retval = (GLubyte *) ""; in s_glGetString() local
243 retval = gVendorString; in s_glGetString()
246 retval = gRendererString; in s_glGetString()
249 retval = gVersionString; in s_glGetString()
252 retval = gExtensionsString; in s_glGetString()
255 return retval; in s_glGetString()
Dgl_enc.cpp2297 GLenum retval; in glGetError_enc() local
2298 stream->readback(&retval, 4); in glGetError_enc()
2299 if (useChecksum) checksumCalculator->addBuffer(&retval, 4); in glGetError_enc()
2308 return retval; in glGetError_enc()
2663 GLboolean retval; in glIsBuffer_enc() local
2664 stream->readback(&retval, 1); in glIsBuffer_enc()
2665 if (useChecksum) checksumCalculator->addBuffer(&retval, 1); in glIsBuffer_enc()
2674 return retval; in glIsBuffer_enc()
2701 GLboolean retval; in glIsEnabled_enc() local
2702 stream->readback(&retval, 1); in glIsEnabled_enc()
[all …]