Lines Matching refs:ch
46 wchar_t ch; in hfs_mac2asc() local
50 size = nls_disk->char2uni(src, srclen, &ch); in hfs_mac2asc()
52 ch = '?'; in hfs_mac2asc()
58 ch = *src++; in hfs_mac2asc()
61 if (ch == '/') in hfs_mac2asc()
62 ch = ':'; in hfs_mac2asc()
63 size = nls_io->uni2char(ch, dst, dstlen); in hfs_mac2asc()
74 char ch; in hfs_mac2asc() local
77 *dst++ = (ch = *src++) == '/' ? ':' : ch; in hfs_mac2asc()
108 wchar_t ch; in hfs_asc2mac() local
111 size = nls_io->char2uni(src, srclen, &ch); in hfs_asc2mac()
113 ch = '?'; in hfs_asc2mac()
118 if (ch == ':') in hfs_asc2mac()
119 ch = '/'; in hfs_asc2mac()
121 size = nls_disk->uni2char(ch, dst, dstlen); in hfs_asc2mac()
131 *dst++ = ch > 0xff ? '?' : ch; in hfs_asc2mac()
136 char ch; in hfs_asc2mac() local
141 *dst++ = (ch = *src++) == ':' ? '/' : ch; in hfs_asc2mac()