Home
last modified time | relevance | path

Searched refs:maxBytes (Results 1 – 8 of 8) 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-logging/
H A Dutil.cpp182 constexpr auto maxBytes = 64; in journalSync() local
183 uint8_t buffer[maxBytes]; in journalSync()
184 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.cpp41 constexpr auto maxBytes = 16; variable
459 if ((offset > dcmi::assetTagMaxOffset) || (count > dcmi::maxBytes) || in getAssetTag()
504 if ((offset > dcmi::assetTagMaxOffset) || (count > dcmi::maxBytes) || in setAssetTag()
545 if (count > dcmi::maxBytes || offset + count > dcmi::maxCtrlIdStrLen) in getMgmntCtrlIdStr()
586 if ((offset > dcmi::maxCtrlIdStrLen) || (count > dcmi::maxBytes) || in setMgmntCtrlIdStr()