/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/flutter/skia/third_party/externals/angle2/util/posix/ |
D | Posix_system_utils.cpp | 47 setpriority(PRIO_PROCESS, getpid(), 10); in SetLowPriorityProcess() 64 setpriority(PRIO_PROCESS, getpid(), -20); in StabilizeCPUForBenchmarking()
|
/third_party/flutter/engine/flutter/shell/platform/ohos/ |
D | ohos_shell_holder.cc | 118 if (::setpriority(PRIO_PROCESS, gettid(), -5) != 0) { in OhosShellHolder() 119 if (::setpriority(PRIO_PROCESS, gettid(), -2) != 0) { in OhosShellHolder() 125 if (::setpriority(PRIO_PROCESS, gettid(), -1) != 0) { in OhosShellHolder()
|
/third_party/flutter/engine/flutter/shell/platform/android/ |
D | android_shell_holder.cc | 121 if (::setpriority(PRIO_PROCESS, gettid(), -5) != 0) { in AndroidShellHolder() 124 if (::setpriority(PRIO_PROCESS, gettid(), -2) != 0) { in AndroidShellHolder() 130 if (::setpriority(PRIO_PROCESS, gettid(), -1) != 0) { in AndroidShellHolder()
|
/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_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/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
D | resource.h | 54 int setpriority (int, id_t, int);
|
/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/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_tc2.c | 134 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_tc4.c | 138 if (setpriority(PRIO_PROCESS, 0, 0) < 0) in main()
|