/netbsd/external/bsd/top/dist/ |
H A D | commands.c | 103 static int errcnt; variable 106 #define ERR_RESET errcnt = 0 107 #define ERROR(p, e) if (errcnt < ERRMAX) \ 109 errs[errcnt].arg = (p); \ 110 errs[errcnt++].errnum = (e); \ 211 if (errcnt == 0) in err_string() 217 qsort((char *)errs, errcnt, sizeof(struct errs), err_compar); in err_string() 224 while (cnt < errcnt) in err_string() 326 return(errcnt); in error_count() 340 printf("%d error%s:\n\n", errcnt, errcnt == 1 ? "" : "s"); in show_errors() [all …]
|
/netbsd/usr.bin/fdformat/ |
H A D | fdformat.c | 158 int errcnt = 0; in main() local 295 errcnt += verify_track(fd, cyl, trk, in main() 303 errcnt++; in main() 309 if (errcnt) in main() 311 errcnt, errcnt == 1 ? "" : "s"); in main()
|
/netbsd/sys/arch/sun3/dev/ |
H A D | eeprom.c | 208 int errcnt; in ee_update() local 223 errcnt = 0; in ee_update() 243 errcnt++; in ee_update() 248 return errcnt ? EIO : 0; in ee_update()
|
/netbsd/crypto/external/bsd/openssl/dist/test/ |
H A D | params_test.c | 440 int errcnt = 0; in test_case_variant() local 448 errcnt++; in test_case_variant() 475 errcnt++; in test_case_variant() 484 errcnt++; in test_case_variant() 494 errcnt++; in test_case_variant() 505 errcnt++; in test_case_variant() 526 errcnt++; in test_case_variant() 534 return errcnt == 0; in test_case_variant()
|
/netbsd/external/mpl/bind/dist/lib/isc/tests/ |
H A D | timer_test.c | 59 static atomic_uint_fast32_t errcnt; variable 72 atomic_init(&errcnt, ISC_R_SUCCESS); in _setup() 121 atomic_store(&errcnt, ISC_R_SUCCESS); in setup_test() 150 assert_int_equal(atomic_load(&errcnt), ISC_R_SUCCESS); in setup_test() 161 &errcnt, &(uint_fast32_t){ ISC_R_SUCCESS }, result); in set_global_error() 594 assert_int_equal(atomic_load(&errcnt), ISC_R_SUCCESS); in purge()
|
/netbsd/sys/kern/ |
H A D | sys_aio.c | 617 unsigned int cn, errcnt, fildes; in sys_aio_cancel() local 683 errcnt = 0; in sys_aio_cancel() 692 errcnt++; in sys_aio_cancel() 703 if (errcnt) in sys_aio_cancel() 932 int i, error, errcnt, mode, nent; in sys_lio_listio() local 994 errcnt = 0; in sys_lio_listio() 1002 errcnt++; in sys_lio_listio() 1008 if (errcnt) { in sys_lio_listio()
|
H A D | kern_ktrace.c | 1375 int ktrerr, errcnt; in ktrace_thread() local 1393 errcnt = ktd->ktd_errcnt; in ktrace_thread() 1400 fp, ktrerr, errcnt); in ktrace_thread()
|
/netbsd/usr.bin/pr/ |
H A D | pr.c | 113 static int errcnt; /* error count on file processing */ variable 158 if (errcnt || ret_val) in main() 1324 ++errcnt; in nxtfile() 1348 ++errcnt; in nxtfile() 1361 ++errcnt; in nxtfile() 1380 ++errcnt; in nxtfile() 1390 ++errcnt; in nxtfile() 1409 ++errcnt; in nxtfile()
|
/netbsd/crypto/external/bsd/openssl.old/dist/crypto/store/ |
H A D | loader_file.c | 738 int errcnt; member 1289 ctx->errcnt = 0; in file_load() 1302 ctx->errcnt++; in file_load() 1355 ctx->errcnt++; in file_load() 1360 ctx->errcnt++; in file_load() 1376 ctx->errcnt++; in file_load() 1396 ctx->errcnt++; in file_load() 1421 return ctx->errcnt > 0; in file_error()
|
/netbsd/sys/arch/atari/dev/ |
H A D | fd.c | 150 int errcnt; /* current error count */ member 524 sc->errcnt = 0; in fdopen() 675 sc->errcnt = 0; in fdstatus() 696 sc->errcnt = 0; /* No errors yet */ in fdstart() 973 if (++sc->errcnt < MAX_ERRORS) { in fdcint() 1015 sc->errcnt = 0; in fdcint()
|
/netbsd/external/gpl2/gmake/dist/w32/subproc/ |
H A D | sub_proc.c | 42 volatile DWORD errcnt; member 646 pproc->errcnt = 0; in proc_stderr_thread() 655 if (pproc->errcnt + nread > bufsize) { in proc_stderr_thread() 659 pproc->errcnt = 0; in proc_stderr_thread() 663 pproc->errp[pproc->errcnt++] = c; in proc_stderr_thread()
|
/netbsd/crypto/external/bsd/openssl/dist/engines/ |
H A D | e_loader_attic.c | 869 int errcnt; member 1519 ctx->errcnt = 0; in file_load() 1529 ctx->errcnt++; in file_load() 1579 ctx->errcnt++; in file_load() 1591 ctx->errcnt++; in file_load() 1607 ctx->errcnt++; in file_load() 1625 ctx->errcnt++; in file_load() 1652 return ctx->errcnt > 0; in file_error()
|
/netbsd/bin/pax/ |
H A D | buf_subs.c | 317 int errcnt = 0; in rd_sync() local 360 if ((maxflt > 0) && (++errcnt > maxflt)) in rd_sync() 368 errcnt = 0; in rd_sync()
|
/netbsd/external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/ |
H A D | attach-slow-waitpid.exp | 93 set errcnt 0
|
/netbsd/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/ |
H A D | attach-slow-waitpid.exp | 93 set errcnt 0
|
/netbsd/sys/compat/freebsd/ |
H A D | freebsd_timex.h | 276 long errcnt; /* calibration errors (ro) */ member
|
/netbsd/external/bsd/ntp/dist/kernel/sys/ |
H A D | timex.h | 283 long errcnt; /* calibration errors (ro) */ member
|
/netbsd/sys/sys/ |
H A D | timex.h | 236 long errcnt; /* calibration errors (ro) */ member
|
/netbsd/external/gpl3/gdb/dist/ld/testsuite/lib/ |
H A D | ld-lib.exp | 152 global errcnt warncnt 156 set errcnt 0 664 global errcnt 796 set errcnt 0
|
/netbsd/external/gpl3/gdb.old/dist/ld/testsuite/lib/ |
H A D | ld-lib.exp | 152 global errcnt warncnt 156 set errcnt 0 664 global errcnt 796 set errcnt 0
|
/netbsd/sys/compat/netbsd32/ |
H A D | netbsd32_conv.h | 451 tx32p->errcnt = (netbsd32_long)txp->errcnt; in netbsd32_from_timex() 475 txp->errcnt = (long)tx32p->errcnt; in netbsd32_to_timex()
|
/netbsd/external/bsd/ntp/dist/ntpd/ |
H A D | refclock_wwv.c | 578 int errcnt; /* data bit error counter */ member 1721 up->errcnt++; in wwv_epoch() 1722 if (up->errcnt > MAXERR) in wwv_epoch() 1876 up->errcnt = up->digcnt = up->alarm = 0; in wwv_rsec() 2658 sp->metric, up->errcnt, up->freq / WWV_SEC * 1e6, in timecode()
|
/netbsd/external/gpl3/gdb/dist/sim/erc32/ |
H A D | func.c | 52 uint32 errcnt = 0; variable 327 errcnt++; in errinj() 448 } else printf("Injected errors: %d\n",errcnt); in exec_cmd()
|
/netbsd/external/gpl3/gdb.old/dist/sim/erc32/ |
H A D | func.c | 52 uint32 errcnt = 0; variable 327 errcnt++; in errinj() 448 } else printf("Injected errors: %d\n",errcnt); in exec_cmd()
|
/netbsd/usr.sbin/lpr/lpd/ |
H A D | printjob.c | 152 int errcnt, count = 0; in printjob() local 245 errcnt = 0; in printjob() 276 else if (i == REPRINT && ++errcnt < 5) { in printjob()
|