Lines Matching refs:current_index
128 size_t current_index = 0; in get_temperatures() local
139 current_index += result; in get_temperatures()
142 if (current_index < size) { in get_temperatures()
146 UNKNOWN_TEMPERATURE, UNKNOWN_TEMPERATURE, &list[current_index]); in get_temperatures()
150 current_index++; in get_temperatures()
154 if (current_index < size) { in get_temperatures()
158 0.001, UNKNOWN_TEMPERATURE, BATTERY_SHUTDOWN_THRESHOLD, &list[current_index]); in get_temperatures()
162 current_index++; in get_temperatures()
166 if (current_index < size) { in get_temperatures()
170 UNKNOWN_TEMPERATURE, &list[current_index]); in get_temperatures()
174 current_index++; in get_temperatures()