Lines Matching defs:nWrite
30373 int nWrite = 0; /* Number of bytes written by seekAndWrite */
30381 nWrite = seekAndWrite(pFile, iWrite, "", 1);
30382 if( nWrite!=1 ) return SQLITE_IOERR_WRITE;
30384 if( nWrite==0 || (nSize%nBlk) ){
30385 nWrite = seekAndWrite(pFile, nSize-1, "", 1);
30386 if( nWrite!=1 ) return SQLITE_IOERR_WRITE;
37041 DWORD nWrite; /* Bytes written by each WriteFile() call */
37052 if( !osWriteFile(pFile->h, aRem, nRem, &nWrite, 0) ){
37054 if( !osWriteFile(pFile->h, aRem, nRem, &nWrite, &overlapped) ){
37059 assert( nWrite==0 || nWrite<=(DWORD)nRem );
37060 if( nWrite==0 || nWrite>(DWORD)nRem ){
37065 offset += nWrite;
37069 aRem += nWrite;
37070 nRem -= nWrite;
44407 u32 nWrite; /* Bytes of header sector written */
44494 for(nWrite=0; rc==SQLITE_OK&&nWrite<JOURNAL_HDR_SZ(pPager); nWrite+=nHeader){
68958 int nWrite = 0;
68964 if( p->readOnly==0 ) nWrite++;
68970 nWrite==db->nVdbeWrite );
83201 int nWrite = iAmt;
83210 while( nWrite>0 ){
83213 int iSpace = MIN(nWrite, JOURNAL_CHUNKSIZE - iChunkOffset);
83234 nWrite -= iSpace;
148071 int nWrite = pIter->nData - nStart;
148073 rc = fts3WriteSegment(p, iNextFree, &pIter->aData[nStart], nWrite);
148884 int nWrite;
148886 nWrite = sqlite3Fts3FirstFilter(iDelta, pList, nList, a);
148887 if( nWrite ){
148889 nDoclist += nWrite;
176142 u64 nWrite; /* Initial value of write-counter */
176147 nWrite = pStruct->nWriteCounter;
176148 nWork = (int)(((nWrite + nLeaf) / p->nWorkUnit) - (nWrite / p->nWorkUnit));