Searched refs:nread (Results 1 – 4 of 4) sorted by relevance
/bionic/libc/stdio/ |
D | vfscanf.cpp | 95 int nread; /* number of characters consumed from fp */ in __svfscanf() local 110 nread = 0; in __svfscanf() 115 while ((fp->_r > 0 || __srefill(fp) == 0) && isspace(*fp->_p)) nread++, fp->_r--, fp->_p++; in __svfscanf() 133 nread++; in __svfscanf() 265 *va_arg(ap, signed char*) = nread; in __svfscanf() 267 *va_arg(ap, short*) = nread; in __svfscanf() 269 *va_arg(ap, long*) = nread; in __svfscanf() 271 *va_arg(ap, ssize_t*) = nread; in __svfscanf() 273 *va_arg(ap, ptrdiff_t*) = nread; in __svfscanf() 275 *va_arg(ap, long long*) = nread; in __svfscanf() [all …]
|
D | vfwscanf.c | 140 int nread; /* number of characters consumed from fp */ in __vfwscanf() local 157 nread = 0; in __vfwscanf() 187 nread++; in __vfwscanf() 319 *va_arg(ap, signed char*) = nread; in __vfwscanf() 321 *va_arg(ap, short*) = nread; in __vfwscanf() 323 *va_arg(ap, long*) = nread; in __vfwscanf() 325 *va_arg(ap, ssize_t*) = nread; in __vfwscanf() 327 *va_arg(ap, ptrdiff_t*) = nread; in __vfwscanf() 329 *va_arg(ap, long long*) = nread; in __vfwscanf() 331 *va_arg(ap, intmax_t*) = nread; in __vfwscanf() [all …]
|
/bionic/benchmarks/ |
D | get_heap_size_benchmark.cpp | 86 ssize_t nread = read(statm_fd, buf, BUF_SIZE); in BM_read_statm() local 87 if (nread < 13 || nread > 50) { in BM_read_statm() 88 errx(1, "ERROR: Implausible read result; result = %zd", nread); in BM_read_statm()
|
/bionic/libc/tzcode/ |
D | localtime.c | 382 register ssize_t nread; in tzloadbody() local 428 nread = TEMP_FAILURE_RETRY(read(fid, up->buf, entry_length)); in tzloadbody() 430 nread = read(fid, up->buf, sizeof up->buf); in tzloadbody() 432 if (nread < tzheadsize) { in tzloadbody() 433 int err = nread < 0 ? errno : EINVAL; in tzloadbody() 454 if (nread in tzloadbody() 572 nread -= p - up->buf; in tzloadbody() 573 memmove(up->buf, p, nread); in tzloadbody() 575 if (doextend && nread > 2 && in tzloadbody() 576 up->buf[0] == '\n' && up->buf[nread - 1] == '\n' && in tzloadbody() [all …]
|