/third_party/ltp/testcases/kernel/syscalls/setpriority/ |
D | setpriority02.c | 45 {PRIO_PROCESS, INVAL_ID, NEW_PRIO, ESRCH, 0}, 49 {PRIO_PROCESS, 0, NEW_PRIO, EACCES, 1}, 52 {PRIO_PROCESS, INIT_PID, NEW_PRIO, EPERM, 1}
|
D | setpriority01.c | 28 {PRIO_PROCESS, &pid}, 36 case PRIO_PROCESS: in str_which()
|
/third_party/musl/libc-test/src/functionalext/supplement/misc/ |
D | getpriority.c | 33 int ret = getpriority(PRIO_PROCESS, getpid()); in getpriority_0100() 58 ret = setpriority(PRIO_PROCESS, getpid(), i); in getpriority_0200() 62 ret = getpriority(PRIO_PROCESS, getpid()); in getpriority_0200()
|
D | setpriority.c | 27 int result = setpriority(PRIO_PROCESS, gettid(), 1); in setpriority_0100()
|
/third_party/musl/src/unistd/ |
D | nice.c | 12 prio += getpriority(PRIO_PROCESS, 0); in nice() 15 return setpriority(PRIO_PROCESS, 0, prio) ? -1 : prio; in nice()
|
/third_party/ltp/testcases/kernel/syscalls/nice/ |
D | nice03.c | 25 orig_nice = SAFE_GETPRIORITY(PRIO_PROCESS, 0); in nice_test() 39 new_nice = SAFE_GETPRIORITY(PRIO_PROCESS, 0); in nice_test()
|
D | nice01.c | 25 orig_nice = SAFE_GETPRIORITY(PRIO_PROCESS, 0); in verify_nice() 40 new_nice = SAFE_GETPRIORITY(PRIO_PROCESS, 0); in verify_nice()
|
D | nice02.c | 38 new_nice = SAFE_GETPRIORITY(PRIO_PROCESS, 0); in verify_nice()
|
/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/ltp/testcases/kernel/syscalls/getpriority/ |
D | getpriority01.c | 25 {PRIO_PROCESS, 0, 0},
|
D | getpriority02.c | 33 {PRIO_PROCESS, INVAL_ID, ESRCH},
|
/third_party/toybox/toys/posix/ |
D | renice.c | 25 ((toys.optflags & FLAG_u) ? PRIO_USER : PRIO_PROCESS);
|
/third_party/musl/libc-test/src/api/ |
D | sys_resource.c | 10 C(PRIO_PROCESS) in f()
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
D | resource.h | 64 #define PRIO_PROCESS 0 macro
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
D | resource.h | 64 #define PRIO_PROCESS 0 macro
|
/third_party/musl/include/sys/ |
D | resource.h | 64 #define PRIO_PROCESS 0 macro
|
/third_party/musl/ndk_musl_include/sys/ |
D | resource.h | 64 #define PRIO_PROCESS 0 macro
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
D | resource.h | 64 #define PRIO_PROCESS 0 macro
|
/third_party/musl/porting/liteos_a/kernel/include/sys/ |
D | resource.h | 64 #define PRIO_PROCESS 0 macro
|
/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/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()
|