Searched refs:bytesIO (Results 1 – 10 of 10) sorted by relevance
/developtools/hdc/src/test/ |
D | ut_mod.cpp | 25 int bytesIO = 0; in TestBaseCommand() local 29 if ((bytesIO = Base::ReadBinFile((UT_TMP_PATH + "/base-discover.result").c_str(), in TestBaseCommand() 43 if ((bytesIO = Base::ReadBinFile((UT_TMP_PATH + "/base-list.result").c_str(), in TestBaseCommand() 54 if ((bytesIO = Base::ReadBinFile((UT_TMP_PATH + "/base-any.result").c_str(), in TestBaseCommand() 76 int bytesIO = 0; in TestShellExecute() local 84 if ((bytesIO = Base::ReadBinFile((UT_TMP_PATH + "/" + resultFile).c_str(), in TestShellExecute() 98 if ((bytesIO = Base::ReadBinFile((UT_TMP_PATH + "/" + resultFile).c_str(), in TestShellExecute()
|
/developtools/hdc/src/host/ |
D | server_for_client.h | 37 int ReadChannel(HChannel hChannel, uint8_t *bufPtr, const int bytesIO) override; 44 int BindChannelToSession(HChannel hChannel, uint8_t *bufPtr, const int bytesIO); 56 int ChannelHandShake(HChannel hChannel, uint8_t *bufPtr, const int bytesIO);
|
D | client.cpp | 418 int HdcClient::ReadChannel(HChannel hChannel, uint8_t *buf, const int bytesIO) in ReadChannel() argument 427 WRITE_LOG(LOG_DEBUG, "Client ReadChannel :%d", bytesIO); in ReadChannel() 431 if (bytesIO >= static_cast<int>(sizeof(uint16_t))) { in ReadChannel() 437 … string version(reinterpret_cast<char *>(buf + sizeof(uint16_t)), bytesIO - sizeof(uint16_t)); in ReadChannel() 450 … if (!fileTask->CommandDispatch(cmd, buf + sizeof(uint16_t), bytesIO - sizeof(uint16_t))) { in ReadChannel() 461 … if (!appTask->CommandDispatch(cmd, buf + sizeof(uint16_t), bytesIO - sizeof(uint16_t))) { in ReadChannel() 468 string s(reinterpret_cast<char *>(buf), bytesIO); in ReadChannel()
|
D | server_for_client.cpp | 651 int HdcServerForClient::BindChannelToSession(HChannel hChannel, uint8_t *bufPtr, const int bytesIO) in BindChannelToSession() argument 702 int HdcServerForClient::ChannelHandShake(HChannel hChannel, uint8_t *bufPtr, const int bytesIO) in ChannelHandShake() argument 705 rebuildHandshake.insert(rebuildHandshake.end(), bufPtr, bufPtr + bytesIO); in ChannelHandShake() 743 int HdcServerForClient::ReadChannel(HChannel hChannel, uint8_t *bufPtr, const int bytesIO) in ReadChannel() argument 747 return ChannelHandShake(hChannel, bufPtr, bytesIO); in ReadChannel() 753 … if (!SendToDaemon(hChannel, command, bufPtr + sizeof(uint16_t), bytesIO - sizeof(uint16_t))) { in ReadChannel() 760 … string retEcho = String2FormatCommand(reinterpret_cast<char *>(bufPtr), bytesIO, &formatCommand); in ReadChannel() 777 formatCommand.parameters = string(reinterpret_cast<char *>(bufPtr), bytesIO); in ReadChannel() 784 ret = bytesIO; in ReadChannel()
|
D | client.h | 42 int ReadChannel(HChannel hChannel, uint8_t *buf, const int bytesIO) override;
|
/developtools/hdc/src/daemon/ |
D | daemon.h | 48 void JdwpNewFileDescriptor(const uint8_t *buf, const int bytesIO) override;
|
D | daemon.cpp | 400 void HdcDaemon::JdwpNewFileDescriptor(const uint8_t *buf, const int bytesIO) in JdwpNewFileDescriptor() argument
|
/developtools/hdc/src/common/ |
D | channel.h | 44 virtual int ReadChannel(HChannel hChannel, uint8_t *bufPtr, const int bytesIO) in ReadChannel() argument
|
D | session.h | 142 virtual void JdwpNewFileDescriptor(const uint8_t *buf, const int bytesIO) in JdwpNewFileDescriptor() argument 193 const int bytesIO);
|
D | session.cpp | 969 const int bytesIO) in DispatchSessionThreadCommand() argument 976 JdwpNewFileDescriptor(baseBuf, bytesIO); in DispatchSessionThreadCommand()
|