Lines Matching defs:base
127 * match_number - scan a number in the given base from a substring_t
130 * @base: base to use when converting string
132 * Description: Given a &substring_t and a base, attempts to parse the substring
133 * as a number in that base.
138 static int match_number(substring_t *s, int *result, int base)
148 val = simple_strtol(buf, &endp, base);
159 * match_u64int - scan a number in the given base from a substring_t
162 * @base: base to use when converting string
164 * Description: Given a &substring_t and a base, attempts to parse the substring
165 * as a number in that base.
170 static int match_u64int(substring_t *s, u64 *result, int base)
178 ret = kstrtoull(buf, base, &val);