Searched refs:maxBytes (Results 1 – 10 of 10) sorted by relevance
| /openbmc/pldm/fw-update/ |
| H A D | watch.cpp | 79 constexpr auto maxBytes = 1024; in callback() local 80 uint8_t buffer[maxBytes]; in callback() 81 auto bytes = read(fd, buffer, maxBytes); in callback()
|
| /openbmc/openpower-pnor-code-mgmt/ubi/ |
| H A D | watch.cpp | 74 constexpr auto maxBytes = 1024; in callback() local 75 uint8_t buffer[maxBytes]; in callback() 76 auto bytes = read(fd, buffer, maxBytes); in callback()
|
| /openbmc/phosphor-bmc-code-mgmt/bmc/ |
| H A D | watch.cpp | 88 constexpr auto maxBytes = 1024; in callback() local 89 uint8_t buffer[maxBytes]; in callback() 90 auto bytes = read(fd, buffer, maxBytes); in callback()
|
| H A D | sync_watch.cpp | 85 constexpr auto maxBytes = 1024; in callback() local 86 uint8_t buffer[maxBytes]; in callback() 87 auto bytes = read(fd, buffer, maxBytes); in callback()
|
| /openbmc/phosphor-debug-collector/ |
| H A D | watch.cpp | 90 constexpr auto maxBytes = sizeof(struct inotify_event) + NAME_MAX + 1; in callback() local 91 uint8_t buffer[maxBytes]; in callback() 93 std::span<char> bufferSpan(reinterpret_cast<char*>(buffer), maxBytes); in callback()
|
| /openbmc/phosphor-bmc-code-mgmt/common/include/ |
| H A D | NotifyWatch.hpp | 74 constexpr size_t maxBytes = 1024; in readNotifyAsync() local 75 std::array<uint8_t, maxBytes> buffer{}; in readNotifyAsync() 76 auto bytes = read(fd, buffer.data(), maxBytes); in readNotifyAsync()
|
| H A D | utils.hpp | 35 constexpr size_t maxBytes = sizeof(IntegerType); 36 size_t size = std::min(data.size(), maxBytes);
|
| /openbmc/phosphor-logging/ |
| H A D | util.cpp | 174 constexpr auto maxBytes = 64; in journalSync() local 175 uint8_t buffer[maxBytes]; in journalSync() 176 while (read(fd, buffer, maxBytes) > 0) in journalSync()
|
| /openbmc/openbmc/poky/meta/recipes-devtools/dnf/dnf/ |
| H A D | 0001-dnf-write-the-log-lock-to-root.patch | 22 def __init__(self, filename, mode='a', maxBytes=0, backupCount=0, encoding=None, delay=False): 24 filename, mode, maxBytes, backupCount, encoding, delay)
|
| /openbmc/phosphor-host-ipmid/ |
| H A D | dcmihandler.cpp | 46 constexpr auto maxBytes = 16; variable 786 if ((offset > dcmi::assetTagMaxOffset) || (count > dcmi::maxBytes) || in getAssetTag() 831 if ((offset > dcmi::assetTagMaxOffset) || (count > dcmi::maxBytes) || in setAssetTag() 872 if (count > dcmi::maxBytes || offset + count > dcmi::maxCtrlIdStrLen) in getMgmntCtrlIdStr() 913 if ((offset > dcmi::maxCtrlIdStrLen) || (count > dcmi::maxBytes) || in setMgmntCtrlIdStr()
|