Home
last modified time | relevance | path

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

/llvm-project-15.0.7/flang/unittests/Runtime/
H A DBufferTest.cpp33 std::size_t maxBytes, IoErrorHandler &handler) { in Read() argument
37 static_cast<int>(maxBytes), static_cast<int>(expect_)); in Read()
41 static_cast<int>(maxBytes)); in Read()
43 auto result{std::min<std::size_t>(maxBytes, bytes_ - at)}; in Read()
/llvm-project-15.0.7/flang/runtime/
H A Dfile.cpp191 std::size_t maxBytes, IoErrorHandler &handler) { in Read() argument
192 if (maxBytes == 0) { in Read()
199 minBytes = std::min(minBytes, maxBytes); in Read()
202 auto chunk{::read(fd_, buffer + got, maxBytes - got)}; in Read()
H A Dbuffer.h86 auto maxBytes{size_ - next}; in ReadFrame()
88 fileOffset_ + length_, buffer_ + next, minBytes, maxBytes, handler)}; in ReadFrame()
H A Dfile.h53 std::size_t maxBytes, IoErrorHandler &);