Home
last modified time | relevance | path

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

/freebsd/contrib/ncurses/ncurses/tinfo/
H A Dlib_win32con.c827 DWORD nRead = 0, rc = WAIT_FAILED; in _nc_console_twait() local
841 #define CONSUME() read_keycode(hdl, &inp_rec, 1, &nRead) in _nc_console_twait()
866 nRead = 0; in _nc_console_twait()
867 b = GetNumberOfConsoleInputEvents(hdl, &nRead); in _nc_console_twait()
872 T(("twait: Events Available: %lu", (unsigned long) nRead)); in _nc_console_twait()
873 if (nRead == 0) { in _nc_console_twait()
878 MakeArray(pInpRec, INPUT_RECORD, nRead); in _nc_console_twait()
882 memset(pInpRec, 0, sizeof(INPUT_RECORD) * nRead); in _nc_console_twait()
883 f = PeekConsoleInput(hdl, pInpRec, nRead, &n); in _nc_console_twait()
908 if (b && nRead > 0) { in _nc_console_twait()
[all …]
/freebsd/contrib/sqlite3/tea/generic/
H A Dtclsqlite3.c337 sqlite3_int64 nRead = bufSize; /* Number of bytes to read */ in incrblobInput() local
342 if( (p->iSeek+nRead)>nBlob ){ in incrblobInput()
343 nRead = nBlob-p->iSeek; in incrblobInput()
345 if( nRead<=0 ){ in incrblobInput()
349 rc = sqlite3_blob_read(p->pBlob, (void *)buf, (int)nRead, (int)p->iSeek); in incrblobInput()
355 p->iSeek += nRead; in incrblobInput()
356 return nRead; in incrblobInput()
/freebsd/contrib/sqlite3/
H A Dshell.c507 DWORD nRead = 0; in sqlite3_fgets() local
509 && ReadConsoleW(GetStdHandle(STD_INPUT_HANDLE), b1, sz-1, &nRead, 0) in sqlite3_fgets()
511 b1[nRead] = 0; in sqlite3_fgets()
12704 i64 nRead, /* Number of bytes to read */ in zipfileReadData() argument
12710 n = fread(aRead, 1, (long)nRead, pFile); in zipfileReadData()
12711 if( n!=(size_t)nRead ){ in zipfileReadData()
13364 i64 nRead; /* Bytes to read from file */ in zipfileReadEOCD() local
13376 nRead = (int)(MIN(szFile, ZIPFILE_BUFFER_SIZE)); in zipfileReadEOCD()
13377 iOff = szFile - nRead; in zipfileReadEOCD()
13378 rc = zipfileReadData(pFile, aRead, nRead, iOff, &pTab->base.zErrMsg); in zipfileReadEOCD()
[all …]
H A Dsqlite3.c51566 DWORD nRead; /* Number of bytes actually read from file */ local
51602 while( !osReadFile(pFile->h, pBuf, amt, &nRead, 0) ){
51607 while( !osReadFile(pFile->h, pBuf, amt, &nRead, &overlapped) &&
51619 if( nRead<(DWORD)amt ){
51621 memset(&((char*)pBuf)[nRead], 0, amt-nRead);
60328 int nRead; /* Database pages read */ member
62749 PAGER_INCR(pPager->nRead);
66546 a[9] = pPager->nRead;
91065 int nRead = 0; local
91071 if( p->bIsReader ) nRead++;
[all …]