Home
last modified time | relevance | path

Searched refs:mDNSIsDigit (Results 1 – 4 of 4) sorted by relevance

/external/mdnsresponder/mDNSShared/
Ddnssd_clientlib.c51 #define mDNSIsDigit(X) ((X) >= '0' && (X) <= '9') macro
62 if (mDNSIsDigit(dom[1]) && mDNSIsDigit(dom[2]) && mDNSIsDigit(dom[3])) in DomainEndsInDot()
/external/mdnsresponder/mDNSCore/
DDNSCommon.h104 #define mDNSIsDigit(X) ((X) >= '0' && (X) <= '9') macro
109 #define mDNSValidHostChar(X, notfirst, notlast) (mDNSIsLetter(X) || mDNSIsDigit(X) || ((notfirst) &…
DDNSCommon.c518 if (mDNSIsDigit(cstr[-1]) && mDNSIsDigit(cstr[0]) && mDNSIsDigit(cstr[1])) in AppendDNSNameString()
753 if (mDNSIsLetter(src[i]) || mDNSIsDigit(src[i])) continue; in ConstructServiceName()
896 if (!mDNSIsDigit(name->c[l])) return mDNSfalse; // Preceeded by a digit in LabelContainsSuffix()
898 while (l > 2 && mDNSIsDigit(name->c[l])) l--; // Strip off digits in LabelContainsSuffix()
904 if (!mDNSIsDigit(name->c[l])) return mDNSfalse; // Last char must be a digit in LabelContainsSuffix()
906 while (l > 2 && mDNSIsDigit(name->c[l])) l--; // Strip off digits in LabelContainsSuffix()
922 while (mDNSIsDigit(name->c[name->c[0]])) in RemoveLabelSuffix()
DmDNSEmbeddedAPI.h2902 …ine ValidSPSName(X) ((X)[0] >= 5 && mDNSIsDigit((X)[1]) && mDNSIsDigit((X)[2]) && mDNSIsDigit((X)[…