Lines Matching refs:RichText
888 mDNSexport mDNSBool LabelContainsSuffix(const domainlabel *const name, const mDNSBool RichText) in LabelContainsSuffix() argument
892 if (RichText) in LabelContainsSuffix()
914 mDNSexport mDNSu32 RemoveLabelSuffix(domainlabel *name, mDNSBool RichText) in RemoveLabelSuffix() argument
919 if (RichText && name->c[0] >= 1 && name->c[name->c[0]] == ')') name->c[0]--; in RemoveLabelSuffix()
926 if (RichText) in RemoveLabelSuffix()
940 mDNSexport void AppendLabelSuffix(domainlabel *const name, mDNSu32 val, const mDNSBool RichText) in AppendLabelSuffix() argument
943 if (RichText) chars = 4; // Shortest possible RichText suffix is 4 characters (" (2)") in AppendLabelSuffix()
946 if (RichText) while (name->c[name->c[0]] == ' ') name->c[0]--; in AppendLabelSuffix()
952 if (RichText) { name->c[++name->c[0]] = ' '; name->c[++name->c[0]] = '('; } in AppendLabelSuffix()
962 if (RichText) name->c[++name->c[0]] = ')'; in AppendLabelSuffix()
965 mDNSexport void IncrementLabelSuffix(domainlabel *name, mDNSBool RichText) in IncrementLabelSuffix() argument
969 if (LabelContainsSuffix(name, RichText)) in IncrementLabelSuffix()
970 val = RemoveLabelSuffix(name, RichText); in IncrementLabelSuffix()
980 AppendLabelSuffix(name, val, RichText); in IncrementLabelSuffix()