Searched refs:ctx1 (Results 1 - 22 of 22) sorted by relevance

/external/syslinux/com32/libutil/
H A Dcrypt-md5.c49 MD5_CTX ctx, ctx1; local
84 MD5Init(&ctx1);
85 MD5Update(&ctx1, pw, pwlen);
86 MD5Update(&ctx1, sp, sl);
87 MD5Update(&ctx1, pw, pwlen);
88 MD5Final(final, &ctx1);
121 MD5Init(&ctx1);
123 MD5Update(&ctx1, pw, pwlen);
125 MD5Update(&ctx1, final, MD5_SIZE);
128 MD5Update(&ctx1, s
[all...]
/external/valgrind/memcheck/tests/linux/
H A Dstack_changes.c15 mycontext ctx1, ctx2, oldc; variable
57 int c1 = init_context(&ctx1);
60 makecontext(&ctx1, (void (*)()) hello, 1, &ctx2);
61 makecontext(&ctx2, (void (*)()) hello, 1, &ctx1);
63 swapcontext(&oldc, &ctx1);
66 //free(ctx1.uc_stack.ss_sp);
/external/adhd/cras/src/tests/
H A Ddsp_unittest.cc63 struct cras_dsp_context *ctx1, *ctx3, *ctx4; local
64 ctx1 = cras_dsp_context_new(44100, "playback"); /* wrong purpose */
68 cras_dsp_set_variable_string(ctx1, "variable", "foo");
72 cras_dsp_load_pipeline(ctx1);
77 ASSERT_EQ(NULL, cras_dsp_get_pipeline(ctx1));
94 cras_dsp_context_free(ctx1);
/external/libchrome/crypto/
H A Dsecure_hash_unittest.cc53 std::unique_ptr<crypto::SecureHash> ctx1(
55 ctx1->Update(input1.data(), input1.size());
57 std::unique_ptr<crypto::SecureHash> ctx2(ctx1->Clone());
59 // At this point, ctx1, ctx2, and ctx3 are all equivalent and represent the
62 // Updating ctx1 and ctx2 with input2 should produce equivalent results.
63 ctx1->Update(input2.data(), input2.size());
64 ctx1->Finish(output1, sizeof(output1));
/external/libchrome/base/trace_event/
H A Dheap_profiler_allocation_context_tracker_unittest.cc275 AllocationContext ctx1; local
277 ->GetContextSnapshot(&ctx1));
278 ASSERT_EQ(kContext1, ctx1.type_name);
291 AllocationContext ctx1; local
293 ->GetContextSnapshot(&ctx1));
294 ASSERT_EQ("Testing", std::string(ctx1.type_name));
/external/selinux/libsepol/src/
H A Dmls.c674 context_struct_t *ctx1 = NULL, *ctx2 = NULL; local
675 ctx1 = malloc(sizeof(context_struct_t));
677 if (ctx1 == NULL || ctx2 == NULL)
679 context_init(ctx1);
682 if (mls_from_string(handle, &policydb->p, mls1, ctx1) < 0)
688 *response = mls_range_contains(ctx1->range, ctx2->range);
689 context_destroy(ctx1);
691 free(ctx1);
701 context_destroy(ctx1);
703 free(ctx1);
[all...]
H A Dkernel_to_cil.c2676 char *name, *ctx1, *ctx2; local
2681 ctx1 = context_to_str(pdb, &netif->context[0]);
2682 if (!ctx1) {
2688 free(ctx1);
2693 sepol_printf(out, "(netifcon %s %s %s)\n", name, ctx1, ctx2);
2695 free(ctx1);
H A Dkernel_to_conf.c2536 char *name, *ctx1, *ctx2; local
2541 ctx1 = context_to_str(pdb, &netif->context[0]);
2542 if (!ctx1) {
2548 free(ctx1);
2553 sepol_printf(out, "netifcon %s %s %s\n", name, ctx1, ctx2);
2555 free(ctx1);
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dwpa_auth.h432 void (*cb)(void *ctx1, void *ctx2),
433 void *ctx1, void *ctx2);
435 void (*cb)(void *ctx1, void *ctx2),
436 void *ctx1, void *ctx2);
438 void (*cb)(void *ctx1, void *ctx2),
439 void *ctx1, void *ctx2);
H A Dwpa_auth_i.h148 void (*eapol_status_cb)(void *ctx1, void *ctx2);
H A Dwpa_auth.c4535 void (*cb)(void *ctx1, void *ctx2),
4536 void *ctx1, void *ctx2)
4557 void (*cb)(void *ctx1, void *ctx2),
4558 void *ctx1, void *ctx2)
4719 void (*cb)(void *ctx1, void *ctx2),
4720 void *ctx1, void *ctx2)
4761 sm->eapol_status_cb_ctx1 = ctx1;
4534 wpa_auth_resend_m1(struct wpa_state_machine *sm, int change_anonce, void (*cb)(void *ctx1, void *ctx2), void *ctx1, void *ctx2) argument
4556 wpa_auth_resend_m3(struct wpa_state_machine *sm, void (*cb)(void *ctx1, void *ctx2), void *ctx1, void *ctx2) argument
4718 wpa_auth_resend_group_m1(struct wpa_state_machine *sm, void (*cb)(void *ctx1, void *ctx2), void *ctx1, void *ctx2) argument
/external/wpa_supplicant_8/src/ap/
H A Dwpa_auth.h432 void (*cb)(void *ctx1, void *ctx2),
433 void *ctx1, void *ctx2);
435 void (*cb)(void *ctx1, void *ctx2),
436 void *ctx1, void *ctx2);
438 void (*cb)(void *ctx1, void *ctx2),
439 void *ctx1, void *ctx2);
H A Dwpa_auth_i.h148 void (*eapol_status_cb)(void *ctx1, void *ctx2);
H A Dwpa_auth.c4535 void (*cb)(void *ctx1, void *ctx2),
4536 void *ctx1, void *ctx2)
4557 void (*cb)(void *ctx1, void *ctx2),
4558 void *ctx1, void *ctx2)
4719 void (*cb)(void *ctx1, void *ctx2),
4720 void *ctx1, void *ctx2)
4761 sm->eapol_status_cb_ctx1 = ctx1;
4534 wpa_auth_resend_m1(struct wpa_state_machine *sm, int change_anonce, void (*cb)(void *ctx1, void *ctx2), void *ctx1, void *ctx2) argument
4556 wpa_auth_resend_m3(struct wpa_state_machine *sm, void (*cb)(void *ctx1, void *ctx2), void *ctx1, void *ctx2) argument
4718 wpa_auth_resend_group_m1(struct wpa_state_machine *sm, void (*cb)(void *ctx1, void *ctx2), void *ctx1, void *ctx2) argument
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Dwpa_auth.h432 void (*cb)(void *ctx1, void *ctx2),
433 void *ctx1, void *ctx2);
435 void (*cb)(void *ctx1, void *ctx2),
436 void *ctx1, void *ctx2);
438 void (*cb)(void *ctx1, void *ctx2),
439 void *ctx1, void *ctx2);
H A Dwpa_auth_i.h148 void (*eapol_status_cb)(void *ctx1, void *ctx2);
H A Dwpa_auth.c4535 void (*cb)(void *ctx1, void *ctx2),
4536 void *ctx1, void *ctx2)
4557 void (*cb)(void *ctx1, void *ctx2),
4558 void *ctx1, void *ctx2)
4719 void (*cb)(void *ctx1, void *ctx2),
4720 void *ctx1, void *ctx2)
4761 sm->eapol_status_cb_ctx1 = ctx1;
4534 wpa_auth_resend_m1(struct wpa_state_machine *sm, int change_anonce, void (*cb)(void *ctx1, void *ctx2), void *ctx1, void *ctx2) argument
4556 wpa_auth_resend_m3(struct wpa_state_machine *sm, void (*cb)(void *ctx1, void *ctx2), void *ctx1, void *ctx2) argument
4718 wpa_auth_resend_group_m1(struct wpa_state_machine *sm, void (*cb)(void *ctx1, void *ctx2), void *ctx1, void *ctx2) argument
/external/mesa3d/src/gallium/state_trackers/wgl/
H A Dstw_context.c95 struct stw_context *ctx1; local
104 ctx1 = stw_lookup_context_locked( dhglrc1 );
107 if (ctx1 && ctx2 && ctx2->st->share)
108 ret = ctx2->st->share(ctx2->st, ctx1->st);
/external/libvpx/libvpx/vp9/decoder/
H A Dvp9_decodemv.c328 const int ctx1 = vp9_get_pred_context_single_ref_p2(xd); local
329 const int bit1 = vpx_read(r, fc->single_ref_prob[ctx1][1]);
330 if (counts) ++counts->single_ref[ctx1][1][bit1];
/external/python/cpython2/Lib/test/
H A Dtest_ssl.py1638 ctx1 = ssl.SSLContext(ssl.PROTOCOL_TLSv1)
1641 with closing(ctx1.wrap_socket(s)) as ss:
1643 self.assertIs(ss.context, ctx1)
1644 self.assertIs(ss._sslobj.context, ctx1)
/external/python/cpython3/Lib/test/
H A Dtest_ssl.py1681 ctx1 = ssl.SSLContext(ssl.PROTOCOL_TLSv1)
1684 with ctx1.wrap_socket(s) as ss:
1686 self.assertIs(ss.context, ctx1)
1687 self.assertIs(ss._sslobj.context, ctx1)
/external/wpa_supplicant_8/hostapd/
H A Dctrl_iface.c2085 static void restore_tk(void *ctx1, void *ctx2) argument
2087 struct hostapd_data *hapd = ctx1;

Completed in 719 milliseconds