Home
last modified time | relevance | path

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

12

/hardware/libhardware/modules/camera/
DMetadata.cpp68 if (!validate(tag, TYPE_BYTE, count)) return -EINVAL; in addUInt8()
79 if (!validate(tag, TYPE_INT32, count)) return -EINVAL; in addInt32()
85 if (!validate(tag, TYPE_FLOAT, count)) return -EINVAL; in addFloat()
91 if (!validate(tag, TYPE_INT64, count)) return -EINVAL; in addInt64()
97 if (!validate(tag, TYPE_DOUBLE, count)) return -EINVAL; in addDouble()
104 if (!validate(tag, TYPE_RATIONAL, count)) return -EINVAL; in addRational()
108 bool Metadata::validate(uint32_t tag, int tag_type, int count) in validate() function in default_camera_hal::Metadata
DMetadata.h53 bool validate(uint32_t tag, int tag_type, int count);
/hardware/libhardware/modules/gralloc/
Dmapper.cpp88 if (private_handle_t::validate(handle) < 0) in gralloc_register_buffer()
138 if (private_handle_t::validate(handle) < 0) in gralloc_unregister_buffer()
179 if (private_handle_t::validate(handle) < 0) in gralloc_lock()
193 if (private_handle_t::validate(handle) < 0) in gralloc_unlock()
Dgralloc_priv.h100 static int validate(const native_handle* h) { in validate() function
/hardware/qcom/display/msm8226/libgralloc/
Dmapper.cpp133 if (!module || private_handle_t::validate(handle) < 0) in gralloc_register_buffer()
160 if (!module || private_handle_t::validate(handle) < 0) in gralloc_unregister_buffer()
210 if (!module || private_handle_t::validate(handle) < 0) in gralloc_map_and_invalidate()
268 if (!module || private_handle_t::validate(handle) < 0) in gralloc_unlock()
342 if (private_handle_t::validate(hnd)) { in gralloc_perform()
368 if (private_handle_t::validate(hnd)) { in gralloc_perform()
385 if (private_handle_t::validate(hnd)) { in gralloc_perform()
419 if (private_handle_t::validate(hnd)) { in gralloc_perform()
432 if (!private_handle_t::validate(hnd)) { in gralloc_perform()
Dgralloc_priv.h257 static int validate(const native_handle* h) { in validate() function
288 if (validate(in) == 0) { in dynamicCast()
/hardware/qcom/display/msm8084/libgralloc/
Dmapper.cpp133 if (!module || private_handle_t::validate(handle) < 0) in gralloc_register_buffer()
160 if (!module || private_handle_t::validate(handle) < 0) in gralloc_unregister_buffer()
210 if (!module || private_handle_t::validate(handle) < 0) in gralloc_map_and_invalidate()
268 if (!module || private_handle_t::validate(handle) < 0) in gralloc_unlock()
342 if (private_handle_t::validate(hnd)) { in gralloc_perform()
368 if (private_handle_t::validate(hnd)) { in gralloc_perform()
385 if (private_handle_t::validate(hnd)) { in gralloc_perform()
419 if (private_handle_t::validate(hnd)) { in gralloc_perform()
432 if (!private_handle_t::validate(hnd)) { in gralloc_perform()
Dgralloc_priv.h254 static int validate(const native_handle* h) { in validate() function
285 if (validate(in) == 0) { in dynamicCast()
/hardware/qcom/display/msm8960/liboverlay/
Doverlay.cpp125 validate(index); in commit()
144 validate(index); in queueBuffer()
155 validate(index); in setCrop()
162 validate(index); in setPosition()
169 validate(index); in setTransform()
180 validate(index); in setSource()
200 validate(index); in setVisualParams()
Doverlay.h92 void validate(int index);
153 inline void Overlay::validate(int index) { in validate() function
/hardware/samsung_slsi/exynos5/gralloc/
Dmapper.cpp90 if (private_handle_t::validate(handle) < 0) in gralloc_register_buffer()
118 if (private_handle_t::validate(handle) < 0) in gralloc_unregister_buffer()
150 if (private_handle_t::validate(handle) < 0) in gralloc_lock()
172 if (private_handle_t::validate(handle) < 0) in gralloc_unlock()
/hardware/qcom/display/msm8960/libgenlock/
Dgenlock.cpp70 if (private_handle_t::validate(buffer_handle)) { in perform_lock_unlock_operation()
141 if (private_handle_t::validate(buffer_handle)) { in genlock_create_lock()
196 if (private_handle_t::validate(buffer_handle)) { in genlock_release_lock()
226 if (private_handle_t::validate(buffer_handle)) { in genlock_attach_lock()
319 if (private_handle_t::validate(buffer_handle)) { in genlock_wait()
/hardware/qcom/display/msm8974/liboverlay/
Doverlay.cpp139 validate(index); in commit()
165 validate(index); in queueBuffer()
176 validate(index); in setCrop()
183 validate(index); in setPosition()
190 validate(index); in setTransform()
201 validate(index); in setSource()
221 validate(index); in setVisualParams()
Doverlay.h114 void validate(int index);
177 inline void Overlay::validate(int index) { in validate() function
/hardware/qcom/display/msm8084/liboverlay/
Doverlay.cpp272 validate((int)pipe1Index); in comparePipePriority()
273 validate((int)pipe2Index); in comparePipePriority()
286 validate(index); in commit()
307 validate(index); in queueBuffer()
318 validate(index); in setCrop()
325 validate(index); in setColor()
332 validate(index); in setPosition()
339 validate(index); in setTransform()
350 validate(index); in setSource()
370 validate(index); in setVisualParams()
Doverlay.h155 void validate(int index);
247 inline void Overlay::validate(int index) { in validate() function
/hardware/qcom/display/msm8226/liboverlay/
Doverlay.cpp276 validate((int)pipe1Index); in comparePipePriority()
277 validate((int)pipe2Index); in comparePipePriority()
289 validate((int)dest); in commit()
309 validate((int)dest); in queueBuffer()
319 validate((int)dest); in setCrop()
325 validate((int)dest); in setColor()
331 validate((int)dest); in setPosition()
337 validate((int)dest); in setTransform()
347 validate((int)dest); in setSource()
354 validate((int)dest); in setVisualParams()
/hardware/ti/omap4xxx/domx/omx_core/inc/
DOMX_DebugMem.h62 #define validate(x) OMX_DebugMem_validate(x, __FILE__,__FUNCTION__ ,__LINE__) macro
65 #define validate(x) macro
/hardware/ti/omap3/omx/system/src/openmax_il/omx_core/inc/
DOMX_DebugMem.h38 #define validate(x) OMX_DebugMem_validate(x, __FILE__,__FUNCTION__ ,__LINE__) macro
41 #define validate(x) macro
/hardware/ti/omap4-aah/domx/omx_core/inc/
DOMX_DebugMem.h62 #define validate(x) OMX_DebugMem_validate(x, __FILE__,__FUNCTION__ ,__LINE__) macro
65 #define validate(x) macro
/hardware/qcom/display/msm8960/libgralloc/
Dmapper.cpp129 if (private_handle_t::validate(handle) < 0) in gralloc_register_buffer()
156 if (private_handle_t::validate(handle) < 0) in gralloc_unregister_buffer()
204 if (private_handle_t::validate(handle) < 0) in gralloc_map_and_invalidate()
291 if (private_handle_t::validate(handle) < 0) in gralloc_unlock()
360 if (private_handle_t::validate(hnd)) { in gralloc_perform()
382 if (private_handle_t::validate(hnd)) { in gralloc_perform()
Dgralloc_priv.h213 static int validate(const native_handle* h) { in validate() function
243 if (validate(in) == 0) { in dynamicCast()
/hardware/qcom/display/msm8974/libgralloc/
Dmapper.cpp129 if (private_handle_t::validate(handle) < 0) in gralloc_register_buffer()
156 if (private_handle_t::validate(handle) < 0) in gralloc_unregister_buffer()
204 if (private_handle_t::validate(handle) < 0) in gralloc_map_and_invalidate()
290 if (private_handle_t::validate(handle) < 0) in gralloc_unlock()
361 if (private_handle_t::validate(hnd)) { in gralloc_perform()
383 if (private_handle_t::validate(hnd)) { in gralloc_perform()
Dgralloc_priv.h210 static int validate(const native_handle* h) { in validate() function
240 if (validate(in) == 0) { in dynamicCast()
/hardware/samsung_slsi/exynos5/include/
Dgralloc_priv.h150 static int validate(const native_handle* h) { in validate() function
164 if (validate(in) == 0) in dynamicCast()

12