• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/Heimdal-398.1.2/lib/wind/

Lines Matching refs:in

6  * Redistribution and use in source and binary forms, with or without
13 * 2. Redistributions in binary form must reproduce the above copyright
14 * notice, this list of conditions and the following disclaimer in the
101 * @param in an UTF-8 string to convert.
115 wind_utf8ucs4(const char *in, uint32_t *out, size_t *out_len)
121 for (p = (const unsigned char *)in; *p != '\0'; ++p) {
143 * @param in an UTF-8 string to convert.
151 wind_utf8ucs4_length(const char *in, size_t *out_len)
153 return wind_utf8ucs4(in, NULL, out_len);
159 * @param in an UTF-8 string to convert.
168 wind_utf8ucs4_copy(const char *in, uint32_t **out, size_t *out_len)
172 ret = wind_utf8ucs4_length(in, out_len);
186 ret = wind_utf8ucs4(in, *out, out_len);
202 * @param in an UCS4 string to convert.
219 wind_ucs4utf8(const uint32_t *in, size_t in_len, char *out, size_t *out_len)
225 ch = in[i];
272 * @param in an UCS4 string to convert.
281 wind_ucs4utf8_length(const uint32_t *in, size_t in_len, size_t *out_len)
283 return wind_ucs4utf8(in, in_len, NULL, out_len);
289 * @param in an UCS4 string to convert.
292 * @param out_len size of out string, NUL not included in count.
299 wind_ucs4utf8_copy(const uint32_t *in, size_t in_len, char **out, size_t *out_len)
304 ret = wind_ucs4utf8_length(in, in_len, &size);
314 ret = wind_ucs4utf8(in, in_len, *out, &size);
329 * Read in an UCS2 from a buffer.
395 * @param in The input UCS2 string.
399 * (in + 1) * 2 bytes long.
407 wind_ucs2write(const uint16_t *in, size_t in_len, unsigned int *flags,
413 /** If in buffer is not of length be mod 2, WIND_ERR_LENGTH_NOT_MOD2 is returned*/
445 p[0] = (in[0] >> 8) & 0xff;
446 p[1] = (in[0] ) & 0xff;
448 p[1] = (in[0] ) & 0xff;
449 p[0] = (in[0] >> 8) & 0xff;
454 in++;
464 * @param in an UTF-8 string to convert.
478 wind_utf8ucs2(const char *in, uint16_t *out, size_t *out_len)
484 for (p = (const unsigned char *)in; *p != '\0'; ++p) {
509 * @param in an UTF-8 string to convert.
517 wind_utf8ucs2_length(const char *in, size_t *out_len)
519 return wind_utf8ucs2(in, NULL, out_len);
525 * @param in an UCS2 string to convert.
526 * @param in_len the length of the in UCS2 string.
540 wind_ucs2utf8(const uint16_t *in, size_t in_len, char *out, size_t *out_len)
546 ch = in[i];
586 * @param in an UCS2 string to convert.
595 wind_ucs2utf8_length(const uint16_t *in, size_t in_len, size_t *out_len)
597 return wind_ucs2utf8(in, in_len, NULL, out_len);