HomeSort by relevance Sort by last modified time
    Searched refs:new_policy (Results 1 - 19 of 19) sorted by null

  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setscheduler/
16-1.c 27 int result, old_policy, new_policy; local
36 /* Make sure new_policy != old_policy */
37 new_policy = (old_policy == SCHED_FIFO) ? SCHED_RR : SCHED_FIFO;
39 param.sched_priority = sched_get_priority_max(new_policy);
40 result = sched_setscheduler(0, new_policy, &param);
15-1.c 33 int new_policy, policy, result; local
39 new_policy = (sched_getscheduler(getpid()) == SCHED_FIFO) ?
59 param.sched_priority = sched_get_priority_min(new_policy);
60 if (sched_setscheduler(getpid(), new_policy, &param) == -1) {
77 if (policy == new_policy) {
17-2.c 34 int old_priority, old_policy, new_policy; local
66 new_policy = sched_getscheduler(getpid());
67 if (new_policy == -1) {
72 if (old_policy == new_policy && old_priority == param.sched_priority) {
80 if (new_policy != old_policy) {
17-3.c 34 int old_priority, old_policy, new_policy; local
65 new_policy = sched_getscheduler(getpid());
66 if (new_policy == -1) {
71 if (old_policy == new_policy && old_priority == param.sched_priority) {
79 if (new_policy != old_policy) {
17-4.c 33 int max_priority, old_priority, old_policy, new_policy; local
62 new_policy = sched_getscheduler(getpid());
63 if (new_policy == -1) {
68 if (old_policy == new_policy && old_priority == param.sched_priority) {
77 if (new_policy != old_policy) {
4-1.c 23 int old_policy, new_policy, test_policy; local
37 /* Make sure new_policy != old_policy */
38 new_policy = (old_policy == SCHED_FIFO) ? SCHED_RR : SCHED_FIFO;
41 max_prio = sched_get_priority_max(new_policy);
44 (param.sched_priority = sched_get_priority_min(new_policy)) :
47 result = sched_setscheduler(0, new_policy, &param);
61 test_policy == new_policy) {
17-1.c 48 int old_priority, old_policy, new_policy; local
91 new_policy = sched_getscheduler(getpid());
92 if (new_policy == -1) {
98 if (old_policy == new_policy &&
105 if (new_policy != old_policy) {
17-6.c 63 int max_priority, old_priority, old_policy, new_policy, policy; local
103 new_policy = sched_getscheduler(getpid());
104 if (new_policy == -1) {
109 if (old_policy == new_policy && old_priority == param.sched_priority) {
117 if (new_policy != old_policy) {
17-7.c 33 int max_priority, old_priority, old_policy, new_policy, policy; local
80 new_policy = sched_getscheduler(getpid());
81 if (new_policy == -1) {
86 if (old_policy == new_policy && old_priority == param.sched_priority) {
94 if (new_policy != old_policy) {
22-1.c 33 int new_policy, policy, result; local
44 new_policy = (sched_getscheduler(getpid()) == SCHED_FIFO) ?
47 param.sched_priority = sched_get_priority_min(new_policy);
48 if (sched_setscheduler(getpid(), new_policy, &param) == -1) {
82 if (policy == new_policy) {
17-5.c 38 int old_priority, old_policy, new_policy; local
73 new_policy = rc;
75 if (old_policy != new_policy) {
77 old_policy, new_policy);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setinheritsched/
2-1.c 16 * policy value(new_policy)
17 * 6. Compare new_policy with SCHED_OTHER. SCHED_OTHER is the
18 * default policy value in the creating thread. if new_policy is
36 int new_policy; local
42 rc = pthread_getschedparam(self, &new_policy, &param);
47 if (new_policy == policy) {
2-2.c 16 * policy value(new_policy)
17 * 6. Compare new_policy with SCHED_OTHER. SCHED_OTHER is the
18 * default policy value in the creating thread. if new_policy is
42 int new_policy; local
48 rc = pthread_getschedparam(self, &new_policy, &param);
53 if (new_policy == old_policy) {
  /external/grpc-grpc/src/core/ext/filters/client_channel/
lb_policy.h 138 /// Hands off pending picks to \a new_policy.
139 virtual void HandOffPendingPicksLocked(LoadBalancingPolicy* new_policy)
  /external/grpc-grpc/src/core/ext/filters/client_channel/lb_policy/pick_first/
pick_first.cc 59 void HandOffPendingPicksLocked(LoadBalancingPolicy* new_policy) override;
178 void PickFirst::HandOffPendingPicksLocked(LoadBalancingPolicy* new_policy) {
183 if (new_policy->PickLocked(pick, &error)) {
  /external/python/cpython3/Lib/test/test_email/
test_policy.py 45 new_policy = email.policy.EmailPolicy() variable in class:PolicyAPITests
59 new_policy: make_defaults(policy_defaults, {}),
63 policies[new_policy]['header_factory'] = new_policy.header_factory
  /external/grpc-grpc/src/core/ext/filters/client_channel/lb_policy/round_robin/
round_robin.cc 70 void HandOffPendingPicksLocked(LoadBalancingPolicy* new_policy) override;
255 void RoundRobin::HandOffPendingPicksLocked(LoadBalancingPolicy* new_policy) {
260 if (new_policy->PickLocked(pick, &error)) {
  /art/runtime/
hidden_api.h 144 explicit ScopedHiddenApiEnforcementPolicySetting(EnforcementPolicy new_policy)
146 Runtime::Current()->SetHiddenApiEnforcementPolicy(new_policy);
  /external/grpc-grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/
grpclb.cc 136 void HandOffPendingPicksLocked(LoadBalancingPolicy* new_policy) override;
    [all...]

Completed in 424 milliseconds