Lines Matching refs:size
39 int srclen, dstlen, size; in hfs_mac2asc() local
52 size = nls_disk->char2uni(src, srclen, &ch); in hfs_mac2asc()
53 if (size <= 0) { in hfs_mac2asc()
55 size = 1; in hfs_mac2asc()
57 src += size; in hfs_mac2asc()
58 srclen -= size; in hfs_mac2asc()
65 size = nls_io->uni2char(ch, dst, dstlen); in hfs_mac2asc()
66 if (size < 0) { in hfs_mac2asc()
67 if (size == -ENAMETOOLONG) in hfs_mac2asc()
70 size = 1; in hfs_mac2asc()
72 dst += size; in hfs_mac2asc()
73 dstlen -= size; in hfs_mac2asc()
103 int srclen, dstlen, size; in hfs_asc2mac() local
113 size = nls_io->char2uni(src, srclen, &ch); in hfs_asc2mac()
114 if (size < 0) { in hfs_asc2mac()
116 size = 1; in hfs_asc2mac()
118 src += size; in hfs_asc2mac()
119 srclen -= size; in hfs_asc2mac()
123 size = nls_disk->uni2char(ch, dst, dstlen); in hfs_asc2mac()
124 if (size < 0) { in hfs_asc2mac()
125 if (size == -ENAMETOOLONG) in hfs_asc2mac()
128 size = 1; in hfs_asc2mac()
130 dst += size; in hfs_asc2mac()
131 dstlen -= size; in hfs_asc2mac()