Lines Matching refs:endp
33 unsigned long simple_strtoul(const char *cp, char **endp, in simple_strtoul() argument
47 if (endp) in simple_strtoul()
48 *endp = (char *)cp; in simple_strtoul()
77 long simple_strtol(const char *cp, char **endp, unsigned int base) in simple_strtol() argument
80 return -simple_strtoul(cp + 1, endp, base); in simple_strtol()
82 return simple_strtoul(cp, endp, base); in simple_strtol()
85 unsigned long ustrtoul(const char *cp, char **endp, unsigned int base) in ustrtoul() argument
87 unsigned long result = simple_strtoul(cp, endp, base); in ustrtoul()
88 switch (**endp) { in ustrtoul()
98 if ((*endp)[1] == 'i') { in ustrtoul()
99 if ((*endp)[2] == 'B') in ustrtoul()
100 (*endp) += 3; in ustrtoul()
102 (*endp) += 2; in ustrtoul()
108 unsigned long long ustrtoull(const char *cp, char **endp, unsigned int base) in ustrtoull() argument
110 unsigned long long result = simple_strtoull(cp, endp, base); in ustrtoull()
111 switch (**endp) { in ustrtoull()
121 if ((*endp)[1] == 'i') { in ustrtoull()
122 if ((*endp)[2] == 'B') in ustrtoull()
123 (*endp) += 3; in ustrtoull()
125 (*endp) += 2; in ustrtoull()
131 unsigned long long simple_strtoull(const char *cp, char **endp, in simple_strtoull() argument
144 if (endp) in simple_strtoull()
145 *endp = (char *) cp; in simple_strtoull()