Home
last modified time | relevance | path

Searched refs:encoded_size (Results 1 – 2 of 2) sorted by relevance

/systemd-251/src/shared/
Ddns-domain.c297 int dns_label_apply_idna(const char *encoded, size_t encoded_size, char *decoded, size_t decoded_ma… in dns_label_apply_idna() argument
314 if (encoded_size <= 0) in dns_label_apply_idna()
317 for (p = encoded; p < encoded + encoded_size; p++) in dns_label_apply_idna()
322 if (encoded_size > DNS_LABEL_MAX) in dns_label_apply_idna()
328 input = sym_stringprep_utf8_to_ucs4(encoded, encoded_size, &input_size); in dns_label_apply_idna()
352 int dns_label_undo_idna(const char *encoded, size_t encoded_size, char *decoded, size_t decoded_max… in dns_label_undo_idna() argument
369 if (encoded_size <= 0 || encoded_size > DNS_LABEL_MAX) in dns_label_undo_idna()
372 if (!memory_startswith(encoded, encoded_size, IDNA_ACE_PREFIX)) in dns_label_undo_idna()
375 input = sym_stringprep_utf8_to_ucs4(encoded, encoded_size, &input_size); in dns_label_undo_idna()
Ddns-domain.h29 int dns_label_apply_idna(const char *encoded, size_t encoded_size, char *decoded, size_t decoded_ma…
30 int dns_label_undo_idna(const char *encoded, size_t encoded_size, char *decoded, size_t decoded_max…