Home
last modified time | relevance | path

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

/external/llvm-project/clang/tools/libclang/
DCIndexer.cpp53 size_t BufSize = 2048u; in getClangResourcesPathImplAIX() local
56 Buf = std::make_unique<char []>(BufSize); in getClangResourcesPathImplAIX()
58 int Ret = loadquery(L_GETXINFO, Buf.get(), (unsigned int)BufSize); in getClangResourcesPathImplAIX()
65 if ((BufSize & ~((-1u) >> 1u)) != 0u) in getClangResourcesPathImplAIX()
69 BufSize <<= 1u; in getClangResourcesPathImplAIX()
/external/clang/unittests/libclang/
DLibclangTest.cpp62 unsigned BufSize; in ~TestVFO() local
63 clang_VirtualFileOverlay_writeToBuffer(VFO, 0, &BufPtr, &BufSize); in ~TestVFO()
64 std::string BufStr(BufPtr, BufSize); in ~TestVFO()
344 unsigned BufSize; in TEST() local
345 clang_ModuleMapDescriptor_writeToBuffer(MMD, 0, &BufPtr, &BufSize); in TEST()
346 std::string BufStr(BufPtr, BufSize); in TEST()
/external/lzma/CPP/7zip/Common/
DFileStreams.cpp39 BufSize(0), in CInFileStream()
81 if (BufSize > 0 && BufStartPos == alignedPos) in Read()
84 if (pos >= BufSize) in Read()
86 UInt32 rem = MyMin(BufSize - pos, size); in Read()
131 bool result = File.Read1(Buf, readSize, BufSize); in Read()
135 if (BufSize == 0) in Read()
137 PhyPos += BufSize; in Read()
DFileStreams.h52 UInt32 BufSize; variable
/external/llvm-project/compiler-rt/lib/xray/
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()
/external/llvm-project/clang/unittests/libclang/
DLibclangTest.cpp67 unsigned BufSize; in ~TestVFO() local
68 clang_VirtualFileOverlay_writeToBuffer(VFO, 0, &BufPtr, &BufSize); in ~TestVFO()
69 std::string BufStr(BufPtr, BufSize); in ~TestVFO()
349 unsigned BufSize; in TEST() local
350 clang_ModuleMapDescriptor_writeToBuffer(MMD, 0, &BufPtr, &BufSize); in TEST()
351 std::string BufStr(BufPtr, BufSize); in TEST()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DFileOutputBuffer.cpp78 InMemoryBuffer(StringRef Path, MemoryBlock Buf, std::size_t BufSize, in InMemoryBuffer() argument
80 : FileOutputBuffer(Path), Buffer(Buf), BufferSize(BufSize), in InMemoryBuffer()
DPath.cpp963 const size_t BufSize = 4096; in copy_file_internal() local
964 char *Buf = new char[BufSize]; in copy_file_internal()
967 BytesRead = read(ReadFD, Buf, BufSize); in copy_file_internal()
1021 constexpr size_t BufSize = 4096; in md5_contents() local
1022 std::vector<uint8_t> Buf(BufSize); in md5_contents()
1025 BytesRead = read(FD, Buf.data(), BufSize); in md5_contents()
/external/llvm-project/llvm/lib/Support/
DFileOutputBuffer.cpp78 InMemoryBuffer(StringRef Path, MemoryBlock Buf, std::size_t BufSize, in InMemoryBuffer() argument
80 : FileOutputBuffer(Path), Buffer(Buf), BufferSize(BufSize), in InMemoryBuffer()
DPath.cpp990 const size_t BufSize = 4096; in copy_file_internal() local
991 char *Buf = new char[BufSize]; in copy_file_internal()
994 BytesRead = read(ReadFD, Buf, BufSize); in copy_file_internal()
1048 constexpr size_t BufSize = 4096; in md5_contents() local
1049 std::vector<uint8_t> Buf(BufSize); in md5_contents()
1052 BytesRead = read(FD, Buf.data(), BufSize); in md5_contents()
/external/llvm-project/clang-tools-extra/clangd/
DJSONTransport.cpp194 static constexpr int BufSize = 1024; in readLine() local
198 Out.resize(Size + BufSize); in readLine()
201 nullptr, [&] { return std::fgets(&Out[Size], BufSize, In); })) in readLine()
/external/rust/crates/libz-sys/src/zlib/contrib/delphi/
DZLib.pas152 const OutBuf: Pointer; BufSize: Integer);
367 const OutBuf: Pointer; BufSize: Integer);
377 strm.avail_out := BufSize;
/external/libjpeg-turbo/gtest/
Dtjunittest-gtest-wrapper.cpp140 TEST_P(TJUnitTest, BufSize) { in TEST_P() argument
/external/llvm/lib/Support/
DPath.cpp903 const size_t BufSize = 4096; in copy_file() local
904 char *Buf = new char[BufSize]; in copy_file()
907 BytesRead = read(ReadFD, Buf, BufSize); in copy_file()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DPath.cpp905 const size_t BufSize = 4096; in copy_file() local
906 char *Buf = new char[BufSize]; in copy_file()
909 BytesRead = read(ReadFD, Buf, BufSize); in copy_file()
/external/llvm-project/llvm/include/llvm/Frontend/OpenMP/
DOMPIRBuilder.h452 llvm::Value *BufSize, llvm::Value *CpyBuf,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Unix/
DPath.inc477 size_t BufSize = 2048u;
481 Buf = std::make_unique<char[]>(BufSize);
482 Ret = mntctl(MCTL_QUERY, BufSize, Buf.get());
485 BufSize = *reinterpret_cast<unsigned int *>(Buf.get());
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DStdLibraryFunctionsChecker.cpp283 BufferSizeConstraint(ArgNo Buffer, ArgNo BufSize) in BufferSizeConstraint() argument
284 : ValueConstraint(Buffer), SizeArgN(BufSize) {} in BufferSizeConstraint()
285 BufferSizeConstraint(ArgNo Buffer, ArgNo BufSize, ArgNo BufSizeMultiplier) in BufferSizeConstraint() argument
286 : ValueConstraint(Buffer), SizeArgN(BufSize), in BufferSizeConstraint()
/external/llvm-project/llvm/lib/Support/Unix/
DPath.inc497 size_t BufSize = 2048u;
501 Buf = std::make_unique<char[]>(BufSize);
502 Ret = mntctl(MCTL_QUERY, BufSize, Buf.get());
505 BufSize = *reinterpret_cast<unsigned int *>(Buf.get());
/external/llvm-project/llvm/lib/Frontend/OpenMP/
DOMPIRBuilder.cpp1131 llvm::Value *BufSize, llvm::Value *CpyBuf, in createCopyPrivate() argument
1142 Value *Args[] = {Ident, ThreadId, BufSize, CpyBuf, CpyFn, DidItLD}; in createCopyPrivate()
/external/mesa3d/src/imgui/
Dimgui_widgets.cpp3036 if (new_text_len + BufTextLen >= BufSize) in InsertChars()
3049 BufSize = edit_state->BufCapacityA = new_buf_size; in InsertChars()
3532 callback_data.BufSize = edit_state.BufCapacityA; in InputTextEx()
3546 IM_ASSERT(callback_data.BufSize == edit_state.BufCapacityA); in InputTextEx()
3582 callback_data.BufSize = ImMax(buf_size, apply_new_text_length + 1); in InputTextEx()
3586 buf_size = callback_data.BufSize; in InputTextEx()
Dimgui.h1434 …int BufSize; // Buffer size (in bytes) = capacity+1 // Read-only // [Re… member
/external/llvm-project/clang/lib/CodeGen/
DCGOpenMPRuntimeGPU.cpp146 &MappedDeclsFields, int BufSize) { in buildRecordForGlobalizedVars() argument
195 llvm::APInt ArraySize(32, BufSize); in buildRecordForGlobalizedVars()
DCGOpenMPRuntime.cpp2435 llvm::Value *BufSize = CGF.getTypeSize(CopyprivateArrayTy); in emitSingleRegion() local
2443 BufSize, // size_t <buf_size> in emitSingleRegion()
/external/clang/lib/CodeGen/
DCGOpenMPRuntime.cpp2276 auto *BufSize = CGF.getTypeSize(CopyprivateArrayTy); in emitSingleRegion() local
2284 BufSize, // size_t <buf_size> in emitSingleRegion()