Home
last modified time | relevance | path

Searched refs:policy (Results 201 - 225 of 752) sorted by relevance

12345678910>>...31

/third_party/musl/libc-test/src/functionalext/supplement/thread/
H A Dpthread_getschedparam.c35 int policy = 0; in pthread_getschedparam_0100() local
37 int32_t ret = pthread_getschedparam(ph, &policy, &sp); in pthread_getschedparam_0100()
/third_party/node/deps/openssl/openssl/crypto/ts/
H A Dts_rsp_sign.c32 ASN1_OBJECT *policy);
206 int TS_RESP_CTX_add_policy(TS_RESP_CTX *ctx, const ASN1_OBJECT *policy) in TS_RESP_CTX_add_policy() argument
213 if ((copy = OBJ_dup(policy)) == NULL) in TS_RESP_CTX_add_policy()
377 ASN1_OBJECT *policy; in TS_RESP_create_response() local
397 if ((policy = ts_RESP_get_policy(ctx)) == NULL) in TS_RESP_create_response()
399 if ((ctx->tst_info = ts_RESP_create_tst_info(ctx, policy)) == NULL) in TS_RESP_create_response()
497 /* Returns the TSA policy based on the requested and acceptable policies. */
501 ASN1_OBJECT *policy = NULL; in ts_RESP_get_policy() local
509 policy = ctx->default_policy; in ts_RESP_get_policy()
511 /* Check if the policy i in ts_RESP_get_policy()
527 ts_RESP_create_tst_info(TS_RESP_CTX *ctx, ASN1_OBJECT *policy) ts_RESP_create_tst_info() argument
[all...]
/third_party/openssl/crypto/ts/
H A Dts_rsp_sign.c32 ASN1_OBJECT *policy);
206 int TS_RESP_CTX_add_policy(TS_RESP_CTX *ctx, const ASN1_OBJECT *policy) in TS_RESP_CTX_add_policy() argument
213 if ((copy = OBJ_dup(policy)) == NULL) in TS_RESP_CTX_add_policy()
377 ASN1_OBJECT *policy; in TS_RESP_create_response() local
397 if ((policy = ts_RESP_get_policy(ctx)) == NULL) in TS_RESP_create_response()
399 if ((ctx->tst_info = ts_RESP_create_tst_info(ctx, policy)) == NULL) in TS_RESP_create_response()
497 /* Returns the TSA policy based on the requested and acceptable policies. */
501 ASN1_OBJECT *policy = NULL; in ts_RESP_get_policy() local
509 policy = ctx->default_policy; in ts_RESP_get_policy()
511 /* Check if the policy i in ts_RESP_get_policy()
527 ts_RESP_create_tst_info(TS_RESP_CTX *ctx, ASN1_OBJECT *policy) ts_RESP_create_tst_info() argument
[all...]
/foundation/communication/netmanager_base/test/netpolicymanager/unittest/net_policy_manager_test/
H A Dut_net_policy_rule.cpp111 uint32_t policy = 0; in HWTEST_F() local
112 g_netPolicyRule->GetPolicyByUid(16000, policy); in HWTEST_F()
113 ASSERT_EQ(policy, NetUidPolicy::NET_POLICY_ALLOW_METERED_BACKGROUND); in HWTEST_F()
182 uint32_t policy = 0; in HWTEST_F() local
183 g_netPolicyRule->GetPolicyByUid(TEST_UID2, policy); in HWTEST_F()
184 ASSERT_EQ(policy, NET_POLICY_NONE); in HWTEST_F()
/foundation/distributeddatamgr/data_share/test/native/unittest/mediadatashare_test/src/
H A Dpermission_test.cpp61 HapPolicyParams policy = { in SetUpTestCase() local
88 AccessTokenKit::AllocHapToken(info, policy); in SetUpTestCase()
230 HapPolicyParams policy = { in HWTEST_F() local
250 AccessTokenKit::AllocHapToken(info, policy); in HWTEST_F()
273 HapPolicyParams policy = { in HWTEST_F() local
293 AccessTokenKit::AllocHapToken(info, policy); in HWTEST_F()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
H A DParallel.h175 void sort(Policy policy, RandomAccessIterator Start, RandomAccessIterator End, in sort() argument
178 "Invalid execution policy!"); in sort()
183 void for_each(Policy policy, IterTy Begin, IterTy End, FuncTy Fn) { in for_each() argument
185 "Invalid execution policy!"); in for_each()
190 void for_each_n(Policy policy, IndexTy Begin, IndexTy End, FuncTy Fn) { in for_each_n() argument
192 "Invalid execution policy!"); in for_each_n()
202 void sort(parallel_execution_policy policy, RandomAccessIterator Start, in sort() argument
208 void for_each(parallel_execution_policy policy, IterTy Begin, IterTy End, in for_each() argument
214 void for_each_n(parallel_execution_policy policy, IndexTy Begin, IndexTy End, in for_each_n() argument
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
H A Dbrowser.c115 WebKitPolicyDecision *policy, in view_cb_decide_policy()
126 response = WEBKIT_RESPONSE_POLICY_DECISION(policy); in view_cb_decide_policy()
129 webkit_policy_decision_download(policy); in view_cb_decide_policy()
140 d = WEBKIT_NAVIGATION_POLICY_DECISION(policy); in view_cb_decide_policy()
239 gchar *mime, WebKitWebPolicyDecision *policy, in view_cb_mime_type_policy_decision()
245 webkit_web_policy_decision_download(policy); in view_cb_mime_type_policy_decision()
335 g_signal_connect(G_OBJECT(view), "decide-policy", in hs20_web_browser()
348 g_signal_connect(G_OBJECT(view), "mime-type-policy-decision-requested", in hs20_web_browser()
114 view_cb_decide_policy(WebKitWebView *view, WebKitPolicyDecision *policy, WebKitPolicyDecisionType type, struct browser_context *ctx) view_cb_decide_policy() argument
237 view_cb_mime_type_policy_decision( WebKitWebView *view, WebKitWebFrame *frame, WebKitNetworkRequest *req, gchar *mime, WebKitWebPolicyDecision *policy, struct browser_context *ctx) view_cb_mime_type_policy_decision() argument
/foundation/communication/ipc/ipc/native/src/core/include/
H A Dipc_workthread.h49 void Start(int policy, int proto, int threadIndex);
59 static void JoinThread(int proto, int policy);
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/cloud/
H A Dstrategy_factory.cpp23 SyncMode mode, bool isLocalDeleteUpload, SingleVerConflictResolvePolicy policy) in BuildSyncStrategy()
40 strategy->SetConflictResolvePolicy(policy); in BuildSyncStrategy()
22 BuildSyncStrategy( SyncMode mode, bool isLocalDeleteUpload, SingleVerConflictResolvePolicy policy) BuildSyncStrategy() argument
/third_party/musl/porting/liteos_a/user/src/thread/
H A Dpthread_getschedparam.c4 int pthread_getschedparam(pthread_t t, int *restrict policy, struct sched_param *restrict param) in pthread_getschedparam() argument
17 *policy = r; in pthread_getschedparam()
/third_party/musl/porting/liteos_m/user/src/thread/
H A Dpthread_getschedparam.c5 _LIBC_TEXT_SECTION int pthread_getschedparam(pthread_t t, int *restrict policy, struct sched_param *restrict param) in pthread_getschedparam() argument
17 *policy = r; in pthread_getschedparam()
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/open_posix_testsuite/conformance/interfaces/pthread_getschedparam/
H A D1-1.c9 * policy and scheduling parameters for the thread whose thread ID is
11 * policy and param, respectively. The priority value returned from
32 int policy; in thread_func() local
35 rc = pthread_getschedparam(pthread_self(), &policy, &sparam); in thread_func()
/foundation/communication/ipc/ipc/native/c/manager/include/
H A Dipc_thread_pool.h40 int32_t policy; member
61 int32_t SpawnNewThread(ThreadPool *threadPool, int32_t policy, int32_t proto);
/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/shared/include/
H A Dhdf_attribute_macro.h32 uint16_t policy; member
51 deviceNode->policy = HCS_PROP(node, policy); \
/drivers/hdf_core/framework/core/common/src/
H A Dhdf_device_node_ext.c42 if (devNode->policy == SERVICE_POLICY_CAPACITY) { in DeviceNodeExtDispatch()
68 if (devNode->policy == SERVICE_POLICY_CAPACITY) { in DeviceNodeExtPublishService()
98 if (devNode->policy == SERVICE_POLICY_CAPACITY) { in DeviceNodeExtRemoveService()
/drivers/peripheral/bluetooth/hci/hdi_service/implement/
H A Dhci_watcher.cpp87 int policy = BT_THREAD_POLICY; in Start() local
89 if (pthread_setschedparam(thread_.native_handle(), policy, &params) != 0) { in Start()
90 HDF_LOGW("pthread_setschedparam failed tid[%lu] policy[%d]", thread_.native_handle(), policy); in Start()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/
H A Daccesstoken_kit.cpp26 AccessTokenIDEx AccessTokenKit::AllocHapToken(const HapInfoParams& info, const HapPolicyParams& policy) in AllocHapToken() argument
163 int32_t AccessTokenKit::InitHapToken(const HapInfoParams& info, HapPolicyParams& policy, AccessTokenIDEx& fullTokenId) in InitHapToken() argument
170 AccessTokenIDEx& tokenIdEx, const UpdateHapInfoParams& info, const HapPolicyParams& policy) in UpdateHapToken()
169 UpdateHapToken( AccessTokenIDEx& tokenIdEx, const UpdateHapInfoParams& info, const HapPolicyParams& policy) UpdateHapToken() argument
/foundation/communication/netmanager_base/services/netpolicymanager/include/
H A Dnet_policy_file.h55 * Init by reading policy from file.
56 * @return true Return true means init policy successful.
57 * @return false Return false means init policy failed.
62 * Reset policy to default.
67 * Used by net_policy_rule.cpp to get policy from file.
74 * Used by net_policy_rule.cpp to write policy to file.
77 * @param policy The network policy for application.
80 void WritePolicyByUid(uint32_t uid, uint32_t policy);
83 * Used by net_policy_traffic.cpp to get quota policy fro
[all...]
/third_party/lzma/CPP/Windows/
H A DSecurityUtils.cpp42 static void MyLookupSids(CPolicy &policy, PSID ps)
46 NTSTATUS nts = policy.LookupSids(1, &ps, &referencedDomains, &names);
116 CPolicy policy; in AddLockMemoryPrivilege() local
124 if (policy.Open(NULL, &attr, in AddLockMemoryPrivilege()
146 NTSTATUS status = policy.EnumerateAccountRights(psid, &userRightsArray, &countOfRights); in AddLockMemoryPrivilege()
167 NTSTATUS status = policy.EnumerateAccountsWithUserRight(&userRights, &enums, &countReturned); in AddLockMemoryPrivilege()
171 MyLookupSids(policy, enums[i].Sid); in AddLockMemoryPrivilege()
177 const NTSTATUS status = policy.AddAccountRights(psid, &userRights); in AddLockMemoryPrivilege()
/third_party/node/lib/internal/modules/esm/
H A Dload.js15 const policy = getOptionValue('--experimental-policy') ?
16 require('internal/process/policy') :
66 if (policy?.manifest) {
67 policy.manifest.assertIntegrity(href, source);
/third_party/ltp/testcases/kernel/security/integrity/ima/tests/
H A Dima_keys.sh7 # Verify that keys are measured correctly based on policy.
19 require_ima_policy_content "$REQUIRED_POLICY" '-E' > $TST_TMPDIR/policy.txt
34 done < $TST_TMPDIR/policy.txt
41 if ! grep -E "$pattern" $TST_TMPDIR/policy.txt; then
42 tst_res TCONF "IMA policy must specify $pattern, $FUNC_KEYCHECK"
56 tst_res TINFO "verify key measurement for keyrings and templates specified in IMA policy"
63 tst_res TCONF "IMA policy has a keyring key-value specifier, but no specified keyrings"

Completed in 13 milliseconds

12345678910>>...31