/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setscheduler/ |
D | 4-1.c | 23 int old_policy, new_policy, test_policy; in main() local 38 new_policy = (old_policy == SCHED_FIFO) ? SCHED_RR : SCHED_FIFO; in main() 41 max_prio = sched_get_priority_max(new_policy); in main() 44 (param.sched_priority = sched_get_priority_min(new_policy)) : in main() 47 result = sched_setscheduler(0, new_policy, ¶m); in main() 61 test_policy == new_policy) { in main()
|
D | 17-2.c | 34 int old_priority, old_policy, new_policy; in main() local 66 new_policy = sched_getscheduler(getpid()); in main() 67 if (new_policy == -1) { in main() 72 if (old_policy == new_policy && old_priority == param.sched_priority) { in main() 80 if (new_policy != old_policy) { in main()
|
D | 15-1.c | 33 int new_policy, policy, result; in main() local 39 new_policy = (sched_getscheduler(getpid()) == SCHED_FIFO) ? in main() 59 param.sched_priority = sched_get_priority_min(new_policy); in main() 60 if (sched_setscheduler(getpid(), new_policy, ¶m) == -1) { in main() 77 if (policy == new_policy) { in main()
|
D | 17-4.c | 33 int max_priority, old_priority, old_policy, new_policy; in main() local 62 new_policy = sched_getscheduler(getpid()); in main() 63 if (new_policy == -1) { in main() 68 if (old_policy == new_policy && old_priority == param.sched_priority) { in main() 77 if (new_policy != old_policy) { in main()
|
D | 17-3.c | 34 int old_priority, old_policy, new_policy; in main() local 65 new_policy = sched_getscheduler(getpid()); in main() 66 if (new_policy == -1) { in main() 71 if (old_policy == new_policy && old_priority == param.sched_priority) { in main() 79 if (new_policy != old_policy) { in main()
|
D | 22-1.c | 33 int new_policy, policy, result; in main() local 44 new_policy = (sched_getscheduler(getpid()) == SCHED_FIFO) ? in main() 47 param.sched_priority = sched_get_priority_min(new_policy); in main() 48 if (sched_setscheduler(getpid(), new_policy, ¶m) == -1) { in main() 82 if (policy == new_policy) { in main()
|
D | 17-7.c | 33 int max_priority, old_priority, old_policy, new_policy, policy; in main() local 80 new_policy = sched_getscheduler(getpid()); in main() 81 if (new_policy == -1) { in main() 86 if (old_policy == new_policy && old_priority == param.sched_priority) { in main() 94 if (new_policy != old_policy) { in main()
|
D | 17-6.c | 63 int max_priority, old_priority, old_policy, new_policy, policy; in main() local 103 new_policy = sched_getscheduler(getpid()); in main() 104 if (new_policy == -1) { in main() 109 if (old_policy == new_policy && old_priority == param.sched_priority) { in main() 117 if (new_policy != old_policy) { in main()
|
D | 17-1.c | 48 int old_priority, old_policy, new_policy; in main() local 91 new_policy = sched_getscheduler(getpid()); in main() 92 if (new_policy == -1) { in main() 98 if (old_policy == new_policy && in main() 105 if (new_policy != old_policy) { in main()
|
D | 16-1.c | 27 int result, old_policy, new_policy; in main() local 37 new_policy = (old_policy == SCHED_FIFO) ? SCHED_RR : SCHED_FIFO; in main() 39 param.sched_priority = sched_get_priority_max(new_policy); in main() 40 result = sched_setscheduler(0, new_policy, ¶m); in main()
|
D | 17-5.c | 38 int old_priority, old_policy, new_policy; in main() local 73 new_policy = rc; in main() 75 if (old_policy != new_policy) { in main() 77 old_policy, new_policy); in main()
|
/third_party/libsoup/libsoup/ |
D | soup-hsts-enforcer-db.c | 255 SoupHSTSPolicy *new_policy) in soup_hsts_enforcer_db_changed() argument 262 (new_policy && soup_hsts_policy_is_session_policy (new_policy))) in soup_hsts_enforcer_db_changed() 270 if (old_policy && !new_policy) { in soup_hsts_enforcer_db_changed() 279 if (new_policy && new_policy->expires) { in soup_hsts_enforcer_db_changed() 282 expires = (gulong)soup_date_to_time_t (new_policy->expires); in soup_hsts_enforcer_db_changed() 284 new_policy->domain, in soup_hsts_enforcer_db_changed() 285 new_policy->domain, in soup_hsts_enforcer_db_changed() 286 new_policy->max_age, in soup_hsts_enforcer_db_changed() 288 new_policy->include_subdomains); in soup_hsts_enforcer_db_changed()
|
D | soup-hsts-enforcer.c | 267 SoupHSTSPolicy *new_policy) in soup_hsts_enforcer_replace_policy() argument 274 g_assert (!soup_hsts_policy_is_expired (new_policy)); in soup_hsts_enforcer_replace_policy() 276 domain = soup_hsts_policy_get_domain (new_policy); in soup_hsts_enforcer_replace_policy() 277 is_session_policy = soup_hsts_policy_is_session_policy (new_policy); in soup_hsts_enforcer_replace_policy() 285 g_hash_table_replace (policies, g_strdup (domain), soup_hsts_policy_copy (new_policy)); in soup_hsts_enforcer_replace_policy() 286 if (!soup_hsts_policy_equal (old_policy, new_policy)) in soup_hsts_enforcer_replace_policy() 287 soup_hsts_enforcer_changed (hsts_enforcer, old_policy, new_policy); in soup_hsts_enforcer_replace_policy()
|
D | soup-hsts-enforcer.h | 50 SoupHSTSPolicy *new_policy);
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setinheritsched/ |
D | 2-1.c | 36 int new_policy; in thread_func() local 42 rc = pthread_getschedparam(self, &new_policy, ¶m); in thread_func() 47 if (new_policy == policy) { in thread_func()
|
D | 2-2.c | 42 int new_policy; in thread_func() local 48 rc = pthread_getschedparam(self, &new_policy, ¶m); in thread_func() 53 if (new_policy == old_policy) { in thread_func()
|
/third_party/openssl/crypto/ts/ |
D | ts_req_utils.c | 81 ASN1_OBJECT *new_policy; in TS_REQ_set_policy_id() local 85 new_policy = OBJ_dup(policy); in TS_REQ_set_policy_id() 86 if (new_policy == NULL) { in TS_REQ_set_policy_id() 91 a->policy_id = new_policy; in TS_REQ_set_policy_id()
|
D | ts_rsp_utils.c | 70 ASN1_OBJECT *new_policy; in TS_TST_INFO_set_policy_id() local 74 new_policy = OBJ_dup(policy); in TS_TST_INFO_set_policy_id() 75 if (new_policy == NULL) { in TS_TST_INFO_set_policy_id() 80 a->policy_id = new_policy; in TS_TST_INFO_set_policy_id()
|
/third_party/boost/boost/math/special_functions/ |
D | cbrt.hpp | 117 …typedef typename policies::normalise<Policy, policies::digits2<new_prec::value> >::type new_policy; in cbrt_imp() typedef 122 …T eps = (new_prec::value > 3) ? policies::get_epsilon<T, new_policy>() : ldexp(T(1), -2 - tools::d… in cbrt_imp()
|
/third_party/python/Lib/test/test_email/ |
D | test_policy.py | 46 new_policy = email.policy.EmailPolicy() variable in PolicyAPITests 60 new_policy: make_defaults(policy_defaults, {}), 64 policies[new_policy]['header_factory'] = new_policy.header_factory
|