Lines Matching refs:dstlen
39 int srclen, dstlen, size; in hfs_mac2asc() local
46 dstlen = HFS_MAX_NAMELEN; in hfs_mac2asc()
65 size = nls_io->uni2char(ch, dst, dstlen); in hfs_mac2asc()
73 dstlen -= size; in hfs_mac2asc()
103 int srclen, dstlen, size; in hfs_asc2mac() local
108 dstlen = HFS_NAMELEN; in hfs_asc2mac()
112 while (srclen > 0 && dstlen > 0) { in hfs_asc2mac()
123 size = nls_disk->uni2char(ch, dst, dstlen); in hfs_asc2mac()
131 dstlen -= size; in hfs_asc2mac()
134 dstlen--; in hfs_asc2mac()
140 if (dstlen > srclen) in hfs_asc2mac()
141 dstlen = srclen; in hfs_asc2mac()
142 while (--dstlen >= 0) in hfs_asc2mac()
147 dstlen = HFS_NAMELEN - out->len; in hfs_asc2mac()
148 while (--dstlen >= 0) in hfs_asc2mac()