/external/llvm-project/llvm/unittests/Support/ |
D | MemoryBufferTest.cpp | 291 EXPECT_EQ(0x4000UL, MB.get()->getBufferSize()); in TEST_F() 306 EXPECT_EQ(0x3000UL, MB2.get()->getBufferSize()); in TEST_F() 334 ASSERT_EQ(0x6000u, MB.getBufferSize()); in TEST_F() 336 ASSERT_EQ(MB.getBufferEnd(), MB.getBufferStart() + MB.getBufferSize()); in TEST_F() 337 ::memset(Start, 'x', MB.getBufferSize()); in TEST_F() 343 ASSERT_EQ(0x10000u, MB.getBufferSize()); in TEST_F() 344 for (size_t i = 0; i < MB.getBufferSize(); i += 0x10) in TEST_F() 364 ASSERT_EQ(16u, MB.getBufferSize()); in TEST_F() 366 ASSERT_EQ(MB.getBufferEnd(), MB.getBufferStart() + MB.getBufferSize()); in TEST_F() 367 ::memset(Start, 'x', MB.getBufferSize()); in TEST_F() [all …]
|
/external/angle/src/libANGLE/renderer/d3d/ |
D | IndexBuffer.cpp | 58 unsigned int IndexBufferInterface::getBufferSize() const in getBufferSize() function in rx::IndexBufferInterface 60 return mIndexBuffer->getBufferSize(); in getBufferSize() 127 if (mIndexBuffer->getBufferSize() == 0) in setBufferSize() 147 unsigned int curBufferSize = getBufferSize(); in reserveBufferSpace() 173 unsigned int curSize = getBufferSize(); in reserveBufferSpace()
|
D | VertexBuffer.h | 59 virtual unsigned int getBufferSize() const = 0; 88 unsigned int getBufferSize() const; 89 bool empty() const { return getBufferSize() == 0; } in empty()
|
D | VertexBuffer.cpp | 77 unsigned int VertexBufferInterface::getBufferSize() const in getBufferSize() function in rx::VertexBufferInterface 80 return mVertexBuffer->getBufferSize(); in getBufferSize() 86 if (mVertexBuffer->getBufferSize() == 0) in setBufferSize() 151 unsigned int curBufferSize = getBufferSize(); in reserveSpace()
|
D | IndexBuffer.h | 46 virtual unsigned int getBufferSize() const = 0; 72 unsigned int getBufferSize() const;
|
D | BufferD3D.cpp | 120 currentTotalSize += staticBuffer->getBufferSize(); in getStaticVertexBuffer() 147 if (mStaticIndexBuffer && mStaticIndexBuffer->getBufferSize() != 0) in invalidateStaticData()
|
/external/OpenCL-CTS/test_conformance/half/ |
D | cl_utils.cpp | 133 gIn_half = malloc( getBufferSize(device)/2 ); in InitCL() 138 gOut_single = malloc( getBufferSize(device) ); in InitCL() 139 gOut_single_reference = malloc( getBufferSize(device) ); in InitCL() 155 …gInBuffer_half = clCreateBuffer(gContext, CL_MEM_READ_ONLY, getBufferSize(device) / 2, NULL, &erro… in InitCL() 183 …gOutBuffer_single = clCreateBuffer(gContext, CL_MEM_WRITE_ONLY, getBufferSize(device), NULL, &erro… in InitCL() 191 …gOutBuffer_double = clCreateBuffer(gContext, CL_MEM_WRITE_ONLY, (size_t)(2*getBufferSize(device)),… in InitCL() 383 size_t getBufferSize(cl_device_id device_id) in getBufferSize() function 435 cl_ulong tmp = getBufferSize(device_id); in getBufferCount()
|
D | test_config.h | 32 extern size_t getBufferSize(cl_device_id device_id);
|
/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()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | LineIterator.cpp | 36 : Buffer(Buffer.getBufferSize() ? &Buffer : nullptr), in line_iterator() 38 CurrentLine(Buffer.getBufferSize() ? Buffer.getBufferStart() : nullptr, in line_iterator() 42 if (Buffer.getBufferSize()) { in line_iterator()
|
D | FileOutputBuffer.cpp | 46 size_t getBufferSize() const override { return Buffer->size(); } in getBufferSize() function in __anonf30c80d20111::OnDiskBuffer 89 size_t getBufferSize() const override { return BufferSize; } in getBufferSize() function in __anonf30c80d20111::InMemoryBuffer
|
/external/llvm-project/llvm/lib/Support/ |
D | LineIterator.cpp | 40 : Buffer(Buffer.getBufferSize() ? Optional<MemoryBufferRef>(Buffer) : None), in line_iterator() 42 CurrentLine(Buffer.getBufferSize() ? Buffer.getBufferStart() : nullptr, in line_iterator() 46 if (Buffer.getBufferSize()) { in line_iterator()
|
D | FileOutputBuffer.cpp | 46 size_t getBufferSize() const override { return Buffer->size(); } in getBufferSize() function in __anon6d17b15e0111::OnDiskBuffer 89 size_t getBufferSize() const override { return BufferSize; } in getBufferSize() function in __anon6d17b15e0111::InMemoryBuffer
|
/external/llvm-project/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/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/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/llvm-project/flang/lib/Parser/ |
D | source.cpp | 45 llvm::StringRef content{buf_->getBufferStart(), buf_->getBufferSize()}; in IdentifyPayload() 135 llvm::WritableMemoryBuffer::getNewUninitMemBuffer(inbuf->getBufferSize()); in ReadStandardInput() 145 if (content().size() >= buf_->getBufferSize()) { in ReadFile()
|
/external/llvm-project/lld/lib/ReaderWriter/MachO/ |
D | SectCreateFile.h | 35 uint64_t size() const override { return _content->getBufferSize(); } in size() 50 return ArrayRef<uint8_t>(data, _content->getBufferSize()); in rawContent()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | MemoryBuffer.h | 61 size_t getBufferSize() const { return BufferEnd-BufferStart; } in getBufferSize() function 64 return StringRef(BufferStart, getBufferSize()); in getBuffer() 278 size_t getBufferSize() const { return Buffer.size(); } in getBufferSize() function
|
/external/llvm-project/clang/unittests/Basic/ |
D | SourceManagerTest.cpp | 171 FileMgr.getVirtualFile("/mainFile.cpp", Buf->getBufferSize(), 0); in TEST_F() 175 FileMgr.getVirtualFile("/test-header.h", HeaderBuf->getBufferSize(), 0); in TEST_F() 291 HeaderBuf->getBufferSize(), 0); in TEST_F() 415 HeaderBuf->getBufferSize(), 0); in TEST_F() 500 FileMgr.getVirtualFile("mainFile.cpp", Buf->getBufferSize(), 0); in TEST_F() 506 FileMgr.getVirtualFile("file2.cpp", Buf2->getBufferSize(), 0); in TEST_F()
|
/external/llvm-project/compiler-rt/lib/scudo/standalone/tests/ |
D | release_test.cpp | 25 EXPECT_EQ(sizeof(scudo::uptr), Counters2N.getBufferSize()); in TEST() 28 EXPECT_EQ(sizeof(scudo::uptr), Counters2N1_1.getBufferSize()); in TEST() 33 Counters.getBufferSize()); in TEST()
|
/external/scudo/standalone/tests/ |
D | release_test.cpp | 25 EXPECT_EQ(sizeof(scudo::uptr), Counters2N.getBufferSize()); in TEST() 28 EXPECT_EQ(sizeof(scudo::uptr), Counters2N1_1.getBufferSize()); in TEST() 33 Counters.getBufferSize()); in TEST()
|
/external/llvm-project/lldb/source/Utility/ |
D | DataBufferLLVM.cpp | 35 return Buffer->getBufferSize(); in GetByteSize()
|
/external/llvm-project/llvm/include/llvm/Support/ |
D | MemoryBuffer.h | 67 size_t getBufferSize() const { return BufferEnd-BufferStart; } in getBufferSize() function 70 return StringRef(BufferStart, getBufferSize()); in getBuffer()
|