| /openbsd/src/bin/cp/ |
| D | utils.c | 60 int from_fd, rcount, rval, to_fd, wcount; in copy_file() local 147 while ((rcount = read(from_fd, buf, buflen)) > 0) { in copy_file() 148 if (skipholes && memcmp(buf, zeroes, rcount) == 0) in copy_file() 149 wcount = lseek(to_fd, rcount, SEEK_CUR) == -1 ? -1 : rcount; in copy_file() 151 wcount = write(to_fd, buf, rcount); in copy_file() 152 if (rcount != wcount || wcount == -1) { in copy_file() 158 if (skipholes && rcount != -1) in copy_file() 159 rcount = ftruncate(to_fd, lseek(to_fd, 0, SEEK_CUR)); in copy_file() 160 if (rcount == -1) { in copy_file()
|
| /openbsd/src/bin/mv/ |
| D | cp.c | 397 int ch, checkch, from_fd, rcount, rval, to_fd, wcount; in copy_file() local 491 while ((rcount = read(from_fd, buf, buflen)) > 0) { in copy_file() 492 if (skipholes && memcmp(buf, zeroes, rcount) == 0) in copy_file() 493 wcount = lseek(to_fd, rcount, SEEK_CUR) == -1 ? -1 : rcount; in copy_file() 495 wcount = write(to_fd, buf, rcount); in copy_file() 496 if (rcount != wcount || wcount == -1) { in copy_file() 502 if (skipholes && rcount >= 0) in copy_file() 503 rcount = ftruncate(to_fd, lseek(to_fd, 0, SEEK_CUR)); in copy_file() 504 if (rcount == -1) { in copy_file()
|
| /openbsd/src/gnu/usr.bin/binutils-2.17/bfd/ |
| D | nlm32-i386.c | 332 bfd_size_type rcount; /* Number of relocs. */ in nlm_i386_read_import() local 353 rcount = H_GET_32 (abfd, temp); in nlm_i386_read_import() 354 nlm_relocs = bfd_alloc (abfd, rcount * sizeof (struct nlm_relent)); in nlm_i386_read_import() 359 while (sym -> rcnt < rcount) in nlm_i386_read_import()
|
| D | nlm32-sparc.c | 211 bfd_size_type rcount; /* Number of relocs. */ in nlm_sparc_read_import() local 221 rcount = bfd_get_32 (abfd, temp); in nlm_sparc_read_import() 242 nlm_relocs = bfd_alloc (abfd, rcount * sizeof (struct nlm_relent)); in nlm_sparc_read_import() 247 while (sym -> rcnt < rcount) in nlm_sparc_read_import()
|
| D | nlm32-alpha.c | 601 bfd_size_type rcount; /* Number of relocs. */ in nlm_alpha_read_import() local 624 rcount = H_GET_32 (abfd, temp); in nlm_alpha_read_import() 625 amt = rcount * sizeof (struct nlm_relent); in nlm_alpha_read_import() 631 while (sym -> rcnt < rcount) in nlm_alpha_read_import()
|
| D | nlm32-ppc.c | 615 bfd_size_type rcount; /* Number of relocs. */ in nlm_powerpc_read_import() local 637 rcount = H_GET_32 (abfd, temp); in nlm_powerpc_read_import() 638 nlm_relocs = bfd_alloc (abfd, rcount * sizeof (struct nlm_relent)); in nlm_powerpc_read_import() 643 while (sym -> rcnt < rcount) in nlm_powerpc_read_import()
|
| D | ChangeLog-9193 | 371 (nlm_slurp_symbol_table): Removed unused variable rcount. Call
|
| /openbsd/src/gnu/usr.bin/binutils/bfd/ |
| D | nlm32-i386.c | 349 bfd_size_type rcount; /* number of relocs */ local 371 rcount = H_GET_32 (abfd, temp); 373 bfd_alloc (abfd, rcount * sizeof (struct nlm_relent))); 378 while (sym -> rcnt < rcount)
|
| D | nlm32-sparc.c | 256 bfd_size_type rcount; /* Number of relocs. */ local 266 rcount = bfd_get_32 (abfd, temp); 291 bfd_alloc (abfd, rcount * sizeof (struct nlm_relent))); 296 while (sym -> rcnt < rcount)
|
| D | nlm32-alpha.c | 626 bfd_size_type rcount; /* number of relocs */ local 649 rcount = H_GET_32 (abfd, temp); 650 amt = rcount * sizeof (struct nlm_relent); 656 while (sym -> rcnt < rcount)
|
| D | nlm32-ppc.c | 660 bfd_size_type rcount; /* number of relocs */ local 682 rcount = H_GET_32 (abfd, temp); 684 bfd_alloc (abfd, rcount * sizeof (struct nlm_relent))); 689 while (sym -> rcnt < rcount)
|
| D | ChangeLog-9193 | 371 (nlm_slurp_symbol_table): Removed unused variable rcount. Call
|
| /openbsd/src/usr.bin/sdiff/ |
| D | sdiff.c | 99 ssize_t rcount; in mktmpcpy() local 131 while ((rcount = read(ifd, buf, sizeof(buf))) != -1 && in mktmpcpy() 132 rcount != 0) { in mktmpcpy() 135 wcount = write(ofd, buf, (size_t)rcount); in mktmpcpy() 136 if (-1 == wcount || rcount != wcount) { in mktmpcpy() 141 if (rcount == -1) { in mktmpcpy()
|
| /openbsd/src/usr.sbin/pwd_mkdb/ |
| D | pwd_mkdb.c | 387 int from_fd, rcount, to_fd, wcount; in cp() local 393 while ((rcount = read(from_fd, buf, sizeof buf)) > 0) { in cp() 394 wcount = write(to_fd, buf, rcount); in cp() 395 if (rcount != wcount || wcount == -1) in cp() 398 if (rcount == -1) in cp()
|
| /openbsd/src/sys/net/ |
| D | pf_ioctl.c | 562 rs->rules.inactive.rcount--; in pf_begin_rules() 581 rs->rules.inactive.rcount--; in pf_rollback_rules() 875 old_rcount = rs->rules.active.rcount; in pf_commit_rules() 878 rs->rules.active.rcount = rs->rules.inactive.rcount; in pf_commit_rules() 880 rs->rules.inactive.rcount = old_rcount; in pf_commit_rules() 889 rs->rules.inactive.rcount = 0; in pf_commit_rules() 908 if (rs->rules.inactive.rcount) { in pf_calc_chksum() 1465 ruleset->rules.inactive.rcount++; in pfioctl() 1733 ruleset->rules.active.rcount--; in pfioctl() 1746 ruleset->rules.active.rcount++; in pfioctl()
|
| D | if_pfsync.c | 3068 unsigned int rcount = 0; in pfsync_in_upd_c() local 3109 rcount++; in pfsync_in_upd_c() 3131 subh->count = htons(rcount); in pfsync_in_upd_c()
|
| D | pfvar.h | 823 u_int32_t rcount; member
|
| D | pf.c | 1417 ntohl(sp->rule) < pf_main_ruleset.rules.active.rcount) { in pf_state_import()
|
| /openbsd/src/usr.sbin/mrouted/ |
| D | prune.c | 1738 int rcount; in accept_mtrace() local 1780 if ((rcount = (datalen - QLEN)/RLEN) == no) { in accept_mtrace() 1789 logit(LOG_DEBUG, 0, "rcount:%d, qid:%06x", rcount, qry->tr_qid); in accept_mtrace() 1978 logit(LOG_DEBUG, 0, "rcount:%d, no:%d", rcount, no); in accept_mtrace() 1980 if ((rcount + 1 == no) || (rt == NULL) || (rt->rt_metric == 1)) { in accept_mtrace()
|
| /openbsd/src/usr.bin/vi/vi/ |
| D | v_txt.c | 242 CHAR_T prompt, recno_t ai_line, u_long rcount, u_int32_t flags) in v_txt() argument 836 if (rcount > 1) { in v_txt() 837 --rcount; in v_txt()
|
| /openbsd/src/gnu/usr.bin/binutils/gas/config/ |
| D | obj-vms.c | 2791 int rcount = 0; in Define_Routine() local 2812 sprintf (str, "$%d", rcount++); in Define_Routine()
|