Lines Matching defs:num
84 commp_atoi(const char *begin, const char *end, int *num)
88 *num = 0;
91 *num = (*num * 10) + (*begin - '0');
107 commp_strtoull(const char *begin, const char *end, uint64_t *num)
111 *num = 0;
114 *num = (*num * 10) + (*begin - '0');
130 commp_strtoub(const char *begin, const char *end, uint8_t *num)
134 *num = 0;
137 *num = (*num * 10) + (*begin - '0');
153 commp_atoui(const char *begin, const char *end, uint_t *num)
157 *num = 0;
160 *num = (*num * 10) + (*begin - '0');
192 commp_time_to_secs(const char *begin, const char *end, uint64_t *num)
215 if (commp_strtoull(begin, end, num) != 0)
218 (*num) = (*num) * factor;