Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dlinux.cpp182 ssize_t ReadBytes; in getRandom() local
188 ReadBytes = in getRandom()
190 if (ReadBytes == static_cast<ssize_t>(Length)) in getRandom()
198 ReadBytes = read(FileDesc, Buffer, Length); in getRandom()
200 return (ReadBytes == static_cast<ssize_t>(Length)); in getRandom()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPrintfRuntimeBinding.cpp365 uint64_t ReadBytes = 0; in lowerPrintfForGpu() local
369 ReadBytes = Extractor.getU8(Offset); in lowerPrintfForGpu()
372 ReadBytes = Extractor.getU16(Offset); in lowerPrintfForGpu()
375 ReadBytes = Extractor.getU24(Offset); in lowerPrintfForGpu()
378 ReadBytes = Extractor.getU32(Offset); in lowerPrintfForGpu()
385 APInt IntVal(8 * ReadSize, ReadBytes); in lowerPrintfForGpu()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DMemoryBuffer.cpp508 Expected<size_t> ReadBytes = in getOpenFileImpl() local
510 if (!ReadBytes) in getOpenFileImpl()
511 return errorToErrorCode(ReadBytes.takeError()); in getOpenFileImpl()
512 if (*ReadBytes == 0) { in getOpenFileImpl()
516 ToRead = ToRead.drop_front(*ReadBytes); in getOpenFileImpl()
517 Offset += *ReadBytes; in getOpenFileImpl()
H A DPath.cpp1185 Expected<size_t> ReadBytes = readNativeFile( in readNativeFileToEOF() local
1187 if (!ReadBytes) in readNativeFileToEOF()
1188 return ReadBytes.takeError(); in readNativeFileToEOF()
1189 if (*ReadBytes == 0) in readNativeFileToEOF()
1191 Size += *ReadBytes; in readNativeFileToEOF()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DAMDGPUEmitPrintf.cpp319 uint64_t ReadBytes = 0; in processConstantStringArg() local
324 ReadBytes = Extractor.getU8(Offset); in processConstantStringArg()
327 ReadBytes = Extractor.getU16(Offset); in processConstantStringArg()
330 ReadBytes = Extractor.getU24(Offset); in processConstantStringArg()
333 ReadBytes = Extractor.getU32(Offset); in processConstantStringArg()
338 APInt IntVal(8 * ReadSize, ReadBytes); in processConstantStringArg()
/freebsd/contrib/llvm-project/lldb/source/Core/
H A DAddress.cpp63 static size_t ReadBytes(ExecutionContextScope *exe_scope, in ReadBytes() function
113 success = ReadBytes(exe_scope, address, &buf, byte_size) == byte_size; in ReadUIntMax64()
170 if (ReadBytes(exe_scope, address, &buf[0], buf.size()) == buf.size()) { in DumpUInt()
206 while ((bytes_read = ReadBytes(exe_scope, curr_address, buf, k_buf_len)) > in ReadCStringFromMemory()