39 if ((*base == 0 || *base == 16) &&
c ==
'0') {
41 if ((
c | 32) ==
'x') {
43 }
else if (*base == 0 && (
c | 32) ==
'o') {
45 }
else if (*base == 0 && (
c | 32) ==
'b') {
53 }
else if (*base == 8 &&
c ==
'0') {
55 if ((
c | 32) !=
'o') {
58 }
else if (*base == 2 &&
c ==
'0') {
60 if ((
c | 32) !=
'b') {
70 return p - (
const byte*)str;
size_t mp_parse_num_base(const char *str, size_t len, int *base)