Home
last modified time | relevance | path

Searched refs:isLast (Results 1 - 7 of 7) sorted by relevance

/arkcompiler/toolchain/websocket/client/
H A Dwebsocket_client.h47 std::string CreateFrame(bool isLast, FrameType frameType) const override;
48 std::string CreateFrame(bool isLast, FrameType frameType, const std::string& payload) const override;
49 std::string CreateFrame(bool isLast, FrameType frameType, std::string&& payload) const override;
H A Dwebsocket_client.cpp287 std::string WebSocketClient::CreateFrame(bool isLast, FrameType frameType) const in CreateFrame() argument
289 ClientFrameBuilder builder(isLast, frameType, MASK_KEY); in CreateFrame()
293 std::string WebSocketClient::CreateFrame(bool isLast, FrameType frameType, const std::string& payload) const in CreateFrame() argument
295 ClientFrameBuilder builder(isLast, frameType, MASK_KEY); in CreateFrame()
299 std::string WebSocketClient::CreateFrame(bool isLast, FrameType frameType, std::string&& payload) const in CreateFrame() argument
301 ClientFrameBuilder builder(isLast, frameType, MASK_KEY); in CreateFrame()
/arkcompiler/toolchain/websocket/
H A Dwebsocket_base.h67 * @param isLast flag indicating whether the message is the final.
70 bool SendReply(const std::string& message, FrameType frameType = FrameType::TEXT, bool isLast = true) const;
160 virtual std::string CreateFrame(bool isLast, FrameType frameType) const = 0;
161 virtual std::string CreateFrame(bool isLast, FrameType frameType, const std::string& payload) const = 0;
162 virtual std::string CreateFrame(bool isLast, FrameType frameType, std::string&& payload) const = 0;
H A Dwebsocket_base.cpp47 // we just add the 'isLast' parameter to indicate whether it is the last frame.
48 bool WebSocketBase::SendReply(const std::string& message, FrameType frameType, bool isLast) const in SendReply()
55 const auto frame = CreateFrame(isLast, frameType, message); in SendReply()
/arkcompiler/toolchain/websocket/server/
H A Dwebsocket_server.h102 std::string CreateFrame(bool isLast, FrameType frameType) const override;
103 std::string CreateFrame(bool isLast, FrameType frameType, const std::string& payload) const override;
104 std::string CreateFrame(bool isLast, FrameType frameType, std::string&& payload) const override;
H A Dwebsocket_server.cpp402 std::string WebSocketServer::CreateFrame(bool isLast, FrameType frameType) const in CreateFrame() argument
404 ServerFrameBuilder builder(isLast, frameType); in CreateFrame()
408 std::string WebSocketServer::CreateFrame(bool isLast, FrameType frameType, const std::string& payload) const in CreateFrame() argument
410 ServerFrameBuilder builder(isLast, frameType); in CreateFrame()
414 std::string WebSocketServer::CreateFrame(bool isLast, FrameType frameType, std::string&& payload) const in CreateFrame() argument
416 ServerFrameBuilder builder(isLast, frameType); in CreateFrame()
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dstub_builder.cpp323 bool isLast = (idx == maxPropsNum - 1); in FindElementWithCache() local
336 if (!isLast) { in FindElementWithCache()

Completed in 19 milliseconds