Searched refs:rcnt (Results 1 – 2 of 2) sorted by relevance
/reactos/sdk/lib/crt/stdio/ |
H A D | file.c | 3342 size_t rcnt=size * nmemb; in fread() local 3346 if(!rcnt) in fread() 3353 int pcnt= (rcnt>file->_cnt)? file->_cnt:rcnt; in fread() 3358 rcnt -= pcnt ; in fread() 3372 while(rcnt>0) in fread() 3378 i = (file->_cnt<rcnt) ? file->_cnt : rcnt; in fread() 3389 } else if (rcnt > INT_MAX) { in fread() 3391 } else if (rcnt < BUFSIZ) { in fread() 3392 i = _read(file->_file, ptr, rcnt); in fread() 3397 rcnt -= i; in fread() [all …]
|
/reactos/sdk/tools/fatten/fatfs/ |
H A D | ff.c | 2595 UINT rcnt, cc; in f_read() local 2611 rbuff += rcnt, fp->fptr += rcnt, *br += rcnt, btr -= rcnt) { in f_read() 2647 rcnt = SS(fp->fs) * cc; /* Number of bytes transferred */ in f_read() 2666 if (rcnt > btr) rcnt = btr; in f_read() 2670 mem_cpy(rbuff, &fp->fs->win[fp->fptr % SS(fp->fs)], rcnt); /* Pick partial sector */ in f_read() 2672 mem_cpy(rbuff, &fp->buf[fp->fptr % SS(fp->fs)], rcnt); /* Pick partial sector */ in f_read() 4013 UINT rcnt; in f_forward() local 4030 fp->fptr += rcnt, *bf += rcnt, btf -= rcnt) { in f_forward() 4048 if (rcnt > btf) rcnt = btf; in f_forward() 4049 rcnt = (*func)(&fp->fs->win[(WORD)fp->fptr % SS(fp->fs)], rcnt); in f_forward() [all …]
|