Home
last modified time | relevance | path

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

/src/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 …]
/src/contrib/sqlite3/tea/generic/
H A Dtclsqlite3.c324 sqlite3_int64 nRead = bufSize; /* Number of bytes to read */ in incrblobInput() local
329 if( (p->iSeek+nRead)>nBlob ){ in incrblobInput()
330 nRead = nBlob-p->iSeek; in incrblobInput()
332 if( nRead<=0 ){ in incrblobInput()
336 rc = sqlite3_blob_read(p->pBlob, (void *)buf, (int)nRead, (int)p->iSeek); in incrblobInput()
342 p->iSeek += nRead; in incrblobInput()
343 return nRead; in incrblobInput()
/src/contrib/sqlite3/
H A Dshell.c470 DWORD nRead = 0; in sqlite3_fgets() local
472 && ReadConsoleW(GetStdHandle(STD_INPUT_HANDLE), b1, sz-1, &nRead, 0) in sqlite3_fgets()
474 b1[nRead] = 0; in sqlite3_fgets()
10741 int nRead, /* Number of bytes to read */ in zipfileReadData() argument
10747 n = fread(aRead, 1, nRead, pFile); in zipfileReadData()
10748 if( (int)n!=nRead ){ in zipfileReadData()
11364 int nRead; /* Bytes to read from file */ in zipfileReadEOCD() local
11376 nRead = (int)(MIN(szFile, ZIPFILE_BUFFER_SIZE)); in zipfileReadEOCD()
11377 iOff = szFile - nRead; in zipfileReadEOCD()
11378 rc = zipfileReadData(pFile, aRead, nRead, iOff, &pTab->base.zErrMsg); in zipfileReadEOCD()
[all …]
H A Dsqlite3.c50080 DWORD nRead; /* Number of bytes actually read from file */ local
50116 while( !osReadFile(pFile->h, pBuf, amt, &nRead, 0) ){
50121 while( !osReadFile(pFile->h, pBuf, amt, &nRead, &overlapped) &&
50133 if( nRead<(DWORD)amt ){
50135 memset(&((char*)pBuf)[nRead], 0, amt-nRead);
58751 int nRead; /* Database pages read */ member
61124 PAGER_INCR(pPager->nRead);
64906 a[9] = pPager->nRead;
89078 int nRead = 0; local
89084 if( p->bIsReader ) nRead++;
[all …]