Lines Matching refs:ch
244 unsigned char *ch = (unsigned char *) string;
247 if (*ch == '\0') return hash % HASHSIZE;
248 if (*(ch+1) == '\0') {
249 hash += *ch;
252 hash += *ch++;
253 hash += (*ch++ << 8);
565 char *ch = sizes;
568 while (*ch != '\0') {
569 while (*ch != '\0' && *ch != ',') ch++;
570 if (*ch == ',') {
571 *ch = '\0';
581 sizes = ++ch;
590 char *ch = faces, *chunk = faces;
595 while (*ch != '\0' && *ch != ',') ch++;
596 if (*ch == '\0') return;
597 if (ch > faces && *(ch-1) == '\\') ch++;
601 ch++;
603 while (*ch != '\0' && *ch != ',') ch++;
604 if (*ch == '\0') break;
605 if (*(ch-1) == '\\') ch++;
609 old = *ch;
610 *ch = '\0';
613 chunk = ++ch;
917 register char *ch = buf;
920 while (*ch != '%' && *ch != '\0') ch++;
921 if (*ch == '\0') break;
922 if (ch == buf || *(ch-1) != '\\') {
923 *ch = '\0';
926 ch++;
929 /* ch points to '\0' right now */
931 if (ch == buf) return;
932 ch--;
934 while (ch > buf && (*ch == ' ' || *ch == '\t' || *ch == '\n')) {
935 *ch = '\0';
936 ch--;
939 if (ch == buf && (*ch == ' ' || *ch == '\t' || *ch == '\n')) *ch = '\0';
1506 register char *ch;
1515 for (ch = fileName+len-5; ch > fileName && *ch != '/'; ch--) len1++;
1516 if (*ch == '/') ch++;
1518 strcpy(fontName, ch);
1527 for (ch = fileName+len-6; ch > fileName && *ch != '/'; ch--) len1++;
1528 if (*ch == '/') ch++;
1530 strcpy(fontName, ch);
1773 char *buf, *ch = upr->file;
1778 while (*ch != '\0') ch++;
1779 while (ch >= upr->file && *ch != ',') ch--;
1780 if (*ch == ',') ch++;
1782 buf = ckmalloc(strlen(upr->name) + strlen(ch) + 1,
1785 strcat(buf, ch);
1788 AddResource(upr->category, upr->name, ch, false);
1793 char *ch = upr->file;
1796 while (*ch != '\0' && *ch != ',') ch++;
1797 if (*ch == '\0') break;
1798 if (ch > upr->file && *(ch-1) == '\\') ch++;
1801 if (*ch == ',') {
1802 ch++;
1803 if (FindResource("FontOutline", ch)) {