Home
last modified time | relevance | path

Searched refs:StringMatch (Results 1 – 8 of 8) sorted by relevance

/openthread-3.6.0/tests/unit/
Dtest_string.cpp264 VerifyOrQuit(StringMatch("", "")); in TestStringMatch()
265 VerifyOrQuit(StringMatch("FooBar", "FooBar")); in TestStringMatch()
266 VerifyOrQuit(!StringMatch("FooBar", "FooBa")); in TestStringMatch()
267 VerifyOrQuit(!StringMatch("FooBa", "FooBar")); in TestStringMatch()
268 VerifyOrQuit(!StringMatch("FooBa", "FooBar")); in TestStringMatch()
269 VerifyOrQuit(!StringMatch("FooBar", "fooBar")); in TestStringMatch()
270 VerifyOrQuit(!StringMatch("FooBaR", "FooBar")); in TestStringMatch()
272 VerifyOrQuit(StringMatch("", "", kStringCaseInsensitiveMatch)); in TestStringMatch()
273 VerifyOrQuit(StringMatch("FooBar", "fOObAR", kStringCaseInsensitiveMatch)); in TestStringMatch()
274 VerifyOrQuit(!StringMatch("FooBar", "fOObA", kStringCaseInsensitiveMatch)); in TestStringMatch()
[all …]
/openthread-3.6.0/src/core/common/
Dstring.hpp167 bool StringMatch(const char *aFirstString, const char *aSecondString, StringMatchMode aMode = kStri…
Dstring.cpp158 bool StringMatch(const char *aFirstString, const char *aSecondString, StringMatchMode aMode) in StringMatch() function
/openthread-3.6.0/src/core/meshcop/
Dmeshcop_leader.cpp84 VerifyOrExit(StringMatch(mCommissionerId, commissionerId)); in HandleTmf()
Dcommissioner.cpp1007 if (!StringMatch(provisioningUrl, mProvisioningUrl)) in HandleTmf()
/openthread-3.6.0/src/core/net/
Dsrp_server.cpp807 … VerifyOrExit(StringMatch(name, GetDomain(), kStringCaseInsensitiveMatch), error = kErrorSecurity); in ProcessZoneSection()
1837 return StringMatch(mServiceName.AsCString(), aServiceName, kStringCaseInsensitiveMatch); in MatchesServiceName()
1842 return StringMatch(mInstanceName.AsCString(), aInstanceName, kStringCaseInsensitiveMatch); in Matches()
1851 if (StringMatch(subType.AsCString(), aSubTypeServiceName, kStringCaseInsensitiveMatch)) in HasSubTypeServiceName()
1960 return StringMatch(mFullName.AsCString(), aFullName, kStringCaseInsensitiveMatch); in Matches()
Ddns_types.cpp726 VerifyOrExit(StringMatch(suffixStart, aSuffixName, kStringCaseInsensitiveMatch)); in ExtractLabels()
779 match = StringMatch(aName, aDomain, kStringCaseInsensitiveMatch); in IsSubDomainOf()
Ddnssd_server.cpp455 if ((mType == kPtrQuery) && StringMatch(label, kSubLabel, kStringCaseInsensitiveMatch)) in ParseQueryName()