Searched refs:first_non_zero (Results 1 – 3 of 3) sorted by relevance
275 int first_non_zero = 0; in TrimZeros() local276 while (first_non_zero < *length && buffer[first_non_zero] == '0') { in TrimZeros()277 first_non_zero++; in TrimZeros()279 if (first_non_zero != 0) { in TrimZeros()280 for (int i = first_non_zero; i < *length; ++i) { in TrimZeros()281 buffer[i - first_non_zero] = buffer[i]; in TrimZeros()283 *length -= first_non_zero; in TrimZeros()284 *decimal_point -= first_non_zero; in TrimZeros()
297 int first_non_zero = 0; in TrimZeros() local298 while (first_non_zero < *length && buffer[first_non_zero] == '0') { in TrimZeros()299 first_non_zero++; in TrimZeros()301 if (first_non_zero != 0) { in TrimZeros()302 for (int i = first_non_zero; i < *length; ++i) { in TrimZeros()303 buffer[i - first_non_zero] = buffer[i]; in TrimZeros()305 *length -= first_non_zero; in TrimZeros()306 *decimal_point -= first_non_zero; in TrimZeros()
289 int first_non_zero = 0; in AddFilter() local290 while (first_non_zero < filter_length && filter_values[first_non_zero] == 0) in AddFilter()291 first_non_zero++; in AddFilter()293 if (first_non_zero < filter_length) { in AddFilter()299 filter_offset += first_non_zero; in AddFilter()300 filter_length = last_non_zero + 1 - first_non_zero; in AddFilter()303 for (int i = first_non_zero; i <= last_non_zero; i++) in AddFilter()