Lines Matching defs:encoding

49 /* hfs encoding converter list */
56 /* hfs encoding converter entry */
61 u_int32_t encoding;
91 * hfs_addconverter - add an HFS encoding converter
94 * (like HFS_Japanese.kmod) to register hfs encoding
99 hfs_addconverter(int id, u_int32_t encoding, hfs_to_unicode_func_t get_unicode, unicode_to_hfs_func_t get_hfsname)
109 encp->encoding = encoding;
121 * hfs_remconverter - remove an HFS encoding converter
124 * routine to remove an encoding converter so that the
132 hfs_remconverter(int id, u_int32_t encoding)
138 if (encp->encoding == encoding && encp->kmod_id == id) {
161 * hfs_getconverter - get HFS encoding converters
166 hfs_getconverter(u_int32_t encoding, hfs_to_unicode_func_t *get_unicode, unicode_to_hfs_func_t *get_hfsname)
173 if (encp->encoding == encoding) {
194 * hfs_relconverter - release interest in an HFS encoding converter
199 hfs_relconverter(u_int32_t encoding)
205 if (encp->encoding == encoding) {
275 * volume encoding then MacRoman is used as a fallback.
315 * Convert Unicode string into HFS encoding
334 * Convert UTF-8 string into HFS encoding
475 * Convert Unicode string into HFS MacRoman encoding
697 int hfs_addconverter(int id, u_int32_t encoding, void * get_unicode, void * get_hfsname);
698 int hfs_getconverter(u_int32_t encoding, void *get_unicode, void *get_hfsname);
699 int hfs_relconverter(u_int32_t encoding);
700 int hfs_remconverter(int id, u_int32_t encoding);
703 __unused u_int32_t encoding,
710 int hfs_getconverter(__unused u_int32_t encoding, __unused void *get_unicode, __unused void *get_hfsname)
715 int hfs_relconverter(__unused u_int32_t encoding)
720 int hfs_remconverter(__unused int id, __unused u_int32_t encoding)