Home
last modified time | relevance | path

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

12

/hardware/libhardware/modules/usbcamera/
DMetadata.cpp62 if (!validate(tag, TYPE_BYTE, count)) return -EINVAL; in addUInt8()
71 if (!validate(tag, TYPE_INT32, count)) return -EINVAL; in addInt32()
76 if (!validate(tag, TYPE_FLOAT, count)) return -EINVAL; in addFloat()
81 if (!validate(tag, TYPE_INT64, count)) return -EINVAL; in addInt64()
86 if (!validate(tag, TYPE_DOUBLE, count)) return -EINVAL; in addDouble()
92 if (!validate(tag, TYPE_RATIONAL, count)) return -EINVAL; in addRational()
96 bool Metadata::validate(uint32_t tag, int tag_type, int count) { in validate() function in usb_camera_hal::Metadata
/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
/hardware/qcom/display/msm8996/libgralloc/
Dmapper.cpp153 if (!module || private_handle_t::validate(handle) < 0) in gralloc_register_buffer()
176 if (!module || private_handle_t::validate(handle) < 0) in gralloc_unregister_buffer()
208 if (!module || private_handle_t::validate(handle) < 0) in gralloc_map_and_invalidate()
274 if (!module || private_handle_t::validate(handle) < 0) in gralloc_unlock()
349 if (private_handle_t::validate(hnd)) { in gralloc_perform()
365 if (private_handle_t::validate(hnd)) { in gralloc_perform()
397 if (private_handle_t::validate(hnd)) { in gralloc_perform()
411 if (!private_handle_t::validate(hnd)) { in gralloc_perform()
420 if (private_handle_t::validate(hnd)) { in gralloc_perform()
436 if (private_handle_t::validate(hnd)) { in gralloc_perform()
[all …]
Dgralloc_priv.h265 static int validate(const native_handle* h) { in validate() function
296 if (validate(in) == 0) { in dynamicCast()
/hardware/libhardware/modules/gralloc/
Dmapper.cpp80 if (private_handle_t::validate(handle) < 0) in gralloc_register_buffer()
130 if (private_handle_t::validate(handle) < 0) in gralloc_unregister_buffer()
171 if (private_handle_t::validate(handle) < 0) in gralloc_lock()
185 if (private_handle_t::validate(handle) < 0) in gralloc_unlock()
/hardware/qcom/display/msm8994/libgralloc/
Dmapper.cpp171 if (!module || private_handle_t::validate(handle) < 0) in gralloc_register_buffer()
184 if (!module || private_handle_t::validate(handle) < 0) in gralloc_unregister_buffer()
216 if (!module || private_handle_t::validate(handle) < 0) in gralloc_map_and_invalidate()
282 if (!module || private_handle_t::validate(handle) < 0) in gralloc_unlock()
355 if (private_handle_t::validate(hnd)) { in gralloc_perform()
372 if (private_handle_t::validate(hnd)) { in gralloc_perform()
405 if (private_handle_t::validate(hnd)) { in gralloc_perform()
419 if (!private_handle_t::validate(hnd)) { in gralloc_perform()
428 if (private_handle_t::validate(hnd)) { in gralloc_perform()
Dgralloc_priv.h265 static int validate(const native_handle* h) { in validate() function
296 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/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/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/qcom/display/msm8909/libgralloc/
Dmapper.cpp146 if (!module || private_handle_t::validate(handle) < 0) in gralloc_register_buffer()
174 if (!module || private_handle_t::validate(handle) < 0) in gralloc_unregister_buffer()
226 if (!module || private_handle_t::validate(handle) < 0) in gralloc_map_and_invalidate()
292 if (!module || private_handle_t::validate(handle) < 0) in gralloc_unlock()
367 if (private_handle_t::validate(hnd)) { in gralloc_perform()
384 if (private_handle_t::validate(hnd)) { in gralloc_perform()
418 if (private_handle_t::validate(hnd)) { in gralloc_perform()
431 if (!private_handle_t::validate(hnd)) { in gralloc_perform()
Dgralloc_priv.h258 static int validate(const native_handle* h) { in validate() function
289 if (validate(in) == 0) { in dynamicCast()
/hardware/qcom/display/msm8960/libgenlock/
Dgenlock.cpp71 if (private_handle_t::validate(buffer_handle)) { in perform_lock_unlock_operation()
146 if (private_handle_t::validate(buffer_handle)) { in genlock_create_lock()
201 if (private_handle_t::validate(buffer_handle)) { in genlock_release_lock()
231 if (private_handle_t::validate(buffer_handle)) { in genlock_attach_lock()
324 if (private_handle_t::validate(buffer_handle)) { in genlock_wait()
/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/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/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()
/hardware/qcom/display/msm8909/liboverlay/
Doverlay.cpp281 validate((int)pipe1Index); in comparePipePriority()
282 validate((int)pipe2Index); in comparePipePriority()
294 validate((int)dest); in commit()
308 validate((int)dest); in queueBuffer()
318 validate((int)dest); in setCrop()
324 validate((int)dest); in setColor()
330 validate((int)dest); in setPosition()
336 validate((int)dest); in setTransform()
346 validate((int)dest); in setSource()
353 validate((int)dest); in setVisualParams()
/hardware/qcom/display/msm8994/liboverlay/
Doverlay.cpp287 validate((int)pipe1Index); in needsPrioritySwap()
288 validate((int)pipe2Index); in needsPrioritySwap()
345 validate((int)dest); in commit()
359 validate((int)dest); in queueBuffer()
369 validate((int)dest); in setCrop()
375 validate((int)dest); in setColor()
381 validate((int)dest); in setPosition()
387 validate((int)dest); in setTransform()
397 validate((int)dest); in setSource()
404 validate((int)dest); in setVisualParams()
/hardware/qcom/display/msm8226/liboverlay/
Doverlay.cpp295 validate((int)pipe1Index); in comparePipePriority()
296 validate((int)pipe2Index); in comparePipePriority()
308 validate((int)dest); in commit()
328 validate((int)dest); in queueBuffer()
338 validate((int)dest); in setCrop()
344 validate((int)dest); in setColor()
350 validate((int)dest); in setPosition()
356 validate((int)dest); in setTransform()
366 validate((int)dest); in setSource()
373 validate((int)dest); in setVisualParams()
/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()
304 if (private_handle_t::validate(handle) < 0) in gralloc_unlock()
373 if (private_handle_t::validate(hnd)) { in gralloc_perform()
395 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()

12