Lines Matching refs:ch
92 _cups_isalnum(int ch) /* I - Character to test */ in _cups_isalnum() argument
94 return ((ch >= '0' && ch <= '9') || in _cups_isalnum()
95 (ch >= 'A' && ch <= 'Z') || in _cups_isalnum()
96 (ch >= 'a' && ch <= 'z')); in _cups_isalnum()
100 _cups_isalpha(int ch) /* I - Character to test */ in _cups_isalpha() argument
102 return ((ch >= 'A' && ch <= 'Z') || in _cups_isalpha()
103 (ch >= 'a' && ch <= 'z')); in _cups_isalpha()
107 _cups_islower(int ch) /* I - Character to test */ in _cups_islower() argument
109 return (ch >= 'a' && ch <= 'z'); in _cups_islower()
113 _cups_isspace(int ch) /* I - Character to test */ in _cups_isspace() argument
115 return (ch == ' ' || ch == '\f' || ch == '\n' || ch == '\r' || ch == '\t' || in _cups_isspace()
116 ch == '\v'); in _cups_isspace()
120 _cups_isupper(int ch) /* I - Character to test */ in _cups_isupper() argument
122 return (ch >= 'A' && ch <= 'Z'); in _cups_isupper()
126 _cups_tolower(int ch) /* I - Character to convert */ in _cups_tolower() argument
128 return (_cups_isupper(ch) ? ch - 'A' + 'a' : ch); in _cups_tolower()
132 _cups_toupper(int ch) /* I - Character to convert */ in _cups_toupper() argument
134 return (_cups_islower(ch) ? ch - 'a' + 'A' : ch); in _cups_toupper()
137 extern int _cups_isalnum(int ch);
138 extern int _cups_isalpha(int ch);
139 extern int _cups_islower(int ch);
140 extern int _cups_isspace(int ch);
141 extern int _cups_isupper(int ch);
142 extern int _cups_tolower(int ch);
143 extern int _cups_toupper(int ch);