Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
unicode.c File Reference
#include <linux/types.h>
#include <linux/nls.h>
#include "hfsplus_fs.h"
#include "hfsplus_raw.h"

Go to the source code of this file.

Macros

#define Hangul_SBase   0xac00
 
#define Hangul_LBase   0x1100
 
#define Hangul_VBase   0x1161
 
#define Hangul_TBase   0x11a7
 
#define Hangul_SCount   11172
 
#define Hangul_LCount   19
 
#define Hangul_VCount   21
 
#define Hangul_TCount   28
 
#define Hangul_NCount   (Hangul_VCount * Hangul_TCount)
 

Functions

int hfsplus_strcasecmp (const struct hfsplus_unistr *s1, const struct hfsplus_unistr *s2)
 
int hfsplus_strcmp (const struct hfsplus_unistr *s1, const struct hfsplus_unistr *s2)
 
int hfsplus_uni2asc (struct super_block *sb, const struct hfsplus_unistr *ustr, char *astr, int *len_p)
 
int hfsplus_asc2uni (struct super_block *sb, struct hfsplus_unistr *ustr, const char *astr, int len)
 
int hfsplus_hash_dentry (const struct dentry *dentry, const struct inode *inode, struct qstr *str)
 
int hfsplus_compare_dentry (const struct dentry *parent, const struct inode *pinode, const struct dentry *dentry, const struct inode *inode, unsigned int len, const char *str, const struct qstr *name)
 

Macro Definition Documentation

#define Hangul_LBase   0x1100

Definition at line 91 of file unicode.c.

#define Hangul_LCount   19

Definition at line 95 of file unicode.c.

#define Hangul_NCount   (Hangul_VCount * Hangul_TCount)

Definition at line 98 of file unicode.c.

#define Hangul_SBase   0xac00

Definition at line 90 of file unicode.c.

#define Hangul_SCount   11172

Definition at line 94 of file unicode.c.

#define Hangul_TBase   0x11a7

Definition at line 93 of file unicode.c.

#define Hangul_TCount   28

Definition at line 97 of file unicode.c.

#define Hangul_VBase   0x1161

Definition at line 92 of file unicode.c.

#define Hangul_VCount   21

Definition at line 96 of file unicode.c.

Function Documentation

int hfsplus_asc2uni ( struct super_block sb,
struct hfsplus_unistr ustr,
const char astr,
int  len 
)

Definition at line 298 of file unicode.c.

int hfsplus_compare_dentry ( const struct dentry parent,
const struct inode pinode,
const struct dentry dentry,
const struct inode inode,
unsigned int  len,
const char str,
const struct qstr name 
)

Definition at line 388 of file unicode.c.

int hfsplus_hash_dentry ( const struct dentry dentry,
const struct inode inode,
struct qstr str 
)

Definition at line 336 of file unicode.c.

int hfsplus_strcasecmp ( const struct hfsplus_unistr s1,
const struct hfsplus_unistr s2 
)

Definition at line 31 of file unicode.c.

int hfsplus_strcmp ( const struct hfsplus_unistr s1,
const struct hfsplus_unistr s2 
)

Definition at line 64 of file unicode.c.

int hfsplus_uni2asc ( struct super_block sb,
const struct hfsplus_unistr ustr,
char astr,
int len_p 
)

Definition at line 121 of file unicode.c.