Lines Matching refs:conv
33 conv_ext0be32(const UChar* s, const UChar* end, UChar* conv) in conv_ext0be32() argument
36 *conv++ = '\0'; in conv_ext0be32()
37 *conv++ = '\0'; in conv_ext0be32()
38 *conv++ = '\0'; in conv_ext0be32()
39 *conv++ = *s++; in conv_ext0be32()
44 conv_ext0le32(const UChar* s, const UChar* end, UChar* conv) in conv_ext0le32() argument
47 *conv++ = *s++; in conv_ext0le32()
48 *conv++ = '\0'; in conv_ext0le32()
49 *conv++ = '\0'; in conv_ext0le32()
50 *conv++ = '\0'; in conv_ext0le32()
55 conv_ext0be(const UChar* s, const UChar* end, UChar* conv) in conv_ext0be() argument
58 *conv++ = '\0'; in conv_ext0be()
59 *conv++ = *s++; in conv_ext0be()
64 conv_ext0le(const UChar* s, const UChar* end, UChar* conv) in conv_ext0le() argument
67 *conv++ = *s++; in conv_ext0le()
68 *conv++ = '\0'; in conv_ext0le()
73 conv_swap4bytes(const UChar* s, const UChar* end, UChar* conv) in conv_swap4bytes() argument
76 *conv++ = s[3]; in conv_swap4bytes()
77 *conv++ = s[2]; in conv_swap4bytes()
78 *conv++ = s[1]; in conv_swap4bytes()
79 *conv++ = s[0]; in conv_swap4bytes()
85 conv_swap2bytes(const UChar* s, const UChar* end, UChar* conv) in conv_swap2bytes() argument
88 *conv++ = s[1]; in conv_swap2bytes()
89 *conv++ = s[0]; in conv_swap2bytes()
96 UChar** conv, UChar** conv_end) in conv_encoding() argument
102 *conv = (UChar* )xmalloc(len * 2); in conv_encoding()
103 CHECK_NULL_RETURN_MEMERR(*conv); in conv_encoding()
104 *conv_end = *conv + (len * 2); in conv_encoding()
105 conv_ext0be(s, end, *conv); in conv_encoding()
110 *conv = (UChar* )xmalloc(len); in conv_encoding()
111 CHECK_NULL_RETURN_MEMERR(*conv); in conv_encoding()
112 *conv_end = *conv + len; in conv_encoding()
113 conv_swap2bytes(s, end, *conv); in conv_encoding()
119 *conv = (UChar* )xmalloc(len * 2); in conv_encoding()
120 CHECK_NULL_RETURN_MEMERR(*conv); in conv_encoding()
121 *conv_end = *conv + (len * 2); in conv_encoding()
122 conv_ext0le(s, end, *conv); in conv_encoding()
131 *conv = (UChar* )xmalloc(len * 4); in conv_encoding()
132 CHECK_NULL_RETURN_MEMERR(*conv); in conv_encoding()
133 *conv_end = *conv + (len * 4); in conv_encoding()
134 conv_ext0be32(s, end, *conv); in conv_encoding()
139 *conv = (UChar* )xmalloc(len); in conv_encoding()
140 CHECK_NULL_RETURN_MEMERR(*conv); in conv_encoding()
141 *conv_end = *conv + len; in conv_encoding()
142 conv_swap4bytes(s, end, *conv); in conv_encoding()
148 *conv = (UChar* )xmalloc(len * 4); in conv_encoding()
149 CHECK_NULL_RETURN_MEMERR(*conv); in conv_encoding()
150 *conv_end = *conv + (len * 4); in conv_encoding()
151 conv_ext0le32(s, end, *conv); in conv_encoding()