Home | History | Annotate | Download | only in dist

Lines Matching refs:pSpace

46348 ** are available at pSpace.  The db pointer is used as a memory context
46358 SQLITE_PRIVATE RowSet *sqlite3RowSetInit(sqlite3 *db, void *pSpace, unsigned int N){
46361 p = pSpace;
60531 u8 *pSpace = pageFindSlot(pPage, nByte, &rc);
60532 if( pSpace ){
60533 assert( pSpace>=data && (pSpace - data)<65536 );
60534 *pIdx = (int)(pSpace - data);
65817 ** The pSpace buffer is used to store a temporary copy of the divider
65820 ** words, at most 13 bytes. Hence the pSpace buffer must be at
65823 static int balance_quick(MemPage *pParent, MemPage *pPage, u8 *pSpace){
65844 u8 *pOut = &pSpace[4];
65883 ** cell on pPage into the pSpace buffer.
65893 insertCell(pParent, pParent->nCell, pSpace, (int)(pOut-pSpace),
66941 ** are stored in the pSpace buffer allocated immediately below.
66946 ** has completed, it is safe to release the pSpace buffer used by
66949 ** pSpace buffer passed to the latter call to balance_nonroot().
66951 u8 *pSpace = sqlite3PageMalloc(pCur->pBt->pageSize);
66952 rc = balance_nonroot(pParent, iIdx, pSpace, iPage==1,
66955 /* If pFree is not NULL, it points to the pSpace buffer used
66958 ** new pSpace buffer, so it may be safely freed here. */
66962 /* The pSpace buffer will be freed after the next call to
66965 pFree = pSpace;
73165 u8 *pSpace; /* Available memory */
73189 assert( EIGHT_BYTE_ALIGNMENT(p->pSpace) );
73194 pBuf = &p->pSpace[p->nFree];
73297 x.pSpace = &((u8*)p->aOp)[n]; /* Unused opcode memory */
73298 assert( EIGHT_BYTE_ALIGNMENT(x.pSpace) );
73301 assert( EIGHT_BYTE_ALIGNMENT(&x.pSpace[x.nFree]) );
73330 x.pSpace = p->pFree = sqlite3DbMallocRawNN(db, x.nNeeded);
74845 ** allocation comes from the pSpace/szSpace buffer, *ppFree is set to NULL
97135 u8 *pSpace; /* Allocated space not yet assigned */
97147 pSpace = (u8*)(&p->a[mxSample+nCol]);
97149 p->a[i].anEq = (tRowcnt *)pSpace; pSpace += (sizeof(tRowcnt) * nColUp);
97150 p->a[i].anLt = (tRowcnt *)pSpace; pSpace += (sizeof(tRowcnt) * nColUp);
97151 p->a[i].anDLt = (tRowcnt *)pSpace; pSpace += (sizeof(tRowcnt) * nColUp);
97153 assert( (pSpace - (u8*)p)==n );
98394 tRowcnt *pSpace;
98422 pSpace = (tRowcnt*)&pIdx->aSample[nSample];
98423 pIdx->aAvgEq = pSpace; pSpace += nIdxCol;
98425 pIdx->aSample[i].anEq = pSpace; pSpace += nIdxCol;
98426 pIdx->aSample[i].anLt = pSpace; pSpace += nIdxCol;
98427 pIdx->aSample[i].anDLt = pSpace; pSpace += nIdxCol;
98429 assert( ((u8*)pSpace)-nByte==(u8*)(pIdx->aSample) );
133688 WhereLoop **pX; /* Used to divy up the pSpace memory */
133690 char *pSpace; /* Temporary memory used by this routine */
133691 int nSpace; /* Bytes of space allocated at pSpace */
133717 pSpace = sqlite3DbMallocRawNN(db, nSpace);
133718 if( pSpace==0 ) return SQLITE_NOMEM_BKPT;
133719 aTo = (WherePath*)pSpace;
133736 assert( aSortCost==0 || &pSpace[nSpace]==(char*)&aSortCost[nOrderBy] );
133737 assert( aSortCost!=0 || &pSpace[nSpace]==(char*)pX );
133948 sqlite3DbFree(db, pSpace);
134024 sqlite3DbFree(db, pSpace);
155011 char *pSpace = (char *)&azDequote[argc];
155014 azDequote[i] = pSpace;
155015 memcpy(pSpace, argv[i], n+1);
155016 sqlite3Fts3Dequote(pSpace);
155017 pSpace += (n+1);
185258 char *pSpace = pDel;
185260 if( azArg && pSpace ){
185273 memcpy(pSpace, p2, p-p2);
185274 azArg[nArg] = pSpace;
185275 sqlite3Fts5Dequote(pSpace);
185276 pSpace += (p - p2) + 1;