Searched defs:encoded_size (Results 1 - 1 of 1) sorted by relevance

/systemd/src/shared/
H A Ddns-domain.c298 int dns_label_apply_idna(const char *encoded, size_t encoded_size, char *decoded, size_t decoded_max) { argument
311 if (encoded_size <= 0)
314 for (p = encoded; p < encoded + encoded_size; p++)
319 if (encoded_size > DNS_LABEL_MAX)
325 input = stringprep_utf8_to_ucs4(encoded, encoded_size, &input_size);
352 int dns_label_undo_idna(const char *encoded, size_t encoded_size, char *decoded, size_t decoded_max) { argument
365 if (encoded_size <= 0 || encoded_size > DNS_LABEL_MAX)
368 if (encoded_size < sizeof(IDNA_ACE_PREFIX)-1)
374 input = stringprep_utf8_to_ucs4(encoded, encoded_size,
[all...]

Completed in 968 milliseconds