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.cpp185 ssize_t ReadBytes; in getRandom() local
191 ReadBytes = in getRandom()
193 if (ReadBytes == static_cast<ssize_t>(Length)) in getRandom()
201 ReadBytes = read(FileDesc, Buffer, Length); in getRandom()
203 return (ReadBytes == static_cast<ssize_t>(Length)); in getRandom()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPrintfRuntimeBinding.cpp361 uint64_t ReadBytes = 0; in lowerPrintfForGpu() local
365 ReadBytes = Extractor.getU8(Offset); in lowerPrintfForGpu()
368 ReadBytes = Extractor.getU16(Offset); in lowerPrintfForGpu()
371 ReadBytes = Extractor.getU24(Offset); in lowerPrintfForGpu()
374 ReadBytes = Extractor.getU32(Offset); in lowerPrintfForGpu()
381 APInt IntVal(8 * ReadSize, ReadBytes); in lowerPrintfForGpu()
/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/llvm/lib/Support/
H A DMemoryBuffer.cpp538 Expected<size_t> ReadBytes = in getOpenFileImpl() local
540 if (!ReadBytes) in getOpenFileImpl()
541 return errorToErrorCode(ReadBytes.takeError()); in getOpenFileImpl()
542 if (*ReadBytes == 0) { in getOpenFileImpl()
546 ToRead = ToRead.drop_front(*ReadBytes); in getOpenFileImpl()
547 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()
/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()
169 if (ReadBytes(exe_scope, address, &buf[0], buf.size()) == buf.size()) { in DumpUInt()
205 while ((bytes_read = ReadBytes(exe_scope, curr_address, buf, k_buf_len)) > in ReadCStringFromMemory()