Home
last modified time | relevance | path

Searched refs:_cnt (Results 1 – 19 of 19) sorted by relevance

/reactos/sdk/tools/mkisofs/schilytools/libschily/stdio/
H A Dfgetline.c117 if ((__c f)->_cnt <= 0) {
126 (__c f)->_cnt++;
131 if (n > (__c f)->_cnt)
132 n = (__c f)->_cnt;
138 (__c f)->_cnt -= n;
H A Dfilewrite.c46 if (f->_cnt <= 0) {
53 if ((n = f->_cnt >= len ? len : f->_cnt) > 0) {
56 f->_cnt -= n;
/reactos/sdk/tools/mkisofs/schilytools/include/schily/
H A Dstdio.h105 ssize_t _cnt; /* number of available characters in buffer */ member
108 #define __getc_unlocked(p) (--(p)->_cnt < 0 \
114 #define __putc_unlocked(x, p) (--(p)->_cnt < 0 \
/reactos/sdk/lib/crt/stdio/
H A Dfile.c393 file->_cnt = 0; in msvcrt_init_fp()
550 file->_cnt=0; in msvcrt_flush_buffer()
556 file->_cnt=0; in msvcrt_flush_buffer()
588 file->_cnt = 0; in msvcrt_alloc_buffer()
1293 file->_cnt = 0; in _fseeki64()
2895 file->_cnt--; in fgetc()
3095 int pcnt=(file->_cnt>wrcnt)? wrcnt: file->_cnt; in fwrite()
3311 file->_cnt--; in fputc()
3353 int pcnt= (rcnt>file->_cnt)? file->_cnt:rcnt; in fread()
3378 i = (file->_cnt<rcnt) ? file->_cnt : rcnt; in fread()
[all …]
H A D_flsbuf.c26 stream->_cnt = 0; in _flsbuf()
65 stream->_cnt = stream->_bufsiz - sizeof(TCHAR); in _flsbuf()
/reactos/modules/rostests/kmtests/kmtest_drv/
H A Dprintf_stubs.c29 stream._cnt = (int)count; in KmtVSNPrintF()
37 if (stream._cnt) *(char *)stream._ptr = '\0'; in KmtVSNPrintF()
/reactos/sdk/lib/crt/printf/
H A D_sxprintf.c77 stream._cnt = (int)(sizeOfBuffer * sizeof(_TCHAR)); in _sxprintf()
115 if ((stream._cnt >= sizeof(_TCHAR)) && (stream._ptr)) in _sxprintf()
H A D_vscprintf.c21 nulfile._bufsiz = nulfile._charbuf = nulfile._cnt = 0; in _vscprintf()
H A D_vscwprintf.c21 nulfile._bufsiz = nulfile._charbuf = nulfile._cnt = 0; in _vscwprintf()
H A Dstreamout.c237 if (stream->_cnt < sizeof(_TCHAR)) in streamout_char()
242 stream->_cnt -= sizeof(_TCHAR); in streamout_char()
/reactos/modules/rostests/winetests/msvcrt/
H A Dfile.c642 tempfh->_cnt = -1; in test_flsbuf()
661 ok(tempfh->_cnt == 0, "_cnt on freshly opened file was %d\n", tempfh->_cnt); in test_flsbuf()
663 ok(tempfh->_cnt == 0, "_cnt on unbuffered file was %d\n", tempfh->_cnt); in test_flsbuf()
666 tempfh->_cnt = 1234; in test_flsbuf()
670 ok(tempfh->_cnt == 0, "after unbuf _flsbuf, _cnt was %d\n", tempfh->_cnt); in test_flsbuf()
1867 ok(!file->_cnt, "file->_cnt != 0\n"); in test_fopen_s()
2409 ok(file->_cnt == 0, "_cnt should be 0 after rewind, but is %d\n", file->_cnt); in test_write_flush_size()
2416 ok(file->_cnt == 0, "_cnt should be 0 after fflush, but is %d\n", file->_cnt); in test_write_flush_size()
2437 ok(!file->_cnt, "file->_cnt = %d\n", file->_cnt); in test_write_flush_size()
2441 ok(!file->_cnt, "file->_cnt = %d\n", file->_cnt); in test_write_flush_size()
H A Dheaders.c128 CHECK_FIELD(_iobuf, _cnt); in test_structs()
H A Dmsvcrt.h302 int _cnt; member
/reactos/sdk/lib/crt/include/internal/mingw-w64/
H A Dinternal.h98 int _cnt; member
/reactos/sdk/include/crt/
H A Dstdio.h29 int _cnt; member
1142 #define _fgetc_nolock(_stream) (--(_stream)->_cnt >= 0 ? 0xff & *(_stream)->_ptr++ : _filbuf(_strea…
1143 #define _fputc_nolock(_c,_stream) (--(_stream)->_cnt >= 0 ? 0xff & (*(_stream)->_ptr++ = (char)(_c)…
H A Dyvals.h193 #define _IOCNT _cnt
H A Dmbstring.h21 int _cnt; member
H A Dwchar.h41 int _cnt; member
/reactos/sdk/lib/crt/wine/
H A Dmsvcrt.h440 int _cnt; member