| /openbmc/phosphor-ipmi-flash/tools/ |
| H A D | bt.cpp | 27 int bytesRead; in sendContents() local 32 bytesRead = sys->read(inputFd, readBuffer, sizeof(readBuffer)); in sendContents() 33 if (bytesRead > 0) in sendContents() 37 &readBuffer[bytesRead]); in sendContents() 39 offset += bytesRead; in sendContents() 40 progress->updateProgress(bytesRead); in sendContents() 42 } while (bytesRead > 0); in sendContents()
|
| H A D | p2a.cpp | 100 int bytesRead = 0; in sendContents() local 105 bytesRead = sys->read(*inputFd, readBuffer.data(), readBuffer.size()); in sendContents() 106 if (bytesRead > 0) in sendContents() 109 std::span<const std::uint8_t>(readBuffer.data(), bytesRead)); in sendContents() 115 chunk.length = bytesRead; in sendContents() 121 offset += bytesRead; in sendContents() 122 progress->updateProgress(bytesRead); in sendContents() 124 } while (bytesRead > 0); in sendContents()
|
| H A D | lpc.cpp | 123 int bytesRead = 0; in sendContents() local 128 bytesRead = in sendContents() 130 if (bytesRead > 0) in sendContents() 132 if (!io->write(host_lpc_buf.address, bytesRead, in sendContents() 140 chunk.length = bytesRead; in sendContents() 146 offset += bytesRead; in sendContents() 147 progress->updateProgress(bytesRead); in sendContents() 149 } while (bytesRead > 0); in sendContents()
|
| /openbmc/phosphor-ipmi-flash/bmc/firmware-handler/ |
| H A D | net_handler.cpp | 114 std::uint32_t bytesRead = 0; in copyFrom() local 118 ret = read(*connFd, data.data() + bytesRead, length - bytesRead); in copyFrom() 127 bytesRead += ret; in copyFrom() 128 } while (ret > 0 && bytesRead < length); in copyFrom() 130 if (bytesRead != length) in copyFrom() 134 length, bytesRead); in copyFrom() 135 data.resize(bytesRead); in copyFrom()
|
| /openbmc/pldm/fw-update/ |
| H A D | update.cpp | 32 ssize_t bytesRead; in startUpdate() local 35 while ((bytesRead = read(image, buffer, sizeof(buffer))) > 0) in startUpdate() 37 imageStream.write(buffer, bytesRead); in startUpdate() 40 if (bytesRead < 0) in startUpdate()
|
| /openbmc/bios-bmc-smm-error-logger/src/ |
| H A D | buffer.cpp | 80 std::vector<uint8_t> bytesRead = in readBufferHeader() local 83 if (bytesRead.size() != headerSize) in readBufferHeader() 87 bytesRead.size(), headerSize)); in readBufferHeader() 91 *reinterpret_cast<struct CircularBufferHeader*>(bytesRead.data()); in readBufferHeader() 175 std::vector<uint8_t> bytesRead = dataInterface->read( in wraparoundRead() local 177 if (bytesRead.size() != numBytesToReadTillQueueEnd) in wraparoundRead() 182 bytesRead.size(), numBytesToReadTillQueueEnd)); in wraparoundRead() 205 bytesRead.insert(bytesRead.end(), wrappedBytesRead.begin(), in wraparoundRead() 211 return bytesRead; in wraparoundRead() 219 std::vector<uint8_t> bytesRead = wraparoundRead( in readEntryHeader() local [all …]
|
| /openbmc/bmcweb/features/kvm/ |
| H A D | kvm_websocket.hpp | 87 std::size_t bytesRead) { in doRead() argument 94 logPtr(&conn), bytesRead); in doRead() 107 outputBuffer.commit(bytesRead); in doRead() 110 bytesRead); in doRead() 114 outputBuffer.consume(bytesRead); in doRead()
|
| /openbmc/dbus-sensors/src/psu/ |
| H A D | PSUSensor.cpp | 171 size_t bytesRead) { in setupRead() argument 178 self->handleResponse(ec, bytesRead); in setupRead() 203 size_t bytesRead) in handleResponse() argument 216 if (err || bytesRead == 0) in handleResponse() 228 bufferRef[bytesRead] = '\0'; in handleResponse()
|
| H A D | PSUSensor.hpp | 60 void handleResponse(const boost::system::error_code& err, size_t bytesRead);
|
| /openbmc/dbus-sensors/src/hwmon-temp/ |
| H A D | HwmonTempSensor.cpp | 147 [weakRef](const boost::system::error_code& ec, std::size_t bytesRead) { in setupRead() argument 151 self->handleResponse(ec, bytesRead); in setupRead() 175 size_t bytesRead) in handleResponse() argument 187 const char* bufEnd = readBuf.data() + bytesRead; in handleResponse()
|
| H A D | HwmonTempSensor.hpp | 69 void handleResponse(const boost::system::error_code& err, size_t bytesRead);
|
| /openbmc/bmcweb/http/ |
| H A D | websocket_impl.hpp | 240 const boost::beast::error_code& ec, size_t bytesRead) in afterRead() argument 267 handleMessage(bytesRead); in afterRead() 327 void handleMessage(size_t bytesRead) in handleMessage() argument 334 [this, self(shared_from_this()), bytesRead]() { in handleMessage() 340 inBuffer.consume(bytesRead); in handleMessage() 352 inBuffer.consume(bytesRead); in handleMessage()
|
| H A D | server_sent_event_impl.hpp | 116 const boost::system::error_code& ec, size_t bytesRead) in afterReadError() argument 118 BMCWEB_LOG_DEBUG("Read {}", bytesRead); in afterReadError()
|
| /openbmc/bmcweb/redfish-core/include/ |
| H A D | gzfile.hpp | 67 int bytesRead = gzread(logStream, bufferStr.data(), in readFile() local 70 if (bytesRead < 0) in readFile() 75 bufferStr.resize(static_cast<size_t>(bytesRead)); in readFile()
|
| /openbmc/dbus-sensors/src/fan/ |
| H A D | TachSensor.cpp | 121 [weakRef](const boost::system::error_code& ec, std::size_t bytesRead) { in setupRead() argument 125 self->handleResponse(ec, bytesRead); in setupRead() 149 size_t bytesRead) in handleResponse() argument 175 const char* bufEnd = readBuf.data() + bytesRead; in handleResponse()
|
| H A D | TachSensor.hpp | 96 void handleResponse(const boost::system::error_code& err, size_t bytesRead);
|
| /openbmc/bmcweb/features/virtual_media/ |
| H A D | vm_websocket.hpp | 151 const boost::system::error_code& ec, std::size_t bytesRead) { in doRead() argument 152 BMCWEB_LOG_DEBUG("Read done. Read {} bytes", bytesRead); in doRead() 167 outputBuffer.commit(bytesRead); in doRead() 170 bytesRead); in doRead() 172 outputBuffer.consume(bytesRead); in doRead() 322 const boost::system::error_code& ec, size_t bytesRead) in afterRead() 337 self->ux2wsBuf.commit(bytesRead); in afterRead()
|
| /openbmc/phosphor-bmc-code-mgmt/common/src/ |
| H A D | utils.cpp | 74 ssize_t bytesRead = read(exitPipefd[0], &exitCode, sizeof(exitCode)); in asyncSystem() local 77 if (bytesRead != sizeof(exitCode)) in asyncSystem()
|
| /openbmc/bmcweb/features/serial/ |
| H A D | obmc_console.hpp | 113 const boost::system::error_code& ec, std::size_t bytesRead) { in doRead() argument 114 BMCWEB_LOG_DEBUG("read done. Read {} bytes", bytesRead); in doRead() 127 std::string_view payload(outputBuffer.data(), bytesRead); in doRead()
|
| /openbmc/ipmi-fru-parser/ |
| H A D | writefrudata.cpp | 603 size_t bytesRead = 0; in validateFRUArea() local 646 bytesRead = std::fread(fruData.data(), dataLen, 1, fruFilePointer); in validateFRUArea() 647 if (bytesRead != 1) in validateFRUArea() 651 "BYTESREAD", bytesRead, "ERRNO", std::strerror(errno)); in validateFRUArea()
|
| /openbmc/phosphor-power/tools/power-utils/ |
| H A D | aei_updater.cpp | 513 size_t bytesRead = 0; in downloadPsuFirmware() local 520 while ((bytesRead < fileSize) && !downloadFailed) in downloadPsuFirmware() 524 bytesRead += dataRead.size(); in downloadPsuFirmware() 546 "BYTESREAD", bytesRead); in downloadPsuFirmware()
|
| H A D | updater.cpp | 168 size_t bytesRead = inputFile.gcount(); in readFirmwareBytes() local 169 if (bytesRead != numberOfBytesToRead) in readFirmwareBytes() 171 readDataBytes.resize(bytesRead); in readFirmwareBytes()
|
| /openbmc/phosphor-logging/test/openpower-pels/ |
| H A D | mocks.hpp | 265 auto bytesRead = read(newFD, &data, sizeof(data)); in receive() local 266 EXPECT_EQ(bytesRead, sizeof(data)); in receive()
|
| /openbmc/phosphor-logging/extensions/openpower-pels/ |
| H A D | manager.cpp | 600 auto bytesRead = read(_pelFileDeleteFD, data.data(), data.size()); in pelFileDeleted() local 601 if (bytesRead < 0) in pelFileDeleted() 610 while (offset < bytesRead) in pelFileDeleted()
|
| /openbmc/ipmitool/lib/ |
| H A D | ipmi_sel.c | 2582 size_t bytesRead; in ipmi_sel_readraw() local 2585 if ((bytesRead = fread(&evt, 1, 16, fp)) == 16) in ipmi_sel_readraw() 2594 if (bytesRead != 0) in ipmi_sel_readraw()
|