Searched refs:ReadBytes (Results 1 – 3 of 3) sorted by relevance
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
| H A D | linux.cpp | 158 ssize_t ReadBytes; in getRandom() local 164 ReadBytes = in getRandom() 166 if (ReadBytes == static_cast<ssize_t>(Length)) in getRandom() 174 ReadBytes = read(FileDesc, Buffer, Length); in getRandom() 176 return (ReadBytes == static_cast<ssize_t>(Length)); in getRandom()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Support/ |
| H A D | MemoryBuffer.cpp | 233 Expected<size_t> ReadBytes = sys::fs::readNativeFile( in getMemoryBufferForStream() local 235 if (!ReadBytes) in getMemoryBufferForStream() 236 return errorToErrorCode(ReadBytes.takeError()); in getMemoryBufferForStream() 237 if (*ReadBytes == 0) in getMemoryBufferForStream() 239 Buffer.set_size(Buffer.size() + *ReadBytes); in getMemoryBufferForStream() 487 Expected<size_t> ReadBytes = in getOpenFileImpl() local 489 if (!ReadBytes) in getOpenFileImpl() 490 return errorToErrorCode(ReadBytes.takeError()); in getOpenFileImpl() 491 if (*ReadBytes == 0) { in getOpenFileImpl() 495 ToRead = ToRead.drop_front(*ReadBytes); in getOpenFileImpl() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Core/ |
| H A D | Address.cpp | 60 static size_t ReadBytes(ExecutionContextScope *exe_scope, in ReadBytes() function 110 success = ReadBytes(exe_scope, address, &buf, byte_size) == byte_size; in ReadUIntMax64() 167 if (ReadBytes(exe_scope, address, &buf[0], buf.size()) == buf.size()) { in DumpUInt() 203 while ((bytes_read = ReadBytes(exe_scope, curr_address, buf, k_buf_len)) > in ReadCStringFromMemory()
|