Home
last modified time | relevance | path

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

/external/openthread/src/cli/
Dcli_coap.cpp70 strncpy(mResourceContent, "0", sizeof(mResourceContent)); in Coap()
71 mResourceContent[sizeof(mResourceContent) - 1] = '\0'; in Coap()
202 … VerifyOrExit(aArgs[0].GetLength() < sizeof(mResourceContent), error = OT_ERROR_INVALID_ARGS); in Process()
203 strncpy(mResourceContent, aArgs[0].GetCString(), sizeof(mResourceContent)); in Process()
204 mResourceContent[sizeof(mResourceContent) - 1] = '\0'; in Process()
228 SuccessOrExit(error = otMessageAppend(notificationMessage, mResourceContent, in Process()
229 static_cast<uint16_t>(strlen(mResourceContent)))); in Process()
238 OutputLine("%s", mResourceContent); in Process()
761 SuccessOrExit(error = otMessageAppend(responseMessage, mResourceContent, in HandleRequest()
762 … static_cast<uint16_t>(strlen(mResourceContent)))); in HandleRequest()
Dcli_coap_secure.cpp65 strncpy(mResourceContent, "0", sizeof(mResourceContent)); in CoapSecure()
66 mResourceContent[sizeof(mResourceContent) - 1] = '\0'; in CoapSecure()
151 … VerifyOrExit(aArgs[0].GetLength() < sizeof(mResourceContent), error = OT_ERROR_INVALID_ARGS); in ProcessSet()
152 strncpy(mResourceContent, aArgs[0].GetCString(), sizeof(mResourceContent)); in ProcessSet()
153 mResourceContent[sizeof(mResourceContent) - 1] = '\0'; in ProcessSet()
157 OutputLine("%s", mResourceContent); in ProcessSet()
599 SuccessOrExit(error = otMessageAppend(responseMessage, &mResourceContent, in HandleRequest()
600 … static_cast<uint16_t>(strlen(mResourceContent)))); in HandleRequest()
Dcli_coap.hpp168 char mResourceContent[kMaxBufferSize]; member in ot::Cli::Coap
Dcli_coap_secure.hpp180 char mResourceContent[kMaxBufferSize]; member in ot::Cli::CoapSecure