Home
last modified time | relevance | path

Searched refs:versionEndPos (Results 1 - 2 of 2) sorted by relevance

/arkcompiler/toolchain/websocket/
H A Dhttp.cpp78 auto versionEndPos = response.find(' ', versionStartPos); in DecodeVersion() local
79 if (versionEndPos != std::string::npos) { in DecodeVersion()
80 return response.substr(versionStartPos, versionEndPos - versionStartPos); in DecodeVersion()
87 std::string HttpResponse::DecodeStatus(const std::string& response, std::string::size_type versionEndPos) in DecodeStatus() argument
90 if (versionEndPos < response.size() && response[versionEndPos] == ' ') { in DecodeStatus()
91 auto statusStartPos = response.find_first_not_of(' ', versionEndPos); in DecodeStatus()
H A Dhttp.h58 static std::string DecodeStatus(const std::string& response, std::string::size_type versionEndPos);

Completed in 2 milliseconds