Lines Matching refs:nCopy
29844 int nCopy = pFile->mmapSize - offset;
29845 memcpy(pBuf, &((u8 *)(pFile->pMapRegion))[offset], nCopy);
29846 pBuf = &((u8 *)pBuf)[nCopy];
29847 amt -= nCopy;
29848 offset += nCopy;
29979 int nCopy = pFile->mmapSize - offset;
29980 memcpy(&((u8 *)(pFile->pMapRegion))[offset], pBuf, nCopy);
29981 pBuf = &((u8 *)pBuf)[nCopy];
29982 amt -= nCopy;
29983 offset += nCopy;
36925 int nCopy = (int)(pFile->mmapSize - offset);
36926 memcpy(pBuf, &((u8 *)(pFile->pMapRegion))[offset], nCopy);
36927 pBuf = &((u8 *)pBuf)[nCopy];
36928 amt -= nCopy;
36929 offset += nCopy;
37003 int nCopy = (int)(pFile->mmapSize - offset);
37004 memcpy(&((u8 *)(pFile->pMapRegion))[offset], pBuf, nCopy);
37005 pBuf = &((u8 *)pBuf)[nCopy];
37006 amt -= nCopy;
37007 offset += nCopy;
64402 const int nCopy = MIN(nSrcPgsz, nDestPgsz);
64469 memcpy(zOut, zIn, nCopy);
80636 int nCopy; /* Number of bytes to copy */
80639 nCopy = nRem;
80640 if( nRem>p->nBuffer ) nCopy = p->nBuffer;
80641 rc = vdbePmaReadBlob(p, nCopy, &aNext);
80644 memcpy(&p->aAlloc[nByte - nRem], aNext, nCopy);
80645 nRem -= nCopy;
81543 int nCopy = nRem;
81544 if( nCopy>(p->nBuffer - p->iBufEnd) ){
81545 nCopy = p->nBuffer - p->iBufEnd;
81548 memcpy(&p->aBuffer[p->iBufEnd], &pData[nData-nRem], nCopy);
81549 p->iBufEnd += nCopy;
81560 nRem -= nCopy;
83161 int nCopy = MIN(nRead, (JOURNAL_CHUNKSIZE - iChunkOffset));
83162 memcpy(zOut, &pChunk->zChunk[iChunkOffset], nCopy);
83163 zOut += nCopy;
96203 int nCopy = MIN(ArraySize(aVal), pIdx->nKeyCol);
96214 memcpy(&a[1], aVal, nCopy*sizeof(LogEst));
96215 for(i=nCopy+1; i<=pIdx->nKeyCol; i++){
147217 int nCopy = pList->nData+1;
147220 aCopy = (char*)sqlite3_malloc(nCopy);
147222 memcpy(aCopy, pList->aData, nCopy);
147223 pReader->nNode = pReader->nDoclist = nCopy;
159772 int nCopy = strlen(zStr) + 1;
159773 zRet = (char*)sqlite3_malloc(nCopy);
159775 memcpy(zRet, zStr, nCopy);
162572 int nCopy = strlen(zName);
162573 char *zCopy = sqlite3_malloc(nCopy+2);
162575 memcpy(zCopy, zName, nCopy);
162576 zCopy[nCopy-3] = 'o';
162577 zCopy[nCopy] = '\0';
162578 zCopy[nCopy+1] = '\0';
175760 int nCopy = 0;
175761 while( nCopy<nReq ){
175763 nCopy += fts5GetVarint(&a[nCopy], (u64*)&dummy);
175765 fts5BufferAppendBlob(&p->rc, &pPage->buf, nCopy, a);
175766 a += nCopy;
175767 n -= nCopy;
176250 int nCopy;
176253 nCopy = fts5GetPoslistSize(&pDoclist[iOff], &nPos, &bDummy);
176254 nCopy += nPos;
176267 if( (pBuf->n + pPgidx->n + nCopy) <= pgsz ){
176270 fts5BufferSafeAppendBlob(pBuf, &pDoclist[iOff], nCopy);
176280 if( (nCopy - iPos)<=nSpace ){
176281 n = nCopy - iPos;
176291 if( iPos>=nCopy ) break;
176294 iOff += nCopy;