Lines Matching refs:pos
329 char *pos, *end, buf[24]; in lwm2m_atof() local
345 pos = strchr(buf, '.'); in lwm2m_atof()
346 if (pos) { in lwm2m_atof()
347 *pos = '\0'; in lwm2m_atof()
359 if (!pos) { in lwm2m_atof()
364 while (*(++pos) && base > 1 && isdigit((unsigned char)*pos) != 0) { in lwm2m_atof()
365 val2 = val2 * 10 + (*pos - '0'); in lwm2m_atof()
373 return !*pos || base == 1 ? 0 : -EINVAL; in lwm2m_atof()
430 uint16_t pos = 0U; in lwm2m_atou16() local
433 while (pos < buflen && isdigit(buf[pos]) != 0) { in lwm2m_atou16()
434 val = val * 10U + (buf[pos] - '0'); in lwm2m_atou16()
435 pos++; in lwm2m_atou16()
438 *len = pos; in lwm2m_atou16()