Lines Matching defs:chr
479 char chr;
491 while ((chr = *str++) != '\0') {
492 if (isdigit(chr)) {
493 val = (val << 4) + chr - '0';
494 } else if (isxdigit(chr)) {
495 val = (val << 4) + chr -
496 (isupper(chr) ? 'A' : 'a') + 10;
497 } else if (isspace(chr) && dig == 0) {
499 } else if (chr == ':' || chr == '-' ||
500 isspace(chr)) {