/openbmc/estoraged/src/erase/ |
H A D | pattern.cpp | 88 size_t readSize = currentIndex + blockSize < driveSize in verifyPattern() local 102 while (read < readSize) in verifyPattern() 105 fd.read({readArr.data() + read, readSize - read}).size(); in verifyPattern() 106 if (read == readSize) in verifyPattern() 110 if (read > readSize) in verifyPattern() 132 if (!std::equal(randArr.begin(), randArr.begin() + readSize, in verifyPattern() 133 readArr.begin(), readArr.begin() + readSize)) in verifyPattern() 140 currentIndex = currentIndex + readSize; in verifyPattern()
|
H A D | zero.cpp | 80 uint32_t readSize = currentIndex + blockSize < driveSize in verifyZero() local 87 while (read < readSize) in verifyZero() 90 fd.read({readArr.data() + read, readSize - read}).size(); in verifyZero() 91 if (read == readSize) in verifyZero() 95 if (read > readSize) in verifyZero() 116 if (memcmp(readArr.data(), blockOfZeros.data(), readSize) != 0) in verifyZero() 123 currentIndex += readSize; in verifyZero()
|
/openbmc/phosphor-net-ipmid/sol/ |
H A D | sol_context.cpp | 236 auto readSize = std::min(bufferSize, MAX_PAYLOAD_SIZE); in prepareResponse() local 237 payloadCache.resize(sizeof(Payload) + readSize); in prepareResponse() 245 std::copy_n(handle, readSize, payloadCache.data() + sizeof(Payload)); in prepareResponse() 246 expectedCharCount = readSize; in prepareResponse() 262 auto readSize = std::min(bufferSize, MAX_PAYLOAD_SIZE); in sendOutboundPayload() local 264 payloadCache.resize(sizeof(Payload) + readSize); in sendOutboundPayload() 272 std::copy_n(handle, readSize, payloadCache.data() + sizeof(Payload)); in sendOutboundPayload() 273 expectedCharCount = readSize; in sendOutboundPayload()
|
H A D | sol_manager.cpp | 44 size_t readSize; in consoleInputHandler() local 47 readSize = cmd.get(); in consoleInputHandler() 56 std::vector<uint8_t> buffer(readSize); in consoleInputHandler()
|
/openbmc/phosphor-power/tools/i2c/ |
H A D | i2c.cpp | 155 const uint8_t* writeData, uint8_t& readSize, in processCallSMBus() argument 174 readSize = static_cast<uint8_t>(ret); in processCallSMBus() 175 std::memcpy(readData, buffer, readSize); in processCallSMBus() 179 const uint8_t* writeData, uint8_t& readSize, in processCallI2C() argument 244 readSize = readBuffer[0]; in processCallI2C() 245 std::memcpy(readData, &(readBuffer[1]), readSize); in processCallI2C() 498 const uint8_t* writeData, uint8_t& readSize, in processCall() argument 508 processCallSMBus(addr, writeSize, writeData, readSize, readData); in processCall() 513 processCallI2C(addr, writeSize, writeData, readSize, readData); in processCall()
|
H A D | i2c.hpp | 131 const uint8_t* writeData, uint8_t& readSize, 158 const uint8_t* writeData, uint8_t& readSize, 217 uint8_t& readSize, uint8_t* readData) override;
|
H A D | i2c_interface.hpp | 223 const uint8_t* writeData, uint8_t& readSize,
|
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/ |
H A D | 0001-Fix-build-on-32bit.patch | 33 size_t readSize = 36 auto buf = bufReader->readBytes(readSize); 37 memcpy(buffer, buf.rawData(), readSize); 38 ret = readSize;
|
/openbmc/slpd-lite/ |
H A D | sock_channel.cpp | 25 int readSize = 0; in read() local 29 if (ioctl(sockfd, FIONREAD, &readSize) < 0) in read() 36 outBuffer.resize(readSize); in read()
|
/openbmc/phosphor-power/tools/i2c/test/ |
H A D | mocked_i2c_interface.hpp | 38 uint8_t& readSize, uint8_t* readData),
|
/openbmc/linux/lib/zstd/compress/ |
H A D | huf_compress.c | 227 …CHECK_V_F(readSize, HUF_readStats(huffWeight, HUF_SYMBOLVALUE_MAX+1, rankVal, &nbSymbols, &tableLo… in HUF_readCTable() 267 return readSize; in HUF_readCTable()
|