Lines Matching refs:nCopy
33986 int nCopy = pFile->mmapSize - offset;
33987 memcpy(pBuf, &((u8 *)(pFile->pMapRegion))[offset], nCopy);
33988 pBuf = &((u8 *)pBuf)[nCopy];
33989 amt -= nCopy;
33990 offset += nCopy;
34121 int nCopy = pFile->mmapSize - offset;
34122 memcpy(&((u8 *)(pFile->pMapRegion))[offset], pBuf, nCopy);
34123 pBuf = &((u8 *)pBuf)[nCopy];
34124 amt -= nCopy;
34125 offset += nCopy;
41427 int nCopy = (int)(pFile->mmapSize - offset);
41428 memcpy(pBuf, &((u8 *)(pFile->pMapRegion))[offset], nCopy);
41429 pBuf = &((u8 *)pBuf)[nCopy];
41430 amt -= nCopy;
41431 offset += nCopy;
41505 int nCopy = (int)(pFile->mmapSize - offset);
41506 memcpy(&((u8 *)(pFile->pMapRegion))[offset], pBuf, nCopy);
41507 pBuf = &((u8 *)pBuf)[nCopy];
41508 amt -= nCopy;
41509 offset += nCopy;
70639 const int nCopy = MIN(nSrcPgsz, nDestPgsz);
70706 memcpy(zOut, zIn, nCopy);
88375 int nCopy; /* Number of bytes to copy */
88378 nCopy = nRem;
88379 if( nRem>p->nBuffer ) nCopy = p->nBuffer;
88380 rc = vdbePmaReadBlob(p, nCopy, &aNext);
88383 memcpy(&p->aAlloc[nByte - nRem], aNext, nCopy);
88384 nRem -= nCopy;
89292 int nCopy = nRem;
89293 if( nCopy>(p->nBuffer - p->iBufEnd) ){
89294 nCopy = p->nBuffer - p->iBufEnd;
89297 memcpy(&p->aBuffer[p->iBufEnd], &pData[nData-nRem], nCopy);
89298 p->iBufEnd += nCopy;
89309 nRem -= nCopy;
90694 int nCopy = MIN(nRead, (p->nChunkSize - iChunkOffset));
90695 memcpy(zOut, (u8*)pChunk->zChunk + iChunkOffset, nCopy);
90696 zOut += nCopy;
105094 int nCopy = MIN(ArraySize(aVal), pIdx->nKeyCol);
105109 memcpy(&a[1], aVal, nCopy*sizeof(LogEst));
105110 for(i=nCopy+1; i<=pIdx->nKeyCol; i++){
160248 int nCopy = pList->nData+1;
160251 aCopy = (char*)sqlite3_malloc(nCopy);
160253 memcpy(aCopy, pList->aData, nCopy);
160254 pReader->nNode = pReader->nDoclist = nCopy;
173829 size_t nCopy = strlen(zStr) + 1;
173830 zRet = (char*)sqlite3_malloc64(nCopy);
173832 memcpy(zRet, zStr, nCopy);
177365 size_t nCopy;
177371 nCopy = strlen(zBase);
177372 zCopy = sqlite3_malloc64(nCopy+2);
177374 memcpy(zCopy, zBase, nCopy);
177375 zCopy[nCopy-3] = 'o';
177376 zCopy[nCopy] = '\0';
177377 zCopy[nCopy+1] = '\0';
181647 int nCopy;
181650 rc = sessionChangesetBufferTblhdr(&p->in, &nCopy);
181655 nCopy -= nVarint;
181657 nByte = p->nCol * sizeof(sqlite3_value*) * 2 + nCopy;
181665 memcpy(&p->tblhdr.aBuf[iPK], &p->in.aData[p->in.iNext], nCopy);
181666 p->in.iNext += nCopy;
198303 int nCopy = 0;
198304 while( nCopy<nReq ){
198306 nCopy += fts5GetVarint(&a[nCopy], (u64*)&dummy);
198308 fts5BufferAppendBlob(&p->rc, &pPage->buf, nCopy, a);
198309 a += nCopy;
198310 n -= nCopy;
198836 int nCopy = fts5GetPoslistSize(&pDoclist[iOff], &nPos, &bDummy);
198837 nCopy += nPos;
198838 if( (pBuf->n + pPgidx->n + nCopy) <= pgsz ){
198841 fts5BufferSafeAppendBlob(pBuf, &pDoclist[iOff], nCopy);
198851 if( (nCopy - iPos)<=nSpace ){
198852 n = nCopy - iPos;
198862 if( iPos>=nCopy ) break;
198865 iOff += nCopy;