Lines Matching refs:c
390 register int c, c1, t; in evallex() local
393 c = skipws(); in evallex()
394 if ((c = macroid(c)) == EOF_CHAR || c == '\n') { in evallex()
398 } while ((t = type[c]) == LET && catenate()); in evallex()
401 if (isascii(c) && isprint(c)) in evallex()
402 cierror("illegal character '%c' in #if", c); in evallex()
404 cierror("illegal character (%d decimal) in #if", c); in evallex()
409 if (c == '\'') { /* Character constant */ in evallex()
421 c1 = c = skipws(); in evallex()
422 if (c == '(') /* Allow defined(name) */ in evallex()
423 c = skipws(); in evallex()
424 if (type[c] == LET) { in evallex()
425 evalue = (lookid(c) != NULL); in evallex()
449 evalue = evalnum(c); in evallex()
454 else if (strchr("!=<>&|\\", c) != NULL) { in evallex()
459 switch (c) { in evallex()
475 if (c1 == c) in evallex()
476 return ((c == '<') ? OP_ASL : OP_ASR); in evallex()
478 return ((c == '<') ? OP_LE : OP_GE); in evallex()
483 if (c1 == c) in evallex()
484 return ((c == '|') ? OP_ORO : OP_ANA); in evallex()
507 register int c; in dosizeof() local
513 if ((c = skipws()) != '(') in dosizeof()
519 while (0 != (c = skipws())) { in dosizeof()
520 if ((c = macroid(c)) == EOF_CHAR || c == '\n') in dosizeof()
522 else if (c == '(') { /* thing (*)() func ptr */ in dosizeof()
535 else if (type[c] != LET) /* Exit if not a type */ in dosizeof()
558 if (c == '*') { in dosizeof()
560 c = skipws(); in dosizeof()
562 if (c == ')') { /* Last syntax check */ in dosizeof()
622 evalnum(int c) in evalnum() argument
632 if (c != '0') in evalnum()
634 else if ((c = cget()) == 'x' || c == 'X') { in evalnum()
636 c = cget(); in evalnum()
641 c1 = c; in evalnum()
642 if (isascii(c) && isupper(c1)) in evalnum()
655 c = cget(); in evalnum()
657 if (c == 'u' || c == 'U') /* Unsigned nonsense */ in evalnum()
658 c = cget(); in evalnum()
669 register int c; in evalchar() local
674 if ((c = cget()) == '\\') { in evalchar()
675 switch ((c = cget())) { in evalchar()
715 while ((((c = get()) >= '0' && c <= '9') in evalchar()
716 || (c >= 'a' && c <= 'f') in evalchar()
717 || (c >= 'A' && c <= 'F')) in evalchar()
721 value += (c <= '9') ? (c - '0') : ((c & 0xF) + 9); in evalchar()
723 value += (c >= '0') ? (c - '0') : ((c & 0xF) + 9); in evalchar()
730 if (c >= '0' && c <= '7') { in evalchar()
733 while (c >= '0' && c <= '7' && --count >= 0) { in evalchar()
735 value += (c - '0'); in evalchar()
736 c = get(); in evalchar()
740 else value = c; in evalchar()
744 else if (c == '\'') in evalchar()
746 else value = c; in evalchar()
754 while ((c = get()) != '\'' && c != EOF_CHAR && c != '\n') { in evalchar()
756 ciwarn("multi-byte constant '%c' isn't portable", c); in evalchar()
759 value += (c << count); in evalchar()
762 value += c; in evalchar()