Home
last modified time | relevance | path

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

/freebsd/contrib/ncurses/ncurses/tinfo/
H A Dlib_win32con.c840 DWORD nRead = 0, rc = (DWORD) (-1); in _nc_console_twait() local
853 #define CONSUME() ReadConsoleInput(hdl, &inp_rec, 1, &nRead) in _nc_console_twait()
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()
895 memset(pInpRec, 0, sizeof(INPUT_RECORD) * nRead); in _nc_console_twait()
896 f = PeekConsoleInput(hdl, pInpRec, nRead, &n); in _nc_console_twait()
921 if (b && nRead > 0) { in _nc_console_twait()
[all …]
/freebsd/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/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/contrib/bmake/
H A Djob.c1834 ssize_t nRead; /* (Temporary) number of bytes read */ in CollectOutput()
1841 nRead = read(job->inPipe, &job->outBuf[job->curPos], in CollectOutput()
1843 if (nRead < 0) { in CollectOutput()
1850 nr = (size_t)nRead; in CollectOutput()
1829 ssize_t nRead; /* (Temporary) number of bytes read */ CollectOutput() local
/freebsd/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()
10525 int nRead; /* Bytes to read from file */ in zipfileReadEOCD() local
10537 nRead = (int)(MIN(szFile, ZIPFILE_BUFFER_SIZE)); in zipfileReadEOCD()
10538 iOff = szFile - nRead; in zipfileReadEOCD()
10539 rc = zipfileReadData(pFile, aRead, nRead, iOff, &pTab->base.zErrMsg); 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()
[all …]
H A Dsqlite3.c49381 DWORD nRead; /* Number of bytes actually read from file */
49417 while( !osReadFile(pFile->h, pBuf, amt, &nRead, 0) ){
49422 while( !osReadFile(pFile->h, pBuf, amt, &nRead, &overlapped) &&
49434 if( nRead<(DWORD)amt ){
49436 memset(&((char*)pBuf)[nRead], 0, amt-nRead);
57801 int nRead; /* Database pages read */
60165 PAGER_INCR(pPager->nRead);
63945 a[9] = pPager->nRead;
87997 int nRead = 0;
88003 if( p->bIsReader ) nRead++;
[all …]