Home
last modified time | relevance | path

Searched refs:RETURN_ERROR (Results 1 – 6 of 6) sorted by relevance

/device/generic/goldfish-opengl/system/hals/
Dmapper3.cpp51 RETURN_ERROR(errno); in waitFenceFd()
56 RETURN_ERROR(errno); in waitFenceFd()
70 RETURN_ERROR(-EINVAL); in waitHidlFence()
73 RETURN_ERROR(-EINVAL); in waitHidlFence()
109 RETURN_ERROR(Error3::BAD_BUFFER); in freeBuffer()
113 RETURN_ERROR(Error3::BAD_BUFFER); in freeBuffer()
194 RETURN_ERROR(Error3::BAD_BUFFER); in validateBufferSize()
213 RETURN_ERROR(Error3::BAD_BUFFER); in importBufferImpl()
217 RETURN_ERROR(Error3::BAD_BUFFER); in importBufferImpl()
223 RETURN_ERROR(Error3::BAD_BUFFER); in importBufferImpl()
[all …]
Dallocator3.cpp86 RETURN_ERROR(Error3::BAD_DESCRIPTOR); in allocateImpl()
89 if (!descriptor.width) { RETURN_ERROR(Error3::UNSUPPORTED); } in allocateImpl()
90 if (!descriptor.height) { RETURN_ERROR(Error3::UNSUPPORTED); } in allocateImpl()
91 if (descriptor.layerCount != 1) { RETURN_ERROR(Error3::UNSUPPORTED); } in allocateImpl()
129 RETURN_ERROR(Error3::UNSUPPORTED); in allocateImpl()
161 RETURN_ERROR(Error3::UNSUPPORTED); in allocateImpl()
173 RETURN_ERROR(Error3::UNSUPPORTED); in allocateImpl()
205 RETURN_ERROR(Error3::UNSUPPORTED); in allocateImpl()
278 RETURN_ERROR(false); in decodeBufferDescriptorInfo()
297 RETURN_ERROR(Error3::UNSUPPORTED); in getBufferFormat()
[all …]
Ddebug.h24 #define RETURN_ERROR(X) \ macro
/device/generic/goldfish/wifi/mac80211_create_radios/
Dmain.cpp78 #define RETURN_ERROR(C, R) \ macro
95 if (!msg) { RETURN_ERROR("nlmsg_alloc", nullptr); } in createNlMessage()
99 if (!user) { RETURN_ERROR("genlmsg_put", nullptr); } in createNlMessage()
145 if (!socket) { RETURN_ERROR("nl_socket_alloc", 1); } in manageRadios()
/device/generic/goldfish-opengl/system/gralloc/
Dgralloc_30.cpp63 #define RETURN_ERROR(X) \ macro
450 RETURN_ERROR(nullptr); in from_hw_module()
456 RETURN_ERROR(nullptr); in from_hw_module()
462 RETURN_ERROR(nullptr); in from_gralloc_module()
702 RETURN_ERROR(nullptr); in from_hw_device()
708 RETURN_ERROR(nullptr); in from_hw_device()
714 RETURN_ERROR(nullptr); in from_alloc_device()
956 RETURN_ERROR(nullptr); in create_buffer_manager()
/device/generic/goldfish-opengl/system/egl/
Degl.cpp114 #define RETURN_ERROR(ret,err) \ macro
123 #define RETURN_ERROR(ret,err) \ macro
131 RETURN_ERROR(ret,EGL_BAD_CONFIG); \
136 RETURN_ERROR(ret, EGL_BAD_DISPLAY); \
142 RETURN_ERROR(ret, EGL_NOT_INITIALIZED); \
185 RETURN_ERROR(ret,EGL_BAD_CONTEXT); \
1048 RETURN_ERROR(EGL_FALSE,EGL_BAD_PARAMETER); in eglGetConfigs()
1140 RETURN_ERROR(EGL_FALSE, EGL_BAD_ATTRIBUTE); in eglGetConfigAttrib()
1618 RETURN_ERROR(EGL_NO_CONTEXT,EGL_BAD_ATTRIBUTE); in eglCreateContext()
1626 RETURN_ERROR(EGL_NO_CONTEXT,EGL_BAD_ATTRIBUTE); in eglCreateContext()
[all …]