Lines Matching refs:begin

46 commp_skip_white_space(const char **begin, const char *end)  in commp_skip_white_space()  argument
48 while (*begin < end) { in commp_skip_white_space()
49 if (!isspace(**begin)) in commp_skip_white_space()
51 (*begin)++; in commp_skip_white_space()
62 commp_find_token(const char **begin, const char **current, const char *end, in commp_find_token() argument
65 *current = *begin; in commp_find_token()
74 if (*current == *begin) in commp_find_token()
84 commp_atoi(const char *begin, const char *end, int *num) in commp_atoi() argument
89 while (begin < end) { in commp_atoi()
90 if (isdigit(*begin)) { in commp_atoi()
91 *num = (*num * 10) + (*begin - '0'); in commp_atoi()
93 begin++; in commp_atoi()
98 if (!num_found || (begin != end)) in commp_atoi()
107 commp_strtoull(const char *begin, const char *end, uint64_t *num) in commp_strtoull() argument
112 while (begin < end) { in commp_strtoull()
113 if (isdigit(*begin)) { in commp_strtoull()
114 *num = (*num * 10) + (*begin - '0'); in commp_strtoull()
116 begin++; in commp_strtoull()
121 if (!num_found || (begin != end)) in commp_strtoull()
130 commp_strtoub(const char *begin, const char *end, uint8_t *num) in commp_strtoub() argument
135 while (begin < end) { in commp_strtoub()
136 if (isdigit(*begin)) { in commp_strtoub()
137 *num = (*num * 10) + (*begin - '0'); in commp_strtoub()
139 begin++; in commp_strtoub()
144 if (!num_found || (begin != end)) in commp_strtoub()
153 commp_atoui(const char *begin, const char *end, uint_t *num) in commp_atoui() argument
158 while (begin < end) { in commp_atoui()
159 if (isdigit(*begin)) { in commp_atoui()
160 *num = (*num * 10) + (*begin - '0'); in commp_atoui()
162 begin++; in commp_atoui()
167 if (!num_found || (begin != end)) in commp_atoui()
192 commp_time_to_secs(const char *begin, const char *end, uint64_t *num) in commp_time_to_secs() argument
215 if (commp_strtoull(begin, end, num) != 0) in commp_time_to_secs()