Searched refs:readsz (Results 1 – 5 of 5) sorted by relevance
/freebsd/contrib/elftoolchain/libelf/ |
H A D | libelf_open.c | 52 ssize_t readsz; in _libelf_read_special_file() local 57 readsz = 0; in _libelf_read_special_file() 78 if ((readsz = read(fd, t, bufsz - datasz)) <= 0) in _libelf_read_special_file() 80 datasz += (size_t) readsz; in _libelf_read_special_file() 83 } while (readsz > 0); in _libelf_read_special_file() 85 if (readsz < 0) { in _libelf_read_special_file() 90 assert(readsz == 0); in _libelf_read_special_file()
|
/freebsd/tests/sys/kern/tty/ |
H A D | readsz.c | 85 size_t readsz; in main() local 92 readsz = MIN(bufsz, reps); in main() 94 readsz = bufsz; in main() 96 ret = read(STDIN_FILENO, buf, readsz); in main()
|
H A D | Makefile | 10 PROGS+= readsz
|
/freebsd/contrib/flex/src/ |
H A D | filter.c | 233 const int readsz = 512; in filter_tee_header() local 286 buf = malloc((size_t) readsz); in filter_tee_header() 289 while (fgets (buf, readsz, stdin)) { in filter_tee_header() 340 const size_t readsz = 512; in filter_fix_linedirs() local 348 buf = malloc(readsz); in filter_fix_linedirs() 352 while (fgets (buf, (int) readsz, stdin)) { in filter_fix_linedirs() 393 snprintf (buf, readsz, "#line %d \"%s\"\n", in filter_fix_linedirs()
|
/freebsd/sbin/ipfw/ |
H A D | ipfw2.c | 2922 size_t readsz; in ipfw_show_config() local 2933 readsz = sizeof(*cfg); in ipfw_show_config() 2942 readsz += ctlv->head.length; in ipfw_show_config() 2951 readsz += ctlv->head.length; in ipfw_show_config() 2957 if ((cfg->flags & IPFW_CFG_GET_STATES) && (readsz != sz)) { in ipfw_show_config() 2959 dynsz = sz - readsz; in ipfw_show_config()
|