Home
last modified time | relevance | path

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

/openthread-3.5.0/src/core/common/
Dheap_string.cpp42 Error String::Set(const char *aCString) in Set() argument
48 VerifyOrExit(aCString != nullptr, Free()); in Set()
51 newSize = strlen(aCString) + 1; in Set()
63 memcpy(mStringBuffer, aCString, newSize); in Set()
87 bool String::operator==(const char *aCString) const in operator ==()
91 …VerifyOrExit((aCString != nullptr) && (mStringBuffer != nullptr), isEqual = (mStringBuffer == aCSt… in operator ==()
92 isEqual = (strcmp(mStringBuffer, aCString) == 0); in operator ==()
Dheap_string.hpp112 Error Set(const char *aCString);
154 bool operator==(const char *aCString) const;
165 bool operator!=(const char *aCString) const { return !(*this == aCString); } in operator !=()
/openthread-3.5.0/src/posix/platform/
Dpower.hpp79 …bool operator!=(const char *aCString) const { return (aCString == nullptr) ? true : strcmp(m8, aCS… in operator !=()