Home
last modified time | relevance | path

Searched refs:StringStartsWith (Results 1 – 6 of 6) sorted by relevance

/openthread-latest/tests/unit/
Dtest_string.cpp213 VerifyOrQuit(StringStartsWith("FooBar", "Foo")); in TestStringStartsWith()
214 VerifyOrQuit(!StringStartsWith("FooBar", "Ba")); in TestStringStartsWith()
215 VerifyOrQuit(StringStartsWith("FooBar", "FooBar")); in TestStringStartsWith()
216 VerifyOrQuit(!StringStartsWith("FooBar", "FooBarr")); in TestStringStartsWith()
217 VerifyOrQuit(!StringStartsWith("FooBar", "foo")); in TestStringStartsWith()
218 VerifyOrQuit(!StringStartsWith("FooBar", "FoO")); in TestStringStartsWith()
220 VerifyOrQuit(!StringStartsWith("", "foo")); in TestStringStartsWith()
222 VerifyOrQuit(StringStartsWith("FooBar", "FOO", kStringCaseInsensitiveMatch)); in TestStringStartsWith()
223 VerifyOrQuit(!StringStartsWith("FooBar", "BA", kStringCaseInsensitiveMatch)); in TestStringStartsWith()
224 VerifyOrQuit(StringStartsWith("FooBar", "FOOBAR", kStringCaseInsensitiveMatch)); in TestStringStartsWith()
[all …]
Dtest_srp_server.cpp359 VerifyOrQuit(StringStartsWith(name, aHostName, kStringCaseInsensitiveMatch)); in ValidateHost()
Dtest_dns_client.cpp316 VerifyOrQuit(StringStartsWith(name, aHostName, kStringCaseInsensitiveMatch)); in ValidateHost()
/openthread-latest/src/core/common/
Dstring.hpp122 bool StringStartsWith(const char *aString, const char *aPrefixString, StringMatchMode aMode = kStri…
Dstring.cpp141 bool StringStartsWith(const char *aString, const char *aPrefixString, StringMatchMode aMode) in StringStartsWith() function
/openthread-latest/src/core/net/
Ddns_types.cpp149 VerifyOrExit(StringStartsWith(aNamePtr, aLabels, kStringCaseInsensitiveMatch)); in CompareAndSkipLabels()
784 match = StringStartsWith(aName, aDomain, kStringCaseInsensitiveMatch); in IsSubDomainOf()
789 match = StringStartsWith(aDomain, aName, kStringCaseInsensitiveMatch); in IsSubDomainOf()