Searched refs:bufferLength (Results 1 – 3 of 3) sorted by relevance
| /llvm-project-15.0.7/flang/runtime/ |
| H A D | io-error.cpp | 84 bool IoErrorHandler::GetIoMsg(char *buffer, std::size_t bufferLength) { in GetIoMsg() argument 90 ToFortranDefaultCharacter(buffer, bufferLength, msg); in GetIoMsg() 103 msg = ::strerror_r(ioStat_, buffer, bufferLength); in GetIoMsg() 105 ok = ::strerror_r(ioStat_, buffer, bufferLength) == 0; in GetIoMsg() 108 ok = ::strerror_s(buffer, bufferLength, ioStat_) == 0; in GetIoMsg() 119 ToFortranDefaultCharacter(buffer, bufferLength, msg); in GetIoMsg() 123 if (copied < bufferLength) { in GetIoMsg() 124 std::memset(buffer + copied, ' ', bufferLength - copied); in GetIoMsg()
|
| H A D | stat.cpp | 74 std::size_t bufferLength{errmsg->ElementBytes()}; in ToErrmsg() local 76 if (msgLength >= bufferLength) { in ToErrmsg() 77 std::memcpy(buffer, msg, bufferLength); in ToErrmsg() 80 std::memset(buffer + msgLength, ' ', bufferLength - msgLength); in ToErrmsg()
|
| /llvm-project-15.0.7/libc/src/time/ |
| H A D | time_utils.h | 79 size_t bufferLength) { in asctime() argument 103 buffer, bufferLength, "%.3s %.3s%3d %.2d:%.2d:%.2d %d\n", in asctime() 109 if (static_cast<size_t>(written_size) >= bufferLength) { in asctime()
|