Searched refs:conv (Results 1 - 25 of 267) sorted by relevance

1234567891011

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libiconv-1.11/lib/
H A Dflushwc.h25 normal_flushwc (conv_t conv, ucs4_t *pwc) argument
27 ucs4_t last_wc = conv->istate;
30 conv->istate = 0;
H A Dgb12345.h36 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 Dbig5hkscs1999.h50 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 Dbig5hkscs2004.h52 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 Dces_big5.h26 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 Dces_gbk.h26 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 Ddec_kanji.h26 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 Deuc_cn.h26 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 Deuc_kr.h28 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 Disoir165.h84 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 Dhz.h31 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 Dbig5hkscs2001.h52 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 Dascii.h26 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 Diso8859_1.h26 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 Ducs4be.h26 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 Ducs4internal.h26 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 Ducs4le.h26 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 Deuc_tw.h26 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 Ducs2.h29 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 Ducs4.h29 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 Dcp949.h41 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);
93 ret = ksc5601_wctomb(conv,buf,wc,2);
106 return uhc_1_wctomb(conv,r,wc,n);
108 return uhc_2_wctomb(conv,
[all...]
H A Diso2022_jp.h37 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 Dgenflags.c38 struct conv_struct conv; local
39 memset(&conv,'\0',sizeof(conv));
40 conv.ofuncs = *ofuncs;
49 memset(&conv.ostate,'\0',sizeof(state_t));
50 res[i] = (conv.ofuncs.xxx_wctomb(&conv,buf,probe[i],sizeof(buf)) != RET_ILUNI);
H A Dutf32.h35 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;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/python/
H A Dpy_conv.c37 PyObject *from_struct(void *s, struct pyconv *conv) argument
44 for (i = 0; conv[i].name; i++) {
45 switch (conv[i].type) {
47 UNISTR *u = (UNISTR *)((char *)s + conv[i].offset);
54 PyDict_SetItemString(obj, conv[i].name, item);
59 UNISTR2 *u = (UNISTR2 *)((char *)s + conv[i].offset);
66 PyDict_SetItemString(obj, conv[i].name, item);
71 uint32 *u = (uint32 *)((char *)s + conv[i].offset);
74 PyDict_SetItemString(obj, conv[i].name, item);
79 uint16 *u = (uint16 *)((char *)s + conv[
121 to_struct(void *s, PyObject *dict, struct pyconv *conv) argument
[all...]

Completed in 79 milliseconds

1234567891011