Searched refs:pTrunk (Results 1 – 3 of 3) sorted by relevance
/external/pdfium/core/src/fxcrt/ |
D | fx_basic_memmgr.cpp | 40 _FX_GrowOnlyTrunk* pTrunk = (_FX_GrowOnlyTrunk*)m_pFirstTrunk; in FreeAll() local 41 while (pTrunk) { in FreeAll() 42 _FX_GrowOnlyTrunk* pNext = pTrunk->m_pNext; in FreeAll() 43 FX_Free(pTrunk); in FreeAll() 44 pTrunk = pNext; in FreeAll() 50 _FX_GrowOnlyTrunk* pTrunk = (_FX_GrowOnlyTrunk*)m_pFirstTrunk; in Alloc() local 51 while (pTrunk) { in Alloc() 52 if (pTrunk->m_Size - pTrunk->m_Allocated >= size) { in Alloc() 53 void* p = (uint8_t*)(pTrunk + 1) + pTrunk->m_Allocated; in Alloc() 54 pTrunk->m_Allocated += size; in Alloc() [all …]
|
/external/sqlite/dist/ |
D | sqlite3.c | 60011 MemPage *pTrunk = 0; 60066 pPrevTrunk = pTrunk; 60082 rc = btreeGetUnusedPage(pBt, iTrunk, &pTrunk, 0); 60085 pTrunk = 0; 60088 assert( pTrunk!=0 ); 60089 assert( pTrunk->aData!=0 ); 60092 k = get4byte(&pTrunk->aData[4]); 60098 rc = sqlite3PagerWrite(pTrunk->pDbPage); 60103 memcpy(&pPage1->aData[32], &pTrunk->aData[0], 4); 60104 *ppPage = pTrunk; [all …]
|
/external/sqlite/dist/orig/ |
D | sqlite3.c | 59993 MemPage *pTrunk = 0; 60048 pPrevTrunk = pTrunk; 60064 rc = btreeGetUnusedPage(pBt, iTrunk, &pTrunk, 0); 60067 pTrunk = 0; 60070 assert( pTrunk!=0 ); 60071 assert( pTrunk->aData!=0 ); 60074 k = get4byte(&pTrunk->aData[4]); 60080 rc = sqlite3PagerWrite(pTrunk->pDbPage); 60085 memcpy(&pPage1->aData[32], &pTrunk->aData[0], 4); 60086 *ppPage = pTrunk; [all …]
|