HomeSort by relevance Sort by last modified time
    Searched refs:getpriority (Results 1 - 25 of 68) sorted by null

1 2 3

  /external/strace/tests/
xetpriority.gen.test 2 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (xetpriority -a29 -e trace=getpriority,setpriority); do not edit.
4 run_strace_match_diff -a29 -e trace=getpriority,setpriority
  /external/strace/tests-m32/
xetpriority.gen.test 2 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (xetpriority -a29 -e trace=getpriority,setpriority); do not edit.
4 run_strace_match_diff -a29 -e trace=getpriority,setpriority
  /external/strace/tests-mx32/
xetpriority.gen.test 2 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (xetpriority -a29 -e trace=getpriority,setpriority); do not edit.
4 run_strace_match_diff -a29 -e trace=getpriority,setpriority
  /bionic/libc/bionic/
getpriority.cpp 33 int getpriority(int which, id_t who) { function
  /bionic/libc/upstream-netbsd/lib/libc/gen/
nice.c 61 prio = getpriority(PRIO_PROCESS, 0);
69 return getpriority(PRIO_PROCESS, 0);
  /external/toybox/toys/posix/
renice.c 45 if (setpriority(which, id, getpriority(which, id)+TT.n) < 0)
  /bionic/libc/include/sys/
resource.h 51 int getpriority(int __which, id_t __who);
  /bionic/tests/headers/posix/
sys_resource_h.c 65 FUNCTION(getpriority, int (*f)(int, id_t));
  /external/ltp/testcases/kernel/syscalls/getpriority/
getpriority01.c 21 * Verify that getpriority(2) succeeds get the scheduling priority of
46 TEST(getpriority(tc->which, 0));
49 tst_res(TFAIL | TTERRNO, "getpriority(%d, 0) failed",
55 tst_res(TFAIL, "getpriority(%d, 0) returned %ld, "
61 tst_res(TPASS, "getpriority(%d, 0) returned %ld",
getpriority02.c 22 * 1) getpriority(2) fails with -1 and sets errno to EINVAL if 'which'
24 * 2) getpriority(2) fails with -1 and sets errno to ESRCH if no
54 TEST(getpriority(tc->which, tc->who));
57 tst_res(TFAIL, "getpriority(%d, %d) succeeds unexpectedly, "
64 "getpriority(%d, %d) should fail with %s",
69 tst_res(TPASS | TTERRNO, "getpriority(%d, %d) fails as expected",
  /device/linaro/bootloader/edk2/StdLib/Include/sys/
resource.h 135 int getpriority(int, id_t);
  /art/libartpalette/system/
palette_android.cc 69 // TODO: b/18249098 The code below is broken. It uses getpriority() as a proxy for whether a
78 } else if (getpriority(PRIO_PROCESS, tid) >= ANDROID_PRIORITY_BACKGROUND) {
90 int native_priority = getpriority(PRIO_PROCESS, tid);
  /external/strace/
resource.c 180 SYS_FUNC(getpriority)
sys_func.h 75 extern SYS_FUNC(getpriority);
  /external/libpcap/lbl/
os-sunos4.h 94 int getpriority(int, int);
  /external/tcpdump/lbl/
os-sunos4.h 95 int getpriority(int, int);
  /device/google/marlin/dataservices/datatop/src/
datatop.c 171 rc = getpriority(PRIO_PROCESS, pid);
  /external/libchrome/base/process/
process_posix.cc 370 int Process::GetPriority() const {
372 return getpriority(PRIO_PROCESS, process_);
  /external/libchrome/base/threading/
platform_thread_posix.cc 264 // http://man7.org/linux/man-pages/man2/getpriority.2.html: "under the current
289 // Need to clear errno before calling getpriority():
290 // http://man7.org/linux/man-pages/man2/getpriority.2.html
292 int nice_value = getpriority(PRIO_PROCESS, 0);
  /external/llvm/lib/Support/
CrashRecoveryContext.cpp 346 return getpriority(PRIO_DARWIN_THREAD, 0) == 1;
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
CrashRecoveryContext.cpp 380 return getpriority(PRIO_DARWIN_THREAD, 0) == 1;
  /external/strace/linux/32/
syscallent.h 149 [141] = { 2, 0, SEN(getpriority), "getpriority" },
  /external/strace/linux/64/
syscallent.h 142 [141] = { 2, 0, SEN(getpriority), "getpriority" },
  /external/strace/linux/avr32/
syscallent.h 125 [ 96] = { 2, 0, SEN(getpriority), "getpriority" },
  /external/strace/linux/hppa/
syscallent.h 102 [ 96] = { 2, 0, SEN(getpriority), "getpriority" },

Completed in 3828 milliseconds

1 2 3