Home | History | Annotate | Download | only in dist

Lines Matching refs:pSpace

42501 ** are available at pSpace.  The db pointer is used as a memory context
42511 SQLITE_PRIVATE RowSet *sqlite3RowSetInit(sqlite3 *db, void *pSpace, unsigned int N){
42514 p = pSpace;
56026 u8 *pSpace = pageFindSlot(pPage, nByte, &rc);
56027 if( pSpace ){
56028 assert( pSpace>=data && (pSpace - data)<65536 );
56029 *pIdx = (int)(pSpace - data);
61231 ** The pSpace buffer is used to store a temporary copy of the divider
61234 ** words, at most 13 bytes. Hence the pSpace buffer must be at
61237 static int balance_quick(MemPage *pParent, MemPage *pPage, u8 *pSpace){
61258 u8 *pOut = &pSpace[4];
61297 ** cell on pPage into the pSpace buffer.
61306 insertCell(pParent, pParent->nCell, pSpace, (int)(pOut-pSpace),
62360 ** are stored in the pSpace buffer allocated immediately below.
62365 ** has completed, it is safe to release the pSpace buffer used by
62368 ** pSpace buffer passed to the latter call to balance_nonroot().
62370 u8 *pSpace = sqlite3PageMalloc(pCur->pBt->pageSize);
62371 rc = balance_nonroot(pParent, iIdx, pSpace, iPage==1,
62374 /* If pFree is not NULL, it points to the pSpace buffer used
62377 ** new pSpace buffer, so it may be safely freed here. */
62381 /* The pSpace buffer will be freed after the next call to
62384 pFree = pSpace;
69945 ** allocation comes from the pSpace/szSpace buffer, *ppFree is set to NULL
69952 char *pSpace, /* Unaligned space available */
69953 int szSpace, /* Size of pSpace[] in bytes */
69957 pSpace by nOff to align it */
69960 /* We want to shift the pointer pSpace up such that it is 8-byte aligned.
69962 ** it by. If pSpace is already 8-byte aligned, nOff should be zero.
69964 nOff = (8 - (SQLITE_PTR_TO_INT(pSpace) & 7)) & 7;
69971 p = (UnpackedRecord*)&pSpace[nOff];
90482 u8 *pSpace; /* Allocated space not yet assigned */
90494 pSpace = (u8*)(&p->a[mxSample+nCol]);
90496 p->a[i].anEq = (tRowcnt *)pSpace; pSpace += (sizeof(tRowcnt) * nColUp);
90497 p->a[i].anLt = (tRowcnt *)pSpace; pSpace += (sizeof(tRowcnt) * nColUp);
90498 p->a[i].anDLt = (tRowcnt *)pSpace; pSpace += (sizeof(tRowcnt) * nColUp);
90500 assert( (pSpace - (u8*)p)==n );
91731 tRowcnt *pSpace;
91759 pSpace = (tRowcnt*)&pIdx->aSample[nSample];
91760 pIdx->aAvgEq = pSpace; pSpace += nIdxCol;
91762 pIdx->aSample[i].anEq = pSpace; pSpace += nIdxCol;
91763 pIdx->aSample[i].anLt = pSpace; pSpace += nIdxCol;
91764 pIdx->aSample[i].anDLt = pSpace; pSpace += nIdxCol;
91766 assert( ((u8*)pSpace)-nByte==(u8*)(pIdx->aSample) );
124891 WhereLoop **pX; /* Used to divy up the pSpace memory */
124893 char *pSpace; /* Temporary memory used by this routine */
124894 int nSpace; /* Bytes of space allocated at pSpace */
124920 pSpace = sqlite3DbMallocRaw(db, nSpace);
124921 if( pSpace==0 ) return SQLITE_NOMEM;
124922 aTo = (WherePath*)pSpace;
124939 assert( aSortCost==0 || &pSpace[nSpace]==(char*)&aSortCost[nOrderBy] );
124940 assert( aSortCost!=0 || &pSpace[nSpace]==(char*)pX );
125145 sqlite3DbFree(db, pSpace);
125203 sqlite3DbFree(db, pSpace);
145589 char *pSpace = (char *)&azDequote[argc];
145592 azDequote[i] = pSpace;
145593 memcpy(pSpace, argv[i], n+1);
145594 sqlite3Fts3Dequote(pSpace);
145595 pSpace += (n+1);
169182 char *pSpace = pDel;
169184 if( azArg && pSpace ){
169197 memcpy(pSpace, p2, p-p2);
169198 azArg[nArg] = pSpace;
169199 sqlite3Fts5Dequote(pSpace);
169200 pSpace += (p - p2) + 1;