Home
last modified time | relevance | path

Searched refs:m_Blocks (Results 1 – 7 of 7) sorted by relevance

/external/pdfium/core/fxcrt/
Dcfx_memorystream.cpp34 m_Blocks.push_back(pBuffer); in CFX_MemoryStream()
39 for (uint8_t* pBlock : m_Blocks) in ~CFX_MemoryStream()
75 memcpy(buffer, m_Blocks[0] + static_cast<size_t>(offset), size); in ReadBlock()
83 memcpy(buffer, m_Blocks[nStartBlock] + offset, nRead); in ReadBlock()
118 if (m_Blocks.empty()) in WriteBlock()
119 m_Blocks.push_back(FX_Alloc(uint8_t, m_nTotalSize)); in WriteBlock()
121 m_Blocks[0] = FX_Realloc(uint8_t, m_Blocks[0], m_nTotalSize); in WriteBlock()
124 memcpy(m_Blocks[0] + offset, buffer, size); in WriteBlock()
142 memcpy(m_Blocks[nStartBlock] + offset, buffer, nWrite); in WriteBlock()
153 if (m_Blocks.empty()) { in EstimateSize()
[all …]
Dcfx_memorystream.h34 return !m_Blocks.empty() ? m_Blocks.front() : nullptr; in GetBuffer()
48 std::vector<uint8_t*> m_Blocks; variable
/external/pdfium/xfa/fxfa/
Dcxfa_textlayout.cpp281 m_Blocks.clear(); in StartLayout()
306 int32_t iBlockCount = pdfium::CollectionSize<int32_t>(m_Blocks); in DoLayout()
332 iLineIndex = m_Blocks[iBlockIndex * 2]; in DoLayout()
334 iLineIndex = m_Blocks[iBlockCount - 1] + m_Blocks[iBlockCount - 2]; in DoLayout()
351 m_Blocks[iBlockIndex * 2] = iLineIndex; in DoLayout()
352 m_Blocks[iBlockIndex * 2 + 1] = i - iLineIndex; in DoLayout()
354 m_Blocks.push_back(iLineIndex); in DoLayout()
355 m_Blocks.push_back(i - iLineIndex); in DoLayout()
378 int32_t iCount = pdfium::CollectionSize<int32_t>(m_Blocks) / 2; in CountBlocks()
430 int32_t iCount = pdfium::CollectionSize<int32_t>(m_Blocks); in Layout()
[all …]
Dcxfa_textlayout.h58 std::vector<int32_t> m_Blocks; variable
Dcxfa_fftext.cpp81 pTextLayout->m_Blocks.clear(); in PerformLayout()
/external/skia/third_party/vulkanmemoryallocator/include/
Dvk_mem_alloc.h4166 bool IsEmpty() const { return m_Blocks.empty(); } in IsEmpty()
4214 VmaVector< VmaDeviceMemoryBlock*, VmaStlAllocator<VmaDeviceMemoryBlock*> > m_Blocks; member
4351 BlockInfoVector m_Blocks; variable
6475 m_Blocks(VmaStlAllocator<VmaDeviceMemoryBlock*>(hAllocator->GetAllocationCallbacks())), in VmaBlockVector()
6485 for(size_t i = m_Blocks.size(); i--; ) in ~VmaBlockVector()
6487 m_Blocks[i]->Destroy(m_hAllocator); in ~VmaBlockVector()
6488 vma_delete(m_hAllocator, m_Blocks[i]); in ~VmaBlockVector()
6515 for(uint32_t blockIndex = 0; blockIndex < m_Blocks.size(); ++blockIndex) in GetPoolStats()
6517 const VmaDeviceMemoryBlock* const pBlock = m_Blocks[blockIndex]; in GetPoolStats()
6541 for(size_t blockIndex = 0; blockIndex < m_Blocks.size(); ++blockIndex ) in Allocate()
[all …]
/external/skqp/third_party/vulkanmemoryallocator/include/
Dvk_mem_alloc.h4166 bool IsEmpty() const { return m_Blocks.empty(); } in IsEmpty()
4214 VmaVector< VmaDeviceMemoryBlock*, VmaStlAllocator<VmaDeviceMemoryBlock*> > m_Blocks; member
4351 BlockInfoVector m_Blocks; variable
6475 m_Blocks(VmaStlAllocator<VmaDeviceMemoryBlock*>(hAllocator->GetAllocationCallbacks())), in VmaBlockVector()
6485 for(size_t i = m_Blocks.size(); i--; ) in ~VmaBlockVector()
6487 m_Blocks[i]->Destroy(m_hAllocator); in ~VmaBlockVector()
6488 vma_delete(m_hAllocator, m_Blocks[i]); in ~VmaBlockVector()
6515 for(uint32_t blockIndex = 0; blockIndex < m_Blocks.size(); ++blockIndex) in GetPoolStats()
6517 const VmaDeviceMemoryBlock* const pBlock = m_Blocks[blockIndex]; in GetPoolStats()
6541 for(size_t blockIndex = 0; blockIndex < m_Blocks.size(); ++blockIndex ) in Allocate()
[all …]