/third_party/musl/libc-test/src/functionalext/supplement/misc/misc_gtest/ |
D | misc_getpriority_test.cpp | 20 setpriority(PRIO_USER, getuid(), priorityNum); in TearDown() 36 int result1 = setpriority(PRIO_PROCESS, getpid(), PRIORITY); 51 int result1 = setpriority(PRIO_PGRP, getpgid(getpid()), PRIORITY); 66 int result1 = setpriority(PRIO_USER, getuid(), PRIORITY);
|
D | misc_setpriority_test.cpp | 19 int setResult = setpriority(PRIO_PROCESS, getpid(), 1);
|
/third_party/musl/libc-test/src/functionalext/supplement/misc/ |
D | getpriority.c | 58 ret = setpriority(PRIO_PROCESS, getpid(), i); in getpriority_0200() 69 ret = setpriority(PRIO_PGRP, getpgid(getpid()), i); in getpriority_0200() 80 ret = setpriority(PRIO_USER, getuid(), i); in getpriority_0200()
|
D | setpriority.c | 27 int result = setpriority(PRIO_PROCESS, gettid(), 1); in setpriority_0100()
|
D | test_src_functionalext_supplement_misc.gni | 21 "setpriority",
|
/third_party/musl/src/misc/ |
D | setpriority.c | 4 int setpriority(int which, id_t who, int prio) in setpriority() function
|
/third_party/musl/src/unistd/ |
D | nice.c | 16 if (setpriority(PRIO_PROCESS, 0, prio)) { in nice()
|
/third_party/toybox/toys/posix/ |
D | renice.c | 45 if (setpriority(which, id, getpriority(which, id)+TT.n) < 0)
|
/third_party/musl/libc-test/src/api/ |
D | sys_resource.c | 38 {int(*p)(int,id_t,int) = setpriority;} in f()
|
/third_party/skia/third_party/externals/angle2/util/posix/ |
D | test_utils_posix.cpp | 354 setpriority(PRIO_PROCESS, getpid(), 10); in SetLowPriorityProcess() 371 setpriority(PRIO_PROCESS, getpid(), -20); in StabilizeCPUForBenchmarking()
|
/third_party/musl/porting/liteos_a/kernel/include/sys/ |
D | resource.h | 54 int setpriority (int, id_t, int);
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
D | resource.h | 54 int setpriority (int, id_t, int);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
D | resource.h | 54 int setpriority (int, id_t, int);
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
D | resource.h | 54 int setpriority (int, id_t, int);
|
/third_party/musl/ndk_musl_include/sys/ |
D | resource.h | 54 int setpriority (int, id_t, int);
|
/third_party/musl/include/sys/ |
D | resource.h | 54 int setpriority (int, id_t, int);
|
/third_party/ltp/testcases/kernel/syscalls/setpriority/ |
D | setpriority02.c | 62 TEST(setpriority(tc->which, tc->who, tc->prio)); in setpriority_test()
|
D | setpriority01.c | 53 TEST(setpriority(tc->which, *tc->who, new_prio)); in setpriority_test()
|
/third_party/rust/crates/rustix/src/backend/libc/process/ |
D | syscalls.rs | 273 unsafe { ret(c::setpriority(c::PRIO_USER, uid.as_raw() as _, priority)) } in setpriority_user() 280 ret(c::setpriority( in setpriority_pgrp() 292 ret(c::setpriority( in setpriority_process()
|
/third_party/ltp/testcases/kernel/sched/sched_stress/ |
D | sched_tc1.c | 133 if (setpriority(PRIO_PROCESS, 0, 0) < 0) in main()
|
D | sched_tc0.c | 132 if (setpriority(PRIO_PROCESS, 0, 0) < 0) in main()
|
D | sched_tc3.c | 136 if (setpriority(PRIO_PROCESS, 0, 0) < 0) in main()
|
D | sched_tc2.c | 134 if (setpriority(PRIO_PROCESS, 0, 0) < 0) in main()
|
D | sched_tc4.c | 138 if (setpriority(PRIO_PROCESS, 0, 0) < 0) in main()
|
/third_party/musl/Benchmark/musl/ |
D | libc_syscall.cpp | 163 benchmark::DoNotOptimize(setpriority(PRIO_PROCESS, pid, prio)); in Bm_function_Syscall_setpriority()
|