Searched refs:StringStartsWith (Results 1 – 6 of 6) sorted by relevance
/openthread-latest/tests/unit/ |
D | test_string.cpp | 213 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 …]
|
D | test_srp_server.cpp | 359 VerifyOrQuit(StringStartsWith(name, aHostName, kStringCaseInsensitiveMatch)); in ValidateHost()
|
D | test_dns_client.cpp | 316 VerifyOrQuit(StringStartsWith(name, aHostName, kStringCaseInsensitiveMatch)); in ValidateHost()
|
/openthread-latest/src/core/common/ |
D | string.hpp | 122 bool StringStartsWith(const char *aString, const char *aPrefixString, StringMatchMode aMode = kStri…
|
D | string.cpp | 141 bool StringStartsWith(const char *aString, const char *aPrefixString, StringMatchMode aMode) in StringStartsWith() function
|
/openthread-latest/src/core/net/ |
D | dns_types.cpp | 149 VerifyOrExit(StringStartsWith(aNamePtr, aLabels, kStringCaseInsensitiveMatch)); in CompareAndSkipLabels() 784 match = StringStartsWith(aName, aDomain, kStringCaseInsensitiveMatch); in IsSubDomainOf() 789 match = StringStartsWith(aDomain, aName, kStringCaseInsensitiveMatch); in IsSubDomainOf()
|