Lines Matching refs:ch
84 int ch; in ns_format_ttl() local
86 for (p = odst; (ch = *p) != '\0'; p++) in ns_format_ttl()
87 if (isascii(ch) && isupper(ch)) in ns_format_ttl()
88 *p = tolower(ch); in ns_format_ttl()
99 int ch, digits, dirty; in ns_parse_ttl() local
105 while ((ch = *src++) != '\0') { in ns_parse_ttl()
106 if (!isascii(ch) || !isprint(ch)) in ns_parse_ttl()
108 if (isdigit(ch)) { in ns_parse_ttl()
110 tmp += (ch - '0'); in ns_parse_ttl()
116 if (islower(ch)) in ns_parse_ttl()
117 ch = toupper(ch); in ns_parse_ttl()
118 switch (ch) { in ns_parse_ttl()