Home
last modified time | relevance | path

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

1234

/external/swiftshader/third_party/LLVM/utils/FileUpdate/
DFileUpdate.cpp59 if (Out && In->getBufferSize() == Out->getBufferSize() && in main()
61 Out->getBufferSize()) == 0) { in main()
81 OutStream.os().write(In->getBufferStart(), In->getBufferSize()); in main()
/external/llvm/lib/Support/
DLineIterator.cpp37 : Buffer(Buffer.getBufferSize() ? &Buffer : nullptr), in line_iterator()
39 CurrentLine(Buffer.getBufferSize() ? Buffer.getBufferStart() : nullptr, in line_iterator()
43 if (Buffer.getBufferSize()) { in line_iterator()
DFileUtilities.cpp202 uint64_t A_size = F1.getBufferSize(); in DiffFilesWithTolerance()
203 uint64_t B_size = F2.getBufferSize(); in DiffFilesWithTolerance()
/external/clang/lib/Lex/
DHeaderMap.cpp67 if (File.getBufferSize() <= sizeof(HMapHeader)) in checkHeader()
95 if (File.getBufferSize() < in checkHeader()
129 assert(FileBuffer->getBufferSize() >= in getBucket()
153 if (StrTabIdx >= FileBuffer->getBufferSize()) in getString()
157 unsigned MaxLen = FileBuffer->getBufferSize() - StrTabIdx; in getString()
/external/llvm/include/llvm/Support/
DMemoryBuffer.h51 size_t getBufferSize() const { return BufferEnd-BufferStart; } in getBufferSize() function
54 return StringRef(BufferStart, getBufferSize()); in getBuffer()
165 size_t getBufferSize() const { return Buffer.size(); } in getBufferSize() function
DFileOutputBuffer.h55 size_t getBufferSize() const { in getBufferSize() function
/external/swiftshader/third_party/LLVM/lib/Object/
DObjectFile.cpp29 if (!Object || Object->getBufferSize() < 64) in createObjectFile()
32 static_cast<unsigned>(Object->getBufferSize())); in createObjectFile()
DBinary.cpp48 if (Source->getBufferSize() < 64) in createBinary()
51 static_cast<unsigned>(Source->getBufferSize())); in createBinary()
DArchive.cpp139 if (!source || source->getBufferSize() in Archive()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DMemoryBuffer.h50 size_t getBufferSize() const { return BufferEnd-BufferStart; } in getBufferSize() function
53 return StringRef(BufferStart, getBufferSize()); in getBuffer()
/external/llvm/lib/ProfileData/
DInstrProfReader.cpp46 if (Buffer->getBufferSize() > std::numeric_limits<unsigned>::max()) in create()
82 if (Buffer->getBufferSize() > std::numeric_limits<unsigned>::max()) in create()
108 size_t count = std::min(Buffer.getBufferSize(), sizeof(uint64_t)); in hasFormat()
255 if (DataBuffer.getBufferSize() < sizeof(uint64_t)) in hasFormat()
267 if (DataBuffer->getBufferSize() < sizeof(RawInstrProf::Header)) in readHeader()
567 if (DataBuffer.getBufferSize() < 8) in hasFormat()
/external/swiftshader/src/Reactor/
DRoutine.hpp36 int getBufferSize();
DRoutine.cpp65 int Routine::getBufferSize() in getBufferSize() function in sw::Routine
/external/clang/tools/clang-format/
DClangFormat.cpp176 if (Offsets[i] >= Code->getBufferSize()) { in fillRanges()
184 if (Offsets[i] + Lengths[i] > Code->getBufferSize()) { in fillRanges()
248 if (Code->getBufferSize() == 0) in format()
/external/jsilver/src/com/google/clearsilver/jsilver/resourceloader/
DBufferedResourceLoader.java43 public int getBufferSize() { in getBufferSize() method in BufferedResourceLoader
/external/swiftshader/third_party/LLVM/lib/Archive/
DArchiveWriter.cpp228 fSize = mFile->getBufferSize(); in writeMember()
357 if (members.empty() && mapfile && mapfile->getBufferSize() > 8) { in writeToDisk()
462 arch->getBufferSize()-sizeof(ARFILE_MAGIC)+1); in writeToDisk()
/external/llvm/unittests/Support/
DMemoryBufferTest.cpp202 EXPECT_EQ(0x4000UL, MB.get()->getBufferSize()); in TEST_F()
217 EXPECT_EQ(0x3000UL, MB2.get()->getBufferSize()); in TEST_F()
/external/deqp/modules/glshared/
DglsTextureBufferCase.cpp428 genRandomCoords(rng, data, 0, texture.getBufferSize()); in modifyBufferData()
447 …, size_t((float)(texture.getSize() != 0 ? texture.getSize() : texture.getBufferSize()) * (0.7f + 0… in modifyBufferSubData()
449 …const size_t offset = minOffset + (rng.getUint32() % (texture.getBufferSize() - (size + minOff… in modifyBufferSubData()
470 …, size_t((float)(texture.getSize() != 0 ? texture.getSize() : texture.getBufferSize()) * (0.7f + 0… in modifyMapWrite()
472 …const size_t offset = minOffset + (rng.getUint32() % (texture.getBufferSize() - (size + minOff… in modifyMapWrite()
504 …, size_t((float)(texture.getSize() != 0 ? texture.getSize() : texture.getBufferSize()) * (0.7f + 0… in modifyMapReadWrite()
506 …const size_t offset = minOffset + (rng.getUint32() % (texture.getBufferSize() - (size + minOff… in modifyMapReadWrite()
/external/llvm/tools/lto/
Dlto.cpp415 *length = CG->NativeObjectFile->getBufferSize(); in lto_codegen_compile()
431 *length = CG->NativeObjectFile->getBufferSize(); in lto_codegen_compile_optimized()
485 MemBuffer->getBufferSize()}; in thinlto_module_get_object()
/external/clang/lib/ARCMigrate/
DFileRemapper.cpp153 newOut.write(mem->getBufferStart(), mem->getBufferSize()); in flushToFile()
184 Out.write(mem->getBufferStart(), mem->getBufferSize()); in overwriteOriginal()
/external/sonic/
DMain.java33 int bufferSize = line.getBufferSize(); in runSonic()
/external/clang/unittests/Basic/
DSourceManagerTest.cpp197 HeaderBuf->getBufferSize(), 0); in TEST_F()
297 HeaderBuf->getBufferSize(), 0); in TEST_F()
/external/swiftshader/src/Renderer/
DRoutineCache.hpp114 int size = routine->getBufferSize(); in ~RoutineCache()
/external/swiftshader/third_party/LLVM/lib/Linker/
DLinkItems.cpp167 if (!Buffer->getBufferSize()) { in LinkInFile()
/external/llvm/lib/ExecutionEngine/
DGDBRegistrationListener.cpp170 size_t Size = DebugObj.getBinary()->getMemoryBufferRef().getBufferSize(); in NotifyObjectEmitted()

1234