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.cpp21 FX_BOOL CFX_BasicArray::SetSize(int nNewSize) { in SetSize() argument
22 if (nNewSize <= 0) { in SetSize()
26 return 0 == nNewSize; in SetSize()
30 pdfium::base::CheckedNumeric<int> totalSize = nNewSize; in SetSize()
37 m_nSize = m_nMaxSize = nNewSize; in SetSize()
38 } else if (nNewSize <= m_nMaxSize) { in SetSize()
39 if (nNewSize > m_nSize) { in SetSize()
41 (nNewSize - m_nSize) * m_nUnitSize); in SetSize()
43 m_nSize = nNewSize; in SetSize()
45 int nNewMax = nNewSize < m_nMaxSize ? m_nMaxSize : nNewSize; in SetSize()
[all …]
/external/pdfium/core/include/fxcrt/
Dfx_basic.h293 FX_BOOL SetSize(int nNewSize);
325 FX_BOOL SetSize(int nNewSize) { return CFX_BasicArray::SetSize(nNewSize); } in SetSize() argument
/external/sqlite/dist/
Dsqlite3.c85879 const int nNewSize = nStructSize & 0xfff;
85888 memcpy(zAlloc, p, nNewSize);
85902 char *zToken = pNew->u.zToken = (char*)&zAlloc[nNewSize];
/external/sqlite/dist/orig/
Dsqlite3.c85861 const int nNewSize = nStructSize & 0xfff;
85870 memcpy(zAlloc, p, nNewSize);
85884 char *zToken = pNew->u.zToken = (char*)&zAlloc[nNewSize];