Home
last modified time | relevance | path

Searched refs:setpriority (Results 1 – 25 of 81) sorted by relevance

1234

/third_party/musl/libc-test/src/functionalext/supplement/misc/
Dgetpriority.c58 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()
Dsetpriority.c27 int result = setpriority(PRIO_PROCESS, gettid(), 1); in setpriority_0100()
Dtest_src_functionalext_supplement_misc.gni21 "setpriority",
/third_party/flutter/skia/third_party/externals/angle2/util/posix/
DPosix_system_utils.cpp47 setpriority(PRIO_PROCESS, getpid(), 10); in SetLowPriorityProcess()
64 setpriority(PRIO_PROCESS, getpid(), -20); in StabilizeCPUForBenchmarking()
/third_party/flutter/engine/flutter/shell/platform/ohos/
Dohos_shell_holder.cc118 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/
Dandroid_shell_holder.cc121 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/
Dsetpriority.c4 int setpriority(int which, id_t who, int prio) in setpriority() function
/third_party/musl/src/unistd/
Dnice.c16 if (setpriority(PRIO_PROCESS, 0, prio)) { in nice()
/third_party/toybox/toys/posix/
Drenice.c45 if (setpriority(which, id, getpriority(which, id)+TT.n) < 0)
/third_party/musl/libc-test/src/api/
Dsys_resource.c38 {int(*p)(int,id_t,int) = setpriority;} in f()
/third_party/skia/third_party/externals/angle2/util/posix/
Dtest_utils_posix.cpp354 setpriority(PRIO_PROCESS, getpid(), 10); in SetLowPriorityProcess()
371 setpriority(PRIO_PROCESS, getpid(), -20); in StabilizeCPUForBenchmarking()
/third_party/musl/porting/liteos_m/kernel/include/sys/
Dresource.h54 int setpriority (int, id_t, int);
/third_party/musl/ndk_musl_include/sys/
Dresource.h54 int setpriority (int, id_t, int);
/third_party/musl/include/sys/
Dresource.h54 int setpriority (int, id_t, int);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
Dresource.h54 int setpriority (int, id_t, int);
/third_party/musl/porting/liteos_a/kernel/include/sys/
Dresource.h54 int setpriority (int, id_t, int);
/third_party/musl/porting/uniproton/kernel/include/sys/
Dresource.h54 int setpriority (int, id_t, int);
/third_party/ltp/testcases/kernel/syscalls/setpriority/
Dsetpriority02.c62 TEST(setpriority(tc->which, tc->who, tc->prio)); in setpriority_test()
Dsetpriority01.c53 TEST(setpriority(tc->which, *tc->who, new_prio)); in setpriority_test()
/third_party/rust/crates/rustix/src/backend/libc/process/
Dsyscalls.rs273 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/
Dsched_tc1.c133 if (setpriority(PRIO_PROCESS, 0, 0) < 0) in main()
Dsched_tc0.c132 if (setpriority(PRIO_PROCESS, 0, 0) < 0) in main()
Dsched_tc2.c134 if (setpriority(PRIO_PROCESS, 0, 0) < 0) in main()
Dsched_tc3.c136 if (setpriority(PRIO_PROCESS, 0, 0) < 0) in main()
Dsched_tc4.c138 if (setpriority(PRIO_PROCESS, 0, 0) < 0) in main()

1234