Home
last modified time | relevance | path

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

/external/pdfium/core/src/fxcrt/
Dfx_basic_array.cpp25 FX_BOOL CFX_BasicArray::SetSize(int nNewSize) in SetSize() argument
27 if (nNewSize <= 0) { in SetSize()
31 return 0 == nNewSize; in SetSize()
35 pdfium::base::CheckedNumeric<int> totalSize = nNewSize; in SetSize()
42 m_nSize = m_nMaxSize = nNewSize; in SetSize()
43 } else if (nNewSize <= m_nMaxSize) { in SetSize()
44 if (nNewSize > m_nSize) { in SetSize()
45 FXSYS_memset32(m_pData + m_nSize * m_nUnitSize, 0, (nNewSize - m_nSize) * m_nUnitSize); in SetSize()
47 m_nSize = nNewSize; in SetSize()
49 int nNewMax = nNewSize < m_nMaxSize ? m_nMaxSize : nNewSize; in SetSize()
[all …]
/external/pdfium/core/include/fxcrt/
Dfx_basic.h362 FX_BOOL SetSize(int nNewSize);
401 FX_BOOL SetSize(int nNewSize) in SetSize() argument
403 return CFX_BasicArray::SetSize(nNewSize); in SetSize()
/external/sqlite/dist/
Dsqlite3.c83700 const int nNewSize = nStructSize & 0xfff;
83709 memcpy(zAlloc, p, nNewSize);
83723 char *zToken = pNew->u.zToken = (char*)&zAlloc[nNewSize];
/external/sqlite/dist/orig/
Dsqlite3.c83682 const int nNewSize = nStructSize & 0xfff;
83691 memcpy(zAlloc, p, nNewSize);
83705 char *zToken = pNew->u.zToken = (char*)&zAlloc[nNewSize];