/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/ |
5-1.c | 22 int result, new_priority, old_priority, max_prio, policy; local 36 /* Make sure new_priority != old_priority */ 39 new_priority = (old_priority == max_prio) ? 41 param.sched_priority = new_priority; 50 if (result == 0 && param.sched_priority == new_priority) {
|
20-1.c | 32 int new_priority, max_priority, policy, result; local 42 /* Make sure new_priority != old priority */ 45 new_priority = (param.sched_priority == max_priority) ? 65 param.sched_priority = new_priority; 78 if (param.sched_priority == new_priority) {
|
21-2.c | 32 int new_priority, max_priority, policy, result; local 41 /* Make sure new_priority != old_priority */ 44 new_priority = (param.sched_priority == max_priority) ? 46 param.sched_priority = new_priority; 76 if (param.sched_priority == new_priority) {
|
1-1.c | 47 int min_priority, new_priority, old_priority; local 76 new_priority = param.sched_priority == min_priority ? 89 if (result == 0 && param.sched_priority == new_priority) { 105 param.sched_priority = (new_priority -= 2); 108 if (result == 0 && param.sched_priority == new_priority) {
|
21-1.c | 32 int new_priority, max_priority, old_policy, policy, result; local 41 /* Make sure new_priority != old priority */ 44 new_priority = (param.sched_priority == max_priority) ? 46 param.sched_priority = new_priority;
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setscheduler/ |
15-2.c | 33 int new_priority, max_priority, policy, result; local 43 /* Make sure new_priority != old priority */ 45 new_priority = (param.sched_priority == max_priority) ? 65 param.sched_priority = new_priority; 83 if (param.sched_priority == new_priority) {
|
22-2.c | 33 int new_priority, max_priority, policy, result; local 42 /* Make sure new_priority != old_priority */ 44 new_priority = (param.sched_priority == max_priority) ? 46 param.sched_priority = new_priority; 81 if (param.sched_priority == new_priority) {
|
4-1.c | 22 int result, new_priority, old_priority, max_prio; local 40 /* Make sure new_priority != old_priority */ 43 new_priority = (old_priority == max_prio) ? 60 if (result != -1 && param.sched_priority == new_priority &&
|
/external/ltp/testcases/kernel/device-drivers/v4l/user_space/ |
test_VIDIOC_PRIORITY.c | 56 enum v4l2_priority new_priority; local 67 memset(&new_priority, 0xff, sizeof(new_priority)); 69 ioctl(get_video_fd(), VIDIOC_G_PRIORITY, &new_priority); 74 CU_ASSERT_EQUAL(new_priority, priority); 84 enum v4l2_priority new_priority; local 97 memset(&new_priority, 0xff, sizeof(new_priority)); 99 ioctl(get_video_fd(), VIDIOC_G_PRIORITY, &new_priority); 104 CU_ASSERT_EQUAL(new_priority, orig_priority) [all...] |
/art/runtime/native/ |
java_lang_Thread.cc | 168 * Alter the priority of the specified thread. "new_priority" will range 172 static void Thread_setPriority0(JNIEnv* env, jobject java_thread, jint new_priority) { 177 thread->SetNativePriority(new_priority);
|
/external/vboot_reference/cgpt/ |
cgpt_prioritize.c | 72 static void ChangeGroup(group_list_t *gl, int old_priority, int new_priority) { 76 gl->group[i].priority = new_priority;
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
hlo_memory_scheduler.cc | 350 Priority new_priority = GetPriority(entry); local 351 if (new_priority == ready_queue_it->first) { 357 ready_queue.emplace(new_priority, std::move(entry));
|
/art/runtime/ |
thread.cc | [all...] |