Lines Matching defs:pSpace

39743 ** are available at pSpace.  The db pointer is used as a memory context
39753 SQLITE_PRIVATE RowSet *sqlite3RowSetInit(sqlite3 *db, void *pSpace, unsigned int N){
39756 p = pSpace;
57439 ** The pSpace buffer is used to store a temporary copy of the divider
57442 ** words, at most 13 bytes. Hence the pSpace buffer must be at
57445 static int balance_quick(MemPage *pParent, MemPage *pPage, u8 *pSpace){
57466 u8 *pOut = &pSpace[4];
57503 ** cell on pPage into the pSpace buffer.
57512 insertCell(pParent, pParent->nCell, pSpace, (int)(pOut-pSpace),
58451 ** are stored in the pSpace buffer allocated immediately below.
58456 ** has completed, it is safe to release the pSpace buffer used by
58459 ** pSpace buffer passed to the latter call to balance_nonroot().
58461 u8 *pSpace = sqlite3PageMalloc(pCur->pBt->pageSize);
58462 rc = balance_nonroot(pParent, iIdx, pSpace, iPage==1, pCur->hints);
58464 /* If pFree is not NULL, it points to the pSpace buffer used
58467 ** new pSpace buffer, so it may be safely freed here. */
58471 /* The pSpace buffer will be freed after the next call to
58474 pFree = pSpace;
65304 ** allocation comes from the pSpace/szSpace buffer, *ppFree is set to NULL
65311 char *pSpace, /* Unaligned space available */
65312 int szSpace, /* Size of pSpace[] in bytes */
65316 int nOff; /* Increment pSpace by nOff to align it */
65319 /* We want to shift the pointer pSpace up such that it is 8-byte aligned.
65321 ** it by. If pSpace is already 8-byte aligned, nOff should be zero.
65323 nOff = (8 - (SQLITE_PTR_TO_INT(pSpace) & 7)) & 7;
65330 p = (UnpackedRecord*)&pSpace[nOff];
83873 u8 *pSpace; /* Allocated space not yet assigned */
83885 pSpace = (u8*)(&p->a[mxSample+nCol]);
83887 p->a[i].anEq = (tRowcnt *)pSpace; pSpace += (sizeof(tRowcnt) * nColUp);
83888 p->a[i].anLt = (tRowcnt *)pSpace; pSpace += (sizeof(tRowcnt) * nColUp);
83889 p->a[i].anDLt = (tRowcnt *)pSpace; pSpace += (sizeof(tRowcnt) * nColUp);
83891 assert( (pSpace - (u8*)p)==n );
85089 tRowcnt *pSpace;
85117 pSpace = (tRowcnt*)&pIdx->aSample[nSample];
85118 pIdx->aAvgEq = pSpace; pSpace += nIdxCol;
85120 pIdx->aSample[i].anEq = pSpace; pSpace += nIdxCol;
85121 pIdx->aSample[i].anLt = pSpace; pSpace += nIdxCol;
85122 pIdx->aSample[i].anDLt = pSpace; pSpace += nIdxCol;
85124 assert( ((u8*)pSpace)-nByte==(u8*)(pIdx->aSample) );
116385 WhereLoop **pX; /* Used to divy up the pSpace memory */
116387 char *pSpace; /* Temporary memory used by this routine */
116388 int nSpace; /* Bytes of space allocated at pSpace */
116414 pSpace = sqlite3DbMallocRaw(db, nSpace);
116415 if( pSpace==0 ) return SQLITE_NOMEM;
116416 aTo = (WherePath*)pSpace;
116433 assert( aSortCost==0 || &pSpace[nSpace]==(char*)&aSortCost[nOrderBy] );
116434 assert( aSortCost!=0 || &pSpace[nSpace]==(char*)pX );
116639 sqlite3DbFree(db, pSpace);
116694 sqlite3DbFree(db, pSpace);
136404 char *pSpace = (char *)&azDequote[argc];
136407 azDequote[i] = pSpace;
136408 memcpy(pSpace, argv[i], n+1);
136409 sqlite3Fts3Dequote(pSpace);
136410 pSpace += (n+1);