Lines Matching defs:out_len

106  * @param out_len before processing out_len should be the length of
115 wind_utf8ucs4(const char *in, uint32_t *out, size_t *out_len)
129 if (o >= *out_len)
135 *out_len = o;
144 * @param out_len the length of the resulting UCS4 string.
151 wind_utf8ucs4_length(const char *in, size_t *out_len)
153 return wind_utf8ucs4(in, NULL, out_len);
170 * @param out_len before processing out_len should be the length of
179 wind_ucs4utf8(const uint32_t *in, size_t in_len, char *out, size_t *out_len)
201 if (o >= *out_len)
221 if (o + 1 >= *out_len)
225 *out_len = o;
234 * @param out_len the length of the resulting UTF-8 string.
241 wind_ucs4utf8_length(const uint32_t *in, size_t in_len, size_t *out_len)
243 return wind_ucs4utf8(in, in_len, NULL, out_len);
253 * @param out_len the output length
261 uint16_t *out, size_t *out_len)
265 size_t olen = *out_len;
269 *out_len = 0;
306 *out_len -= olen;
318 * @param out_len the output length
326 void *ptr, size_t *out_len)
329 size_t len = *out_len;
337 *out_len = 0;
359 /** If the output wont fit into out_len, WIND_ERR_OVERRUN is returned */
374 *out_len -= len;
387 * @param out_len before processing out_len should be the length of
396 wind_utf8ucs2(const char *in, uint16_t *out, size_t *out_len)
413 if (o >= *out_len)
419 *out_len = o;
428 * @param out_len the length of the resulting UCS4 string.
435 wind_utf8ucs2_length(const char *in, size_t *out_len)
437 return wind_utf8ucs2(in, NULL, out_len);
449 * @param out_len before processing out_len should be the length of
458 wind_ucs2utf8(const uint16_t *in, size_t in_len, char *out, size_t *out_len)
476 if (o >= *out_len)
493 if (o >= *out_len)
497 *out_len = o;
506 * @param out_len the length of the resulting UTF-8 string.
513 wind_ucs2utf8_length(const uint16_t *in, size_t in_len, size_t *out_len)
515 return wind_ucs2utf8(in, in_len, NULL, out_len);