Searched refs:rdbuf (Results 1 – 13 of 13) sorted by relevance
| /openbmc/u-boot/env/ |
| H A D | eeprom.c | 90 uchar rdbuf[64], flags[2]; in env_eeprom_load() local 112 int n = (len > sizeof(rdbuf)) ? sizeof(rdbuf) : len; in env_eeprom_load() 115 rdbuf, n); in env_eeprom_load() 117 crc_tmp = crc32(crc_tmp, rdbuf, n); in env_eeprom_load() 149 uchar rdbuf[64]; in env_eeprom_load() local 162 int n = (len > sizeof(rdbuf)) ? sizeof(rdbuf) : len; in env_eeprom_load() 165 CONFIG_ENV_OFFSET + off, rdbuf, n); in env_eeprom_load() 166 new = crc32(new, rdbuf, n); in env_eeprom_load()
|
| /openbmc/entity-manager/test/ |
| H A D | test_fru-utils.cpp | 180 std::array<uint8_t, blockSize * 2> rdbuf{}; in TEST() local 186 EXPECT_EQ(reader.read(0, data.size(), rdbuf.data()), in TEST() 188 EXPECT_TRUE(std::equal(rdbuf.begin(), rdbuf.end(), data.begin())); in TEST() 191 EXPECT_EQ(reader.read(i, 1, rdbuf.data()), 1); in TEST() 192 EXPECT_EQ(rdbuf[i], i); in TEST() 194 EXPECT_EQ(reader.read(blockSize - 1, 2, rdbuf.data()), 2); in TEST() 195 EXPECT_EQ(rdbuf[0], blockSize - 1); in TEST() 196 EXPECT_EQ(rdbuf[1], blockSize); in TEST() 264 std::array<uint8_t, blockSize> rdbuf{}; in TEST() local 270 EXPECT_EQ(reader.read(0, data.size(), rdbuf.data()), in TEST() [all …]
|
| /openbmc/pldm/common/test/ |
| H A D | pldm_utils_test.cpp | 73 auto coutBuffer = std::cout.rdbuf(); in TEST() 74 std::cout.rdbuf(localString.rdbuf()); in TEST() 76 std::cout.rdbuf(coutBuffer); in TEST() 82 std::cout.rdbuf(localString.rdbuf()); in TEST() 84 std::cout.rdbuf(coutBuffer); in TEST() 92 auto coutBuffer = std::cout.rdbuf(); in TEST() 93 std::cout.rdbuf(localString.rdbuf()); in TEST() 97 std::cout.rdbuf(coutBuffer); in TEST()
|
| /openbmc/phosphor-bmc-code-mgmt/bmc/ |
| H A D | utils.cpp | 81 outFile << inFile.rdbuf(); in mergeFiles()
|
| /openbmc/phosphor-debug-collector/ |
| H A D | dump_offload.cpp | 198 std::filebuf* pbuf = infile.rdbuf(); in requestOffload()
|
| /openbmc/pldm/oem/ibm/requester/ |
| H A D | dbus_to_file_handler.cpp | 203 acfBuf << file.rdbuf(); in getAcfFileContent()
|
| /openbmc/pldm/oem/ibm/libpldmresponder/ |
| H A D | file_io_type_cert.cpp | 143 strStream << inFile.rdbuf(); in write()
|
| H A D | inband_code_update.cpp | 772 ofs << ifs.rdbuf(); in processCodeUpdateLid() 784 ofs << ifs.rdbuf(); in processCodeUpdateLid()
|
| /openbmc/phosphor-certificate-manager/test/ |
| H A D | certs_manager_test.cpp | 64 return std::equal(std::istreambuf_iterator<char>(f1.rdbuf()), in compareFiles() 66 std::istreambuf_iterator<char>(f2.rdbuf())); in compareFiles() 171 return std::equal(std::istreambuf_iterator<char>(f1.rdbuf()), in compareFiles() 173 std::istreambuf_iterator<char>(f2.rdbuf())); in compareFiles() 1518 outputCertFileStream << inputCertFileStream.rdbuf() << std::flush; in appendContentFromFile() 1574 read << inputCertFileStream.rdbuf(); in compareFileAgainstString()
|
| /openbmc/bmcweb/redfish-core/src/utils/ |
| H A D | time_utils.cpp | 504 if (iss.rdbuf()->in_avail() != 0) in dateStringToEpoch()
|
| /openbmc/phosphor-certificate-manager/ |
| H A D | certificate.cpp | 593 certFileStream << privKeyFileStream.rdbuf() << std::flush; in checkAndAppendPrivateKey()
|
| H A D | certs_manager.cpp | 95 pemStream << inputCertFileStream.rdbuf(); in splitCertificates()
|
| /openbmc/bmcweb/redfish-core/include/utils/extern/ |
| H A D | date.h | 1087 this->is_.rdbuf()->pubsync(); 7596 auto i = is.rdbuf()->sgetc(); 7609 is.rdbuf()->sbumpc();
|