Home
last modified time | relevance | path

Searched refs:nNewSize (Results 1 – 6 of 6) sorted by relevance

/external/pdfium/core/src/fxcrt/
Dfx_basic_array.cpp25 FX_BOOL CFX_BasicArray::SetSize(int nNewSize, int nGrowBy) in SetSize() argument
27 if (nNewSize < 0 || nNewSize > (1 << 28) / m_nUnitSize) { in SetSize()
35 if (nNewSize == 0) { in SetSize()
42 m_pData = FX_Allocator_Alloc(m_pAllocator, FX_BYTE, nNewSize * m_nUnitSize); in SetSize()
47 FXSYS_memset32(m_pData, 0, nNewSize * m_nUnitSize); in SetSize()
48 m_nSize = m_nMaxSize = nNewSize; in SetSize()
49 } else if (nNewSize <= m_nMaxSize) { in SetSize()
50 if (nNewSize > m_nSize) { in SetSize()
51 FXSYS_memset32(m_pData + m_nSize * m_nUnitSize, 0, (nNewSize - m_nSize) * m_nUnitSize); in SetSize()
53 m_nSize = nNewSize; in SetSize()
[all …]
/external/pdfium/core/include/fxcrt/
Dfx_basic.h382 FX_BOOL SetSize(int nNewSize, int nGrowBy);
424 FX_BOOL SetSize(int nNewSize, int nGrowBy = -1)
426 return CFX_BasicArray::SetSize(nNewSize, nGrowBy);
/external/chromium_org/third_party/sqlite/src/src/
Dexpr.c769 const int nNewSize = nStructSize & 0xfff; in exprDup() local
778 memcpy(zAlloc, p, nNewSize); in exprDup()
794 char *zToken = pNew->u.zToken = (char*)&zAlloc[nNewSize]; in exprDup()
/external/chromium_org/third_party/sqlite/amalgamation/
Dsqlite3.c71506 const int nNewSize = nStructSize & 0xfff;
71515 memcpy(zAlloc, p, nNewSize);
71531 char *zToken = pNew->u.zToken = (char*)&zAlloc[nNewSize];
/external/sqlite/dist/
Dsqlite3.c79104 const int nNewSize = nStructSize & 0xfff;
79113 memcpy(zAlloc, p, nNewSize);
79127 char *zToken = pNew->u.zToken = (char*)&zAlloc[nNewSize];
/external/sqlite/dist/orig/
Dsqlite3.c79084 const int nNewSize = nStructSize & 0xfff;
79093 memcpy(zAlloc, p, nNewSize);
79107 char *zToken = pNew->u.zToken = (char*)&zAlloc[nNewSize];