Home
last modified time | relevance | path

Searched refs:RichText (Results 1 – 3 of 3) sorted by relevance

/external/mdnsresponder/mDNSCore/
DDNSCommon.h116 extern mDNSBool LabelContainsSuffix(const domainlabel *const name, const mDNSBool RichText);
117 extern mDNSu32 RemoveLabelSuffix(domainlabel *name, mDNSBool RichText);
118 extern void AppendLabelSuffix(domainlabel *const name, mDNSu32 val, const mDNSBool RichText);
DDNSCommon.c888 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()
[all …]
DmDNSEmbeddedAPI.h2388 extern void IncrementLabelSuffix(domainlabel *name, mDNSBool RichText);