Home
last modified time | relevance | path

Searched refs:curUriPath (Results 1 – 2 of 2) sorted by relevance

/openthread-latest/src/core/coap/
Dcoap_message.cpp241 char *curUriPath = aUriPath; in ReadUriPathOptions() local
251 if (curUriPath != aUriPath) in ReadUriPathOptions()
253 *curUriPath++ = '/'; in ReadUriPathOptions()
256 VerifyOrExit(curUriPath + optionLength < GetArrayEnd(aUriPath), error = kErrorParse); in ReadUriPathOptions()
258 IgnoreError(iterator.ReadOptionValue(curUriPath)); in ReadUriPathOptions()
259 curUriPath += optionLength; in ReadUriPathOptions()
264 *curUriPath = '\0'; in ReadUriPathOptions()
Dcoap.cpp1285 char *curUriPath = uriPath; in ProcessReceivedRequest() local
1319 if (curUriPath != uriPath) in ProcessReceivedRequest()
1321 *curUriPath++ = '/'; in ProcessReceivedRequest()
1324 …VerifyOrExit(curUriPath + iterator.GetOption()->GetLength() < GetArrayEnd(uriPath), error = kError… in ProcessReceivedRequest()
1326 IgnoreError(iterator.ReadOptionValue(curUriPath)); in ProcessReceivedRequest()
1327 curUriPath += iterator.GetOption()->GetLength(); in ProcessReceivedRequest()
1350 curUriPath[0] = '\0'; in ProcessReceivedRequest()