Searched refs:encoding (Results 1 - 5 of 5) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/
H A Dhfs_encodings.h48 * encoding converters. These are not needed
54 * encoding conversion routines.
64 int hfs_addconverter(int kmod_id, u_int32_t encoding,
68 int hfs_remconverter(int kmod_id, u_int32_t encoding);
H A Dhfs_encodings.c47 /* hfs encoding converter list */
54 /* hfs encoding converter entry */
59 u_int32_t encoding; member in struct:hfs_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) argument
107 encp->encoding = encoding;
119 * hfs_remconverter - remove an HFS encoding converter
122 * routine to remove an encoding converte
130 hfs_remconverter(int id, u_int32_t encoding) argument
164 hfs_getconverter(u_int32_t encoding, hfs_to_unicode_func_t *get_unicode, unicode_to_hfs_func_t *get_hfsname) argument
197 hfs_relconverter(u_int32_t encoding) argument
677 hfs_addconverter( __unused int id, __unused u_int32_t encoding, __unused void * get_unicode, __unused void * get_hfsname ) argument
685 hfs_getconverter(__unused u_int32_t encoding, __unused void *get_unicode, __unused void *get_hfsname) argument
690 hfs_relconverter(__unused u_int32_t encoding) argument
695 hfs_remconverter(__unused int id, __unused u_int32_t encoding) argument
[all...]
H A Dhfs_catalog.c113 static void buildrecord(struct cat_attr *attrp, cnid_t cnid, int std_hfs, u_int32_t encoding, CatalogRecord *crp, u_int32_t *recordSize);
117 static int builddesc(const HFSPlusCatalogKey *key, cnid_t cnid, u_long hint, u_long encoding,
122 static void promotekey(struct hfsmount *hfsmp, const HFSCatalogKey *hfskey, HFSPlusCatalogKey *keyp, u_long *encoding);
246 u_long encoding; local
250 promotekey(hfsmp, (HFSCatalogKey *)key, pluskey, &encoding);
254 encoding = getencoding(recp);
257 builddesc(pluskey, getcnid(recp), 0, encoding, isadir(recp), descp);
338 // update desc text encoding so that other catalog ops succeed
462 u_long encoding; local
465 promotekey(hfsmp, &keyp->hfs, pluskey, &encoding);
614 u_long encoding = 0; local
760 promotekey(hfsmp, (HFSCatalogKey *)&iterator->key, pluskey, &encoding); local
803 u_long encoding = kTextEncodingMacRoman; local
930 promotekey(hfsmp, (HFSCatalogKey *)&bto->iterator.key, pluskey, &encoding); local
989 u_long encoding = 0; local
1226 promotekey(hfsmp, (HFSCatalogKey *)&to_iterator->key, pluskey, &encoding); local
1972 u_long encoding; local
2383 u_long encoding; local
3623 buildrecord(struct cat_attr *attrp, cnid_t cnid, int std_hfs, u_int32_t encoding, CatalogRecord *crp, u_int32_t *recordSize) argument
3704 builddesc(const HFSPlusCatalogKey *key, cnid_t cnid, u_long hint, u_long encoding, int isdir, struct cat_desc *descp) argument
3871 promotekey(struct hfsmount *hfsmp, const HFSCatalogKey *hfskey, HFSPlusCatalogKey *keyp, u_long *encoding) argument
4049 u_long encoding; local
[all...]
H A Dhfs.h156 u_long hfs_encoding; /* Default encoding for non hfs+ volumes */
585 int hfs_getconverter(u_int32_t encoding, hfs_to_unicode_func_t *get_unicode,
588 int hfs_relconverter(u_int32_t encoding);
644 extern void hfs_setencodingbits(struct hfsmount *hfsmp, u_int32_t encoding);
H A Dhfs_vfsops.c528 /* Change the hfs encoding value (hfs only) */
2807 * Update volume encoding bitmap (HFS Plus only)
2811 hfs_setencodingbits(struct hfsmount *hfsmp, u_int32_t encoding) argument
2813 #define kIndexMacUkrainian 48 /* MacUkrainian encoding is 152 */
2814 #define kIndexMacFarsi 49 /* MacFarsi encoding is 140 */
2818 switch (encoding) {
2826 index = encoding;

Completed in 33 milliseconds