Lines Matching refs:nCopy
29862 int nCopy = pFile->mmapSize - offset;
29863 memcpy(pBuf, &((u8 *)(pFile->pMapRegion))[offset], nCopy);
29864 pBuf = &((u8 *)pBuf)[nCopy];
29865 amt -= nCopy;
29866 offset += nCopy;
29997 int nCopy = pFile->mmapSize - offset;
29998 memcpy(&((u8 *)(pFile->pMapRegion))[offset], pBuf, nCopy);
29999 pBuf = &((u8 *)pBuf)[nCopy];
30000 amt -= nCopy;
30001 offset += nCopy;
36943 int nCopy = (int)(pFile->mmapSize - offset);
36944 memcpy(pBuf, &((u8 *)(pFile->pMapRegion))[offset], nCopy);
36945 pBuf = &((u8 *)pBuf)[nCopy];
36946 amt -= nCopy;
36947 offset += nCopy;
37021 int nCopy = (int)(pFile->mmapSize - offset);
37022 memcpy(&((u8 *)(pFile->pMapRegion))[offset], pBuf, nCopy);
37023 pBuf = &((u8 *)pBuf)[nCopy];
37024 amt -= nCopy;
37025 offset += nCopy;
64420 const int nCopy = MIN(nSrcPgsz, nDestPgsz);
64487 memcpy(zOut, zIn, nCopy);
80654 int nCopy; /* Number of bytes to copy */
80657 nCopy = nRem;
80658 if( nRem>p->nBuffer ) nCopy = p->nBuffer;
80659 rc = vdbePmaReadBlob(p, nCopy, &aNext);
80662 memcpy(&p->aAlloc[nByte - nRem], aNext, nCopy);
80663 nRem -= nCopy;
81561 int nCopy = nRem;
81562 if( nCopy>(p->nBuffer - p->iBufEnd) ){
81563 nCopy = p->nBuffer - p->iBufEnd;
81566 memcpy(&p->aBuffer[p->iBufEnd], &pData[nData-nRem], nCopy);
81567 p->iBufEnd += nCopy;
81578 nRem -= nCopy;
83179 int nCopy = MIN(nRead, (JOURNAL_CHUNKSIZE - iChunkOffset));
83180 memcpy(zOut, &pChunk->zChunk[iChunkOffset], nCopy);
83181 zOut += nCopy;
96221 int nCopy = MIN(ArraySize(aVal), pIdx->nKeyCol);
96232 memcpy(&a[1], aVal, nCopy*sizeof(LogEst));
96233 for(i=nCopy+1; i<=pIdx->nKeyCol; i++){
147247 int nCopy = pList->nData+1;
147250 aCopy = (char*)sqlite3_malloc(nCopy);
147252 memcpy(aCopy, pList->aData, nCopy);
147253 pReader->nNode = pReader->nDoclist = nCopy;
159802 int nCopy = strlen(zStr) + 1;
159803 zRet = (char*)sqlite3_malloc(nCopy);
159805 memcpy(zRet, zStr, nCopy);
162602 int nCopy = strlen(zName);
162603 char *zCopy = sqlite3_malloc(nCopy+2);
162605 memcpy(zCopy, zName, nCopy);
162606 zCopy[nCopy-3] = 'o';
162607 zCopy[nCopy] = '\0';
162608 zCopy[nCopy+1] = '\0';
175790 int nCopy = 0;
175791 while( nCopy<nReq ){
175793 nCopy += fts5GetVarint(&a[nCopy], (u64*)&dummy);
175795 fts5BufferAppendBlob(&p->rc, &pPage->buf, nCopy, a);
175796 a += nCopy;
175797 n -= nCopy;
176280 int nCopy;
176283 nCopy = fts5GetPoslistSize(&pDoclist[iOff], &nPos, &bDummy);
176284 nCopy += nPos;
176297 if( (pBuf->n + pPgidx->n + nCopy) <= pgsz ){
176300 fts5BufferSafeAppendBlob(pBuf, &pDoclist[iOff], nCopy);
176310 if( (nCopy - iPos)<=nSpace ){
176311 n = nCopy - iPos;
176321 if( iPos>=nCopy ) break;
176324 iOff += nCopy;