Searched refs:maxBytes (Results 1 – 8 of 8) 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-logging/ |
H A D | util.cpp | 182 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 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 | 41 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()
|