Searched refs:nNewSize (Results 1 – 6 of 6) sorted by relevance
/external/pdfium/core/src/fxcrt/ |
D | fx_basic_array.cpp | 25 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/ |
D | fx_basic.h | 382 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/ |
D | expr.c | 769 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/ |
D | sqlite3.c | 71506 const int nNewSize = nStructSize & 0xfff; 71515 memcpy(zAlloc, p, nNewSize); 71531 char *zToken = pNew->u.zToken = (char*)&zAlloc[nNewSize];
|
/external/sqlite/dist/ |
D | sqlite3.c | 79104 const int nNewSize = nStructSize & 0xfff; 79113 memcpy(zAlloc, p, nNewSize); 79127 char *zToken = pNew->u.zToken = (char*)&zAlloc[nNewSize];
|
/external/sqlite/dist/orig/ |
D | sqlite3.c | 79084 const int nNewSize = nStructSize & 0xfff; 79093 memcpy(zAlloc, p, nNewSize); 79107 char *zToken = pNew->u.zToken = (char*)&zAlloc[nNewSize];
|