Home
last modified time | relevance | path

Searched refs:pTrunk (Results 1 – 3 of 3) sorted by relevance

/external/pdfium/core/src/fxcrt/
Dfx_basic_memmgr.cpp45 _FX_GrowOnlyTrunk* pTrunk = (_FX_GrowOnlyTrunk*)m_pFirstTrunk; in FreeAll() local
46 while (pTrunk) { in FreeAll()
47 _FX_GrowOnlyTrunk* pNext = pTrunk->m_pNext; in FreeAll()
48 FX_Free(pTrunk); in FreeAll()
49 pTrunk = pNext; in FreeAll()
56 _FX_GrowOnlyTrunk* pTrunk = (_FX_GrowOnlyTrunk*)m_pFirstTrunk; in Alloc() local
57 while (pTrunk) { in Alloc()
58 if (pTrunk->m_Size - pTrunk->m_Allocated >= size) { in Alloc()
59 void* p = (FX_LPBYTE)(pTrunk + 1) + pTrunk->m_Allocated; in Alloc()
60 pTrunk->m_Allocated += size; in Alloc()
[all …]
/external/sqlite/dist/
Dsqlite3.c58340 MemPage *pTrunk = 0;
58394 pPrevTrunk = pTrunk;
58410 rc = btreeGetPage(pBt, iTrunk, &pTrunk, 0);
58413 pTrunk = 0;
58416 assert( pTrunk!=0 );
58417 assert( pTrunk->aData!=0 );
58420 k = get4byte(&pTrunk->aData[4]);
58426 rc = sqlite3PagerWrite(pTrunk->pDbPage);
58431 memcpy(&pPage1->aData[32], &pTrunk->aData[0], 4);
58432 *ppPage = pTrunk;
[all …]
/external/sqlite/dist/orig/
Dsqlite3.c58322 MemPage *pTrunk = 0;
58376 pPrevTrunk = pTrunk;
58392 rc = btreeGetPage(pBt, iTrunk, &pTrunk, 0);
58395 pTrunk = 0;
58398 assert( pTrunk!=0 );
58399 assert( pTrunk->aData!=0 );
58402 k = get4byte(&pTrunk->aData[4]);
58408 rc = sqlite3PagerWrite(pTrunk->pDbPage);
58413 memcpy(&pPage1->aData[32], &pTrunk->aData[0], 4);
58414 *ppPage = pTrunk;
[all …]