Lines Matching defs:wrote
20278 ULONG wrote;
20289 ( rc = DosWrite( pFile->h, (PVOID)pBuf, amt, &wrote ) ) == NO_ERROR &&
20290 wrote > 0
20292 amt -= wrote;
20293 pBuf = &((char*)pBuf)[wrote];
20296 return ( rc != NO_ERROR || amt > (int)wrote ) ? SQLITE_FULL : SQLITE_OK;
24342 int wrote = 0;
24375 while( amt>0 && (wrote = seekAndWrite(pFile, offset, pBuf, amt))>0 ){
24376 amt -= wrote;
24377 offset += wrote;
24378 pBuf = &((char*)pBuf)[wrote];
24380 SimulateIOError(( wrote=(-1), amt=1 ));
24381 SimulateDiskfullError(( wrote=0, amt=1 ));
24383 if( wrote<0 ){
26140 OSTRACE3("GETHOSTID wrote %s pid=%d\n", pHostID, getpid());
27819 DWORD wrote = 0;
27833 && (rc = WriteFile(pFile->h, pBuf, amt, &wrote, 0))!=0
27834 && wrote>0
27836 amt -= wrote;
27837 pBuf = &((char*)pBuf)[wrote];
27839 if( !rc || amt>(int)wrote ){
31950 ** - 4 bytes: Sector size used by the process that wrote this journal.
32143 ** invalid, then the process that wrote the journal-header must have
33941 ** that wrote to this database was operating in persistent-journal