/third_party/openssl/demos/pkey/ |
H A D | EVP_PKEY_DSA_paramvalidate.c | 110 EVP_PKEY_CTX *ctx1 = NULL; in main() local 166 ctx1 = create_merged_key(dsaparamskey, params, libctx, propq); in main() 167 if (ctx1 == NULL) in main() 170 if (EVP_PKEY_param_check(ctx1) > 0) { in main() 198 EVP_PKEY_CTX_free(ctx1); in main()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/ |
H A D | execlist.c | 188 struct execlist_ctx_descriptor_format *ctx1 = &running->ctx[1]; in emulate_execlist_ctx_schedule_out() local 203 /* ctx1 is valid, ctx0/ctx is scheduled-out -> element switch */ in emulate_execlist_ctx_schedule_out() 204 if (valid_context(ctx1) && same_context(ctx0, ctx)) { in emulate_execlist_ctx_schedule_out() 207 execlist->running_context = ctx1; in emulate_execlist_ctx_schedule_out() 216 * ctx1 is not valid, ctx == ctx0 in emulate_execlist_ctx_schedule_out() 217 * ctx1 is valid, ctx1 == ctx in emulate_execlist_ctx_schedule_out() 223 } else if ((!valid_context(ctx1) && same_context(ctx0, ctx)) in emulate_execlist_ctx_schedule_out() 224 || (valid_context(ctx1) && same_context(ctx1, ct in emulate_execlist_ctx_schedule_out() 280 struct execlist_ctx_descriptor_format *ctx0, *ctx1; emulate_execlist_schedule_in() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gvt/ |
H A D | execlist.c | 188 struct execlist_ctx_descriptor_format *ctx1 = &running->ctx[1]; in emulate_execlist_ctx_schedule_out() local 203 /* ctx1 is valid, ctx0/ctx is scheduled-out -> element switch */ in emulate_execlist_ctx_schedule_out() 204 if (valid_context(ctx1) && same_context(ctx0, ctx)) { in emulate_execlist_ctx_schedule_out() 207 execlist->running_context = ctx1; in emulate_execlist_ctx_schedule_out() 216 * ctx1 is not valid, ctx == ctx0 in emulate_execlist_ctx_schedule_out() 217 * ctx1 is valid, ctx1 == ctx in emulate_execlist_ctx_schedule_out() 223 } else if ((!valid_context(ctx1) && same_context(ctx0, ctx)) in emulate_execlist_ctx_schedule_out() 224 || (valid_context(ctx1) && same_context(ctx1, ct in emulate_execlist_ctx_schedule_out() 280 struct execlist_ctx_descriptor_format *ctx0, *ctx1; emulate_execlist_schedule_in() local [all...] |
/third_party/ntfs-3g/ntfsprogs/ |
H A D | ntfscmp.c | 671 static void cmp_attribute(ntfs_attr_search_ctx *ctx1, in cmp_attribute() argument 674 ATTR_RECORD *a1 = ctx1->attr; in cmp_attribute() 679 print_ctx(ctx1); in cmp_attribute() 683 na1 = ntfs_attr_open(base_inode(ctx1), a1->type, GET_ATTR_NAME(a1)); in cmp_attribute() 687 print_ctx(ctx1); in cmp_attribute() 702 if (ntfs_inode_badclus_bad(inumber(ctx1->ntfs_ino), ctx1->attr) == 1) { in cmp_attribute() 834 ntfs_attr_search_ctx *ctx1, *ctx2; in cmp_attributes() local 836 if (!(ctx1 = attr_get_search_ctx(ni1))) in cmp_attributes() 841 set_cmp_attr(ctx1, in cmp_attributes() [all...] |
/third_party/openssl/test/ |
H A D | sm3_internal_test.c | 59 SM3_CTX ctx1, ctx2; in test_sm3() local 62 if (!TEST_true(ossl_sm3_init(&ctx1)) in test_sm3() 63 || !TEST_true(ossl_sm3_update(&ctx1, input1, sizeof(input1))) in test_sm3() 64 || !TEST_true(ossl_sm3_final(md1, &ctx1)) in test_sm3()
|
H A D | keymgmt_internal_test.c | 31 OSSL_LIB_CTX *ctx1; member 45 OSSL_LIB_CTX_free(fixture->ctx1); in tear_down() 56 || !TEST_ptr(fixture->ctx1 = OSSL_LIB_CTX_new()) in set_up() 57 || !TEST_ptr(fixture->prov1 = OSSL_PROVIDER_load(fixture->ctx1, in set_up() 221 if (!TEST_ptr(km1 = EVP_KEYMGMT_fetch(fixture->ctx1, "RSA", NULL)) in test_pass_rsa() 223 || !TEST_ptr(km3 = EVP_KEYMGMT_fetch(fixture->ctx1, "RSA-PSS", NULL)) in test_pass_rsa()
|
/third_party/python/Lib/test/ |
H A D | test_context.py | 148 ctx1 = contextvars.Context() 166 returned_ctx = ctx1.run(func1) 167 self.assertEqual(ctx1, returned_ctx) 237 ctx1 = contextvars.copy_context() 238 self.assertIn(c, ctx1) 245 self.assertIn(c, ctx1) 246 self.assertEqual(ctx1[c], 'spam2') 247 self.assertEqual(ctx1.get(c, 'aa'), 'spam2') 248 self.assertEqual(len(ctx1), 1) 249 self.assertEqual(list(ctx1 [all...] |
/third_party/selinux/libsepol/src/ |
H A D | mls.c | 672 context_struct_t *ctx1 = NULL, *ctx2 = NULL; in sepol_mls_contains() local 673 ctx1 = malloc(sizeof(context_struct_t)); in sepol_mls_contains() 675 if (ctx1 == NULL || ctx2 == NULL) in sepol_mls_contains() 677 context_init(ctx1); in sepol_mls_contains() 680 if (mls_from_string(handle, &policydb->p, mls1, ctx1) < 0) in sepol_mls_contains() 686 *response = mls_range_contains(ctx1->range, ctx2->range); in sepol_mls_contains() 687 context_destroy(ctx1); in sepol_mls_contains() 689 free(ctx1); in sepol_mls_contains() 699 context_destroy(ctx1); in sepol_mls_contains() 701 free(ctx1); in sepol_mls_contains() [all...] |
H A D | kernel_to_cil.c | 2800 char *name, *ctx1, *ctx2; in write_selinux_netif_rules_to_cil() local 2805 ctx1 = context_to_str(pdb, &netif->context[0]); in write_selinux_netif_rules_to_cil() 2806 if (!ctx1) { in write_selinux_netif_rules_to_cil() 2812 free(ctx1); in write_selinux_netif_rules_to_cil() 2817 sepol_printf(out, "(netifcon %s %s %s)\n", name, ctx1, ctx2); in write_selinux_netif_rules_to_cil() 2819 free(ctx1); in write_selinux_netif_rules_to_cil()
|
H A D | kernel_to_conf.c | 2668 char *name, *ctx1, *ctx2; in write_selinux_netif_rules_to_conf() local 2673 ctx1 = context_to_str(pdb, &netif->context[0]); in write_selinux_netif_rules_to_conf() 2674 if (!ctx1) { in write_selinux_netif_rules_to_conf() 2680 free(ctx1); in write_selinux_netif_rules_to_conf() 2685 sepol_printf(out, "netifcon %s %s %s\n", name, ctx1, ctx2); in write_selinux_netif_rules_to_conf() 2687 free(ctx1); in write_selinux_netif_rules_to_conf()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | verifier_iterating_callbacks.c | 221 struct num_context ctx1 = { .i = 0 }; in bpf_loop_iter_limit_nested() local 225 bpf_loop(1, iter_limit_level1_cb, &ctx1, 0); in bpf_loop_iter_limit_nested() 227 a = ctx1.i; in bpf_loop_iter_limit_nested() 229 /* Force 'ctx1.i' and 'ctx2.i' precise. */ in bpf_loop_iter_limit_nested()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
H A D | wpa_auth.h | 485 void (*cb)(void *ctx1, void *ctx2), 486 void *ctx1, void *ctx2); 488 void (*cb)(void *ctx1, void *ctx2), 489 void *ctx1, void *ctx2); 491 void (*cb)(void *ctx1, void *ctx2), 492 void *ctx1, void *ctx2);
|
H A D | wpa_auth_i.h | 161 void (*eapol_status_cb)(void *ctx1, void *ctx2);
|
/third_party/mesa3d/src/gallium/targets/osmesa/ |
H A D | test-render.cpp | 248 std::unique_ptr<osmesa_context, decltype(&OSMesaDestroyContext)> ctx1{ in TEST() 252 ASSERT_TRUE(ctx1); in TEST() 257 ASSERT_EQ(OSMesaMakeCurrent(ctx1.get(), &pixel1, GL_UNSIGNED_BYTE, 1, 1), GL_TRUE); in TEST() 275 ASSERT_EQ(OSMesaMakeCurrent(ctx1.get(), &pixel1, GL_UNSIGNED_BYTE, 1, 1), GL_TRUE); in TEST()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
H A D | wpa_auth.h | 550 void (*cb)(void *ctx1, void *ctx2), 551 void *ctx1, void *ctx2); 553 void (*cb)(void *ctx1, void *ctx2), 554 void *ctx1, void *ctx2); 556 void (*cb)(void *ctx1, void *ctx2), 557 void *ctx1, void *ctx2);
|
H A D | wpa_auth_i.h | 166 void (*eapol_status_cb)(void *ctx1, void *ctx2);
|
/third_party/mesa3d/src/gallium/frontends/wgl/ |
H A D | stw_context.c | 95 struct stw_context *ctx1; in DrvShareLists() local 104 ctx1 = stw_lookup_context_locked( dhglrc1 ); in DrvShareLists() 107 if (ctx1 && ctx2 && ctx2->st->share) { in DrvShareLists() 108 ret = ctx2->st->share(ctx2->st, ctx1->st); in DrvShareLists() 109 ctx1->shared = TRUE; in DrvShareLists()
|
/kernel/linux/linux-5.10/arch/sparc/mm/ |
H A D | srmmu.c | 594 int cctx, ctx1; 597 if ((ctx1 = vma->vm_mm->context) != -1) { 600 if (cctx != ctx1) { 601 printk("flush ctx %02x curr %02x\n", ctx1, cctx); 602 srmmu_set_context(ctx1);
|
/kernel/linux/linux-6.6/arch/sparc/mm/ |
H A D | srmmu.c | 595 int cctx, ctx1; 598 if ((ctx1 = vma->vm_mm->context) != -1) { 601 if (cctx != ctx1) { 602 printk("flush ctx %02x curr %02x\n", ctx1, cctx); 603 srmmu_set_context(ctx1);
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_int_process_v9.c | 118 #define KFD_CONTEXT_ID_GET_SQ_INT_DATA(ctx0, ctx1) \ 119 ((ctx0 & 0xfff) | ((ctx0 >> 16) & 0xf000) | ((ctx1 << 16) & 0xff0000))
|
/kernel/linux/linux-5.10/fs/nfs/ |
H A D | internal.h | 307 static inline bool nfs_match_open_context(const struct nfs_open_context *ctx1, in nfs_match_open_context() argument 310 return cred_fscmp(ctx1->cred, ctx2->cred) == 0 && ctx1->state == ctx2->state; in nfs_match_open_context()
|
/kernel/linux/linux-6.6/fs/nfs/ |
H A D | internal.h | 309 static inline bool nfs_match_open_context(const struct nfs_open_context *ctx1, in nfs_match_open_context() argument 312 return cred_fscmp(ctx1->cred, ctx2->cred) == 0 && ctx1->state == ctx2->state; in nfs_match_open_context()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | MultithreadingTest.cpp | 252 EGLContext ctx1 = createMultithreadedContext(window, EGL_NO_CONTEXT); in TEST_P() 256 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, ctx1)); in TEST_P() 259 EXPECT_EGL_TRUE(eglDestroyContext(dpy, ctx1)); in TEST_P()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
H A D | nv04.c | 463 u32 tmp, ctx1; in nv04_gr_set_ctx_val() local 465 ctx1 = nvkm_rd32(device, 0x700000 + inst); in nv04_gr_set_ctx_val() 466 class = ctx1 & 0xff; in nv04_gr_set_ctx_val() 467 op = (ctx1 >> 15) & 7; in nv04_gr_set_ctx_val()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
H A D | nv04.c | 463 u32 tmp, ctx1; in nv04_gr_set_ctx_val() local 465 ctx1 = nvkm_rd32(device, 0x700000 + inst); in nv04_gr_set_ctx_val() 466 class = ctx1 & 0xff; in nv04_gr_set_ctx_val() 467 op = (ctx1 >> 15) & 7; in nv04_gr_set_ctx_val()
|