Home
last modified time | relevance | path

Searched refs:validate (Results 1 – 25 of 39) sorted by relevance

12

/device/google/cuttlefish/guest/hals/gralloc/legacy/
Dmapper.cpp44 if (private_handle_t::validate(handle) < 0) { in gralloc_register_buffer()
58 if (private_handle_t::validate(handle) < 0) { in gralloc_unregister_buffer()
69 if (private_handle_t::validate(handle) < 0) { in gralloc_lock()
91 if (private_handle_t::validate(handle) < 0) { in gralloc_unlock()
110 if (private_handle_t::validate(handle) < 0) { in gralloc_lock_ycbcr()
130 if (private_handle_t::validate(handle) < 0) { in gralloc_get_transport_size()
146 if (private_handle_t::validate(handle) < 0) { in gralloc_validate_buffer_size()
/device/linaro/hikey/gralloc960/
Dmali_gralloc_private_interface.cpp40 if (private_handle_t::validate(handle) < 0 || internal_format == NULL) in mali_gralloc_private_get_buff_int_fmt()
55 if (private_handle_t::validate(handle) < 0 || fd == NULL) in mali_gralloc_private_get_buff_fd()
71 if (private_handle_t::validate(handle) < 0 || internalWidth == NULL || internalHeight == NULL) in mali_gralloc_private_get_buff_int_dims()
87 if (private_handle_t::validate(handle) < 0 || offset == NULL) in mali_gralloc_private_get_buff_offset()
103 if (private_handle_t::validate(handle) < 0 || bytestride == NULL) in mali_gralloc_private_get_buff_bytestride()
119 if (private_handle_t::validate(handle) < 0 || yuvinfo == NULL) in mali_gralloc_private_get_buff_yuvinfo()
134 if (private_handle_t::validate(handle) < 0 || size == NULL) in mali_gralloc_private_get_buff_size()
149 if (private_handle_t::validate(handle) < 0 || flags == NULL) in mali_gralloc_private_get_buff_flags()
165 if (private_handle_t::validate(handle) < 0 || min_pgsz == NULL) in mali_gralloc_private_get_buff_min_page_size()
181 if (private_handle_t::validate(handle) < 0 || val == NULL) in mali_gralloc_private_get_attr_param()
[all …]
Dmali_gralloc_bufferdescriptor.cpp119 if (private_handle_t::validate(buffer) < 0) in mali_gralloc_get_backing_store_internal()
133 if (private_handle_t::validate(buffer) < 0) in mali_gralloc_get_consumer_usage_internal()
146 if (private_handle_t::validate(buffer) < 0) in mali_gralloc_get_dimensions_internal()
160 if (private_handle_t::validate(buffer) < 0) in mali_gralloc_get_format_internal()
173 if (private_handle_t::validate(buffer) < 0) in mali_gralloc_get_producer_usage_internal()
Dmali_gralloc_reference.cpp41 if (private_handle_t::validate(handle) < 0) in mali_gralloc_reference_retain()
85 if (private_handle_t::validate(handle) < 0) in mali_gralloc_reference_release()
Dmali_gralloc_public_interface.cpp247 if (private_handle_t::validate(buffer) < 0) in mali_gralloc_retain()
279 if (private_handle_t::validate(buffer) < 0) in mali_gralloc1_get_num_flex_planes()
300 if (private_handle_t::validate(buffer) < 0) in mali_gralloc1_lock_async()
328 if (private_handle_t::validate(buffer) < 0) in mali_gralloc1_lock_flex_async()
352 if (private_handle_t::validate(buffer) < 0) in mali_gralloc1_unlock_async()
Dmali_gralloc_bufferaccess.cpp45 if (private_handle_t::validate(buffer) < 0) in mali_gralloc_lock()
81 if (private_handle_t::validate(buffer) < 0) in mali_gralloc_lock_ycbcr()
170 if (private_handle_t::validate(buffer) < 0) in mali_gralloc_unlock()
191 if (private_handle_t::validate(buffer) < 0) in mali_gralloc_get_num_flex_planes()
257 if (private_handle_t::validate(buffer) < 0) in mali_gralloc_lock_flex_async()
Dmali_gralloc_buffer.h240 static int validate(const native_handle *h) in validate() function
255 if (validate(in) == 0) in dynamicCast()
/device/amlogic/yukawa/hal/gralloc/
Dmali_gralloc_private_interface.cpp40 if (private_handle_t::validate(handle) < 0 || internal_format == NULL) in mali_gralloc_private_get_buff_int_fmt()
55 if (private_handle_t::validate(handle) < 0 || fd == NULL) in mali_gralloc_private_get_buff_fd()
71 if (private_handle_t::validate(handle) < 0 || internalWidth == NULL || internalHeight == NULL) in mali_gralloc_private_get_buff_int_dims()
87 if (private_handle_t::validate(handle) < 0 || offset == NULL) in mali_gralloc_private_get_buff_offset()
103 if (private_handle_t::validate(handle) < 0 || bytestride == NULL) in mali_gralloc_private_get_buff_bytestride()
119 if (private_handle_t::validate(handle) < 0 || yuvinfo == NULL) in mali_gralloc_private_get_buff_yuvinfo()
134 if (private_handle_t::validate(handle) < 0 || size == NULL) in mali_gralloc_private_get_buff_size()
149 if (private_handle_t::validate(handle) < 0 || flags == NULL) in mali_gralloc_private_get_buff_flags()
165 if (private_handle_t::validate(handle) < 0 || min_pgsz == NULL) in mali_gralloc_private_get_buff_min_page_size()
181 if (private_handle_t::validate(handle) < 0 || val == NULL) in mali_gralloc_private_get_attr_param()
[all …]
Dmali_gralloc_bufferdescriptor.cpp130 if (private_handle_t::validate(buffer) < 0) in mali_gralloc_get_backing_store_internal()
144 if (private_handle_t::validate(buffer) < 0) in mali_gralloc_get_consumer_usage_internal()
157 if (private_handle_t::validate(buffer) < 0) in mali_gralloc_get_dimensions_internal()
171 if (private_handle_t::validate(buffer) < 0) in mali_gralloc_get_format_internal()
184 if (private_handle_t::validate(buffer) < 0) in mali_gralloc_get_producer_usage_internal()
Dmali_gralloc_reference.cpp41 if (private_handle_t::validate(handle) < 0) in mali_gralloc_reference_retain()
85 if (private_handle_t::validate(handle) < 0) in mali_gralloc_reference_release()
Dmali_gralloc_bufferaccess.cpp45 if (private_handle_t::validate(buffer) < 0) in mali_gralloc_lock()
81 if (private_handle_t::validate(buffer) < 0) in mali_gralloc_lock_ycbcr()
170 if (private_handle_t::validate(buffer) < 0) in mali_gralloc_unlock()
191 if (private_handle_t::validate(buffer) < 0) in mali_gralloc_get_num_flex_planes()
257 if (private_handle_t::validate(buffer) < 0) in mali_gralloc_lock_flex_async()
Dmali_gralloc_public_interface.cpp248 if (private_handle_t::validate(buffer) < 0) in mali_gralloc_retain()
280 if (private_handle_t::validate(buffer) < 0) in mali_gralloc1_get_num_flex_planes()
301 if (private_handle_t::validate(buffer) < 0) in mali_gralloc1_lock_async()
329 if (private_handle_t::validate(buffer) < 0) in mali_gralloc1_lock_flex_async()
353 if (private_handle_t::validate(buffer) < 0) in mali_gralloc1_unlock_async()
Dmali_gralloc_buffer.h257 static int validate(const native_handle *h) in validate() function
272 if (validate(in) == 0) in dynamicCast()
/device/generic/opengl-transport/host/libs/virglrenderer/
DChecksumCalculatorThreadInfo.h33 static bool validate(ChecksumCalculator* calc, void* buf, size_t bufLen, void* checksum, in validate() function
36 return calc->validate(checksum, checksumLen); in validate()
41 if (!validate(calc, buf, bufLen, checksum, checksumLen)) { in validOrDie()
DChecksumCalculator.h178 bool validate(const void* expectedChecksum, size_t expectedChecksumLen);
DChecksumCalculator.cpp103 bool ChecksumCalculator::validate(const void* expectedChecksum, in validate() function in ChecksumCalculator
/device/generic/goldfish-opengl/system/renderControl_enc/
DrenderControl_enc.cpp53 if (!checksumCalculator->validate(checksumBufPtr, checksumSize)) { in rcGetRendererVersion_enc()
100 if (!checksumCalculator->validate(checksumBufPtr, checksumSize)) { in rcGetEGLVersion_enc()
145 if (!checksumCalculator->validate(checksumBufPtr, checksumSize)) { in rcQueryEGLString_enc()
190 if (!checksumCalculator->validate(checksumBufPtr, checksumSize)) { in rcGetGLString_enc()
233 if (!checksumCalculator->validate(checksumBufPtr, checksumSize)) { in rcGetNumConfigs_enc()
277 if (!checksumCalculator->validate(checksumBufPtr, checksumSize)) { in rcGetConfigs_enc()
327 if (!checksumCalculator->validate(checksumBufPtr, checksumSize)) { in rcChooseConfig_enc()
367 if (!checksumCalculator->validate(checksumBufPtr, checksumSize)) { in rcGetFBParam_enc()
409 if (!checksumCalculator->validate(checksumBufPtr, checksumSize)) { in rcCreateContext_enc()
476 if (!checksumCalculator->validate(checksumBufPtr, checksumSize)) { in rcCreateWindowSurface_enc()
[all …]
/device/linaro/hikey/gralloc/
Dgralloc_module.cpp66 if (private_handle_t::validate(handle) < 0) in gralloc_register_buffer()
243 if (private_handle_t::validate(handle) < 0) in gralloc_unregister_buffer()
285 if (private_handle_t::validate(handle) < 0) in gralloc_lock()
335 if (private_handle_t::validate(handle) < 0) in gralloc_lock_ycbcr()
414 if (private_handle_t::validate(handle) < 0) in gralloc_unlock()
Dgralloc_priv.h329 static int validate(const native_handle *h) in validate() function
359 if (validate(in) == 0) in dynamicCast()
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/
DChecksumCalculator.h172 bool validate(const void* expectedChecksum, size_t expectedChecksumLen);
DChecksumCalculator.cpp119 bool ChecksumCalculator::validate(const void* expectedChecksum, size_t expectedChecksumLen) { in validate() function in ChecksumCalculator
/device/generic/opengl-transport/host/commands/emugen/tests/t.001/expected/encoder/
Dfoo_enc.cpp82 if (!checksumCalculator->validate(checksumBufPtr, checksumSize)) { in fooIsBuffer_enc()
201 if (!checksumCalculator->validate(checksumBufPtr, checksumSize)) { in fooGetComplexStruct_enc()
240 if (!checksumCalculator->validate(checksumBufPtr, checksumSize)) { in fooInout_enc()
/device/generic/goldfish-opengl/system/GLESv2_enc/
Dgl2_enc.cpp447 if (!checksumCalculator->validate(checksumBufPtr, checksumSize)) { in glCheckFramebufferStatus_enc()
787 if (!checksumCalculator->validate(checksumBufPtr, checksumSize)) { in glCreateProgram_enc()
827 if (!checksumCalculator->validate(checksumBufPtr, checksumSize)) { in glCreateShader_enc()
1413 if (!checksumCalculator->validate(checksumBufPtr, checksumSize)) { in glGenBuffers_enc()
1477 if (!checksumCalculator->validate(checksumBufPtr, checksumSize)) { in glGenFramebuffers_enc()
1516 if (!checksumCalculator->validate(checksumBufPtr, checksumSize)) { in glGenRenderbuffers_enc()
1555 if (!checksumCalculator->validate(checksumBufPtr, checksumSize)) { in glGenTextures_enc()
1616 if (!checksumCalculator->validate(checksumBufPtr, checksumSize)) { in glGetActiveAttrib_enc()
1677 if (!checksumCalculator->validate(checksumBufPtr, checksumSize)) { in glGetActiveUniform_enc()
1723 if (!checksumCalculator->validate(checksumBufPtr, checksumSize)) { in glGetAttachedShaders_enc()
[all …]
/device/amlogic/yukawa/hal/gralloc/legacy/
Dalloc_device.cpp135 if (private_handle_t::validate(handle) < 0) in alloc_device_free()
/device/linaro/hikey/gralloc960/legacy/
Dalloc_device.cpp134 if (private_handle_t::validate(handle) < 0) in alloc_device_free()

12