Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/ncurses/ncurses/win32con/
H A Dwin_driver.c1527 DWORD nRead = 0, rc = (DWORD) (-1); in console_twait() local
1538 #define CONSUME() ReadConsoleInput(fd,&inp_rec,1,&nRead) in console_twait()
1562 b = GetNumberOfConsoleInputEvents(fd, &nRead); in console_twait()
1563 if (b && nRead > 0) { in console_twait()
1564 b = PeekConsoleInput(fd, &inp_rec, 1, &nRead); in console_twait()
1565 if (b && nRead > 0) { in console_twait()
2108 DWORD nRead; in _nc_mingw_console_read() local
2118 while ((b = ReadConsoleInput(fd, &inp_rec, 1, &nRead))) { in _nc_mingw_console_read()
2119 if (b && nRead > 0) { in _nc_mingw_console_read()
2122 rc = rc + (int) nRead; in _nc_mingw_console_read()
/freebsd-13.1/contrib/sqlite3/tea/generic/
H A Dtclsqlite3.c277 int nRead = bufSize; /* Number of bytes to read */ in incrblobInput() local
282 if( (p->iSeek+nRead)>nBlob ){ in incrblobInput()
283 nRead = nBlob-p->iSeek; in incrblobInput()
285 if( nRead<=0 ){ in incrblobInput()
289 rc = sqlite3_blob_read(p->pBlob, (void *)buf, nRead, p->iSeek); in incrblobInput()
295 p->iSeek += nRead; in incrblobInput()
296 return nRead; in incrblobInput()
/freebsd-13.1/contrib/bmake/
H A Djob.c1862 ssize_t nRead; /* (Temporary) number of bytes read */ in CollectOutput() local
1869 nRead = read(job->inPipe, &job->outBuf[job->curPos], in CollectOutput()
1871 if (nRead < 0) { in CollectOutput()
1879 nr = (size_t)nRead; in CollectOutput()
/freebsd-13.1/contrib/sqlite3/
H A Dshell.c7263 int nRead, /* Number of bytes to read */ in zipfileReadData() argument
7269 n = fread(aRead, 1, nRead, pFile); in zipfileReadData()
7270 if( (int)n!=nRead ){ in zipfileReadData()
7894 nRead = (int)(MIN(szFile, ZIPFILE_BUFFER_SIZE)); in zipfileReadEOCD()
7895 iOff = szFile - nRead; in zipfileReadEOCD()
7898 nRead = (int)(MIN(nBlob, ZIPFILE_BUFFER_SIZE)); in zipfileReadEOCD()
7899 aRead = (u8*)&aBlob[nBlob-nRead]; in zipfileReadEOCD()
7906 for(i=nRead-20; i>=0; i--){ in zipfileReadEOCD()
15354 size_t nRead; in readFile() local
15362 nRead = fread(pBuf, nIn, 1, in); in readFile()
[all …]
H A Dsqlite3.c45146 memset(&((char*)pBuf)[nRead], 0, amt-nRead);
82075 int nRead = 0;
98982 int nRead = iAmt;
99009 nRead -= iSpace;
99011 } while( nRead>=0 && (pChunk=pChunk->pNext)!=0 && nRead>0 );
184135 nRead,
211538 int nRead = 0;
211542 nRead += sessionVarintGet(&pIn->aData[pIn->iNext + nRead], &nCol);
211560 nRead++;
223616 p->nRead++;
[all …]