Lines Matching refs:c

435 	int c;  in php_htoi()  local
437 c = ((unsigned char *)s)[0]; in php_htoi()
438 if (isupper(c)) in php_htoi()
439 c = tolower(c); in php_htoi()
440 value = (c >= '0' && c <= '9' ? c - '0' : c - 'a' + 10) * 16; in php_htoi()
442 c = ((unsigned char *)s)[1]; in php_htoi()
443 if (isupper(c)) in php_htoi()
444 c = tolower(c); in php_htoi()
445 value += c >= '0' && c <= '9' ? c - '0' : c - 'a' + 10; in php_htoi()
470 register unsigned char c; in php_url_encode() local
481 c = *from++; in php_url_encode()
483 if (c == ' ') { in php_url_encode()
486 } else if ((c < '0' && c != '-' && c != '.') || in php_url_encode()
487 (c < 'A' && c > '9') || in php_url_encode()
488 (c > 'Z' && c < 'a' && c != '_') || in php_url_encode()
489 (c > 'z')) { in php_url_encode()
491 to[1] = hexchars[c >> 4]; in php_url_encode()
492 to[2] = hexchars[c & 15]; in php_url_encode()
495 } else if (!isalnum(c) && strchr("_-.", c) == NULL) { in php_url_encode()
498 to[1] = hexchars[os_toascii[c] >> 4]; in php_url_encode()
499 to[2] = hexchars[os_toascii[c] & 15]; in php_url_encode()
503 *to++ = c; in php_url_encode()
587 char c = s[x]; local
589 ret[y] = c;
591 if ((c < '0' && c != '-' && c != '.') ||
592 (c < 'A' && c > '9') ||
593 (c > 'Z' && c < 'a' && c != '_') ||
594 (c > 'z' && c != '~')) {
596 ret[y++] = hexchars[(unsigned char) c >> 4];
597 ret[y] = hexchars[(unsigned char) c & 15];
599 if (!isalnum(c) && strchr("_-.~", c) != NULL) {
601 ret[y++] = hexchars[os_toascii[(unsigned char) c] >> 4];
602 ret[y] = hexchars[os_toascii[(unsigned char) c] & 15];
712 char c; local
716 c = *p;
730 *p = c;