| /external/ltp/testcases/kernel/syscalls/sched_setparam/ |
| sched_setparam02.c | 33 * This test changes the scheduling priority for current process 44 * If scheduling priority is set properly, 85 int priority; member in struct:test_cases_t 120 param.sched_priority = testcases[i].priority; 165 * verify_priority() - This function checks whether the priority is 173 if (p.sched_priority == testcases[i].priority) { 176 tst_resm(TWARN, "sched_getparam() returned priority"
|
| /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setschedpolicy/ |
| common.h | 40 int priority; member in struct:params 68 if (p->priority != PRIORITY_OTHER && sp.sched_priority != p->priority) { 69 printf("Failed: policy: %s thread priority %u != %u\n", 70 p->policy_label, sp.sched_priority, p->priority); 102 sp.sched_priority = p->priority; 103 if (p->priority != PRIORITY_OTHER) {
|
| /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/ |
| 2-1.c | 13 * higher or equal priority are blocked on the lock; 16 * In this case, we test "higher priority writer block" 21 * 1. Main thread set its shcedule policy as "SCHED_FIFO", with highest priority 24 * 3. Create a writer thread, with schedule policy as "SCHED_FIFO", and priority 28 * priority sched_get_priority_min() 29 * 6. Reader thread read lock 'rwlock', should block, since there is a higher priority 77 int priority; local 80 priority = (long)arg; 81 set_priority(pthread_self(), TRD_POLICY, priority); local 108 int priority; local 112 set_priority(pthread_self(), TRD_POLICY, priority); local 145 int priority; local 149 set_priority(pthread_self(), TRD_POLICY, priority); local [all...] |
| 2-2.c | 13 * higher or equal priority are blocked on the lock; 16 * In this case, we test "equal priority writer block" 21 * 1. Main thread set its shcedule policy as "SCHED_FIFO", with highest priority 24 * 3. Create a writer thread, with schedule policy as "SCHED_FIFO", and priority 28 * priority sched_get_priority_min()+1 29 * 6. Reader thread read lock 'rwlock', should block, since there is an equal priority 77 int priority; local 80 priority = (long)arg; 81 set_priority(pthread_self(), TRD_POLICY, priority); local 108 int priority; local 112 set_priority(pthread_self(), TRD_POLICY, priority); local 145 int priority; local 149 set_priority(pthread_self(), TRD_POLICY, priority); local [all...] |
| 2-3.c | 13 * higher or equal priority are blocked on the lock; 16 * In this case, reader has higher priority than the writer 21 * 1. Main thread set its shcedule policy as "SCHED_FIFO", with highest priority 24 * 3. Create a writer thread, with schedule policy as "SCHED_FIFO", and priority 28 * priority sched_get_priority_min()+1 29 * 6. Reader thread read lock 'rwlock', shouldn't block, since it has a higher priority 77 int priority; local 80 priority = (int)(long)arg; 81 set_priority(pthread_self(), TRD_POLICY, priority); local 108 int priority; local 112 set_priority(pthread_self(), TRD_POLICY, priority); local 146 int priority; local 150 set_priority(pthread_self(), TRD_POLICY, priority); local [all...] |
| /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_post/ |
| 8-1.c | 17 * priority waiting thread shall be unblocked, and if there is 18 * more than one highest priority thread blocked waiting for the semaphore, 19 * then the highest priority thread that has been waiting the 26 * 1. Parent locks a semaphore, it has highest priority P0. 27 * 2. It forks 2 child processes 1, 2, as for priority P1, P2, P0 > P2 > P1 30 * 4. Parent forks another child 3, with priority P3, P3 = P2, it locks 54 int set_my_prio(int priority) 57 sp.sched_priority = priority; 79 int child_fn(int priority, int id) 83 if (set_my_prio(priority)) 121 int priority; local [all...] |
| /external/ltp/testcases/realtime/func/sched_football/ |
| sched_football.c | 24 * The premise is that we want to make sure that lower priority threads 27 * And the ref (highest priority thread) will blow the wistle if the 32 * - Create a fixed number of offense threads (lower priority) 33 * - Create a referee thread (highest priority) 160 int priority; local 175 /* We're the ref, so set our priority right */ 181 * They are lower priority than defense, so they must be started first. 183 priority = 15; 184 printf("Starting %d offense threads at priority %d\n", 185 players_per_team, priority); [all...] |
| /external/nist-sip/java/gov/nist/javax/sip/parser/ |
| PriorityParser.java | 33 * Parser for Priority header. 48 * @param priority the header to parse 50 public PriorityParser(String priority) { 51 super(priority); 64 * @return SIPHeader (Priority object) 71 Priority priority = new Priority(); local 73 headerName(TokenTypes.PRIORITY); 75 priority.setHeaderName(SIPHeaderNames.PRIORITY) [all...] |
| /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/ |
| FrameReader.java | 87 * Called when reading a headers or priority frame. This may be used to 90 * @param streamId stream which has a priority change. 92 * @param weight relative proportion of priority in [1..256]. 96 void priority(int streamId, int streamDependency, int weight, boolean exclusive); method in interface:FrameReader.Handler
|
| /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
| BaseTestHandler.java | 61 @Override public void priority(int streamId, int streamDependency, int weight, method in class:BaseTestHandler
|
| /external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/framed/ |
| FrameReader.java | 89 * Called when reading a headers or priority frame. This may be used to 92 * @param streamId stream which has a priority change. 94 * @param weight relative proportion of priority in [1..256]. 98 void priority(int streamId, int streamDependency, int weight, boolean exclusive); method in interface:FrameReader.Handler
|
| /external/swiftshader/src/D3D8/ |
| Direct3DResource8.hpp | 60 unsigned long priority; member in class:D3D8::Direct3DResource8
|
| /external/swiftshader/src/D3D9/ |
| Direct3DResource9.hpp | 62 unsigned long priority; member in class:D3D9::Direct3DResource9
|
| /external/tensorflow/tensorflow/core/common_runtime/ |
| device_factory.cc | 42 int priority; member in struct:tensorflow::__anon44813::FactoryItem 59 return iter->second.priority; 67 int priority) { 73 factories[device_type] = {std::move(factory_ptr), priority}; 75 if (iter->second.priority < priority) { 76 iter->second = {std::move(factory_ptr), priority}; 77 } else if (iter->second.priority == priority) { 79 << device_type << " with the same priority " << priority local [all...] |
| /external/webrtc/talk/app/webrtc/ |
| sctputils_unittest.cc | 40 uint16_t priority; local 59 ASSERT_TRUE(buffer.ReadUInt16(&priority));
|
| /art/libartbase/base/ |
| logging.cc | 107 int priority = kLogSeverityToAndroidLogPriority[static_cast<size_t>(log_severity)]; local 110 if (priority == ANDROID_LOG_FATAL) { 119 android_writeLog(priority, tag, buf); 122 android_writeLog(priority, tag, message);
|
| /art/test/931-agent-thread/ |
| agent_thread.cc | 37 priority(0) { 43 jint priority; member in struct:art::Test930AgentThread::AgentData 69 // The thread has the requested priority. 71 // CHECK_EQ(info.priority, data->priority); 110 // runtime-only constructor (so we can set priority and daemon state). 149 data.priority = JVMTI_THREAD_MIN_PRIORITY; 152 jvmtiError result = jvmti_env->RunAgentThread(thread.get(), AgentMain, &data, data.priority);
|
| /bionic/libc/kernel/uapi/linux/ |
| if_eql.h | 38 long priority; member in struct:slave_config 42 long priority; member in struct:slaving_request
|
| /cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0479/ |
| poc.cpp | 58 const int32_t priority = 0; local 80 gEffect = audioFlinger->createEffect(&descriptor, effectClient, priority,
|
| /development/samples/ApiDemos/src/com/example/android/apis/accessibility/ |
| TaskListView.java | 47 * priority for the task. 55 int priority = (Integer) child.getTag(); local 56 String priorityStr = "Priority: " + priority;
|
| /device/google/contexthub/firmware/os/platform/stm32/inc/plat/ |
| dma.h | 43 } priority; member in struct:dmaMode
|
| /device/google/marlin/dataservices/datatop/src/ |
| datatop_opt.h | 51 #define DEFAULT_NICE 19 /* Lowest priority */ 79 int priority; /* -n option (niceness) */ member in struct:cli_opts
|
| /external/adhd/cras/src/common/ |
| dumper.c | 24 int priority; member in struct:syslog_data 47 syslog(data->priority, "%.*s", i + 1, buf); 54 struct dumper *syslog_dumper_create(int priority) 58 data->priority = priority;
|
| /external/autotest/frontend/client/src/autotest/common/ |
| StaticDataRepository.java | 52 String priority = priorityData.get(1).isString().stringValue(); local 54 priorityMap.put(priority_value, priority);
|
| /external/autotest/server/site_tests/hardware_StorageQual/ |
| generate_storage_qual_control_files.py | 19 dependency, so that the tests are forced to run on the correct DUT. Priority 41 'priority': 110, 48 'priority': 100, 60 'priority': 90, 67 'priority': 70, 98 'priority': 80, 114 'priority': 80, 130 'priority': 80, 152 'priority': 80, 168 'priority': 80 311 priority = test['priority'], variable 325 priority = test['priority'], variable [all...] |