/haiku/src/libs/iconv/ |
H A D | flushwc.h | 25 normal_flushwc (conv_t conv, ucs4_t *pwc) argument 27 ucs4_t last_wc = conv->istate; 30 conv->istate = 0;
|
H A D | gb12345.h | 36 gb12345_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) argument 42 ret = gb12345ext_mbtowc(conv,pwc,s,n); 46 ret = gb2312_mbtowc(conv,pwc,s,n); 51 gb12345_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) argument 57 ret = gb12345ext_wctomb(conv,r,wc,n); 62 ret = gb2312_wctomb(conv,r,wc,n); 63 if (ret == 2 && gb12345ext_mbtowc(conv,&wc,r,2) == 2)
|
H A D | big5hkscs1999.h | 50 big5hkscs1999_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) argument 52 ucs4_t last_wc = conv->istate; 55 conv->istate = 0; 62 return ascii_mbtowc(conv,pwc,s,n); 71 int ret = big5_mbtowc(conv,pwc,s,2); 79 int ret = hkscs1999_mbtowc(conv,pwc,s,n); 95 conv->istate = wc2; 107 big5hkscs1999_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) argument 110 unsigned char last = conv->ostate; 119 conv 184 big5hkscs1999_reset(conv_t conv, unsigned char *r, int n) argument [all...] |
H A D | big5hkscs2004.h | 52 big5hkscs2004_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) argument 54 ucs4_t last_wc = conv->istate; 57 conv->istate = 0; 64 return ascii_mbtowc(conv,pwc,s,n); 73 int ret = big5_mbtowc(conv,pwc,s,2); 81 int ret = hkscs1999_mbtowc(conv,pwc,s,n); 86 int ret = hkscs2001_mbtowc(conv,pwc,s,n); 91 int ret = hkscs2004_mbtowc(conv,pwc,s,n); 107 conv->istate = wc2; 119 big5hkscs2004_wctomb (conv_t conv, unsigne argument 218 big5hkscs2004_reset(conv_t conv, unsigned char *r, int n) argument [all...] |
H A D | ces_big5.h | 26 ces_big5_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) argument 31 return ascii_mbtowc(conv,pwc,s,n); 39 return big5_mbtowc(conv,pwc,s,2); 48 ces_big5_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) argument 54 ret = ascii_wctomb(conv,r,wc,n); 59 ret = big5_wctomb(conv,buf,wc,2);
|
H A D | ces_gbk.h | 26 ces_gbk_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) argument 32 return ascii_mbtowc(conv,pwc,s,n); 37 return gbk_mbtowc(conv,pwc,s,2); 43 ces_gbk_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) argument 49 ret = ascii_wctomb(conv,r,wc,n); 54 ret = gbk_wctomb(conv,buf,wc,2);
|
H A D | dec_kanji.h | 26 dec_kanji_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) argument 31 return ascii_mbtowc(conv,pwc,s,n); 41 return jisx0208_mbtowc(conv,pwc,buf,2); 49 dec_kanji_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) argument 55 ret = ascii_wctomb(conv,r,wc,n); 60 ret = jisx0208_wctomb(conv,buf,wc,2);
|
H A D | euc_cn.h | 26 euc_cn_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) argument 31 return ascii_mbtowc(conv,pwc,s,n); 41 return gb2312_mbtowc(conv,pwc,buf,2); 50 euc_cn_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) argument 56 ret = ascii_wctomb(conv,r,wc,n); 61 ret = gb2312_wctomb(conv,buf,wc,2);
|
H A D | euc_kr.h | 28 euc_kr_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) argument 33 return ascii_mbtowc(conv,pwc,s,n); 43 return ksc5601_mbtowc(conv,pwc,buf,2); 52 euc_kr_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) argument 58 ret = ascii_wctomb(conv,r,wc,n); 63 ret = ksc5601_wctomb(conv,buf,wc,2);
|
H A D | isoir165.h | 84 isoir165_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) argument 96 ret = isoir165ext_mbtowc(conv,pwc,buf,2); 103 ret = gb2312_mbtowc(conv,pwc,s,n); 111 int ret = iso646_cn_mbtowc(conv,pwc,s+1,1); 120 ret = isoir165ext_mbtowc(conv,pwc,s,n); 125 isoir165_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) argument 131 ret = gb2312_wctomb(conv,buf,wc,2); 144 ret = iso646_cn_wctomb(conv,buf,wc,1); 157 ret = isoir165ext_wctomb(conv,r,wc,n);
|
H A D | hz.h | 31 hz_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) argument 33 state_t state = conv->istate; 45 conv->istate = state; 76 conv->istate = state; 82 ret = gb2312_mbtowc(conv,pwc,s,2); 86 conv->istate = state; 91 conv->istate = state; 96 hz_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) argument 98 state_t state = conv->ostate; 103 ret = ascii_wctomb(conv,bu 147 hz_reset(conv_t conv, unsigned char *r, int n) argument [all...] |
H A D | big5hkscs2001.h | 52 big5hkscs2001_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) argument 54 ucs4_t last_wc = conv->istate; 57 conv->istate = 0; 64 return ascii_mbtowc(conv,pwc,s,n); 73 int ret = big5_mbtowc(conv,pwc,s,2); 81 int ret = hkscs1999_mbtowc(conv,pwc,s,n); 86 int ret = hkscs2001_mbtowc(conv,pwc,s,n); 102 conv->istate = wc2; 114 big5hkscs2001_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) argument 117 unsigned char last = conv 202 big5hkscs2001_reset(conv_t conv, unsigned char *r, int n) argument [all...] |
H A D | ascii.h | 26 ascii_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) argument 37 ascii_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) argument
|
H A D | iso8859_1.h | 26 iso8859_1_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) argument 34 iso8859_1_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) argument
|
H A D | ucs4be.h | 26 ucs4be_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) argument 36 ucs4be_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) argument
|
H A D | ucs4internal.h | 26 ucs4internal_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) argument 36 ucs4internal_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) argument
|
H A D | ucs4le.h | 26 ucs4le_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) argument 36 ucs4le_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) argument
|
H A D | euc_tw.h | 26 euc_tw_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) argument 31 return ascii_mbtowc(conv,pwc,s,n); 41 return cns11643_1_mbtowc(conv,pwc,buf,2); 60 case 1: ret = cns11643_1_mbtowc(conv,pwc,buf,2); break; 61 case 2: ret = cns11643_2_mbtowc(conv,pwc,buf,2); break; 62 case 3: ret = cns11643_3_mbtowc(conv,pwc,buf,2); break; 63 case 4: ret = cns11643_4_mbtowc(conv,pwc,buf,2); break; 64 case 5: ret = cns11643_5_mbtowc(conv,pwc,buf,2); break; 65 case 6: ret = cns11643_6_mbtowc(conv,pwc,buf,2); break; 66 case 7: ret = cns11643_7_mbtowc(conv,pw 82 euc_tw_wctomb(conv_t conv, unsigned char *r, ucs4_t wc, int n) argument [all...] |
H A D | ucs2.h | 29 ucs2_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) argument 31 state_t state = conv->istate; 43 conv->istate = state; 47 conv->istate = state; 56 ucs2_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) argument
|
H A D | ucs4.h | 29 ucs4_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) argument 31 state_t state = conv->istate; 43 conv->istate = state; 48 conv->istate = state; 54 ucs4_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) argument
|
H A D | cp949.h | 41 cp949_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) argument 46 return ascii_mbtowc(conv,pwc,s,n); 49 return uhc_1_mbtowc(conv,pwc,s,n); 57 return uhc_2_mbtowc(conv,pwc,s,n); 63 ret = ksc5601_mbtowc(conv,pwc,buf,2); 82 cp949_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) argument 88 ret = ascii_wctomb(conv,r,wc,n); 94 ret = ksc5601_wctomb(conv,buf,wc,2); 108 return uhc_1_wctomb(conv,r,wc,n); 110 return uhc_2_wctomb(conv, [all...] |
H A D | iso2022_jp.h | 37 iso2022_jp_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) argument 39 state_t state = conv->istate; 82 int ret = ascii_mbtowc(conv,pwc,s,1); 86 conv->istate = state; 92 int ret = jisx0201_mbtowc(conv,pwc,s,1); 96 conv->istate = state; 104 int ret = jisx0208_mbtowc(conv,pwc,s,2); 108 conv->istate = state; 116 conv->istate = state; 121 iso2022_jp_wctomb (conv_t conv, unsigne argument 195 iso2022_jp_reset(conv_t conv, unsigned char *r, int n) argument [all...] |
H A D | utf32.h | 35 utf32_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) argument 37 state_t state = conv->istate; 50 conv->istate = state; 57 conv->istate = state; 64 utf32_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) argument 68 if (!conv->ostate) { 84 conv->ostate = 1;
|
H A D | utf16.h | 35 utf16_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) argument 37 state_t state = conv->istate; 50 conv->istate = state; 58 conv->istate = state; 63 conv->istate = state; 73 utf16_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) argument 77 if (!conv->ostate) { 89 conv->ostate = 1; 102 conv->ostate = 1;
|
H A D | converters.h | 37 int (*xxx_mbtowc) (conv_t conv, ucs4_t *pwc, unsigned char const *s, int n); 39 * int xxx_mbtowc (conv_t conv, ucs4_t *pwc, unsigned char const *s, int n) 46 int (*xxx_flushwc) (conv_t conv, ucs4_t *pwc); 48 * int xxx_flushwc (conv_t conv, ucs4_t *pwc) 63 int (*xxx_wctomb) (conv_t conv, unsigned char *r, ucs4_t wc, int n); 65 * int xxx_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) 70 int (*xxx_reset) (conv_t conv, unsigned char *r, int n); 72 * int xxx_reset (conv_t conv, unsigned char *r, int n)
|