Searched refs:first_non_zero (Results 1 – 1 of 1) sorted by relevance
298 int first_non_zero = 0; in TrimZeros() local299 while (first_non_zero < *length && buffer[first_non_zero] == '0') { in TrimZeros()300 first_non_zero++; in TrimZeros()302 if (first_non_zero != 0) { in TrimZeros()303 for (int i = first_non_zero; i < *length; ++i) { in TrimZeros()304 buffer[i - first_non_zero] = buffer[i]; in TrimZeros()306 *length -= first_non_zero; in TrimZeros()307 *decimal_point -= first_non_zero; in TrimZeros()