Home
last modified time | relevance | path

Searched refs:policy (Results 251 - 275 of 754) sorted by relevance

1...<<11121314151617181920>>...31

/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/
H A Dmali_kbase_hwaccess_pm.h79 * policy asks for the GPU to be powered off.
135 * Get the current policy.
137 * Returns the policy that is currently active.
142 * @return The current policy
147 * Change the policy to the one specified.
151 * @param policy The policy to change to (valid pointer returned from
154 void kbase_pm_ca_set_policy(struct kbase_device *kbdev, const struct kbase_pm_ca_policy *policy);
168 * Get the current policy.
170 * Returns the policy tha
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/
H A Dmali_kbase_hwaccess_pm.h80 * policy asks for the GPU to be powered off.
139 * Get the current policy.
141 * Returns the policy that is currently active.
146 * @return The current policy
152 * Change the policy to the one specified.
156 * @param policy The policy to change to (valid pointer returned from
160 const struct kbase_pm_ca_policy *policy);
176 * Get the current policy.
178 * Returns the policy tha
[all...]
/third_party/musl/porting/liteos_m/user/src/thread/
H A Dpthread_attr_get.c27 _LIBC_TEXT_SECTION int pthread_attr_getschedpolicy(const pthread_attr_t *restrict a, int *restrict policy) in pthread_attr_getschedpolicy() argument
29 *policy = a->_a_policy; in pthread_attr_getschedpolicy()
/third_party/ltp/testcases/kernel/syscalls/sched_setparam/
H A Dsched_setparam02.c25 int policy; member
30 "Test with policy SCHED_FIFO", SCHED_FIFO, FIFO_OR_RR_PRIO, 1}, {
31 "Test with policy SCHED_RR", SCHED_RR, FIFO_OR_RR_PRIO, 1}, {
41 TST_EXP_PASS_SILENT(tv->sched_setscheduler(0, tc->policy, &p)); in run()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setschedpolicy/
H A D5-1.c30 static int set_policy(char *label, int policy) in set_policy() argument
43 rc = pthread_attr_setschedpolicy(&attr, policy); in set_policy()
/third_party/python/Doc/includes/
H A Demail-unpack.py9 from email.policy import default
26 msg = email.message_from_binary_file(fp, policy=default)
/drivers/hdf_core/framework/core/common/src/
H A Dhdf_attribute_macro.c117 if (deviceNodeInfo->policy >= SERVICE_POLICY_INVALID) { in CheckDeviceInfoMacro()
118 HDF_LOGE("CheckDeviceInfoMacro policy %{public}u is invalid", deviceNodeInfo->policy); in CheckDeviceInfoMacro()
137 deviceNodeInfo->policy = deviceNode->policy; in GetDeviceNodeInfo()
/third_party/ltp/testcases/realtime/func/prio-preempt/
H A Dprio-preempt.c138 int policy, mypri = 0, tid; in busy_thread() local
141 if (pthread_getschedparam(pthread_self(), &policy, &sched_param) != 0) { in busy_thread()
164 int policy, rc, mypri = 0, tid, times = 0; in worker_thread() local
168 if (pthread_getschedparam(pthread_self(), &policy, &sched_param) != 0) { in worker_thread()
/third_party/node/deps/v8/include/v8-include/cppgc/internal/
H A Dpointer-policies.h132 static void Call(SameThreadEnabledCheckingPolicy* policy, const T* ptr) { in Call()
133 policy->CheckPointerImpl(ptr, false, kCheckOffHeapAssignments); in Call()
139 static void Call(SameThreadEnabledCheckingPolicy* policy, const T* ptr) { in Call()
140 policy->CheckPointerImpl(ptr, IsGarbageCollectedTypeV<T>, in Call()
/third_party/ltp/testcases/realtime/lib/
H A Dlibrttest.c288 int create_thread(void *(*func) (void *), void *arg, int prio, int policy) in create_thread() argument
305 thread->policy = policy; in create_thread()
313 pthread_attr_setschedpolicy(&thread->attr, thread->policy); in create_thread()
349 int policy; in set_thread_priority() local
351 policy = (prio > 0) ? SCHED_FIFO : SCHED_OTHER; in set_thread_priority()
353 return pthread_setschedparam(pthread, policy, &sched_param); in set_thread_priority()
/third_party/node/deps/undici/src/lib/fetch/
H A Dutil.js191 // https://w3c.github.io/webappsec-referrer-policy/#set-requests-referrer-policy-on-redirect
194 // updates request’s referrer policy according to the Referrer-Policy
197 // 1. Let policy be the result of executing § 8.1 Parse a referrer policy
200 // 8.1 Parse a referrer policy from a Referrer-Policy header
201 // 1. Let policy-tokens be the result of extracting header list values given `Referrer-Policy` and response’s header list.
203 // 2. Let policy be the empty string.
204 // 3. For each token in policy-tokens, if token is a referrer policy an
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
H A Dwpa_auth_kay.c281 enum macsec_policy policy; in ieee802_1x_alloc_kay_sm_hapd() local
290 policy = SHOULD_SECURE; in ieee802_1x_alloc_kay_sm_hapd()
292 policy = SHOULD_ENCRYPT; in ieee802_1x_alloc_kay_sm_hapd()
294 policy = DO_NOT_SECURE; in ieee802_1x_alloc_kay_sm_hapd()
328 res = ieee802_1x_kay_init(kay_ctx, policy, in ieee802_1x_alloc_kay_sm_hapd()
419 if (!hapd->kay || hapd->kay->policy == DO_NOT_SECURE) in ieee802_1x_notify_create_actor_hapd()
501 if (hapd->kay->policy == DO_NOT_SECURE) in ieee802_1x_create_preshared_mka_hapd()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
H A Dwpa_auth_kay.c281 enum macsec_policy policy; in ieee802_1x_alloc_kay_sm_hapd() local
290 policy = SHOULD_SECURE; in ieee802_1x_alloc_kay_sm_hapd()
292 policy = SHOULD_ENCRYPT; in ieee802_1x_alloc_kay_sm_hapd()
294 policy = DO_NOT_SECURE; in ieee802_1x_alloc_kay_sm_hapd()
328 res = ieee802_1x_kay_init(kay_ctx, policy, in ieee802_1x_alloc_kay_sm_hapd()
419 if (!hapd->kay || hapd->kay->policy == DO_NOT_SECURE) in ieee802_1x_notify_create_actor_hapd()
501 if (hapd->kay->policy == DO_NOT_SECURE) in ieee802_1x_create_preshared_mka_hapd()
/device/soc/hisilicon/hi3861v100/hi3861_adapter/kal/posix/src/
H A Dpthread.c173 int pthread_setschedparam(pthread_t thread, int policy, const struct sched_param *param) in pthread_setschedparam() argument
185 /* Only support SCHED_RR policy now */ in pthread_setschedparam()
186 if (policy != SCHED_RR) { in pthread_setschedparam()
202 int pthread_getschedparam(pthread_t thread, int *policy, struct sched_param *param) in pthread_getschedparam() argument
207 if ((policy == NULL) || (param == NULL)) { in pthread_getschedparam()
220 *policy = SCHED_RR; in pthread_getschedparam()
/drivers/hdf_core/framework/core/host/src/
H A Dhdf_device_object.c268 int HdfDeviceObjectPublishService(struct HdfDeviceObject *dev, const char *servName, uint8_t policy, uint32_t perm) in HdfDeviceObjectPublishService() argument
276 if (policy <= SERVICE_POLICY_NONE || policy >= SERVICE_POLICY_INVALID) { in HdfDeviceObjectPublishService()
290 devNode->policy = policy; in HdfDeviceObjectPublishService()
/base/security/device_auth/services/session_manager/src/session/v2/
H A Ddev_session_v2.c76 int32_t (*processFunc)(SessionImpl *self, SessionEvent *inputEvent, CJson *sessionMsg, JumpPolicy *policy);
283 static int32_t RestartSession(SessionImpl *impl, JumpPolicy *policy) in RestartSession() argument
296 *policy = RESTART_STATE; in RestartSession()
1986 static int32_t ProcFailEvent(SessionImpl *impl, SessionEvent *inputEvent, CJson *sessionMsg, JumpPolicy *policy) in ProcFailEvent() argument
1992 return RestartSession(impl, policy) == HC_SUCCESS ? HC_SUCCESS : peerErrorCode; in ProcFailEvent()
1995 static int32_t ProcStartEvent(SessionImpl *impl, SessionEvent *inputEvent, CJson *sessionMsg, JumpPolicy *policy) in ProcStartEvent() argument
2000 return RestartSession(impl, policy) == HC_SUCCESS ? HC_SUCCESS : res; in ProcStartEvent()
2003 *policy = JUMP_TO_NEXT_STATE; in ProcStartEvent()
2007 static int32_t ProcHandshakeReqEvent(SessionImpl *impl, SessionEvent *inputEvent, CJson *sessionMsg, JumpPolicy *policy) in ProcHandshakeReqEvent() argument
2012 return RestartSession(impl, policy) in ProcHandshakeReqEvent()
2019 ProcHandshakeRspEvent(SessionImpl *impl, SessionEvent *inputEvent, CJson *sessionMsg, JumpPolicy *policy) ProcHandshakeRspEvent() argument
2031 ProcFirstAuthEvent(SessionImpl *impl, SessionEvent *inputEvent, CJson *sessionMsg, JumpPolicy *policy) ProcFirstAuthEvent() argument
2044 ProcAuthEvent(SessionImpl *impl, SessionEvent *inputEvent, CJson *sessionMsg, JumpPolicy *policy) ProcAuthEvent() argument
2063 ProcExpandEvent(SessionImpl *impl, SessionEvent *inputEvent, CJson *sessionMsg, JumpPolicy *policy) ProcExpandEvent() argument
2096 JumpPolicy policy; SessionSwitchState() local
[all...]
/base/security/dlp_permission_service/interfaces/inner_api/dlp_permission/test/unittest/src/
H A Ddlp_permission_kit_test.cpp445 PermissionPolicy policy; in HWTEST_F() local
446 parseDlpCertificateCallback->OnParseDlpCertificate(-1, policy, {}); in HWTEST_F()
515 PermissionPolicy policy; in HWTEST_F() local
518 ASSERT_EQ(DLP_SERVICE_ERROR_VALUE_INVALID, DlpPermissionKit::ParseDlpCertificate(certParcel, policy, appId, true)); in HWTEST_F()
520 ASSERT_NE(DLP_OK, DlpPermissionKit::ParseDlpCertificate(certParcel, policy, appId, true)); in HWTEST_F()
954 // query gathering policy on this device in HWTEST_F()
1219 PermissionPolicy policy; in HWTEST_F() local
1221 parseDlpCertificateCallback->OnParseDlpCertificate(0, policy, {}); in HWTEST_F()
1235 PermissionPolicy policy; in HWTEST_F() local
1237 DlpPermissionKit::ParseDlpCertificate(certParcel, policy, "", tru in HWTEST_F()
[all...]
/base/customization/enterprise_device_management/services/edm_plugin/include/utils/
H A Dwatermark_image_serializer.h32 bool Deserialize(const std::string &policy,
36 std::string &policy) override;
/base/notification/distributed_notification_service/services/ans/include/
H A Dadvanced_datashare_helper.h40 ErrCode QueryContact(Uri &uri, const std::string &phoneNumber, const std::string &policy);
55 std::shared_ptr<DataShare::DataShareResultSet> resultSet, const std::string &policy);
/base/security/access_token/interfaces/innerkits/analysis_model/src/
H A Dcode_signature_info.h107 RiskPolicyType policy; member
122 RiskPolicyType policy; member
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/fuzzer/parsecert_fuzzer/
H A Dparsecert_fuzzer.cpp46 PermissionPolicy policy; in FuzzTest() local
47 DlpPermissionKit::ParseDlpCertificate(certParcel, policy, appId, flag); in FuzzTest()
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/frw/
H A Dfrw_event_sched.h109 frw_sched_policy_enum_uint8 policy; /* 队列调度策略(高优先级、普通优先级) */ member
129 hi_u32 frw_event_queue_init(frw_event_queue_stru *event_queue, hi_u8 weight, frw_sched_policy_enum_uint8 policy,
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/hmac/
H A Dhmac_mgmt_ap.h87 hi_u8 hmac_mesh_check_pcip_policy(hi_u8 policy);
88 hi_u8 hmac_mesh_check_auth_policy(hi_u8 policy);
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/
H A Dmali_kbase_hwaccess_pm.h78 * policy asks for the GPU to be powered off.
144 * Get the current policy.
146 * Returns the policy that is currently active.
150 * @return The current policy
156 * Change the policy to the one specified.
159 * @policy: The policy to change to (valid pointer returned from
163 const struct kbase_pm_ca_policy *policy);
177 * Get the current policy.
179 * Returns the policy tha
[all...]
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setscheduler/
H A D15-2.c33 int new_priority, max_priority, policy, result; in main() local
69 ("This process does not have the permission to set its own scheduling policy.\nTry to launch this test as root.\n"); in main()
76 if (pthread_getschedparam(tid, &policy, &param) != 0) { in main()

Completed in 18 milliseconds

1...<<11121314151617181920>>...31