Lines Matching refs:encoding
47 /* hfs encoding converter list */
54 /* hfs encoding converter entry */
59 u_int32_t encoding;
89 * hfs_addconverter - add an HFS encoding converter
92 * (like HFS_Japanese.kmod) to register hfs encoding
97 hfs_addconverter(int id, u_int32_t encoding, hfs_to_unicode_func_t get_unicode, unicode_to_hfs_func_t get_hfsname)
107 encp->encoding = encoding;
119 * hfs_remconverter - remove an HFS encoding converter
122 * routine to remove an encoding converter so that the
130 hfs_remconverter(int id, u_int32_t encoding)
136 if (encp->encoding == encoding && encp->kmod_id == id) {
159 * hfs_getconverter - get HFS encoding converters
164 hfs_getconverter(u_int32_t encoding, hfs_to_unicode_func_t *get_unicode, unicode_to_hfs_func_t *get_hfsname)
171 if (encp->encoding == encoding) {
192 * hfs_relconverter - release interest in an HFS encoding converter
197 hfs_relconverter(u_int32_t encoding)
203 if (encp->encoding == encoding) {
262 * volume encoding then MacRoman is used as a fallback.
290 * Convert Unicode string into HFS encoding
309 * Convert UTF-8 string into HFS encoding
450 * Convert Unicode string into HFS MacRoman encoding
672 int hfs_addconverter(int id, u_int32_t encoding, void * get_unicode, void * get_hfsname);
673 int hfs_getconverter(u_int32_t encoding, void *get_unicode, void *get_hfsname);
674 int hfs_relconverter(u_int32_t encoding);
675 int hfs_remconverter(int id, u_int32_t encoding);
678 __unused u_int32_t encoding,
685 int hfs_getconverter(__unused u_int32_t encoding, __unused void *get_unicode, __unused void *get_hfsname)
690 int hfs_relconverter(__unused u_int32_t encoding)
695 int hfs_remconverter(__unused int id, __unused u_int32_t encoding)