Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/ncurses/ncurses/tinfo/
H A Dlib_win32con.c840 DWORD nRead = 0, rc = (DWORD) (-1); in _nc_console_twait() local
878 nRead = 0; in _nc_console_twait()
879 b = GetNumberOfConsoleInputEvents(hdl, &nRead); in _nc_console_twait()
884 T(("twait: Events Available: %ld", nRead)); in _nc_console_twait()
885 if (nRead == 0) { in _nc_console_twait()
891 TypeAlloca(INPUT_RECORD, nRead); in _nc_console_twait()
921 if (b && nRead > 0) { in _nc_console_twait()
926 if (b && nRead > 0) { in _nc_console_twait()
1030 DWORD nRead; in _nc_console_read() local
1041 if (b && nRead > 0) { in _nc_console_read()
[all …]
/freebsd-14.2/contrib/ncurses/ncurses/win32con/
H A Dwin_driver.c1537 DWORD nRead = 0, rc = (DWORD) (-1); in console_twait() local
1548 #define CONSUME() ReadConsoleInput(fd,&inp_rec,1,&nRead) in console_twait()
1572 b = GetNumberOfConsoleInputEvents(fd, &nRead); in console_twait()
1573 if (b && nRead > 0) { in console_twait()
1574 b = PeekConsoleInput(fd, &inp_rec, 1, &nRead); in console_twait()
1575 if (b && nRead > 0) { in console_twait()
2113 DWORD nRead; in _nc_mingw_console_read() local
2123 while ((b = ReadConsoleInput(fd, &inp_rec, 1, &nRead))) { in _nc_mingw_console_read()
2124 if (b && nRead > 0) { in _nc_mingw_console_read()
2127 rc = rc + (int) nRead; in _nc_mingw_console_read()
/freebsd-14.2/contrib/sqlite3/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()
/freebsd-14.2/contrib/bmake/
H A Djob.c1859 ssize_t nRead; /* (Temporary) number of bytes read */ in CollectOutput() local
1866 nRead = read(job->inPipe, &job->outBuf[job->curPos], in CollectOutput()
1868 if (nRead < 0) { in CollectOutput()
1875 nr = (size_t)nRead; in CollectOutput()
/freebsd-14.2/contrib/sqlite3/
H A Dshell.c9902 int nRead, /* Number of bytes to read */ in zipfileReadData() argument
9908 n = fread(aRead, 1, nRead, pFile); in zipfileReadData()
9909 if( (int)n!=nRead ){ in zipfileReadData()
10537 nRead = (int)(MIN(szFile, ZIPFILE_BUFFER_SIZE)); in zipfileReadEOCD()
10538 iOff = szFile - nRead; in zipfileReadEOCD()
10541 nRead = (int)(MIN(nBlob, ZIPFILE_BUFFER_SIZE)); in zipfileReadEOCD()
10542 aRead = (u8*)&aBlob[nBlob-nRead]; in zipfileReadEOCD()
10549 for(i=nRead-20; i>=0; i--){ in zipfileReadEOCD()
23163 size_t nRead; in readFile() local
23181 nRead = fread(pBuf, nIn, 1, in); in readFile()
[all …]
H A Dsqlite3.c49436 memset(&((char*)pBuf)[nRead], 0, amt-nRead);
87997 int nRead = 0;
106113 int nRead = iAmt;
106140 nRead -= iSpace;
106142 } while( nRead>=0 && (pChunk=pChunk->pNext)!=0 && nRead>0 );
197737 nRead,
228409 int nRead = 0;
228413 nRead += sessionVarintGet(&pIn->aData[pIn->iNext + nRead], &nCol);
228431 nRead++;
241381 p->nRead++;
[all …]