Lines Matching refs:pos
24 int8_t pos = 0; in gnss_parse_dec_to_nano() local
32 while (str[pos] != '\0') { in gnss_parse_dec_to_nano()
34 if (str[pos] == '.') { in gnss_parse_dec_to_nano()
35 decimal = pos; in gnss_parse_dec_to_nano()
40 pos++; in gnss_parse_dec_to_nano()
44 pos = decimal < 0 ? pos - 1 : decimal - 1; in gnss_parse_dec_to_nano()
51 while (start <= pos) { in gnss_parse_dec_to_nano()
53 if (str[pos] < '0' || str[pos] > '9') { in gnss_parse_dec_to_nano()
58 sum += (str[pos] - '0') * increment; in gnss_parse_dec_to_nano()
64 pos--; in gnss_parse_dec_to_nano()
77 pos = decimal + 1; in gnss_parse_dec_to_nano()
79 while (str[pos] != '\0') { in gnss_parse_dec_to_nano()
81 if (str[pos] < '0' || str[pos] > '9') { in gnss_parse_dec_to_nano()
86 sum += (str[pos] - '0') * increment; in gnss_parse_dec_to_nano()
92 pos++; in gnss_parse_dec_to_nano()