Home
last modified time | relevance | path

Searched refs:nRead (Results 1 – 8 of 8) sorted by relevance

/netbsd-src/external/gpl3/binutils/dist/zlib/contrib/minizip/
H A Dmztools.c259 int nRead; variable
261 while ( (nRead = (int)fread(buffer, 1, sizeof(buffer), fpOutCD)) > 0) {
262 if ((int)fwrite(buffer, 1, nRead, fpOut) != nRead) {
/netbsd-src/external/gpl3/gdb/dist/zlib/contrib/minizip/
H A Dmztools.c259 int nRead; variable
261 while ( (nRead = (int)fread(buffer, 1, sizeof(buffer), fpOutCD)) > 0) {
262 if ((int)fwrite(buffer, 1, nRead, fpOut) != nRead) {
/netbsd-src/external/gpl3/gdb.old/dist/zlib/contrib/minizip/
H A Dmztools.c259 int nRead; variable
261 while ( (nRead = (int)fread(buffer, 1, sizeof(buffer), fpOutCD)) > 0) {
262 if ((int)fwrite(buffer, 1, nRead, fpOut) != nRead) {
/netbsd-src/external/gpl3/binutils.old/dist/zlib/contrib/minizip/
H A Dmztools.c259 int nRead; variable
261 while ( (nRead = (int)fread(buffer, 1, sizeof(buffer), fpOutCD)) > 0) {
262 if ((int)fwrite(buffer, 1, nRead, fpOut) != nRead) {
/netbsd-src/external/public-domain/sqlite/dist/tea/generic/
H A Dtclsqlite3.c296 int nRead = bufSize; /* Number of bytes to read */ in incrblobInput() local
301 if( (p->iSeek+nRead)>nBlob ){ in incrblobInput()
302 nRead = nBlob-p->iSeek; in incrblobInput()
304 if( nRead<=0 ){ in incrblobInput()
308 rc = sqlite3_blob_read(p->pBlob, (void *)buf, nRead, p->iSeek); in incrblobInput()
314 p->iSeek += nRead; in incrblobInput()
315 return nRead; in incrblobInput()
/netbsd-src/usr.bin/make/
H A Djob.c1797 ssize_t nRead; /* (Temporary) number of bytes read */
1804 nRead = read(job->inPipe, &job->outBuf[job->curPos],
1806 if (nRead < 0) { in CollectOutput()
1813 nr = (size_t)nRead; in CollectOutput() local
/netbsd-src/external/public-domain/sqlite/dist/
H A Dshell.c9824 int nRead, /* Number of bytes to read */ in zipfileReadData() argument
9830 n = fread(aRead, 1, nRead, pFile); in zipfileReadData()
9831 if( (int)n!=nRead ){ in zipfileReadData()
10447 int nRead; /* Bytes to read from file */ in zipfileReadEOCD() local
10459 nRead = (int)(MIN(szFile, ZIPFILE_BUFFER_SIZE)); in zipfileReadEOCD()
10460 iOff = szFile - nRead; in zipfileReadEOCD()
10461 rc = zipfileReadData(pFile, aRead, nRead, iOff, &pTab->base.zErrMsg); in zipfileReadEOCD()
10463 nRead = (int)(MIN(nBlob, ZIPFILE_BUFFER_SIZE)); in zipfileReadEOCD()
10464 aRead = (u8*)&aBlob[nBlob-nRead]; in zipfileReadEOCD()
10471 for(i=nRead-20; i>=0; i--){ in zipfileReadEOCD()
[all …]
H A Dsqlite3.c49030 DWORD nRead; /* Number of bytes actually read from file */
49066 while( !osReadFile(pFile->h, pBuf, amt, &nRead, 0) ){
49071 while( !osReadFile(pFile->h, pBuf, amt, &nRead, &overlapped) &&
49083 if( nRead<(DWORD)amt ){
49085 memset(&((char*)pBuf)[nRead], 0, amt-nRead);
57442 int nRead; /* Database pages read */
59806 PAGER_INCR(pPager->nRead);
63586 a[9] = pPager->nRead;
87521 int nRead = 0;
87527 if( p->bIsReader ) nRead++;
[all …]