Home
last modified time | relevance | path

Searched refs:ctx2 (Results 1 – 10 of 10) sorted by relevance

/external/valgrind/memcheck/tests/linux/
Dstack_changes.c15 mycontext ctx1, ctx2, oldc; variable
58 int c2 = init_context(&ctx2); in main()
60 makecontext(&ctx1, (void (*)()) hello, 1, &ctx2); in main()
61 makecontext(&ctx2, (void (*)()) hello, 1, &ctx1); in main()
/external/libchrome/crypto/
Dsecure_hash_unittest.cc57 std::unique_ptr<crypto::SecureHash> ctx2(ctx1->Clone()); in TEST() local
58 std::unique_ptr<crypto::SecureHash> ctx3(ctx2->Clone()); in TEST()
66 ctx2->Update(input2.data(), input2.size()); in TEST()
67 ctx2->Finish(output2, sizeof(output2)); in TEST()
/external/llvm/test/CodeGen/BPF/
Dintrinsics.ll4 define i32 @ld_b(i64 %foo, i64* nocapture %bar, i8* %ctx, i8* %ctx2) #0 {
9 %5 = tail call i64 @llvm.bpf.load.byte(i8* %ctx2, i64 %foo) #2
23 define i32 @ld_h(i8* %ctx, i8* %ctx2, i32 %foo) #0 {
26 %3 = tail call i64 @llvm.bpf.load.half(i8* %ctx2, i64 %2) #2
38 define i32 @ld_w(i8* %ctx, i8* %ctx2, i32 %foo) #0 {
41 %3 = tail call i64 @llvm.bpf.load.word(i8* %ctx2, i64 %2) #2
/external/selinux/libsepol/src/
Dmls.c674 context_struct_t *ctx1 = NULL, *ctx2 = NULL; in sepol_mls_contains() local
676 ctx2 = malloc(sizeof(context_struct_t)); in sepol_mls_contains()
677 if (ctx1 == NULL || ctx2 == NULL) in sepol_mls_contains()
680 context_init(ctx2); in sepol_mls_contains()
685 if (mls_from_string(handle, &policydb->p, mls2, ctx2) < 0) in sepol_mls_contains()
688 *response = mls_range_contains(ctx1->range, ctx2->range); in sepol_mls_contains()
690 context_destroy(ctx2); in sepol_mls_contains()
692 free(ctx2); in sepol_mls_contains()
702 context_destroy(ctx2); in sepol_mls_contains()
704 free(ctx2); in sepol_mls_contains()
Dkernel_to_cil.c2676 char *name, *ctx1, *ctx2; in write_selinux_netif_rules_to_cil() local
2686 ctx2 = context_to_str(pdb, &netif->context[1]); in write_selinux_netif_rules_to_cil()
2687 if (!ctx2) { in write_selinux_netif_rules_to_cil()
2693 sepol_printf(out, "(netifcon %s %s %s)\n", name, ctx1, ctx2); in write_selinux_netif_rules_to_cil()
2696 free(ctx2); in write_selinux_netif_rules_to_cil()
Dkernel_to_conf.c2536 char *name, *ctx1, *ctx2; in write_selinux_netif_rules_to_conf() local
2546 ctx2 = context_to_str(pdb, &netif->context[1]); in write_selinux_netif_rules_to_conf()
2547 if (!ctx2) { in write_selinux_netif_rules_to_conf()
2553 sepol_printf(out, "netifcon %s %s %s\n", name, ctx1, ctx2); in write_selinux_netif_rules_to_conf()
2556 free(ctx2); in write_selinux_netif_rules_to_conf()
/external/mesa3d/src/gallium/state_trackers/wgl/
Dstw_context.c96 struct stw_context *ctx2; in DrvShareLists() local
105 ctx2 = stw_lookup_context_locked( dhglrc2 ); in DrvShareLists()
107 if (ctx1 && ctx2 && ctx2->st->share) in DrvShareLists()
108 ret = ctx2->st->share(ctx2->st, ctx1->st); in DrvShareLists()
/external/libchrome/base/trace_event/
Dheap_profiler_allocation_context_tracker_unittest.cc258 AllocationContext ctx2 = in TEST_F() local
261 ASSERT_EQ(kContext2, ctx2.type_name); in TEST_F()
/external/conscrypt/common/src/main/java/org/conscrypt/
DNativeCrypto.java429 static native int X509_check_issued(long ctx, long ctx2); in X509_check_issued() argument
/external/python/cpython2/Lib/test/
Dtest_ssl.py1639 ctx2 = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
1645 ss.context = ctx2
1646 self.assertIs(ss.context, ctx2)
1647 self.assertIs(ss._sslobj.context, ctx2)