Home
last modified time | relevance | path

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

/external/libchrome/crypto/
Dsecure_hash_unittest.cc56 scoped_ptr<crypto::SecureHash> ctx2(crypto::SecureHash::Create( in TEST() local
70 EXPECT_TRUE(ctx2->Deserialize(&data_iterator)); in TEST()
71 ctx2->Update(input4.data(), input4.size()); in TEST()
72 ctx2->Update(input5.data(), input5.size()); in TEST()
74 ctx2->Finish(output2, sizeof(output2)); in TEST()
/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/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.c656 context_struct_t *ctx1 = NULL, *ctx2 = NULL; in sepol_mls_contains() local
658 ctx2 = malloc(sizeof(context_struct_t)); in sepol_mls_contains()
659 if (ctx1 == NULL || ctx2 == NULL) in sepol_mls_contains()
662 context_init(ctx2); in sepol_mls_contains()
667 if (mls_from_string(handle, &policydb->p, mls2, ctx2) < 0) in sepol_mls_contains()
670 *response = mls_range_contains(ctx1->range, ctx2->range); in sepol_mls_contains()
672 context_destroy(ctx2); in sepol_mls_contains()
674 free(ctx2); in sepol_mls_contains()
684 context_destroy(ctx2); in sepol_mls_contains()
686 free(ctx2); in sepol_mls_contains()
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
DSSLSocketFunctionalTest.java69 SSLContext ctx1, ctx2; in doTestInteraction() local
72 ctx2 = ctx_other; in doTestInteraction()
84 SSLSocket csocket = (SSLSocket) ctx2 in doTestInteraction()
103 SSLContext ctx1, ctx2; in _doTestInteraction() local
112 ctx2 = (((k & 2) >> 1) > 0) ? context : ctx_other; in _doTestInteraction()
122 SSLSocket csocket = (SSLSocket) ctx2 in _doTestInteraction()
/external/mesa3d/src/gallium/state_trackers/wgl/
Dstw_context.c98 struct stw_context *ctx2; in DrvShareLists() local
107 ctx2 = stw_lookup_context_locked( dhglrc2 ); in DrvShareLists()
109 if (ctx1 && ctx2 && ctx2->st->share) in DrvShareLists()
110 ret = ctx2->st->share(ctx2->st, ctx1->st); in DrvShareLists()
/external/v8/test/cctest/heap/
Dtest-heap.cc2395 v8::Local<v8::Context> ctx2 = v8::Local<v8::Context>::New(isolate, ctx2p); in TEST() local
2398 ctx2->Enter(); in TEST()
2399 CHECK(ctx2->Global()->Set(ctx2, v8_str("o"), v).FromJust()); in TEST()
2405 CHECK_EQ(42, res->Int32Value(ctx2).FromJust()); in TEST()
2406 CHECK(ctx2->Global() in TEST()
2407 ->Set(ctx2, v8_str("o"), v8::Int32::New(isolate, 0)) in TEST()
2409 ctx2->Exit(); in TEST()
2444 v8::Local<v8::Context> ctx2 = v8::Local<v8::Context>::New(isolate, ctx2p); in TEST() local
2447 ctx2->Enter(); in TEST()
2448 CHECK(ctx2->Global()->Set(ctx2, v8_str("o"), v).FromJust()); in TEST()
[all …]
/external/conscrypt/src/main/java/org/conscrypt/
DNativeCrypto.java477 public static native int X509_check_issued(long ctx, long ctx2); in X509_check_issued() argument
/external/v8/test/cctest/
Dtest-api.cc24431 auto ctx2 = v8::Utils::OpenHandle(*env2.local()); in TEST() local
24432 CHECK_EQ(fn2->GetCreationContext(), *ctx2); in TEST()