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/misc_gtest/
Dmisc_getpriority_test.cpp20 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);
Dmisc_setpriority_test.cpp19 int setResult = setpriority(PRIO_PROCESS, getpid(), 1);
/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/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_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/musl/porting/liteos_m_iccarm/kernel/include/sys/
Dresource.h54 int setpriority (int, id_t, int);
/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/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_tc3.c136 if (setpriority(PRIO_PROCESS, 0, 0) < 0) in main()
Dsched_tc2.c134 if (setpriority(PRIO_PROCESS, 0, 0) < 0) in main()
Dsched_tc4.c138 if (setpriority(PRIO_PROCESS, 0, 0) < 0) in main()
/third_party/musl/Benchmark/musl/
Dlibc_syscall.cpp163 benchmark::DoNotOptimize(setpriority(PRIO_PROCESS, pid, prio)); in Bm_function_Syscall_setpriority()

1234