Lines Matching refs:conv
34 conv_ext0be32(const UChar* s, const UChar* end, UChar* conv)
37 *conv++ = '\0';
38 *conv++ = '\0';
39 *conv++ = '\0';
40 *conv++ = *s++;
45 conv_ext0le32(const UChar* s, const UChar* end, UChar* conv)
48 *conv++ = *s++;
49 *conv++ = '\0';
50 *conv++ = '\0';
51 *conv++ = '\0';
56 conv_ext0be(const UChar* s, const UChar* end, UChar* conv)
59 *conv++ = '\0';
60 *conv++ = *s++;
65 conv_ext0le(const UChar* s, const UChar* end, UChar* conv)
68 *conv++ = *s++;
69 *conv++ = '\0';
74 conv_swap4bytes(const UChar* s, const UChar* end, UChar* conv)
77 *conv++ = s[3];
78 *conv++ = s[2];
79 *conv++ = s[1];
80 *conv++ = s[0];
86 conv_swap2bytes(const UChar* s, const UChar* end, UChar* conv)
89 *conv++ = s[1];
90 *conv++ = s[0];
97 UChar** conv, UChar** conv_end)
103 *conv = (UChar* )xmalloc(len * 2);
104 CHECK_NULL_RETURN_MEMERR(*conv);
105 *conv_end = *conv + (len * 2);
106 conv_ext0be(s, end, *conv);
111 *conv = (UChar* )xmalloc(len);
112 CHECK_NULL_RETURN_MEMERR(*conv);
113 *conv_end = *conv + len;
114 conv_swap2bytes(s, end, *conv);
120 *conv = (UChar* )xmalloc(len * 2);
121 CHECK_NULL_RETURN_MEMERR(*conv);
122 *conv_end = *conv + (len * 2);
123 conv_ext0le(s, end, *conv);
132 *conv = (UChar* )xmalloc(len * 4);
133 CHECK_NULL_RETURN_MEMERR(*conv);
134 *conv_end = *conv + (len * 4);
135 conv_ext0be32(s, end, *conv);
140 *conv = (UChar* )xmalloc(len);
141 CHECK_NULL_RETURN_MEMERR(*conv);
142 *conv_end = *conv + len;
143 conv_swap4bytes(s, end, *conv);
149 *conv = (UChar* )xmalloc(len * 4);
150 CHECK_NULL_RETURN_MEMERR(*conv);
151 *conv_end = *conv + (len * 4);
152 conv_ext0le32(s, end, *conv);