Lines Matching defs:pSpace

39723 ** are available at pSpace.  The db pointer is used as a memory context
39733 SQLITE_PRIVATE RowSet *sqlite3RowSetInit(sqlite3 *db, void *pSpace, unsigned int N){
39736 p = pSpace;
57419 ** The pSpace buffer is used to store a temporary copy of the divider
57422 ** words, at most 13 bytes. Hence the pSpace buffer must be at
57425 static int balance_quick(MemPage *pParent, MemPage *pPage, u8 *pSpace){
57446 u8 *pOut = &pSpace[4];
57483 ** cell on pPage into the pSpace buffer.
57492 insertCell(pParent, pParent->nCell, pSpace, (int)(pOut-pSpace),
58431 ** are stored in the pSpace buffer allocated immediately below.
58436 ** has completed, it is safe to release the pSpace buffer used by
58439 ** pSpace buffer passed to the latter call to balance_nonroot().
58441 u8 *pSpace = sqlite3PageMalloc(pCur->pBt->pageSize);
58442 rc = balance_nonroot(pParent, iIdx, pSpace, iPage==1, pCur->hints);
58444 /* If pFree is not NULL, it points to the pSpace buffer used
58447 ** new pSpace buffer, so it may be safely freed here. */
58451 /* The pSpace buffer will be freed after the next call to
58454 pFree = pSpace;
65284 ** allocation comes from the pSpace/szSpace buffer, *ppFree is set to NULL
65291 char *pSpace, /* Unaligned space available */
65292 int szSpace, /* Size of pSpace[] in bytes */
65296 int nOff; /* Increment pSpace by nOff to align it */
65299 /* We want to shift the pointer pSpace up such that it is 8-byte aligned.
65301 ** it by. If pSpace is already 8-byte aligned, nOff should be zero.
65303 nOff = (8 - (SQLITE_PTR_TO_INT(pSpace) & 7)) & 7;
65310 p = (UnpackedRecord*)&pSpace[nOff];
83853 u8 *pSpace; /* Allocated space not yet assigned */
83865 pSpace = (u8*)(&p->a[mxSample+nCol]);
83867 p->a[i].anEq = (tRowcnt *)pSpace; pSpace += (sizeof(tRowcnt) * nColUp);
83868 p->a[i].anLt = (tRowcnt *)pSpace; pSpace += (sizeof(tRowcnt) * nColUp);
83869 p->a[i].anDLt = (tRowcnt *)pSpace; pSpace += (sizeof(tRowcnt) * nColUp);
83871 assert( (pSpace - (u8*)p)==n );
85069 tRowcnt *pSpace;
85097 pSpace = (tRowcnt*)&pIdx->aSample[nSample];
85098 pIdx->aAvgEq = pSpace; pSpace += nIdxCol;
85100 pIdx->aSample[i].anEq = pSpace; pSpace += nIdxCol;
85101 pIdx->aSample[i].anLt = pSpace; pSpace += nIdxCol;
85102 pIdx->aSample[i].anDLt = pSpace; pSpace += nIdxCol;
85104 assert( ((u8*)pSpace)-nByte==(u8*)(pIdx->aSample) );
116365 WhereLoop **pX; /* Used to divy up the pSpace memory */
116367 char *pSpace; /* Temporary memory used by this routine */
116368 int nSpace; /* Bytes of space allocated at pSpace */
116394 pSpace = sqlite3DbMallocRaw(db, nSpace);
116395 if( pSpace==0 ) return SQLITE_NOMEM;
116396 aTo = (WherePath*)pSpace;
116413 assert( aSortCost==0 || &pSpace[nSpace]==(char*)&aSortCost[nOrderBy] );
116414 assert( aSortCost!=0 || &pSpace[nSpace]==(char*)pX );
116619 sqlite3DbFree(db, pSpace);
116674 sqlite3DbFree(db, pSpace);
136372 char *pSpace = (char *)&azDequote[argc];
136375 azDequote[i] = pSpace;
136376 memcpy(pSpace, argv[i], n+1);
136377 sqlite3Fts3Dequote(pSpace);
136378 pSpace += (n+1);