Searched defs:ARRAY_SIZE (Results 1 - 25 of 34) sorted by relevance

12

/hardware/invensense/60xx/libsensors/
H A Dsensors.h34 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) macro
/hardware/libhardware/modules/usbaudio/
H A Dformat.c24 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro
172 int num_slots = ARRAY_SIZE(mask->bits);
175 int table_size = ARRAY_SIZE(pcm_format_value_map);
H A Dlogging.c26 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro
33 const size_t num_slots = ARRAY_SIZE(mask->bits);
H A Dalsa_device_profile.c32 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro
67 for (index = 0; index < ARRAY_SIZE(profile->formats); index++) {
71 for (index = 0; index < ARRAY_SIZE(profile->sample_rates); index++) {
75 for (index = 0; index < ARRAY_SIZE(profile->channel_counts); index++) {
234 for (index = 0; index < ARRAY_SIZE(std_sample_rates) &&
235 num_entries < ARRAY_SIZE(profile->sample_rates) - 1;
248 const int num_slots = ARRAY_SIZE(mask->bits);
251 const int table_size = ARRAY_SIZE(pcm_format_value_map);
267 if (num_written == ARRAY_SIZE(profile->formats) - 1) {
289 for (index = 0; index < ARRAY_SIZE(std_channel_count
[all...]
/hardware/samsung_slsi/exynos5/libmemtrack/
H A Dmali.c26 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) macro
46 size_t allocated_records = min(*num_records, ARRAY_SIZE(record_templates));
51 *num_records = ARRAY_SIZE(record_templates);
/hardware/ti/omap4xxx/camera/inc/OMXCameraAdapter/
H A DOMXSceneModeTables.h31 #ifndef ARRAY_SIZE
32 #define ARRAY_SIZE(array) (sizeof((array)) / sizeof((array)[0])) macro
243 { "S5K4E1GA", S5K4E1GA_SceneModesLUT, ARRAY_SIZE(S5K4E1GA_SceneModesLUT)},
244 { "S5K6A1GX03", S5K6A1GX03_SceneModesLUT, ARRAY_SIZE(S5K6A1GX03_SceneModesLUT)},
/hardware/akm/AK8975_FS/libsensors/
H A Dsensors.h34 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) macro
/hardware/libhardware/modules/consumerir/
H A Dconsumerir.c24 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) macro
53 return ARRAY_SIZE(consumerir_freqs);
59 size_t to_copy = ARRAY_SIZE(consumerir_freqs);
/hardware/qcom/display/msm8084/libmemtrack/
H A Dkgsl.c27 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) macro
47 size_t allocated_records = min(*num_records, ARRAY_SIZE(record_templates));
57 *num_records = ARRAY_SIZE(record_templates);
/hardware/qcom/display/msm8226/libmemtrack/
H A Dkgsl.c27 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) macro
47 size_t allocated_records = min(*num_records, ARRAY_SIZE(record_templates));
57 *num_records = ARRAY_SIZE(record_templates);
/hardware/qcom/display/msm8960/libmemtrack/
H A Dkgsl.c27 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) macro
47 size_t allocated_records = min(*num_records, ARRAY_SIZE(record_templates));
56 *num_records = ARRAY_SIZE(record_templates);
/hardware/qcom/display/msm8974/libmemtrack/
H A Dkgsl.c27 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) macro
47 size_t allocated_records = min(*num_records, ARRAY_SIZE(record_templates));
56 *num_records = ARRAY_SIZE(record_templates);
/hardware/ti/omap4-aah/camera/inc/OMXCameraAdapter/
H A DOMXSceneModeTables.h31 #ifndef ARRAY_SIZE
32 #define ARRAY_SIZE(array) (sizeof((array)) / sizeof((array)[0])) macro
741 { "S5K4E1GA", S5K4E1GA_SceneModesLUT, ARRAY_SIZE(S5K4E1GA_SceneModesLUT)},
742 { "S5K6A1GX03", S5K6A1GX03_SceneModesLUT, ARRAY_SIZE(S5K6A1GX03_SceneModesLUT)},
743 { "IMX060", IMX060_SceneModesLUT, ARRAY_SIZE(IMX060_SceneModesLUT)},
744 { "OV5640", OV5640_SceneModesLUT, ARRAY_SIZE(OV5640_SceneModesLUT)},
745 { "OV5650", OV5650_SceneModesLUT, ARRAY_SIZE(OV5650_SceneModesLUT)},
746 { "OV8830", OV8830_SceneModesLUT, ARRAY_SIZE(OV8830_SceneModesLUT)},
747 { "OV2722", OV2722_SceneModesLUT, ARRAY_SIZE(OV2722_SceneModesLUT)}
/hardware/invensense/60xx/libsensors_iio/
H A Dsensors.h34 #ifndef ARRAY_SIZE
35 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) macro
/hardware/intel/img/libdrm/tests/modetest/
H A Dmodetest.c62 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) macro
72 for (i = 0; i < ARRAY_SIZE(res##_names); i++) { \
587 for (i = 0; i < ARRAY_SIZE(modules); i++) {
598 if (i == ARRAY_SIZE(modules)) {
/hardware/invensense/65xx/libsensors_iio/
H A Dsensors.h34 #ifndef ARRAY_SIZE
35 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) macro
/hardware/libhardware/modules/camera/
H A DExampleCamera.cpp29 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) macro
52 ARRAY_SIZE(android_control_ae_available_target_fps_ranges),
57 ARRAY_SIZE(android_control_ae_compensation_range),
62 ARRAY_SIZE(android_control_ae_compensation_step),
67 ARRAY_SIZE(android_control_max_regions),
73 ARRAY_SIZE(android_jpeg_available_thumbnail_sizes),
78 ARRAY_SIZE(android_jpeg_max_size),
84 ARRAY_SIZE(android_lens_info_available_focal_lengths),
90 ARRAY_SIZE(android_request_max_num_output_streams),
104 ARRAY_SIZE(android_scaler_available_format
[all...]
/hardware/ti/omap4-aah/camera/V4LCameraAdapter/
H A DV4LCapabilities.cpp36 #define ARRAY_SIZE(array) (sizeof((array)) / sizeof((array)[0])) macro
110 for (unsigned int j = 0; j < ARRAY_SIZE(mPixelformats); j++) {
/hardware/invensense/60xx/libsensors_iio/software/core/driver/include/
H A Dmltypes.h142 #ifndef ARRAY_SIZE
144 #define ARRAY_SIZE(array) (sizeof(array)/sizeof((array)[0])) macro
/hardware/invensense/6515/libsensors_iio/software/core/driver/include/
H A Dmltypes.h142 #ifndef ARRAY_SIZE
144 #define ARRAY_SIZE(array) (sizeof(array)/sizeof((array)[0])) macro
/hardware/invensense/65xx/libsensors_iio/software/core/driver/include/
H A Dmltypes.h142 #ifndef ARRAY_SIZE
144 #define ARRAY_SIZE(array) (sizeof(array)/sizeof((array)[0])) macro
/hardware/qcom/audio/post_proc/
H A Deffect_api.c27 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0]) macro
157 mixer_ctl_set_array(ctl, param_values, ARRAY_SIZE(param_values));
248 mixer_ctl_set_array(ctl, param_values, ARRAY_SIZE(param_values));
348 mixer_ctl_set_array(ctl, param_values, ARRAY_SIZE(param_values));
596 mixer_ctl_set_array(ctl, param_values, ARRAY_SIZE(param_values));
/hardware/ti/omap4-aah/camera/
H A DEncoder_libjpeg.cpp44 #define ARRAY_SIZE(array) (sizeof((array)) / sizeof((array)[0])) macro
261 for (unsigned int i = 0; i < ARRAY_SIZE(degress_to_exif_lut); i++) {
404 MIN(ARRAY_SIZE(ImageInfo.DateTime), value_length + 1));
/hardware/ti/omap4xxx/camera/
H A DEncoder_libjpeg.cpp46 #define ARRAY_SIZE(array) (sizeof((array)) / sizeof((array)[0])) macro
204 for (unsigned int i = 0; i < ARRAY_SIZE(degress_to_exif_lut); i++) {
/hardware/invensense/60xx/mlsdk/platform/include/
H A Dmltypes.h127 #ifndef ARRAY_SIZE
129 #define ARRAY_SIZE(array) (sizeof(array)/sizeof((array)[0])) macro

Completed in 641 milliseconds

12