Home
last modified time | relevance | path

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

123

/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/llvm/include/llvm/Support/
DMemoryBuffer.h52 size_t getBufferSize() const { return BufferEnd-BufferStart; } in getBufferSize() function
55 return StringRef(BufferStart, getBufferSize()); in getBuffer()
163 size_t getBufferSize() const { return Buffer.size(); } in getBufferSize() function
DFileOutputBuffer.h55 size_t getBufferSize() const { in getBufferSize() function
/external/clang/tools/clang-format/
DClangFormat.cpp110 Source->getBufferSize(), 0); in createInMemoryFile()
161 if (Offsets[i] >= Code->getBufferSize()) { in fillRanges()
170 if (Offsets[i] + Lengths[i] > Code->getBufferSize()) { in fillRanges()
219 if (Code->getBufferSize() == 0) in format()
/external/llvm/lib/ProfileData/
DInstrProfReader.cpp48 if (Buffer->getBufferSize() > std::numeric_limits<unsigned>::max()) in create()
82 if (Buffer->getBufferSize() > std::numeric_limits<unsigned>::max()) in create()
176 if (DataBuffer.getBufferSize() < sizeof(uint64_t)) in hasFormat()
188 if (DataBuffer->getBufferSize() < sizeof(RawHeader)) in readHeader()
307 if (DataBuffer.getBufferSize() < 8) in hasFormat()
DSampleProfReader.cpp330 End = Data + Buffer->getBufferSize(); in readHeader()
367 if (Buffer->getBufferSize() > std::numeric_limits<unsigned>::max()) in setupMemoryBuffer()
/external/jetty/src/java/org/eclipse/jetty/websocket/
DWebSocketFactory.java150 public int getBufferSize() in getBufferSize() method in WebSocketFactory
152 return _buffers.getBufferSize(); in getBufferSize()
162 if (bufferSize != getBufferSize()) in setBufferSize()
DWebSocketBuffers.java61 public int getBufferSize() in getBufferSize() method in WebSocketBuffers
DWebSocketClientFactory.java212 public int getBufferSize() in getBufferSize() method in WebSocketClientFactory
214 return _buffers.getBufferSize(); in getBufferSize()
/external/jsilver/src/com/google/clearsilver/jsilver/resourceloader/
DBufferedResourceLoader.java43 public int getBufferSize() { in getBufferSize() method in BufferedResourceLoader
/external/llvm/unittests/Support/
DMemoryBufferTest.cpp195 EXPECT_EQ(0x4000UL, MB.get()->getBufferSize()); in TEST_F()
210 EXPECT_EQ(0x3000UL, MB2.get()->getBufferSize()); in TEST_F()
/external/jetty/src/java/org/eclipse/jetty/http/gzip/
DAbstractCompressedStream.java312 if (lengthToWrite>_wrapper.getBufferSize()) in checkOut()
324 _out = _bOut = new ByteArrayOutputStream2(_wrapper.getBufferSize()); in checkOut()
/external/deqp/modules/glshared/
DglsTextureBufferCase.cpp434 genRandomCoords(rng, data, 0, texture.getBufferSize()); in modifyBufferData()
448 …minSize, size_t((texture.getSize() != 0 ? texture.getSize() : texture.getBufferSize()) * (0.7 + 0.… in modifyBufferSubData()
450 …const size_t offset = minOffset + (rng.getUint32() % (texture.getBufferSize() - (size + minOff… in modifyBufferSubData()
471 …minSize, size_t((texture.getSize() != 0 ? texture.getSize() : texture.getBufferSize()) * (0.7 + 0.… in modifyMapWrite()
473 …const size_t offset = minOffset + (rng.getUint32() % (texture.getBufferSize() - (size + minOff… in modifyMapWrite()
505 …minSize, size_t((texture.getSize() != 0 ? texture.getSize() : texture.getBufferSize()) * (0.7 + 0.… in modifyMapReadWrite()
507 …const size_t offset = minOffset + (rng.getUint32() % (texture.getBufferSize() - (size + minOff… in modifyMapReadWrite()
/external/clang/lib/Index/
DSimpleFormatContext.h51 Files.getVirtualFile(Name, Source->getBufferSize(), 0); in createInMemoryFile()
/external/jetty/src/java/org/eclipse/jetty/io/
DAbstractBuffers.java46 public int getBufferSize() in getBufferSize() method in AbstractBuffers
DThreadLocalBuffers.java124 return "{{"+getHeaderSize()+","+getBufferSize()+"}}"; in toString()
DPooledBuffers.java74 if (_otherBuffers && size==getBufferSize()) in getBuffer()
/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/Tooling/
DRewriterTestContext.h54 Files.getVirtualFile(Name, Source->getBufferSize(), 0); in createInMemoryFile()
/external/clang/unittests/Basic/
DSourceManagerTest.cpp195 HeaderBuf->getBufferSize(), 0); in TEST_F()
293 HeaderBuf->getBufferSize(), 0); in TEST_F()
/external/clang/lib/Lex/
DHeaderMap.cpp163 if (StrTabIdx >= FileBuffer->getBufferSize()) in getString()
/external/llvm/lib/ExecutionEngine/
DGDBRegistrationListener.cpp170 size_t Size = DebugObj.getBinary()->getMemoryBufferRef().getBufferSize(); in NotifyObjectEmitted()
/external/llvm/lib/Object/
DMachOUniversal.cpp109 if (Data.getBufferSize() < sizeof(MachO::fat_header)) { in MachOUniversalBinary()

123