/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/ |
D | MemoryBufferTest.cpp | 207 EXPECT_EQ(0x4000UL, MB.get()->getBufferSize()); in TEST_F() 222 EXPECT_EQ(0x3000UL, MB2.get()->getBufferSize()); in TEST_F() 250 ASSERT_EQ(0x6000u, MB.getBufferSize()); in TEST_F() 252 ASSERT_EQ(MB.getBufferEnd(), MB.getBufferStart() + MB.getBufferSize()); in TEST_F() 253 ::memset(Start, 'x', MB.getBufferSize()); in TEST_F() 259 ASSERT_EQ(0x10000u, MB.getBufferSize()); in TEST_F() 260 for (size_t i = 0; i < MB.getBufferSize(); i += 0x10) in TEST_F() 280 ASSERT_EQ(16u, MB.getBufferSize()); in TEST_F() 282 ASSERT_EQ(MB.getBufferEnd(), MB.getBufferStart() + MB.getBufferSize()); in TEST_F() 283 ::memset(Start, 'x', MB.getBufferSize()); in TEST_F() [all …]
|
D | FileOutputBufferTest.cpp | 152 ASSERT_EQ(10U, Buffer->getBufferSize()); in TEST() 165 ASSERT_EQ(10U, Buffer->getBufferSize()); in TEST()
|
/external/swiftshader/third_party/LLVM/utils/FileUpdate/ |
D | FileUpdate.cpp | 59 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/clang/lib/Lex/ |
D | HeaderMap.cpp | 67 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/lib/Support/ |
D | LineIterator.cpp | 37 : 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()
|
D | FileUtilities.cpp | 202 uint64_t A_size = F1.getBufferSize(); in DiffFilesWithTolerance() 203 uint64_t B_size = F2.getBufferSize(); in DiffFilesWithTolerance()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | LineIterator.cpp | 37 : 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()
|
D | FileUtilities.cpp | 206 uint64_t A_size = F1.getBufferSize(); in DiffFilesWithTolerance() 207 uint64_t B_size = F2.getBufferSize(); in DiffFilesWithTolerance()
|
D | FileOutputBuffer.cpp | 47 size_t getBufferSize() const override { return Buffer->size(); } in getBufferSize() function in __anonff73c5010111::OnDiskBuffer 82 size_t getBufferSize() const override { return Buffer.size(); } in getBufferSize() function in __anonff73c5010111::InMemoryBuffer
|
/external/llvm/include/llvm/Support/ |
D | MemoryBuffer.h | 51 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
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | MemoryBuffer.h | 57 size_t getBufferSize() const { return BufferEnd-BufferStart; } in getBufferSize() function 60 return StringRef(BufferStart, getBufferSize()); in getBuffer() 175 size_t getBufferSize() const { return Buffer.size(); } in getBufferSize() function
|
/external/swiftshader/third_party/LLVM/lib/Object/ |
D | ObjectFile.cpp | 29 if (!Object || Object->getBufferSize() < 64) in createObjectFile() 32 static_cast<unsigned>(Object->getBufferSize())); in createObjectFile()
|
D | Binary.cpp | 48 if (Source->getBufferSize() < 64) in createBinary() 51 static_cast<unsigned>(Source->getBufferSize())); in createBinary()
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | MemoryBuffer.h | 50 size_t getBufferSize() const { return BufferEnd-BufferStart; } in getBufferSize() function 53 return StringRef(BufferStart, getBufferSize()); in getBuffer()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | MemoryBuffer.h | 62 size_t getBufferSize() const { return BufferEnd-BufferStart; } in getBufferSize() function 65 return StringRef(BufferStart, getBufferSize()); in getBuffer() 279 size_t getBufferSize() const { return Buffer.size(); } in getBufferSize() function
|
D | FileOutputBuffer.h | 62 virtual size_t getBufferSize() const = 0;
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/PDB/Native/ |
D | PDBFileBuilder.cpp | 179 IS.Content->getBufferSize())); in finalizeMsfLayout() 184 Entry.FileSize = IS.Content->getBufferSize(); in finalizeMsfLayout() 203 SN = allocateNamedStream(IS.StreamName, IS.Content->getBufferSize()); in finalizeMsfLayout() 259 assert(SourceWriter.bytesRemaining() == IS.Content->getBufferSize()); in commitInjectedSources()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/ |
D | InstrProfReader.cpp | 64 if (uint64_t(Buffer->getBufferSize()) > std::numeric_limits<unsigned>::max()) in create() 67 if (Buffer->getBufferSize() == 0) in create() 102 if (uint64_t(Buffer->getBufferSize()) > std::numeric_limits<unsigned>::max()) in create() 128 size_t count = std::min(Buffer.getBufferSize(), sizeof(uint64_t)); in hasFormat() 278 if (DataBuffer.getBufferSize() < sizeof(uint64_t)) in hasFormat() 290 if (DataBuffer->getBufferSize() < sizeof(RawInstrProf::Header)) in readHeader() 593 if (DataBuffer.getBufferSize() < 8) in hasFormat()
|
/external/llvm/lib/ProfileData/ |
D | InstrProfReader.cpp | 46 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/clang/tools/clang-format/ |
D | ClangFormat.cpp | 176 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/swiftshader/third_party/LLVM/lib/Archive/ |
D | ArchiveWriter.cpp | 228 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/jsilver/src/com/google/clearsilver/jsilver/resourceloader/ |
D | BufferedResourceLoader.java | 43 public int getBufferSize() { in getBufferSize() method in BufferedResourceLoader
|
/external/llvm/unittests/Support/ |
D | MemoryBufferTest.cpp | 202 EXPECT_EQ(0x4000UL, MB.get()->getBufferSize()); in TEST_F() 217 EXPECT_EQ(0x3000UL, MB2.get()->getBufferSize()); in TEST_F()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/FuzzMutate/ |
D | FuzzerCLI.cpp | 163 errs() << "Running: " << Arg << " (" << Buf->getBufferSize() << " bytes)\n"; in runFuzzerOnInputs() 165 Buf->getBufferSize()); in runFuzzerOnInputs()
|
/external/deqp/modules/glshared/ |
D | glsTextureBufferCase.cpp | 428 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()
|