Searched refs:pwc (Results 1 - 25 of 173) sorted by relevance

1234567

/haiku/src/libs/iconv/
H A Dflushwc.h25 normal_flushwc (conv_t conv, ucs4_t *pwc) argument
31 *pwc = (ucs4_t) last_wc;
H A Diso646_cn.h27 iso646_cn_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) argument
32 *pwc = (ucs4_t) 0x00a5;
34 *pwc = (ucs4_t) 0x203e;
36 *pwc = (ucs4_t) c;
H A Diso646_jp.h29 iso646_jp_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) argument
34 *pwc = (ucs4_t) 0x00a5;
36 *pwc = (ucs4_t) 0x203e;
38 *pwc = (ucs4_t) c;
H A Dascii.h26 ascii_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) argument
30 *pwc = (ucs4_t) c;
H A Diso8859_1.h26 iso8859_1_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) argument
29 *pwc = (ucs4_t) c;
H A Ducs4be.h26 ucs4be_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) argument
29 *pwc = (s[0] << 24) + (s[1] << 16) + (s[2] << 8) + s[3];
H A Ducs4internal.h26 ucs4internal_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) argument
29 *pwc = *(const unsigned int *)s;
H A Ducs4le.h26 ucs4le_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) argument
29 *pwc = s[0] + (s[1] << 8) + (s[2] << 16) + (s[3] << 24);
H A Djisx0201.h26 jisx0201_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) argument
31 *pwc = (ucs4_t) 0x00a5;
33 *pwc = (ucs4_t) 0x203e;
35 *pwc = (ucs4_t) c;
39 *pwc = (ucs4_t) c + 0xfec0;
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);
H A Diso8859_11.h26 iso8859_11_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) argument
30 *pwc = (ucs4_t) c;
34 *pwc = (ucs4_t) (c + 0x0d60);
H A Dtis620.h26 tis620_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) argument
30 *pwc = (ucs4_t) c;
34 *pwc = (ucs4_t) (c + 0x0d60);
H A Dcp1162.h26 cp1162_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) argument
30 *pwc = (ucs4_t) c;
36 *pwc = (ucs4_t) wc;
40 *pwc = (ucs4_t) c;
H A Dcp858.h26 cp858_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) argument
30 *pwc = (ucs4_t) c;
32 *pwc = 0x20ac;
34 *pwc = (ucs4_t) cp850_2uni[c-0x80];
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,pwc,bu
[all...]
H A Ducs2be.h26 ucs2be_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) argument
32 *pwc = (s[0] << 8) + s[1];
H A Ducs2internal.h26 ucs2internal_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) argument
33 *pwc = x;
H A Ducs2le.h26 ucs2le_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n) argument
32 *pwc = s[0] + (s[1] << 8);
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);
68 *pwc = 0xe000 + (c2 - 0xa1);
72 *pwc = 0xe05e + (c2 - 0xa1);
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);
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);
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);
/haiku/src/system/libroot/posix/wchar/
H A Dmbstowcs.c10 __mbstowcs(wchar_t* pwc, const char* s, size_t n) argument
14 return __mbsrtowcs(pwc, &s, n, &internalMbState);
H A Dmbtowc.c13 __mbtowc(wchar_t* pwc, const char* s, size_t n) argument
17 int result = __mbrtowc(pwc, s, n, &internalMbState);
H A Dmbrtowc.cpp28 __mbrtowc(wchar_t* pwc, const char* s, size_t n, mbstate_t* ps) argument
46 if (pwc != NULL)
47 *pwc = 0;
64 if (pwc != NULL)
65 *pwc = *s;
71 status_t status = backend->MultibyteToWchar(pwc, s, n, ps, lengthUsed);

Completed in 102 milliseconds

1234567