Searched refs:first_non_zero (Results 1 – 1 of 1) sorted by relevance
276 int first_non_zero = 0; in TrimZeros() local277 while (first_non_zero < *length && buffer[first_non_zero] == '0') { in TrimZeros()278 first_non_zero++; in TrimZeros()280 if (first_non_zero != 0) { in TrimZeros()281 for (int i = first_non_zero; i < *length; ++i) { in TrimZeros()282 buffer[i - first_non_zero] = buffer[i]; in TrimZeros()284 *length -= first_non_zero; in TrimZeros()285 *decimal_point -= first_non_zero; in TrimZeros()