Lines Matching +full:apply +full:- +full:label
6 * Copyright (C) 2003-2014, International Business Machines
11 * encoding: UTF-8
70 * (ASCII Letters, Digits and Hyphen-Minus).
132 * The instance is thread-safe, that is, it can be used concurrently.
215 * Converts a single domain name label into its ASCII form for DNS lookup.
216 * If any processing step fails, then pInfo->errors will be non-zero and
218 * The label might be modified according to the types of errors.
225 * @param label Input domain name label
226 * @param length Label length, or -1 if NUL-terminated
239 const UChar *label, int32_t length,
244 * Converts a single domain name label into its Unicode form for human-readable display.
245 * If any processing step fails, then pInfo->errors will be non-zero.
246 * The label might be modified according to the types of errors.
252 * @param label Input domain name label
253 * @param length Label length, or -1 if NUL-terminated
266 const UChar *label, int32_t length,
272 * If any processing step fails, then pInfo->errors will be non-zero and
282 * @param length Domain name length, or -1 if NUL-terminated
300 * Converts a whole domain name into its Unicode form for human-readable display.
301 * If any processing step fails, then pInfo->errors will be non-zero.
309 * @param length Domain name length, or -1 if NUL-terminated
326 /* UTF-8 versions of the processing methods --------------------------------- */
329 * Converts a single domain name label into its ASCII form for DNS lookup.
330 * UTF-8 version of uidna_labelToASCII(), same behavior.
333 * @param label Input domain name label
334 * @param length Label length, or -1 if NUL-terminated
347 const char *label, int32_t length,
352 * Converts a single domain name label into its Unicode form for human-readable display.
353 * UTF-8 version of uidna_labelToUnicode(), same behavior.
356 * @param label Input domain name label
357 * @param length Label length, or -1 if NUL-terminated
370 const char *label, int32_t length,
376 * UTF-8 version of uidna_nameToASCII(), same behavior.
380 * @param length Domain name length, or -1 if NUL-terminated
398 * Converts a whole domain name into its Unicode form for human-readable display.
399 * UTF-8 version of uidna_nameToUnicode(), same behavior.
403 * @param length Domain name length, or -1 if NUL-terminated
422 * When a domain name or label fails a processing step or does not meet the
427 * A non-final domain name label (or the whole domain name) is empty.
432 * A domain name label is longer than 63 bytes.
434 * This is only checked in ToASCII operations, and only if the output label is all-ASCII.
441 * This is only checked in ToASCII operations, and only if the output domain name is all-ASCII.
446 * A label starts with a hyphen-minus ('-').
451 * A label ends with a hyphen-minus ('-').
456 * A label contains hyphen-minus ('-') in the third and fourth positions.
461 * A label starts with a combining mark.
466 * A label or domain name contains disallowed characters.
471 * A label starts with "xn--" but does not contain valid Punycode.
472 * That is, an xn-- label failed Punycode decoding.
477 * A label contains a dot=full stop.
478 * This can occur in an input string for a single-label function.
483 * An ACE label does not contain a valid label string.
484 * The label was successfully ACE (Punycode) decoded but the resulting
492 * A label does not meet the IDNA BiDi requirements (for right-to-left characters).
497 * A label does not meet the IDNA CONTEXTJ requirements.
502 * A label does not meet the IDNA CONTEXTO requirements for punctuation characters.
509 * A label does not meet the IDNA CONTEXTO requirements for digits.
510 * Arabic-Indic Digits (U+066x) must not be mixed with Extended Arabic-Indic Digits (U+06Fx).
518 /* IDNA2003 API ------------------------------------------------------------- */
523 * ASCII names. A label is an individual part of a domain name. Labels are usually
531 * containing non-ASCII code points are processed by the
548 * @param src Input UChar array containing label in Unicode.
549 * @param srcLength Number of UChars in src, or -1 if NUL-terminated.
550 * @param dest Output UChar array with ASCII (ACE encoded) label.
554 * - UIDNA_DEFAULT Use default options, i.e., do not process unassigned code points
559 * - UIDNA_ALLOW_UNASSIGNED Unassigned values can be converted to ASCII for query operations
563 * - UIDNA_USE_STD3_RULES Use STD3 ASCII rules for host name syntax restrictions
575 * @return The length of the result string, if successful - or in case of a buffer overflow,
590 * Unicode names. A label is an individual part of a domain name. Labels are usually
593 * @param src Input UChar array containing ASCII (ACE encoded) label.
594 * @param srcLength Number of UChars in src, or -1 if NUL-terminated.
595 * @param dest Output Converted UChar array containing Unicode equivalent of label.
599 * - UIDNA_DEFAULT Use default options, i.e., do not process unassigned code points
604 * - UIDNA_ALLOW_UNASSIGNED Unassigned values can be converted to ASCII for query operations
611 * - UIDNA_USE_STD3_RULES Use STD3 ASCII rules for host name syntax restrictions
623 * @return The length of the result string, if successful - or in case of a buffer overflow,
643 * into separate labels, decide whether to apply allowUnassigned and useSTD3ASCIIRules on each,
645 * set will apply to all labels in the domain name
648 * @param srcLength Number of UChars in src, or -1 if NUL-terminated.
653 * - UIDNA_DEFAULT Use default options, i.e., do not process unassigned code points
658 * - UIDNA_ALLOW_UNASSIGNED Unassigned values can be converted to ASCII for query operations
662 * - UIDNA_USE_STD3_RULES Use STD3 ASCII rules for host name syntax restrictions
674 * @return The length of the result string, if successful - or in case of a buffer overflow,
690 * into separate labels, decide whether to apply allowUnassigned and useSTD3ASCIIRules on each,
692 * set will apply to all labels in the domain name
695 * @param srcLength Number of UChars in src, or -1 if NUL-terminated.
700 * - UIDNA_DEFAULT Use default options, i.e., do not process unassigned code points
705 * - UIDNA_ALLOW_UNASSIGNED Unassigned values can be converted to ASCII for query operations
709 * - UIDNA_USE_STD3_RULES Use STD3 ASCII rules for host name syntax restrictions
721 * @return The length of the result string, if successful - or in case of a buffer overflow,
737 * applying toASCII) match using an case-insensitive ASCII comparison.
739 * match regardless of whether label separators match.
742 * @param length1 Length of first source string, or -1 if NUL-terminated.
745 * @param length2 Length of second source string, or -1 if NUL-terminated.
748 * - UIDNA_DEFAULT Use default options, i.e., do not process unassigned code points
753 * - UIDNA_ALLOW_UNASSIGNED Unassigned values can be converted to ASCII for query operations
757 * - UIDNA_USE_STD3_RULES Use STD3 ASCII rules for host name syntax restrictions