Lines Matching refs:pSpace

42483 ** are available at pSpace.  The db pointer is used as a memory context
42493 SQLITE_PRIVATE RowSet *sqlite3RowSetInit(sqlite3 *db, void *pSpace, unsigned int N){
42496 p = pSpace;
56008 u8 *pSpace = pageFindSlot(pPage, nByte, &rc);
56009 if( pSpace ){
56010 assert( pSpace>=data && (pSpace - data)<65536 );
56011 *pIdx = (int)(pSpace - data);
61213 ** The pSpace buffer is used to store a temporary copy of the divider
61216 ** words, at most 13 bytes. Hence the pSpace buffer must be at
61219 static int balance_quick(MemPage *pParent, MemPage *pPage, u8 *pSpace){
61240 u8 *pOut = &pSpace[4];
61279 ** cell on pPage into the pSpace buffer.
61288 insertCell(pParent, pParent->nCell, pSpace, (int)(pOut-pSpace),
62342 ** are stored in the pSpace buffer allocated immediately below.
62347 ** has completed, it is safe to release the pSpace buffer used by
62350 ** pSpace buffer passed to the latter call to balance_nonroot().
62352 u8 *pSpace = sqlite3PageMalloc(pCur->pBt->pageSize);
62353 rc = balance_nonroot(pParent, iIdx, pSpace, iPage==1,
62356 /* If pFree is not NULL, it points to the pSpace buffer used
62359 ** new pSpace buffer, so it may be safely freed here. */
62363 /* The pSpace buffer will be freed after the next call to
62366 pFree = pSpace;
69927 ** allocation comes from the pSpace/szSpace buffer, *ppFree is set to NULL
69934 char *pSpace, /* Unaligned space available */
69935 int szSpace, /* Size of pSpace[] in bytes */
69939 int nOff; /* Increment pSpace by nOff to align it */
69942 /* We want to shift the pointer pSpace up such that it is 8-byte aligned.
69944 ** it by. If pSpace is already 8-byte aligned, nOff should be zero.
69946 nOff = (8 - (SQLITE_PTR_TO_INT(pSpace) & 7)) & 7;
69953 p = (UnpackedRecord*)&pSpace[nOff];
90464 u8 *pSpace; /* Allocated space not yet assigned */
90476 pSpace = (u8*)(&p->a[mxSample+nCol]);
90478 p->a[i].anEq = (tRowcnt *)pSpace; pSpace += (sizeof(tRowcnt) * nColUp);
90479 p->a[i].anLt = (tRowcnt *)pSpace; pSpace += (sizeof(tRowcnt) * nColUp);
90480 p->a[i].anDLt = (tRowcnt *)pSpace; pSpace += (sizeof(tRowcnt) * nColUp);
90482 assert( (pSpace - (u8*)p)==n );
91713 tRowcnt *pSpace;
91741 pSpace = (tRowcnt*)&pIdx->aSample[nSample];
91742 pIdx->aAvgEq = pSpace; pSpace += nIdxCol;
91744 pIdx->aSample[i].anEq = pSpace; pSpace += nIdxCol;
91745 pIdx->aSample[i].anLt = pSpace; pSpace += nIdxCol;
91746 pIdx->aSample[i].anDLt = pSpace; pSpace += nIdxCol;
91748 assert( ((u8*)pSpace)-nByte==(u8*)(pIdx->aSample) );
124873 WhereLoop **pX; /* Used to divy up the pSpace memory */
124875 char *pSpace; /* Temporary memory used by this routine */
124876 int nSpace; /* Bytes of space allocated at pSpace */
124902 pSpace = sqlite3DbMallocRaw(db, nSpace);
124903 if( pSpace==0 ) return SQLITE_NOMEM;
124904 aTo = (WherePath*)pSpace;
124921 assert( aSortCost==0 || &pSpace[nSpace]==(char*)&aSortCost[nOrderBy] );
124922 assert( aSortCost!=0 || &pSpace[nSpace]==(char*)pX );
125127 sqlite3DbFree(db, pSpace);
125185 sqlite3DbFree(db, pSpace);
145559 char *pSpace = (char *)&azDequote[argc];
145562 azDequote[i] = pSpace;
145563 memcpy(pSpace, argv[i], n+1);
145564 sqlite3Fts3Dequote(pSpace);
145565 pSpace += (n+1);
169152 char *pSpace = pDel;
169154 if( azArg && pSpace ){
169167 memcpy(pSpace, p2, p-p2);
169168 azArg[nArg] = pSpace;
169169 sqlite3Fts5Dequote(pSpace);
169170 pSpace += (p - p2) + 1;