Home
last modified time | relevance | path

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

12

/external/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/Object/
DObjectFile.cpp31 if (!Object || Object->getBufferSize() < 64) in createObjectFile()
34 static_cast<unsigned>(Object->getBufferSize())); in createObjectFile()
DBinary.cpp48 if (Source->getBufferSize() < 64) in createBinary()
51 static_cast<unsigned>(Source->getBufferSize())); in createBinary()
DArchive.cpp179 if (!source || source->getBufferSize() in Archive()
DMachOObject.cpp114 if (Buffer->getBufferSize() < HeaderSize) { in LoadFromBuffer()
/external/llvm/include/llvm/Support/
DMemoryBuffer.h50 size_t getBufferSize() const { return BufferEnd-BufferStart; } in getBufferSize() function
53 return StringRef(BufferStart, getBufferSize()); in getBuffer()
/external/jsilver/src/com/google/clearsilver/jsilver/resourceloader/
DBufferedResourceLoader.java43 public int getBufferSize() { in getBufferSize() method in BufferedResourceLoader
/external/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()
DArchiveReader.cpp243 if (mapfile->getBufferSize() < 8 || memcmp(base, ARFILE_MAGIC, 8)) { in checkSignature()
/external/llvm/lib/Transforms/Instrumentation/
DFunctionBlackList.cpp41 size_t DataLen = Buff->getBufferSize(); in FunctionBlackList()
/external/clang/unittests/Basic/
DSourceManagerTest.cpp130 headerBuf->getBufferSize(), 0); in TEST_F()
227 headerBuf->getBufferSize(), 0); in TEST_F()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DGDBRegistrar.cpp130 size_t Size = Object.getBufferSize(); in registerObject()
DRuntimeDyld.cpp436 static_cast<unsigned>(InputBuffer->getBufferSize())); in loadObject()
/external/clang/lib/ARCMigrate/
DFileRemapper.cpp157 newOut.write(mem->getBufferStart(), mem->getBufferSize()); in flushToFile()
197 Out.write(mem->getBufferStart(), mem->getBufferSize()); in overwriteOriginal()
/external/clang/lib/Lex/
DHeaderMap.cpp167 if (StrTabIdx >= FileBuffer->getBufferSize()) in getString()
/external/llvm/lib/Linker/
DLinkItems.cpp167 if (!Buffer->getBufferSize()) { in LinkInFile()
/external/clang/lib/Basic/
DSourceManager.cpp47 return Buffer.getPointer() ? Buffer.getPointer()->getBufferSize() : 0; in getSizeBytesMapped()
68 return Buffer.getPointer() ? (unsigned) Buffer.getPointer()->getBufferSize() in getSize()
135 if (getRawBuffer()->getBufferSize() != (size_t)ContentsEntry->getSize()) { in getBuffer()
998 if (FilePos >= MemBuf->getBufferSize()) { in getColumnNumber()
1591 unsigned Size = Content->getBuffer(Diag, *this)->getBufferSize(); in translateLineCol()
1600 unsigned BufLength = Buffer->getBufferSize() - FilePos; in translateLineCol()
/external/llvm/tools/llvm-bcanalyzer/
Dllvm-bcanalyzer.cpp483 if (MemBuf->getBufferSize() & 3) in AnalyzeBitcode()
487 const unsigned char *EndBufPtr = BufPtr+MemBuf->getBufferSize(); in AnalyzeBitcode()
/external/clang/lib/Serialization/
DModuleManager.cpp94 Buffer->getBufferSize(), 0); in addInMemoryBuffer()
/external/llvm/utils/FileCheck/
DFileCheck.cpp464 NewFile.reserve(MB->getBufferSize()); in CanonicalizeInputFile()
670 if (F->getBufferSize() == 0) { in main()
/external/clang/lib/Frontend/
DASTUnit.cpp692 memBuf->getBufferSize(), in LoadFromASTFile()
1284 Old->getBufferStart(), Old->getBufferSize()); in CreatePaddedMainFileBuffer()
1285 memset(const_cast<char*>(Result->getBufferStart()) + Old->getBufferSize(), in CreatePaddedMainFileBuffer()
1286 ' ', NewSize - Old->getBufferSize() - 1); in CreatePaddedMainFileBuffer()
1350 NewPreamble.first->getBufferSize() < PreambleReservedSize-2 && in getMainBufferWithPrecompiledPreamble()
1385 OverriddenFiles[R->first] = std::make_pair(R->second->getBufferSize(), in getMainBufferWithPrecompiledPreamble()
1473 PreambleReservedSize = NewPreamble.first->getBufferSize(); in getMainBufferWithPrecompiledPreamble()
DChainedIncludesSource.cpp126 serialBufs[si]->getBufferSize()))); in create()
/external/llvm/lib/Support/
DMemoryBuffer.cpp189 size_t Size = getBufferSize(); in ~MemoryBufferMMapFile()
/external/clang/lib/Tooling/
DTooling.cpp230 It->getKey(), Input->getBufferSize(), 0); in addFileMappingsTo()
/external/llvm/tools/lto/
DLTOCodeGenerator.cpp207 *length = _nativeObjectFile->getBufferSize(); in compile()

12