Searched refs:ucs2_t (Results 1 - 25 of 54) sorted by relevance

123

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/libatalk/unicode/charsets/
H A Dgeneric_cjk.h32 extern size_t cjk_generic_push (size_t (*)(u_int8_t*, const ucs2_t*, size_t*),
34 extern size_t cjk_generic_pull (size_t (*)(ucs2_t*, const u_int8_t*, size_t*),
38 extern size_t cjk_char_pull (ucs2_t, ucs2_t*, const u_int32_t*);
41 extern ucs2_t cjk_compose (ucs2_t, ucs2_t, const u_int32_t*, size_t);
42 extern ucs2_t cjk_compose_seq (const ucs2_t*, size_t*, const u_int32_t*, size_t);
H A Dgeneric_mb.h1 size_t mb_generic_pull(int (*charfunc)(ucs2_t *, const unsigned char *), void *,char **, size_t *, char **, size_t *);
2 size_t mb_generic_push(int (*charfunc)(unsigned char *, ucs2_t), void *,char **, size_t *, char **, size_t *);
H A Dgeneric_cjk.c39 size_t cjk_generic_push(size_t (*char_func)(u_int8_t*, const ucs2_t*, size_t*), argument
45 while (*inbytesleft >= sizeof(ucs2_t) && *outbytesleft > 0) {
47 size_t size = *inbytesleft / sizeof(ucs2_t);
48 size_t n = (char_func)(buf, (const ucs2_t*)in, &size);
50 in += size * sizeof(ucs2_t);
51 *inbytesleft -= size * sizeof(ucs2_t);
66 in += size * sizeof(ucs2_t);
67 *inbytesleft -= size * sizeof(ucs2_t);
75 errno = (*inbytesleft < sizeof(ucs2_t) ? EINVAL : E2BIG);
81 size_t cjk_generic_pull(size_t (*char_func)(ucs2_t*, cons
[all...]
H A Dgeneric_mb.c45 size_t mb_generic_push( int (*char_func)(unsigned char *, ucs2_t), void *cd _U_, char **inbuf,
50 ucs2_t inval;
79 size_t mb_generic_pull ( int (*char_func)(ucs2_t *, const unsigned char *), void *cd _U_,
82 ucs2_t temp;
H A Dmac_chinese_simp.c46 static size_t mac_chinese_simp_char_push(u_int8_t* out, const ucs2_t* in, size_t* size)
48 ucs2_t wc = in[0];
58 ucs2_t comp = cjk_compose(wc, in[1], mac_chinese_simp_compose,
80 static size_t mac_chinese_simp_char_pull(ucs2_t* out, const u_int8_t* in, size_t* size)
H A Dmac_chinese_trad.c46 static size_t mac_chinese_trad_char_push(u_int8_t* out, const ucs2_t* in, size_t* size)
48 ucs2_t wc = in[0];
63 ucs2_t comp = cjk_compose(wc, in[1], mac_chinese_trad_compose,
85 static size_t mac_chinese_trad_char_pull(ucs2_t* out, const u_int8_t* in, size_t* size)
H A Dmac_greek.c55 char_ucs2_to_mac_greek ( unsigned char *r, ucs2_t wc)
90 char_mac_greek_to_ucs2 (ucs2_t *pwc, const unsigned char *s)
94 *pwc = (ucs2_t) c;
100 *pwc = (ucs2_t) wc;
H A Dmac_roman.c54 char_ucs2_to_mac_roman ( unsigned char *r, ucs2_t wc)
98 char_mac_roman_to_ucs2 (ucs2_t *pwc, const unsigned char *s)
102 *pwc = (ucs2_t) c;
107 *pwc = (ucs2_t) wc;
H A Dmac_korean.c46 static size_t mac_korean_char_push(u_int8_t* out, const ucs2_t* in, size_t* size)
48 ucs2_t wc = in[0];
58 ucs2_t comb = in[1];
64 ucs2_t comp = cjk_compose(wc, comb, mac_korean_compose,
90 static size_t mac_korean_char_pull(ucs2_t* out, const u_int8_t* in, size_t* size)
H A Dmac_hebrew.c60 char_ucs2_to_mac_hebrew ( unsigned char *r, ucs2_t wc)
92 ucs2_t inptr = SVAL((*inbuf),0);
139 char_mac_hebrew_to_ucs2 (ucs2_t *pwc, const unsigned char *s)
143 *pwc = (ucs2_t) c;
149 *pwc = (ucs2_t) wc;
159 ucs2_t temp;
H A Dmac_japanese.c46 static size_t mac_japanese_char_push(u_int8_t* out, const ucs2_t* in, size_t* size)
48 ucs2_t wc = in[0];
67 ucs2_t comp = cjk_compose(wc, in[1], mac_japanese_compose,
89 static size_t mac_japanese_char_pull(ucs2_t* out, const u_int8_t* in, size_t* size)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/libatalk/unicode/charsets/
H A Dgeneric_cjk.h32 extern size_t cjk_generic_push (size_t (*)(u_int8_t*, const ucs2_t*, size_t*),
34 extern size_t cjk_generic_pull (size_t (*)(ucs2_t*, const u_int8_t*, size_t*),
38 extern size_t cjk_char_pull (ucs2_t, ucs2_t*, const u_int32_t*);
41 extern ucs2_t cjk_compose (ucs2_t, ucs2_t, const u_int32_t*, size_t);
42 extern ucs2_t cjk_compose_seq (const ucs2_t*, size_t*, const u_int32_t*, size_t);
H A Dgeneric_mb.h1 size_t mb_generic_pull(int (*charfunc)(ucs2_t *, const unsigned char *), void *,char **, size_t *, char **, size_t *);
2 size_t mb_generic_push(int (*charfunc)(unsigned char *, ucs2_t), void *,char **, size_t *, char **, size_t *);
H A Dgeneric_cjk.c39 size_t cjk_generic_push(size_t (*char_func)(u_int8_t*, const ucs2_t*, size_t*), argument
45 while (*inbytesleft >= sizeof(ucs2_t) && *outbytesleft > 0) {
47 size_t size = *inbytesleft / sizeof(ucs2_t);
48 size_t n = (char_func)(buf, (const ucs2_t*)in, &size);
50 in += size * sizeof(ucs2_t);
51 *inbytesleft -= size * sizeof(ucs2_t);
66 in += size * sizeof(ucs2_t);
67 *inbytesleft -= size * sizeof(ucs2_t);
75 errno = (*inbytesleft < sizeof(ucs2_t) ? EINVAL : E2BIG);
81 size_t cjk_generic_pull(size_t (*char_func)(ucs2_t*, cons
[all...]
H A Dgeneric_mb.c45 size_t mb_generic_push( int (*char_func)(unsigned char *, ucs2_t), void *cd _U_, char **inbuf,
50 ucs2_t inval;
79 size_t mb_generic_pull ( int (*char_func)(ucs2_t *, const unsigned char *), void *cd _U_,
82 ucs2_t temp;
H A Dmac_chinese_simp.c46 static size_t mac_chinese_simp_char_push(u_int8_t* out, const ucs2_t* in, size_t* size)
48 ucs2_t wc = in[0];
58 ucs2_t comp = cjk_compose(wc, in[1], mac_chinese_simp_compose,
80 static size_t mac_chinese_simp_char_pull(ucs2_t* out, const u_int8_t* in, size_t* size)
H A Dmac_chinese_trad.c46 static size_t mac_chinese_trad_char_push(u_int8_t* out, const ucs2_t* in, size_t* size)
48 ucs2_t wc = in[0];
63 ucs2_t comp = cjk_compose(wc, in[1], mac_chinese_trad_compose,
85 static size_t mac_chinese_trad_char_pull(ucs2_t* out, const u_int8_t* in, size_t* size)
H A Dmac_greek.c55 char_ucs2_to_mac_greek ( unsigned char *r, ucs2_t wc)
90 char_mac_greek_to_ucs2 (ucs2_t *pwc, const unsigned char *s)
94 *pwc = (ucs2_t) c;
100 *pwc = (ucs2_t) wc;
H A Dmac_roman.c54 char_ucs2_to_mac_roman ( unsigned char *r, ucs2_t wc)
98 char_mac_roman_to_ucs2 (ucs2_t *pwc, const unsigned char *s)
102 *pwc = (ucs2_t) c;
107 *pwc = (ucs2_t) wc;
H A Dmac_korean.c46 static size_t mac_korean_char_push(u_int8_t* out, const ucs2_t* in, size_t* size)
48 ucs2_t wc = in[0];
58 ucs2_t comb = in[1];
64 ucs2_t comp = cjk_compose(wc, comb, mac_korean_compose,
90 static size_t mac_korean_char_pull(ucs2_t* out, const u_int8_t* in, size_t* size)
H A Dmac_hebrew.c60 char_ucs2_to_mac_hebrew ( unsigned char *r, ucs2_t wc)
92 ucs2_t inptr = SVAL((*inbuf),0);
139 char_mac_hebrew_to_ucs2 (ucs2_t *pwc, const unsigned char *s)
143 *pwc = (ucs2_t) c;
149 *pwc = (ucs2_t) wc;
159 ucs2_t temp;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/include/atalk/
H A Dunicode.h9 #define ucs2_t u_int16_t macro
96 extern ucs2_t toupper_w (ucs2_t);
98 extern ucs2_t tolower_w (ucs2_t);
102 extern int strupper_w (ucs2_t *);
103 extern int strlower_w (ucs2_t *);
104 extern int islower_w (ucs2_t);
105 extern int isupper_w (ucs2_t);
106 extern size_t strlen_w (const ucs2_t *);
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/include/atalk/
H A Dunicode.h9 #define ucs2_t u_int16_t macro
96 extern ucs2_t toupper_w (ucs2_t);
98 extern ucs2_t tolower_w (ucs2_t);
102 extern int strupper_w (ucs2_t *);
103 extern int strlower_w (ucs2_t *);
104 extern int islower_w (ucs2_t);
105 extern int isupper_w (ucs2_t);
106 extern size_t strlen_w (const ucs2_t *);
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/libatalk/unicode/
H A Dutil_unistr.c35 int strlower_w(ucs2_t *s)
52 ucs2_t v = tolower_w(*s);
69 int strupper_w(ucs2_t *s)
86 ucs2_t v = toupper_w(*s);
103 int islower_w(ucs2_t c)
119 int isupper_w(ucs2_t c)
135 size_t strlen_w(const ucs2_t *src)
150 size_t strnlen_w(const ucs2_t *src, size_t max)
164 ucs2_t *strchr_w(const ucs2_t *
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/libatalk/unicode/
H A Dutil_unistr.c23 int strlower_w(ucs2_t *s)
27 ucs2_t v = tolower_w(*s);
41 int strupper_w(ucs2_t *s)
45 ucs2_t v = toupper_w(*s);
59 int islower_w(ucs2_t c)
67 int isupper_w(ucs2_t c)
74 Count the number of characters in a ucs2_t string.
76 size_t strlen_w(const ucs2_t *src)
86 Count up to max number of characters in a ucs2_t string.
88 size_t strnlen_w(const ucs2_t *sr
[all...]

Completed in 84 milliseconds

123