Searched refs:validate (Results 1 - 25 of 56) sorted by relevance

123

/hardware/libhardware/modules/camera/
H A DMetadata.cpp68 if (!validate(tag, TYPE_BYTE, count)) return -EINVAL;
79 if (!validate(tag, TYPE_INT32, count)) return -EINVAL;
85 if (!validate(tag, TYPE_FLOAT, count)) return -EINVAL;
91 if (!validate(tag, TYPE_INT64, count)) return -EINVAL;
97 if (!validate(tag, TYPE_DOUBLE, count)) return -EINVAL;
104 if (!validate(tag, TYPE_RATIONAL, count)) return -EINVAL;
108 bool Metadata::validate(uint32_t tag, int tag_type, int count) function in class:default_camera_hal::Metadata
H A DMetadata.h53 bool validate(uint32_t tag, int tag_type, int count);
/hardware/libhardware/modules/usbcamera/
H A DMetadata.cpp62 if (!validate(tag, TYPE_BYTE, count)) return -EINVAL;
71 if (!validate(tag, TYPE_INT32, count)) return -EINVAL;
76 if (!validate(tag, TYPE_FLOAT, count)) return -EINVAL;
81 if (!validate(tag, TYPE_INT64, count)) return -EINVAL;
86 if (!validate(tag, TYPE_DOUBLE, count)) return -EINVAL;
92 if (!validate(tag, TYPE_RATIONAL, count)) return -EINVAL;
96 bool Metadata::validate(uint32_t tag, int tag_type, int count) { function in class:usb_camera_hal::Metadata
H A DMetadata.h53 bool validate(uint32_t tag, int tag_type, int count);
/hardware/libhardware/modules/gralloc/
H A Dmapper.cpp80 if (private_handle_t::validate(handle) < 0)
130 if (private_handle_t::validate(handle) < 0)
171 if (private_handle_t::validate(handle) < 0)
185 if (private_handle_t::validate(handle) < 0)
H A Dgralloc_priv.h100 static int validate(const native_handle* h) { function in struct:private_handle_t
/hardware/ti/omap3/omx/system/src/openmax_il/omx_core/inc/
H A 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/
H A 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/
H A DOMX_DebugMem.h62 #define validate(x) OMX_DebugMem_validate(x, __FILE__,__FUNCTION__ ,__LINE__) macro
65 #define validate(x) macro
/hardware/qcom/display/msm8996/libgralloc/
H A Dmapper.cpp171 if (!module || private_handle_t::validate(handle) < 0)
185 if (!module || private_handle_t::validate(handle) < 0)
217 if (!module || private_handle_t::validate(handle) < 0)
283 if (!module || private_handle_t::validate(handle) < 0)
358 if (private_handle_t::validate(hnd)) {
374 if (private_handle_t::validate(hnd)) {
406 if (private_handle_t::validate(hnd)) {
420 if (!private_handle_t::validate(hnd)) {
429 if (private_handle_t::validate(hnd)) {
445 if (private_handle_t::validate(hn
[all...]
/hardware/qcom/display/msm8998/libgralloc/
H A Dmapper.cpp171 if (!module || private_handle_t::validate(handle) < 0)
185 if (!module || private_handle_t::validate(handle) < 0)
217 if (!module || private_handle_t::validate(handle) < 0)
283 if (!module || private_handle_t::validate(handle) < 0)
363 if (private_handle_t::validate(hnd)) {
379 if (private_handle_t::validate(hnd)) {
411 if (private_handle_t::validate(hnd)) {
448 if (!private_handle_t::validate(hnd)) {
457 if (private_handle_t::validate(hnd)) {
473 if (private_handle_t::validate(hn
[all...]
/hardware/qcom/display/msm8960/liboverlay/
H A Doverlay.cpp125 validate(index);
144 validate(index);
155 validate(index);
162 validate(index);
169 validate(index);
180 validate(index);
200 validate(index);
H A Doverlay.h92 void validate(int index);
153 inline void Overlay::validate(int index) { function in class:overlay::Overlay
/hardware/qcom/display/msm8084/libgralloc/
H A Dmapper.cpp133 if (!module || private_handle_t::validate(handle) < 0)
160 if (!module || private_handle_t::validate(handle) < 0)
210 if (!module || private_handle_t::validate(handle) < 0)
268 if (!module || private_handle_t::validate(handle) < 0)
342 if (private_handle_t::validate(hnd)) {
368 if (private_handle_t::validate(hnd)) {
385 if (private_handle_t::validate(hnd)) {
419 if (private_handle_t::validate(hnd)) {
432 if (!private_handle_t::validate(hnd)) {
/hardware/qcom/display/msm8226/libgralloc/
H A Dmapper.cpp133 if (!module || private_handle_t::validate(handle) < 0)
160 if (!module || private_handle_t::validate(handle) < 0)
210 if (!module || private_handle_t::validate(handle) < 0)
268 if (!module || private_handle_t::validate(handle) < 0)
342 if (private_handle_t::validate(hnd)) {
368 if (private_handle_t::validate(hnd)) {
385 if (private_handle_t::validate(hnd)) {
419 if (private_handle_t::validate(hnd)) {
432 if (!private_handle_t::validate(hnd)) {
/hardware/qcom/display/msm8994/libgralloc/
H A Dmapper.cpp171 if (!module || private_handle_t::validate(handle) < 0)
185 if (!module || private_handle_t::validate(handle) < 0)
217 if (!module || private_handle_t::validate(handle) < 0)
283 if (!module || private_handle_t::validate(handle) < 0)
356 if (private_handle_t::validate(hnd)) {
373 if (private_handle_t::validate(hnd)) {
406 if (private_handle_t::validate(hnd)) {
420 if (!private_handle_t::validate(hnd)) {
429 if (private_handle_t::validate(hnd)) {
/hardware/qcom/display/msm8960/libgenlock/
H A Dgenlock.cpp71 if (private_handle_t::validate(buffer_handle)) {
146 if (private_handle_t::validate(buffer_handle)) {
201 if (private_handle_t::validate(buffer_handle)) {
231 if (private_handle_t::validate(buffer_handle)) {
324 if (private_handle_t::validate(buffer_handle)) {
/hardware/qcom/display/msm8909/libgralloc/
H A Dmapper.cpp146 if (!module || private_handle_t::validate(handle) < 0)
174 if (!module || private_handle_t::validate(handle) < 0)
226 if (!module || private_handle_t::validate(handle) < 0)
292 if (!module || private_handle_t::validate(handle) < 0)
367 if (private_handle_t::validate(hnd)) {
385 if (private_handle_t::validate(hnd)) {
420 if (private_handle_t::validate(hnd)) {
434 if (!private_handle_t::validate(hnd)) {
/hardware/qcom/display/msm8084/liboverlay/
H A Doverlay.cpp272 validate((int)pipe1Index);
273 validate((int)pipe2Index);
286 validate(index);
307 validate(index);
318 validate(index);
325 validate(index);
332 validate(index);
339 validate(index);
350 validate(index);
370 validate(inde
[all...]
/hardware/qcom/display/msm8226/liboverlay/
H A Doverlay.cpp295 validate((int)pipe1Index);
296 validate((int)pipe2Index);
308 validate((int)dest);
328 validate((int)dest);
338 validate((int)dest);
344 validate((int)dest);
350 validate((int)dest);
356 validate((int)dest);
366 validate((int)dest);
373 validate((in
[all...]
/hardware/qcom/display/msm8909/liboverlay/
H A Doverlay.cpp281 validate((int)pipe1Index);
282 validate((int)pipe2Index);
294 validate((int)dest);
308 validate((int)dest);
318 validate((int)dest);
324 validate((int)dest);
330 validate((int)dest);
336 validate((int)dest);
346 validate((int)dest);
353 validate((in
[all...]
/hardware/qcom/display/msm8994/liboverlay/
H A Doverlay.cpp287 validate((int)pipe1Index);
288 validate((int)pipe2Index);
345 validate((int)dest);
359 validate((int)dest);
369 validate((int)dest);
375 validate((int)dest);
381 validate((int)dest);
387 validate((int)dest);
397 validate((int)dest);
404 validate((in
[all...]
/hardware/qcom/display/msm8960/libgralloc/
H A Dmapper.cpp129 if (private_handle_t::validate(handle) < 0)
156 if (private_handle_t::validate(handle) < 0)
204 if (private_handle_t::validate(handle) < 0)
304 if (private_handle_t::validate(handle) < 0)
373 if (private_handle_t::validate(hnd)) {
395 if (private_handle_t::validate(hnd)) {
H A Dgralloc_priv.h213 static int validate(const native_handle* h) { function in struct:private_handle_t
243 if (validate(in) == 0) {
/hardware/qcom/display/msm8996/libgralloc1/
H A Dgr_buf_mgr.cpp523 if (private_handle_t::validate(hnd) != 0) {
540 if (private_handle_t::validate(hnd) != 0) {
581 if (private_handle_t::validate(hnd) != 0) {
592 if (private_handle_t::validate(hnd) != 0) {
603 if (private_handle_t::validate(hnd) != 0) {
617 if (private_handle_t::validate(hnd) != 0) {
626 if (private_handle_t::validate(hnd) != 0) {

Completed in 396 milliseconds

123