Home
last modified time | relevance | path

Searched refs:ReadBytes (Results 1 – 5 of 5) sorted by relevance

/openbsd-src/gnu/llvm/compiler-rt/lib/scudo/standalone/
H A Dlinux.cpp159 ssize_t ReadBytes; in getRandom() local
165 ReadBytes = in getRandom()
167 if (ReadBytes == static_cast<ssize_t>(Length)) in getRandom()
175 ReadBytes = read(FileDesc, Buffer, Length); in getRandom()
177 return (ReadBytes == static_cast<ssize_t>(Length)); in getRandom()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUPrintfRuntimeBinding.cpp398 uint64_t ReadBytes = 0; in lowerPrintfForGpu() local
402 ReadBytes = Extractor.getU8(Offset); in lowerPrintfForGpu()
405 ReadBytes = Extractor.getU16(Offset); in lowerPrintfForGpu()
408 ReadBytes = Extractor.getU24(Offset); in lowerPrintfForGpu()
411 ReadBytes = Extractor.getU32(Offset); in lowerPrintfForGpu()
418 APInt IntVal(8 * ReadSize, ReadBytes); in lowerPrintfForGpu()
/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DMemoryBuffer.cpp503 Expected<size_t> ReadBytes = in getOpenFileImpl() local
505 if (!ReadBytes) in getOpenFileImpl()
506 return errorToErrorCode(ReadBytes.takeError()); in getOpenFileImpl()
507 if (*ReadBytes == 0) { in getOpenFileImpl()
511 ToRead = ToRead.drop_front(*ReadBytes); in getOpenFileImpl()
512 Offset += *ReadBytes; in getOpenFileImpl()
H A DPath.cpp1183 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()
/openbsd-src/gnu/llvm/lldb/source/Core/
H A DAddress.cpp61 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()