Home
last modified time | relevance | path

Searched refs:ARRAY_COUNT (Results 1 – 4 of 4) sorted by relevance

/external/skia/modules/skcms/
Dskcms_internal.h22 #define ARRAY_COUNT(arr) (int)(sizeof((arr)) / sizeof(*(arr))) macro
Dskcms.cc629 if (a2b->output_channels != ARRAY_COUNT(a2b->output_curves)) { in read_mft_common()
633 if (a2b->input_channels < 1 || a2b->input_channels > ARRAY_COUNT(a2b->input_curves)) { in read_mft_common()
656 if (b2a->input_channels != ARRAY_COUNT(b2a->input_curves)) { in read_mft_common()
659 if (b2a->output_channels < 3 || b2a->output_channels > ARRAY_COUNT(b2a->output_curves)) { in read_mft_common()
829 if (a2b->output_channels != ARRAY_COUNT(a2b->output_curves)) { in read_tag_mab()
833 if (a2b->input_channels > ARRAY_COUNT(a2b->input_curves)) { in read_tag_mab()
956 if (b2a->input_channels != ARRAY_COUNT(b2a->input_curves)) { in read_tag_mba()
959 if (b2a->output_channels < 3 || b2a->output_channels > ARRAY_COUNT(b2a->output_curves)) { in read_tag_mba()
2221 for (int t = 0; t < ARRAY_COUNT(kTolerances); t++) { in skcms_ApproximateCurve()
/external/vboot_reference/cgpt/
Dcgpt_common.c658 for (i = 0; i < ARRAY_COUNT(supported_types); ++i) { in ResolveType()
669 for (i = 0; i < ARRAY_COUNT(supported_types); ++i) { in SupportedType()
681 for (i = 0; i < ARRAY_COUNT(supported_types); ++i) { in PrintTypes()
811 if (errnum < 0 || errnum >= ARRAY_COUNT(error_string)) in GptError()
Dcgpt.h199 #define ARRAY_COUNT(array) (sizeof(array)/sizeof((array)[0])) macro