Lines Matching refs:nData
10181 const void *pData, int nData,
60546 const void *pData,int nData, /* The data */
60571 nPayload = nData + nZero;
60575 assert( nData==0 );
60583 nSrc = nData;
60584 nData = 0;
60715 nSrc = nData;
62429 const void *pData, int nData, /* The data of the new record */
62505 pCur->pgnoRoot, nKey, nData, pPage->pgno,
62510 rc = fillInCell(pPage, newCell, pKey, nKey, pData, nData, nZero, &szNew);
72230 int nData, /* Number of bytes of data to be bound */
72242 rc = sqlite3VdbeMemSetStr(pVar, zData, nData, encoding, xDel);
72264 int nData,
72267 return bindText(pStmt, i, zData, nData, xDel, 0);
72273 sqlite3_uint64 nData,
72277 if( nData>0x7fffffff ){
72280 return bindText(pStmt, i, zData, (int)nData, xDel, 0);
72319 int nData,
72322 return bindText(pStmt, i, zData, nData, xDel, SQLITE_UTF8);
72328 sqlite3_uint64 nData,
72333 if( nData>0x7fffffff ){
72337 return bindText(pStmt, i, zData, (int)nData, xDel, enc);
72345 int nData,
72348 return bindText(pStmt, i, zData, nData, xDel, SQLITE_UTF16NATIVE);
75555 u64 nData; /* Number of bytes of data space */
75585 nData = 0; /* Number of bytes of data space */
75621 if( nData ){
75628 nData += len;
75649 nByte = nHdr+nData;
81558 static void vdbePmaWriteBlob(PmaWriter *p, u8 *pData, int nData){
81559 int nRem = nData;
81566 memcpy(&p->aBuffer[p->iBufEnd], &pData[nData-nRem], nCopy);
109155 int nData, /* Number of elements in the data array */
109161 int nBase = nExpr + bSeq + nData; /* Fields in sorter record */
109168 assert( nData==1 || regData==regOrigData );
109182 sqlite3ExprCodeMove(pParse, regData, regBase+nExpr+bSeq, nData);
109206 pOp->p2 = nKey + nData;
114309 u32 nData; /* Slots used in azResult[]. (nRow+1)*nColumn */
114332 if( p->nData + need > p->nAlloc ){
114348 p->azResult[p->nData++] = z;
114371 p->azResult[p->nData++] = z;
114413 res.nData = 1;
114423 assert( sizeof(res.azResult[0])>= sizeof(res.nData) );
114424 res.azResult[0] = SQLITE_INT_TO_PTR(res.nData);
114442 if( res.nAlloc>res.nData ){
114444 azNew = sqlite3_realloc64( res.azResult, sizeof(char*)*res.nData );
146018 int nData;
146111 int nData; /* Bytes of data in aData */
146143 int nData; /* Bytes of valid data so far */
146570 p->nData = 0;
146572 else if( p->nData+FTS3_VARINT_MAX+1>p->nSpace ){
146585 p->nData += sqlite3Fts3PutVarint(&p->aData[p->nData], i);
146586 p->aData[p->nData] = '\0';
146615 assert( p->nData<p->nSpace );
146616 assert( p->aData[p->nData]==0 );
146617 p->nData++;
146675 p->nPendingData -= (pList->nData + nToken + sizeof(Fts3HashElem));
146688 p->nPendingData += (pList->nData + nToken + sizeof(Fts3HashElem));
147247 int nCopy = pList->nData+1;
147925 int nData = pTree->nData; /* Current size of node in bytes */
147926 int nReq = nData; /* Required space after adding zTerm */
147953 nData += sqlite3Fts3PutVarint(&pTree->aData[nData], nPrefix);
147956 nData += sqlite3Fts3PutVarint(&pTree->aData[nData], nSuffix);
147957 memcpy(&pTree->aData[nData], &zTerm[nPrefix], nSuffix);
147958 pTree->nData = nData + nSuffix;
147994 pNew->nData = 1 + FTS3_VARINT_MAX;
148063 *pnRoot = pTree->nData - nStart;
148071 int nWrite = pIter->nData - nStart;
148128 int nData;
148156 nData = pWriter->nData;
148168 if( nData>0 && nData+nReq>p->nNodeSize ){
148172 rc = fts3WriteSegment(p, pWriter->iFree++, pWriter->aData, nData);
148192 nData = 0;
148216 assert( nData+nReq<=pWriter->nSize );
148219 nData += sqlite3Fts3PutVarint(&pWriter->aData[nData], nPrefix);
148220 nData += sqlite3Fts3PutVarint(&pWriter->aData[nData], nSuffix);
148221 memcpy(&pWriter->aData[nData], &zTerm[nPrefix], nSuffix);
148222 nData += nSuffix;
148223 nData += sqlite3Fts3PutVarint(&pWriter->aData[nData], nDoclist);
148224 memcpy(&pWriter->aData[nData], aDoclist, nDoclist);
148225 pWriter->nData = nData + nDoclist;
148272 rc = fts3WriteSegment(p, pWriter->iFree++, pWriter->aData, pWriter->nData);
148284 0, 0, 0, pWriter->nLeafData, pWriter->aData, pWriter->nData);
151339 pRet = (char *)sqlite3_malloc(p->pList->nData);
151343 *pnData = p->pList->nData - nSkip;
156878 int nData,
156888 assert(nData>=1);
156903 if( nData>1 ){
156914 assert( nData<=(pRtree->nDim*2 + 3) );
156918 for(ii=0; ii<nData-4; ii+=2){
156929 for(ii=0; ii<nData-4; ii+=2){
156975 if( rc==SQLITE_OK && nData>1 ){
168698 int nData,
168701 assert( *pRc || nData>=0 );
168702 if( sqlite3Fts5BufferGrow(pRc, pBuf, nData) ) return;
168703 memcpy(&pBuf->p[pBuf->n], pData, nData);
168704 pBuf->n += nData;
168790 int nData,
168794 sqlite3Fts5BufferAppendBlob(pRc, pBuf, nData, pData);
172094 int nData; /* Total bytes of data (incl. structure) */
172219 int nSz = (p->nData - p->iSzPoslist - 1); /* Size in bytes */
172229 p->nData += (nByte-1);
172279 p->nData = nToken+1 + 1 + FTS5_HASHENTRYSIZE;
172280 p->nData += sqlite3Fts5PutVarint(&((u8*)p)[p->nData], iRowid);
172281 p->iSzPoslist = p->nData;
172282 p->nData += 1;
172287 nIncr += p->nData;
172299 if( (p->nAlloc - p->nData) < (9 + 4 + 1 + 3 + 5) ){
172311 nIncr -= p->nData;
172317 p->nData += sqlite3Fts5PutVarint(&pPtr[p->nData], iRowid - p->iRowid);
172318 p->iSzPoslist = p->nData;
172319 p->nData += 1;
172329 pPtr[p->nData++] = 0x01;
172330 p->nData += sqlite3Fts5PutVarint(&pPtr[p->nData], iCol);
172336 p->nData += sqlite3Fts5PutVarint(&pPtr[p->nData], iPos - p->iPos + 2);
172342 nIncr += p->nData;
172459 *pnDoclist = p->nData - (FTS5_HASHENTRYSIZE + nTerm + 1);
172496 *pnDoclist = p->nData - (FTS5_HASHENTRYSIZE + nTerm + 1);
173239 static void fts5DataWrite(Fts5Index *p, i64 iRowid, const u8 *pData, int nData){
173252 sqlite3_bind_blob(p->pWriter, 2, pData, nData, SQLITE_STATIC);
173344 int nData, /* Size of buffer pData in bytes */
175779 int nData
175783 int n = nData;
177332 static int sqlite3Fts5IndexSetAverages(Fts5Index *p, const u8 *pData, int nData){
177334 fts5DataWrite(p, FTS5_AVERAGES_ROWID, pData, nData);