Home | History | Annotate | Download | only in cups

Lines Matching refs:ch

96 _cups_isalnum(int ch)			/* I - Character to test */
98 return ((ch >= '0' && ch <= '9') ||
99 (ch >= 'A' && ch <= 'Z') ||
100 (ch >= 'a' && ch <= 'z'));
104 _cups_isalpha(int ch) /* I - Character to test */
106 return ((ch >= 'A' && ch <= 'Z') ||
107 (ch >= 'a' && ch <= 'z'));
111 _cups_islower(int ch) /* I - Character to test */
113 return (ch >= 'a' && ch <= 'z');
117 _cups_isspace(int ch) /* I - Character to test */
119 return (ch == ' ' || ch == '\f' || ch == '\n' || ch == '\r' || ch == '\t' ||
120 ch == '\v');
124 _cups_isupper(int ch) /* I - Character to test */
126 return (ch >= 'A' && ch <= 'Z');
130 _cups_tolower(int ch) /* I - Character to convert */
132 return (_cups_isupper(ch) ? ch - 'A' + 'a' : ch);
136 _cups_toupper(int ch) /* I - Character to convert */
138 return (_cups_islower(ch) ? ch - 'a' + 'A' : ch);
141 extern int _cups_isalnum(int ch);
142 extern int _cups_isalpha(int ch);
143 extern int _cups_islower(int ch);
144 extern int _cups_isspace(int ch);
145 extern int _cups_isupper(int ch);
146 extern int _cups_tolower(int ch);
147 extern int _cups_toupper(int ch);