Home
last modified time | relevance | path

Searched refs:retVal (Results 1 – 5 of 5) sorted by relevance

/device/generic/car/emulator/Conn/SocketComm/
DSocketComm.cpp70 int retVal; in listen() local
85 retVal = bind(mListenFd, reinterpret_cast<struct sockaddr*>(&servAddr), sizeof(servAddr)); in listen()
86 if(retVal < 0) { in listen()
87 ALOGE("%s: Error on binding: retVal=%d, errno=%d", __FUNCTION__, retVal, errno); in listen()
197 int retVal = 0; in write() local
208 retVal = ::write(mSockFd, msgLenBytes, MSG_HEADER_LEN); in write()
210 if (retVal == MSG_HEADER_LEN) { in write()
211 retVal = ::write(mSockFd, data.data(), data.size()); in write()
215 return retVal; in write()
/device/google/contexthub/contexthubhal/
DNanohubHidlAdapter.cpp164 Return<Result> retVal = Result::BAD_PARAMS; in registerCallback() local
168 retVal = Result::BAD_PARAMS; in registerCallback()
188 retVal = Result::OK; in registerCallback()
194 retVal = Result::UNKNOWN_FAILURE; in registerCallback()
197 return retVal; in registerCallback()
227 int retVal = -1; in handleOsMessage() local
239 retVal = 0; in handleOsMessage()
249 retVal = 0; in handleOsMessage()
273 retVal = 0; in handleOsMessage()
280 retVal = 0; in handleOsMessage()
[all …]
/device/generic/car/emulator/Conn/PipeComm/
DPipeComm.cpp81 int retVal = 0; in write() local
84 retVal = qemud_channel_send(mPipeFd, data.data(), data.size()); in write()
87 if (retVal < 0) { in write()
88 retVal = -errno; in write()
92 return retVal; in write()
/device/generic/vulkan-cereal/stream-servers/gl/glestranslator/EGL/
DEglImp.cpp1349 __eglMustCastToProperFunctionPointerType retVal = NULL; in eglGetProcAddress() local
1354 retVal = s_eglExtensions[i].address; in eglGetProcAddress()
1362 retVal = ClientAPIExts::getProcAddress(procname); in eglGetProcAddress()
1364 return (void*)retVal; in eglGetProcAddress()
/device/generic/goldfish-opengl/system/egl/
Degl.cpp109 #define setErrorReturn(error, retVal) \ argument
113 return setErrorFunc(error, retVal); \
124 #define setErrorReturn(error, retVal) return setErrorFunc(error, retVal); argument