Home
last modified time | relevance | path

Searched refs:ARRAY_LEN (Results 1 – 2 of 2) sorted by relevance

/device/google/contexthub/util/nanotool/
Dcontexthub.cpp90 for (size_t i = 0; i < ARRAY_LEN(sensor_aliases_); i++) { in SensorTypeIsAliasOf()
101 for (unsigned int i = 0; i < ARRAY_LEN(sensor_names_); i++) { in SensorAbbrevNameToType()
115 for (unsigned int i = 0; i < ARRAY_LEN(sensor_names_); i++) { in SensorTypeToAbbrevName()
121 for (unsigned int i = 0; i < ARRAY_LEN(sensor_aliases_); i++) { in SensorTypeToAbbrevName()
135 for (unsigned int i = 0; i < ARRAY_LEN(sensor_names_); i++) { in ListAllSensorAbbrevNames()
137 if (i < ARRAY_LEN(sensor_names_) - 1) { in ListAllSensorAbbrevNames()
252 for (size_t i = 0; i < ARRAY_LEN(sensor_names_); i++) { in DisableAllSensors()
263 for (size_t i = 0; i < ARRAY_LEN(sensor_names_); i++) { in DisableActiveSensors()
Dcontexthub.h33 #define ARRAY_LEN(arr) (sizeof(arr) / sizeof(arr[0])) macro