/freebsd-12-stable/lib/libc/gen/ |
H A D | nice.c | 33 __SCCSID("@(#)nice.c 8.1 (Berkeley) 6/4/93"); 43 * Backwards compatible nice. 46 nice(int incr) function
|
/freebsd-12-stable/contrib/netbsd-tests/lib/libc/gen/ |
H A D | t_nice.c | 58 atf_tc_fail("nice(3) value was not propagated to threads"); 67 "Test nice(3) for invalid parameters (PR lib/42587)"); 84 ATF_REQUIRE_ERRNO(EPERM, nice(i) == -1); 91 atf_tc_set_md_var(tc, "descr", "Test nice(3) vs. getpriority(2)"); 106 nic = nice(i); 115 atf_tc_fail("nice(3) and getpriority(2) conflict"); 119 * Also verify that the nice(3) values 148 atf_tc_fail("nice(3) value was not inherited"); 155 atf_tc_set_md_var(tc, "descr", "Test that nice(3) works"); 165 ATF_REQUIRE(nice( [all...] |
/freebsd-12-stable/contrib/googletest/googlemock/test/ |
H A D | gmock-nice-strict_test.cc | 31 #include "gmock/gmock-generated-nice-strict.h" 187 // Tests that a nice mock generates no warning for uninteresting calls. 197 // Tests that a nice mock generates no warning for uninteresting calls 210 // Tests that a nice mock generates informational logs for 227 // Tests that a nice mock allows expected calls. 235 // Tests that an unexpected call on a nice mock which returns a 252 // Tests that an unexpected call on a nice mock fails. 306 NiceMock< ::Mock> nice; local 307 EXPECT_CALL(nice, DoThis()); 308 nice [all...] |
/freebsd-12-stable/contrib/tcsh/ |
H A D | tc.decls.h | 204 # undef nice macro 205 # define nice(a) xnice(a) macro
|
H A D | tc.os.h | 53 # define nice(a) setprio((getpid()),a) macro
|
H A D | sh.time.c | 161 (void) nice(nval);
|
/freebsd-12-stable/sys/sys/ |
H A D | sched.h | 88 void sched_nice(struct proc *p, int nice);
|
/freebsd-12-stable/contrib/bmake/mk/ |
H A D | dep.mk | 12 # it would be nice to be able to query .SUFFIXES
|
H A D | meta.autodep.mk | 26 # it would be nice to be able to query .SUFFIXES 165 # it would be nice to be able to get .SUFFIXES as ${.SUFFIXES}
|
H A D | gendirdeps.mk | 278 # It would be nice do peform this check for all of DIRDEPS,
|
/freebsd-12-stable/cddl/contrib/opensolaris/cmd/zdb/ |
H A D | zdb.c | 1560 char nice[32]; local 1563 CTASSERT(sizeof (nice) >= NN_NUMBUF_SZ); 1580 zdb_nicenum(dd->dd_used_bytes, nice, sizeof (nice)); 1581 (void) printf("\t\tused_bytes = %s\n", nice); 1582 zdb_nicenum(dd->dd_compressed_bytes, nice, sizeof (nice)); 1583 (void) printf("\t\tcompressed_bytes = %s\n", nice); 1584 zdb_nicenum(dd->dd_uncompressed_bytes, nice, sizeof (nice)); [all...] |
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Support/Unix/ |
H A D | Process.inc | 345 // would be nice to avoid a dependency on curses proper when we can make do
|
/freebsd-12-stable/contrib/ntp/adjtimed/ |
H A D | adjtimed.c | 212 if (nice(-10) == -1) { 213 msyslog(LOG_ERR, "nice: %m"); 214 perror("adjtimed: nice");
|
/freebsd-12-stable/contrib/tcp_wrappers/ |
H A D | options.c | 88 static void nice_option(); /* execute "nice" option */ 125 "nice", nice_option, OPT_ARG, 355 /* nice_option - set nice value */ 367 tcpd_jump("bad nice value: \"%s\"", value); 368 if (dry_run == 0 && nice(niceval) < 0) 369 tcpd_warn("nice(%d): %m", niceval);
|
/freebsd-12-stable/sys/contrib/vchiq/interface/compat/ |
H A D | vchi_bsd.c | 511 set_user_nice(VCHIQ_THREAD_T thr, int nice) argument
|
H A D | vchi_bsd.h | 398 void set_user_nice(VCHIQ_THREAD_T p, int nice);
|
/freebsd-12-stable/include/ |
H A D | unistd.h | 456 int nice(int);
|
/freebsd-12-stable/share/mk/ |
H A D | meta.autodep.mk | 28 # it would be nice to be able to query .SUFFIXES 167 # it would be nice to be able to get .SUFFIXES as ${.SUFFIXES}
|
H A D | bsd.cpu.mk | 358 # not a nice optimization.
|
/freebsd-12-stable/usr.bin/ctlstat/ |
H A D | ctlstat.c | 85 uint64_t nice; member in struct:ctl_cpu_stats 223 cpu_stats->nice = cp_time[CP_NICE]; 402 ctx->cur_cpu.nice + ctx->cur_cpu.system +
|
/freebsd-12-stable/crypto/heimdal/appl/login/ |
H A D | login.c | 431 nice(udb->ue_nice[UDBRC_INTER]);
|
/freebsd-12-stable/libexec/atrun/ |
H A D | atrun.c | 308 nice(tolower(queue) - 'a');
|
/freebsd-12-stable/sys/kern/ |
H A D | sched_ule.c | 124 * ranges supporting nice values. 157 * or positive nice respectively. 160 * PRI_NRESV: Number of nice values. 162 * PRI_NICE: Determines the part of the priority inherited from nice. 172 #define SCHED_PRI_NICE(nice) (nice) 1585 * priorities. These threads are not subject to nice restrictions. 1589 * utilization and the rest is decided by nice value. 1591 * The nice value of the process has a linear effect on the calculated 1592 * score. Negative nice value 2173 sched_nice(struct proc *p, int nice) argument [all...] |
H A D | sched_4bsd.c | 85 #define NICE_WEIGHT 1 /* Priorities per nice level. */ 795 sched_nice(struct proc *p, int nice) argument 800 p->p_nice = nice;
|
/freebsd-12-stable/usr.sbin/apmd/ |
H A D | apmd.c | 670 nice(NICE_INCR);
|