Lines Matching defs:buff
732 std::unique_ptr<char[]> buff = it.GetDataBuffer(len);
733 if (buff != nullptr) {
794 std::unique_ptr<char[]> buff = it.GetDataBuffer(len);
795 if (buff != nullptr) {
802 if (!WriteBufferToFile(std::move(buff), len, strPathName)) {
877 std::string MmsMsgTest::BuffToHex(const std::unique_ptr<char[]> &buff, uint32_t len) const
881 unsigned char temp = static_cast<unsigned char>(buff[i]) >> HEX_OFFSET;
882 ss << "0x" << HEX_TABLE[temp] << HEX_TABLE[buff[i] & 0xf] << " ";
891 const std::unique_ptr<char[]> &buff, uint32_t len, const std::string &strPathName) const
895 if (!pFile || buff == nullptr) {
899 uint32_t fileLen = fwrite(buff.get(), len, 1, pFile);