Home
last modified time | relevance | path

Searched refs:BufSize (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dstack_depot.h105 bool isValid(uptr BufSize) const { in isValid() argument
120 if (BufSize < sizeof(StackDepot)) in isValid()
122 BufSize -= sizeof(StackDepot); in isValid()
123 if (BufSize < TabBytes) in isValid()
125 BufSize -= TabBytes; in isValid()
126 if (BufSize < RingBytes) in isValid()
128 return BufSize == RingBytes; in isValid()
/freebsd/contrib/llvm-project/compiler-rt/lib/profile/
H A DInstrProfilingPlatformAIX.c32 size_t BufSize = sizeof(Buf); in FindBinaryId() local
37 RC = loadquery(L_GETXINFO | L_IGNOREUNLOAD, BufPtr, (unsigned int)BufSize); in FindBinaryId()
39 BufSize = 64000; // should be plenty for any program. in FindBinaryId()
40 BufPtr = malloc(BufSize); in FindBinaryId()
42 RC = loadquery(L_GETXINFO | L_IGNOREUNLOAD, BufPtr, (unsigned int)BufSize); in FindBinaryId()
84 if (BufSize != sizeof(Buf) && BufPtr != 0) in FindBinaryId()
/freebsd/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_x86_64.cpp53 static constexpr size_t BufSize = 256; in readValueFromFile() local
54 char Line[BufSize] = {}; in readValueFromFile()
57 std::tie(BytesRead, Success) = retryingReadSome(Fd, Line, Line + BufSize); in readValueFromFile()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DAMDGPUEmitPrintf.cpp233 size_t BufSize = 4; in callBufferedPrintfStart() local
236 BufSize += 8; in callBufferedPrintfStart()
258 BufSize += alignedLen; in callBufferedPrintfStart()
282 BufSize += std::max(AllocSize, 8); in callBufferedPrintfStart()
287 Value *SizeToReserve = ConstantInt::get(Builder.getInt64Ty(), BufSize, false); in callBufferedPrintfStart()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DFileOutputBuffer.cpp78 InMemoryBuffer(StringRef Path, MemoryBlock Buf, std::size_t BufSize, in InMemoryBuffer()
80 : FileOutputBuffer(Path), Buffer(Buf), BufferSize(BufSize), in getBufferStart()
75 InMemoryBuffer(StringRef Path,MemoryBlock Buf,std::size_t BufSize,unsigned Mode) InMemoryBuffer() argument
H A DPath.cpp993 const size_t BufSize = 4096; in copy_file_internal() local
994 char *Buf = new char[BufSize]; in copy_file_internal()
997 BytesRead = read(ReadFD, Buf, BufSize); in copy_file_internal()
1051 constexpr size_t BufSize = 4096; in md5_contents() local
1052 std::vector<uint8_t> Buf(BufSize); in md5_contents()
1055 BytesRead = read(FD, Buf.data(), BufSize); in md5_contents()
/freebsd/contrib/llvm-project/llvm/lib/Support/Unix/
H A DPath.inc524 size_t BufSize = 2048u;
528 Buf = std::make_unique<char[]>(BufSize);
529 Ret = mntctl(MCTL_QUERY, BufSize, Buf.get());
532 BufSize = *reinterpret_cast<unsigned int *>(Buf.get());
679 long BufSize = sysconf(_SC_GETPW_R_SIZE_MAX);
680 if (BufSize <= 0)
681 BufSize = 16384;
682 Buf = std::make_unique<char[]>(BufSize);
686 getpwnam_r(User.c_str(), &Pwd, Buf.get(), BufSize, &Entry);
1353 long BufSize = sysconf(_SC_GETPW_R_SIZE_MAX);
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntimeGPU.cpp115 int BufSize) { in buildRecordForGlobalizedVars() argument
156 if (BufSize > 1) { in buildRecordForGlobalizedVars()
157 llvm::APInt ArraySize(32, BufSize); in buildRecordForGlobalizedVars()
H A DCGOpenMPRuntime.cpp2270 llvm::Value *BufSize = CGF.getTypeSize(CopyprivateArrayTy); in emitSingleRegion() local
2277 BufSize, // size_t <buf_size> in emitSingleRegion()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DStdLibraryFunctionsChecker.cpp478 BufferSizeConstraint(ArgNo Buffer, ArgNo BufSize) in BufferSizeConstraint() argument
479 : ValueConstraint(Buffer), SizeArgN(BufSize) {} in BufferSizeConstraint()
480 BufferSizeConstraint(ArgNo Buffer, ArgNo BufSize, ArgNo BufSizeMultiplier) in BufferSizeConstraint() argument
481 : ValueConstraint(Buffer), SizeArgN(BufSize), in BufferSizeConstraint()
/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/
H A DOMPIRBuilder.h2410 llvm::Value *BufSize, llvm::Value *CpyBuf,
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp5506 llvm::Value *BufSize, llvm::Value *CpyBuf, in createCopyPrivate() argument
5518 Value *Args[] = {Ident, ThreadId, BufSize, CpyBuf, CpyFn, DidItLD}; in createCopyPrivate()