Searched refs:ReadBytes (Results 1 – 4 of 4) sorted by relevance
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | MemoryBuffer.cpp | 482 Expected<size_t> ReadBytes = in getOpenFileImpl() local 484 if (!ReadBytes) in getOpenFileImpl() 485 return errorToErrorCode(ReadBytes.takeError()); in getOpenFileImpl() 486 if (*ReadBytes == 0) { in getOpenFileImpl() 490 ToRead = ToRead.drop_front(*ReadBytes); in getOpenFileImpl() 491 Offset += *ReadBytes; in getOpenFileImpl()
|
| H A D | Path.cpp | 1183 Expected<size_t> ReadBytes = readNativeFile( in readNativeFileToEOF() local 1185 if (!ReadBytes) in readNativeFileToEOF() 1186 return ReadBytes.takeError(); in readNativeFileToEOF() 1187 if (*ReadBytes == 0) in readNativeFileToEOF() 1189 Size += *ReadBytes; in readNativeFileToEOF()
|
| /llvm-project-15.0.7/lldb/source/Core/ |
| H A D | Address.cpp | 61 static size_t ReadBytes(ExecutionContextScope *exe_scope, in ReadBytes() function 111 success = ReadBytes(exe_scope, address, &buf, byte_size) == byte_size; in ReadUIntMax64() 168 if (ReadBytes(exe_scope, address, &buf[0], buf.size()) == buf.size()) { in DumpUInt() 204 while ((bytes_read = ReadBytes(exe_scope, curr_address, buf, k_buf_len)) > in ReadCStringFromMemory()
|