/freebsd/tools/tools/vhba/ |
H A D | vhba.c | 235 char junk[128]; in vhba_default_cmd() local 282 memset(junk, 0, sizeof (junk)); in vhba_default_cmd() 283 junk[0] = SSD_ERRCODE_VALID|SSD_CURRENT_ERROR; in vhba_default_cmd() 284 junk[2] = SSD_KEY_NO_SENSE; in vhba_default_cmd() 285 junk[7] = 10; in vhba_default_cmd() 286 memcpy(csio->data_ptr, junk, in vhba_default_cmd() 287 (data_len > sizeof junk)? sizeof junk : data_len); in vhba_default_cmd() 309 memcpy(junk, niliqd, sizeof (niliqd)); in vhba_default_cmd() 313 memcpy(junk, vp0data, sizeof (vp0data)); in vhba_default_cmd() 316 memcpy(junk, vp80data, sizeof (vp80data)); in vhba_default_cmd() [all …]
|
/freebsd/sys/powerpc/pseries/ |
H A D | mmu_phyp.c | 299 uint64_t junk; in mphyp_pte_synch() local 303 &pte.pte_lo, &junk); in mphyp_pte_synch() 319 uint64_t ptelo, junk; in mphyp_pte_clear() local 350 &ptelo, &junk, &junk); in mphyp_pte_clear() 357 &ptelo, &junk, &junk); in mphyp_pte_clear() 372 uint64_t junk; in mphyp_pte_unset() local 381 &junk); in mphyp_pte_unset() 396 uint64_t slot, junk, k; in mphyp_pte_spillable_ident() local 406 &pt.pte_lo, &junk); in mphyp_pte_spillable_ident() 425 &to_evict->pte_lo, &junk); in mphyp_pte_spillable_ident() [all …]
|
/freebsd/contrib/libfido2/regress/ |
H A D | assert.c | 439 unsigned char *junk; in junk_cdh() 441 junk = malloc(sizeof(cdh)); in junk_cdh() 442 assert(junk != NULL); in junk_cdh() 443 memcpy(junk, cdh, sizeof(cdh)); in junk_cdh() 444 junk[0] = (unsigned char)~junk[0]; in junk_cdh() 449 assert(fido_assert_set_clientdata_hash(a, junk, sizeof(cdh)) == FIDO_OK); in junk_cdh() 460 free(junk); 490 unsigned char *junk; in junk_authdata() 492 junk in junk_authdata() 437 unsigned char *junk; junk_cdh() local 488 unsigned char *junk; junk_authdata() local 508 unsigned char *junk; junk_sig() local [all...] |
H A D | cred.c | 1745 unsigned char *junk; in junk_cdh() 1747 junk = malloc(sizeof(cdh)); in junk_cdh() 1748 assert(junk != NULL); in junk_cdh() 1749 memcpy(junk, cdh, sizeof(cdh)); in junk_cdh() 1750 junk[0] = (unsigned char)~junk[0]; in junk_cdh() 1754 assert(fido_cred_set_clientdata_hash(c, junk, sizeof(cdh)) == FIDO_OK); in junk_cdh() 1770 free(junk); 1787 assert(fido_cred_set_fmt(c, "junk") == FIDO_ERR_INVALID_ARGUMENT); in junk_fmt() 1846 unsigned char *junk; in junk_authdata() 1743 unsigned char *junk; junk_cdh() local 1844 unsigned char *junk; junk_authdata() local 1886 unsigned char *junk; junk_sig() local 1918 unsigned char *junk; junk_x509() local [all...] |
/freebsd/crypto/heimdal/lib/gssapi/spnego/ |
H A D | context_stubs.c | 38 OM_uint32 ret, junk; in spnego_supported_mechs() local 48 gss_release_oid_set(&junk, &m); in spnego_supported_mechs() 58 gss_release_oid_set(&junk, &m); in spnego_supported_mechs() 59 gss_release_oid_set(&junk, mechs); in spnego_supported_mechs() 63 gss_release_oid_set(&junk, &m); in spnego_supported_mechs() 370 OM_uint32 junk; in _gss_spnego_release_name() local 372 _gss_free_oid(&junk, &name->type); in _gss_spnego_release_name() 373 gss_release_buffer(&junk, &name->value); in _gss_spnego_release_name() 375 gss_release_name(&junk, &name->mech); in _gss_spnego_release_name() 396 OM_uint32 maj_stat, junk; in _gss_spnego_inquire_context() local [all …]
|
H A D | accept_sec_context.c | 70 OM_uint32 junk, ret; in acceptor_approved() local 75 gss_create_empty_oid_set(&junk, &oidset); in acceptor_approved() 76 gss_add_oid_set_member(&junk, mech, &oidset); in acceptor_approved() 78 ret = gss_acquire_cred(&junk, target_name, GSS_C_INDEFINITE, oidset, in acceptor_approved() 80 gss_release_oid_set(&junk, &oidset); in acceptor_approved() 83 gss_release_cred(&junk, &cred); in acceptor_approved() 322 OM_uint32 ret, junk; in select_mech() local 348 ret = gss_indicate_mechs(&junk, &mechs); in select_mech() 357 gss_release_oid_set(&junk, &mechs); in select_mech() 360 gss_release_oid_set(&junk, &mechs); in select_mech() [all …]
|
/freebsd/sys/powerpc/ps3/ |
H A D | platform_ps3.c | 140 uint64_t lpar_id, junk; in ps3_mem_regions() local 159 &phys[*physsz].mr_size, &junk); in ps3_mem_regions() 168 0, 0x04 /* any address */, &phys[*physsz].mr_start, &junk); in ps3_mem_regions() 177 uint64_t ticks, node_id, junk; in ps3_timebase_freq() local 180 lv1_repository_string("be") >> 32, 0, 0, 0, &node_id, &junk); in ps3_timebase_freq() 183 lv1_repository_string("clock"), 0, &ticks, &junk); in ps3_timebase_freq() 268 uint64_t lpar_id, junk, ppe_id; in ps3_real_maxaddr() local 280 &rm_maxaddr, &junk); in ps3_real_maxaddr()
|
/freebsd/crypto/heimdal/lib/gssapi/ntlm/ |
H A D | crypto.c | 248 OM_uint32 junk; in v2_unseal_message() local 249 gss_release_buffer(&junk, out); in v2_unseal_message() 275 OM_uint32 junk; in _gss_ntlm_get_mic() local 290 gss_release_buffer(&junk, message_token); in _gss_ntlm_get_mic() 300 gss_release_buffer(&junk, message_token); in _gss_ntlm_get_mic() 307 gss_release_buffer(&junk, message_token); in _gss_ntlm_get_mic() 316 gss_release_buffer(&junk, message_token); in _gss_ntlm_get_mic() 331 gss_release_buffer(&junk, message_token); in _gss_ntlm_get_mic() 488 OM_uint32 junk; in _gss_ntlm_wrap() local 505 gss_release_buffer(&junk, output_message_buffer); in _gss_ntlm_wrap() [all …]
|
/freebsd/lib/libgssapi/ |
H A D | gss_inquire_names_for_mech.c | 61 OM_uint32 junk; in gss_inquire_names_for_mech() local 62 gss_release_oid_set(&junk, name_types); in gss_inquire_names_for_mech() 68 OM_uint32 junk; in gss_inquire_names_for_mech() local 69 gss_release_oid_set(&junk, name_types); in gss_inquire_names_for_mech()
|
/freebsd/crypto/heimdal/lib/gssapi/mech/ |
H A D | gss_inquire_names_for_mech.c | 59 OM_uint32 junk; in gss_inquire_names_for_mech() local 60 gss_release_oid_set(&junk, name_types); in gss_inquire_names_for_mech() 66 OM_uint32 junk; in gss_inquire_names_for_mech() local 67 gss_release_oid_set(&junk, name_types); in gss_inquire_names_for_mech()
|
H A D | gss_add_cred_with_password.c | 51 OM_uint32 junk, time_req; in gss_add_cred_with_password() local 87 gss_release_cred(&junk, (gss_cred_id_t *)&new_cred); in gss_add_cred_with_password() 104 gss_release_cred(&junk, (gss_cred_id_t *)&new_cred); in gss_add_cred_with_password() 121 gss_release_cred(&junk, (gss_cred_id_t *)&new_cred); in gss_add_cred_with_password() 137 gss_release_cred(&junk, (gss_cred_id_t *)&new_cred); in gss_add_cred_with_password()
|
H A D | gss_krb5.c | 193 OM_uint32 junk; in gsskrb5_register_acceptor_identity() local 204 return m->gm_set_sec_context_option(&junk, NULL, in gsskrb5_register_acceptor_identity() 220 OM_uint32 junk; in gsskrb5_set_dns_canonicalize() local 231 m->gm_mech.gm_set_sec_context_option(&junk, NULL, in gsskrb5_set_dns_canonicalize() 490 OM_uint32 junk; in gsskrb5_set_send_to_kdc() local 505 m->gm_mech.gm_set_sec_context_option(&junk, NULL, in gsskrb5_set_send_to_kdc() 523 OM_uint32 junk; in gss_krb5_ccache_name() local 536 m->gm_mech.gm_set_sec_context_option(&junk, NULL, in gss_krb5_ccache_name() 814 OM_uint32 junk; in gsskrb5_set_default_realm() local 824 m->gm_mech.gm_set_sec_context_option(&junk, NULL, in gsskrb5_set_default_realm() [all …]
|
H A D | gss_accept_sec_context.c | 157 OM_uint32 major_status, mech_ret_flags, junk; in gss_accept_sec_context() local 216 gss_delete_sec_context(&junk, context_handle, NULL); in gss_accept_sec_context() 241 gss_delete_sec_context(&junk, context_handle, NULL); in gss_accept_sec_context() 256 gss_delete_sec_context(&junk, context_handle, NULL); in gss_accept_sec_context() 285 gss_delete_sec_context(&junk, context_handle, NULL); in gss_accept_sec_context() 293 gss_delete_sec_context(&junk, context_handle, NULL); in gss_accept_sec_context()
|
H A D | gss_store_cred.c | 48 OM_uint32 maj, junk; in gss_store_cred() local 82 gss_release_oid_set(&junk, elements_stored); in gss_store_cred() 87 gss_add_oid_set_member(&junk, in gss_store_cred()
|
/freebsd/contrib/ntp/sntp/libevent/test/ |
H A D | regress_iocp.c | 243 char junk[1024]; in test_iocp_evbuffer() local 250 for (i = 0; i < (int)sizeof(junk); ++i) in test_iocp_evbuffer() 251 junk[i] = (char)(i); in test_iocp_evbuffer() 267 evbuffer_add(wbuf, junk, sizeof(junk)); in test_iocp_evbuffer() 271 evbuffer_add(rbuf, junk, sizeof(junk)); in test_iocp_evbuffer() 274 tt_int_op(evbuffer_get_length(buf), ==, sizeof(junk)); in test_iocp_evbuffer()
|
/freebsd/contrib/libevent/test/ |
H A D | regress_iocp.c | 243 char junk[1024]; in test_iocp_evbuffer() local 250 for (i = 0; i < (int)sizeof(junk); ++i) in test_iocp_evbuffer() 251 junk[i] = (char)(i); in test_iocp_evbuffer() 267 evbuffer_add(wbuf, junk, sizeof(junk)); in test_iocp_evbuffer() 271 evbuffer_add(rbuf, junk, sizeof(junk)); in test_iocp_evbuffer() 274 tt_int_op(evbuffer_get_length(buf), ==, sizeof(junk)); in test_iocp_evbuffer()
|
/freebsd/contrib/tcp_wrappers/ |
H A D | options.c | 284 char junk; in umask_option() local 286 if (sscanf(value, "%o%c", &mask, &junk) != 1 || (mask & 0777) != mask) in umask_option() 308 char junk; in linger_option() local 310 if (sscanf(value, "%d%c", &linger.l_linger, &junk) != 1 in linger_option() 341 char junk; in nice_option() local 343 if (value != 0 && sscanf(value, "%d%c", &niceval, &junk) != 1) in nice_option() 390 char junk; in rfc931_option() local 393 if (sscanf(value, "%d%c", &timeout, &junk) != 1 || timeout <= 0) in rfc931_option()
|
/freebsd/tools/tools/vhba/lots/ |
H A D | vhba_lots.c | 99 char junk[128]; in vhbalots_act() local 141 memset(junk, 0, sizeof (junk)); in vhbalots_act() 143 ptr = &junk[4]; in vhbalots_act() 145 ptr = junk; in vhbalots_act() 249 nbyte = (char *)ptr - &junk[0]; in vhbalots_act() 260 memcpy(csio->data_ptr, junk, data_len); in vhbalots_act()
|
/freebsd/tools/tools/vhba/medium/ |
H A D | vhba_medium.c | 99 char junk[128]; in vhbamedium_act() local 141 memset(junk, 0, sizeof (junk)); in vhbamedium_act() 143 ptr = &junk[4]; in vhbamedium_act() 145 ptr = junk; in vhbamedium_act() 249 nbyte = (char *)ptr - &junk[0]; in vhbamedium_act() 260 memcpy(csio->data_ptr, junk, data_len); in vhbamedium_act()
|
/freebsd/tools/tools/vhba/simple/ |
H A D | vhba_simple.c | 99 char junk[128]; in vhbasimple_act() local 141 memset(junk, 0, sizeof (junk)); in vhbasimple_act() 143 ptr = &junk[4]; in vhbasimple_act() 145 ptr = junk; in vhbasimple_act() 249 nbyte = (char *)ptr - &junk[0]; in vhbasimple_act() 260 memcpy(csio->data_ptr, junk, data_len); in vhbasimple_act()
|
/freebsd/sys/kgssapi/ |
H A D | gss_accept_sec_context.c | 114 OM_uint32 junk; in gss_accept_sec_context() local 115 gss_release_name(&junk, &name); in gss_accept_sec_context() 129 OM_uint32 junk; in gss_accept_sec_context() local 130 gss_release_cred(&junk, &cred); in gss_accept_sec_context()
|
/freebsd/tools/tools/vhba/rptluns/ |
H A D | vhba_rptluns.c | 120 char junk[128]; in vhbarptluns_act() local 170 memset(junk, 0, sizeof (junk)); in vhbarptluns_act() 172 ptr = &junk[4]; in vhbarptluns_act() 174 ptr = junk; in vhbarptluns_act() 278 nbyte = (char *)ptr - &junk[0]; in vhbarptluns_act() 289 memcpy(csio->data_ptr, junk, data_len); in vhbarptluns_act()
|
/freebsd/tools/tools/vhba/faulty/ |
H A D | vhba_faulty.c | 106 char junk[128]; in faulty_act() local 155 memset(junk, 0, sizeof (junk)); in faulty_act() 157 ptr = &junk[4]; in faulty_act() 159 ptr = junk; in faulty_act() 263 nbyte = (char *)ptr - &junk[0]; in faulty_act() 274 memcpy(csio->data_ptr, junk, data_len); in faulty_act()
|
/freebsd/crypto/openssl/test/ |
H A D | sslcorrupttest.c | 184 static unsigned char junk[16000] = { 0 }; in test_ssl_corrupt() local 231 if (!TEST_int_ge(SSL_write(client, junk, sizeof(junk)), 0)) in test_ssl_corrupt() 234 if (!TEST_int_lt(SSL_read(server, junk, sizeof(junk)), 0)) in test_ssl_corrupt()
|
/freebsd/sys/rpc/ |
H A D | authunix_prot.c | 64 uint32_t junk; in xdr_authunix_parms() local 78 junk = 0; in xdr_authunix_parms() 112 if (!xdr_uint32_t(xdrs, &junk)) in xdr_authunix_parms()
|