Home
last modified time | relevance | path

Searched refs:maxBytes (Results 1 – 10 of 10) sorted by relevance

/openbmc/pldm/fw-update/
H A Dwatch.cpp79 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 Dwatch.cpp74 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 Dwatch.cpp88 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 Dsync_watch.cpp85 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 Dwatch.cpp90 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 DNotifyWatch.hpp74 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 Dutils.hpp35 constexpr size_t maxBytes = sizeof(IntegerType);
36 size_t size = std::min(data.size(), maxBytes);
/openbmc/phosphor-logging/
H A Dutil.cpp174 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 D0001-dnf-write-the-log-lock-to-root.patch22 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 Ddcmihandler.cpp46 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()