/freebsd-11-stable/contrib/gcc/ |
H A D | gthr-win32.h | 48 to emulate pthreads key dtors; the runtime provides a special DLL, 93 /* Initialize the thread storage key. */ 437 __gthread_key_create (__gthread_key_t *key, void (*dtor) (void *)) argument 439 return __gthr_win32_key_create (key, dtor); 443 __gthread_key_delete (__gthread_key_t key) argument 445 return __gthr_win32_key_delete (key); 449 __gthread_getspecific (__gthread_key_t key) argument 451 return __gthr_win32_getspecific (key); 455 __gthread_setspecific (__gthread_key_t key, const void *ptr) argument 457 return __gthr_win32_setspecific (key, pt 565 __gthread_key_create(__gthread_key_t *key, void (*dtor) (void *)) argument 584 __gthread_key_delete(__gthread_key_t key) argument 590 __gthread_getspecific(__gthread_key_t key) argument 605 __gthread_setspecific(__gthread_key_t key, const void *ptr) argument [all...] |
/freebsd-11-stable/lib/libc/iconv/ |
H A D | citrus_lookup.c | 94 seq_next_db(struct _citrus_lookup *cl, struct _region *key, argument 99 if (key) 100 _region_init(key, cl->cl_key, cl->cl_keylen); 112 return (_db_get_entry(cl->cl_db, cl->cl_dbidx++, key, data)); 116 seq_lookup_db(struct _citrus_lookup *cl, const char *key, struct _region *data) argument 121 cl->cl_key = strdup(key); 171 seq_next_plain(struct _citrus_lookup *cl, struct _region *key, argument 201 if (key) 202 _region_init(key, __DECONST(void *, p), (size_t)(q - p)); 223 seq_lookup_plain(struct _citrus_lookup *cl, const char *key, argument 307 _citrus_lookup_seq_next(struct _citrus_lookup *cl, struct _region *key, struct _region *data) argument 315 _citrus_lookup_seq_lookup(struct _citrus_lookup *cl, const char *key, struct _region *data) argument 339 _citrus_lookup_simple(const char *name, const char *key, char *linebuf, size_t linebufsize, int ignore_case) argument [all...] |
/freebsd-11-stable/crypto/openssl/crypto/pem/ |
H A D | pem_all.c | 130 static RSA *pkey_get_rsa(EVP_PKEY *key, RSA **rsa); 133 static DSA *pkey_get_dsa(EVP_PKEY *key, DSA **dsa); 137 static EC_KEY *pkey_get_eckey(EVP_PKEY *key, EC_KEY **eckey); 152 * the relevant private key: this means can handle "traditional" and PKCS#8 155 static RSA *pkey_get_rsa(EVP_PKEY *key, RSA **rsa) argument 158 if (!key) 160 rtmp = EVP_PKEY_get1_RSA(key); 161 EVP_PKEY_free(key); 247 static DSA *pkey_get_dsa(EVP_PKEY *key, DSA **dsa) argument 250 if (!key) 334 pkey_get_eckey(EVP_PKEY *key, EC_KEY **eckey) argument 350 PEM_read_bio_ECPrivateKey(BIO *bp, EC_KEY **key, pem_password_cb *cb, void *u) argument [all...] |
/freebsd-11-stable/libexec/bootpd/ |
H A D | hash.c | 191 * Returns TRUE if at least one entry for the given key exists; FALSE 196 hash_Exists(hashtable, hashcode, compare, key) 200 hash_datum *key; 206 if ((*compare) (key, memberptr->data)) { 219 * to determine the bucket number, and "compare" and "key" to determine 228 hash_Insert(hashtable, hashcode, compare, key, element) 232 hash_datum *key, *element; 237 if (hash_Exists(hashtable, hashcode, compare, key)) { 254 * Delete all data elements which match the given key. If at least one 260 hash_Delete(hashtable, hashcode, compare, key, free_dat [all...] |
/freebsd-11-stable/crypto/heimdal/lib/gssapi/krb5/ |
H A D | get_mic.c | 46 krb5_keyblock *key 93 memcpy (&deskey, key->keyvalue.data, sizeof(deskey)); 115 EVP_CipherInit_ex(&des_ctx, EVP_des_cbc(), NULL, key->keyvalue.data, p + 8, 1); 140 krb5_keyblock *key 190 kret = krb5_crypto_init(context, key, 0, &crypto); 233 kret = krb5_crypto_init(context, key, 286 krb5_keyblock *key; local 297 ret = _gsskrb5i_get_token_key(ctx, context, &key); 303 krb5_enctype_to_keytype (context, key->keytype, &keytype); 309 message_buffer, message_token, key); [all...] |
/freebsd-11-stable/crypto/heimdal/lib/roken/ |
H A D | ndbm_wrap.c | 81 DBT key; local 82 DATUM2DBT(&dkey, &key); 84 RETURN(D(db)->del(D(db), NULL, &key, 0)); 86 RETURN(D(db)->del(D(db), &key, 0)); 94 DBT key, value; local 95 DATUM2DBT(&dkey, &key); 100 &key, &value, 0) != 0) { 113 DBT key, value; local 118 if(cursor->c_get(cursor, &key, &value, flags) != 0) { 124 db->seq(db, &key, 198 DBT key, value; local [all...] |
/freebsd-11-stable/contrib/libarchive/libarchive/ |
H A D | archive_blake2.h | 146 int blake2s_init_key( blake2s_state *S, size_t outlen, const void *key, size_t keylen ); 152 int blake2b_init_key( blake2b_state *S, size_t outlen, const void *key, size_t keylen ); 158 int blake2sp_init_key( blake2sp_state *S, size_t outlen, const void *key, size_t keylen ); 163 int blake2bp_init_key( blake2bp_state *S, size_t outlen, const void *key, size_t keylen ); 169 int blake2xs_init_key( blake2xs_state *S, const size_t outlen, const void *key, size_t keylen ); 174 int blake2xb_init_key( blake2xb_state *S, const size_t outlen, const void *key, size_t keylen ); 179 int blake2s( void *out, size_t outlen, const void *in, size_t inlen, const void *key, size_t keylen ); 180 int blake2b( void *out, size_t outlen, const void *in, size_t inlen, const void *key, size_t keylen ); 182 int blake2sp( void *out, size_t outlen, const void *in, size_t inlen, const void *key, size_t keylen ); 183 int blake2bp( void *out, size_t outlen, const void *in, size_t inlen, const void *key, size_ [all...] |
/freebsd-11-stable/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_mr.c | 64 u8 key; local 67 key = dev->priv.mkey_key++; 71 MLX5_SET(mkc, mkc, mkey_7_0, key); 93 mkey->key = mlx5_idx_to_mkey(mkey_index) | key; 96 mlx5_core_dbg(dev, "out 0x%x, key 0x%x, mkey 0x%x\n", 97 mkey_index, key, mkey->key); 101 err = radix_tree_insert(&table->tree, mlx5_mkey_to_idx(mkey->key), mkey); 105 mkey->key, er [all...] |
/freebsd-11-stable/contrib/gcclibs/libiberty/ |
H A D | fibheap.c | 79 if (a->key < b->key) 81 if (a->key > b->key) 87 fibheap_comp_data (fibheap_t heap, fibheapkey_t key, void *data, fibnode_t b) 91 a.key = key; 99 fibheap_insert (fibheap_t heap, fibheapkey_t key, void *data) 108 node->key = key; 86 fibheap_comp_data(fibheap_t heap, fibheapkey_t key, void *data, fibnode_t b) argument 98 fibheap_insert(fibheap_t heap, fibheapkey_t key, void *data) argument 198 fibheap_replace_key_data(fibheap_t heap, fibnode_t node, fibheapkey_t key, void *data) argument 244 fibheap_replace_key(fibheap_t heap, fibnode_t node, fibheapkey_t key) argument [all...] |
/freebsd-11-stable/contrib/gdb/gdb/ |
H A D | macrotab.c | 140 /* A key in the splay tree. */ 144 the splay tree library's key and value freeing functions require 145 that the key or value contain all the information needed to free 294 /* Compare a macro key KEY against NAME, the source file FILE, and 301 Return -1, 0, or 1 if key comes before, is identical to, or comes argument 304 key_compare (struct macro_key *key, 307 int names = strcmp (key->name, name); 311 return compare_locations (key->start_file, key->start_line, 329 /* Construct a new macro key nod 351 struct macro_key *key = (struct macro_key *) untyped_key; local 791 struct macro_key *key = (struct macro_key *) n->key; local 843 struct macro_key *key = (struct macro_key *) n->key; local [all...] |
/freebsd-11-stable/contrib/binutils/gas/ |
H A D | hash.c | 154 hash_lookup (struct hash_control *table, const char *key, size_t len, argument 172 c = key[n]; 201 if (strncmp (p->string, key, len) == 0 && p->string[len] == '\0') 226 hash_insert (struct hash_control *table, const char *key, PTR value) argument 232 p = hash_lookup (table, key, strlen (key), &list, &hash); 241 p->string = key; 256 hash_jam (struct hash_control *table, const char *key, PTR value) argument 262 p = hash_lookup (table, key, strlen (key), 294 hash_replace(struct hash_control *table, const char *key, PTR value) argument 318 hash_find(struct hash_control *table, const char *key) argument 333 hash_find_n(struct hash_control *table, const char *key, size_t len) argument 348 hash_delete(struct hash_control *table, const char *key) argument 377 hash_traverse(struct hash_control *table, void (*pfn) (const char *key, PTR value)) argument [all...] |
/freebsd-11-stable/contrib/binutils/libiberty/ |
H A D | fibheap.c | 79 if (a->key < b->key) 81 if (a->key > b->key) 87 fibheap_comp_data (fibheap_t heap, fibheapkey_t key, void *data, fibnode_t b) 91 a.key = key; 99 fibheap_insert (fibheap_t heap, fibheapkey_t key, void *data) 108 node->key = key; 86 fibheap_comp_data(fibheap_t heap, fibheapkey_t key, void *data, fibnode_t b) argument 98 fibheap_insert(fibheap_t heap, fibheapkey_t key, void *data) argument 198 fibheap_replace_key_data(fibheap_t heap, fibnode_t node, fibheapkey_t key, void *data) argument 244 fibheap_replace_key(fibheap_t heap, fibnode_t node, fibheapkey_t key) argument [all...] |
/freebsd-11-stable/contrib/apr-util/dbm/sdbm/ |
H A D | sdbm.c | 44 static apr_status_t getnext(apr_sdbm_datum_t *key, apr_sdbm_t *db); 187 apr_sdbm_datum_t key) 191 if (db == NULL || bad(key)) 197 if ((status = getpage(db, exhash(key), 0, 1)) == APR_SUCCESS) { 198 *val = getpair(db->pagbuf, key); 219 const apr_sdbm_datum_t key) 223 if (db == NULL || bad(key)) 231 if ((status = getpage(db, exhash(key), 0, 1)) == APR_SUCCESS) { 232 if (!delpair(db->pagbuf, key)) 244 APU_DECLARE(apr_status_t) apr_sdbm_store(apr_sdbm_t *db, apr_sdbm_datum_t key, 552 getnext(apr_sdbm_datum_t *key, apr_sdbm_t *db) argument [all...] |
/freebsd-11-stable/contrib/nvi/common/ |
H A D | line.c | 89 DBT data, key; local 155 key.data = &lno; 156 key.size = sizeof(lno); 157 switch (ep->db->get(ep->db, &key, &data, 0)) { 209 DBT key; local 231 key.data = &lno; 232 key.size = sizeof(lno); 233 if (ep->db->del(ep->db, &key, 0) == 1) { 268 DBT data, key; local 286 key 343 DBT data, key; local 410 DBT data, key; local 503 DBT data, key; local 577 DBT data, key; local 606 DBT data, key; local [all...] |
/freebsd-11-stable/crypto/openssh/ |
H A D | sshkey.c | 61 /* openssh private key file format */ 67 #define AUTH_MAGIC "openssh-key-v1" 78 /* Supported key types */ 177 /* Only allow shortname matches for plain key types */ 248 * Try matching key types against the string. 315 /* Return the cert-less equivalent to a certified key type */ 654 * Compare public portions of key only, allowing comparisons between 727 to_blob_buf(const struct sshkey *key, struct sshbuf *b, int force_plain) argument 732 if (key == NULL) 735 if (sshkey_is_cert(key)) { 802 sshkey_putb(const struct sshkey *key, struct sshbuf *b) argument 808 sshkey_puts(const struct sshkey *key, struct sshbuf *b) argument 823 sshkey_putb_plain(const struct sshkey *key, struct sshbuf *b) argument 829 to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp, int force_plain) argument 860 sshkey_to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp) argument 866 sshkey_plain_to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp) argument 1393 sshkey_to_base64(const struct sshkey *key, char **b64p) argument 1422 sshkey_format_rsa1(const struct sshkey *key, struct sshbuf *b) argument 1460 sshkey_format_text(const struct sshkey *key, struct sshbuf *b) argument 1483 sshkey_write(const struct sshkey *key, FILE *f) argument 1839 cert_parse(struct sshbuf *b, struct sshkey *key, struct sshbuf *certbuf) argument 1966 struct sshkey *key = NULL; local 2183 sshkey_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, const u_char *data, size_t datalen, const char *alg, u_int compat) argument 2219 sshkey_verify(const struct sshkey *key, const u_char *sig, size_t siglen, const u_char *data, size_t dlen, u_int compat) argument 2582 sshkey_private_serialize(const struct sshkey *key, struct sshbuf *b) argument 2944 sshkey_ec_validate_private(const EC_KEY *key) argument 3022 sshkey_dump_ec_key(const EC_KEY *key) argument 3042 u_char *cp, *key = NULL, *pubkeyblob = NULL; local 3202 u_char *key = NULL, *salt = NULL, *dp, pad, last; local 3415 sshkey_private_rsa1_to_blob(struct sshkey *key, struct sshbuf *blob, const char *passphrase, const char *comment) argument 3510 sshkey_private_pem_to_blob(struct sshkey *key, struct sshbuf *blob, const char *_passphrase, const char *comment) argument 3567 sshkey_private_to_fileblob(struct sshkey *key, struct sshbuf *blob, const char *passphrase, const char *comment, int force_new_format, const char *new_format_cipher, int new_format_rounds) argument [all...] |
/freebsd-11-stable/usr.sbin/pwd_mkdb/ |
H A D | pwd_mkdb.c | 102 DBT data, sdata, key; local 253 key.data = verskey; 254 key.size = sizeof(verskey)-1; 255 if ((pw_db->get)(pw_db, &key, &data, 0) == 0) 264 key.data = (u_char *)buf; 265 key.size = len + 1; 266 if ((pw_db->get)(pw_db, &key, &data, 0) == 0) { 277 key.data = (u_char *)buf; 278 key.size = sizeof(store) + 1; 280 if ((pw_db->get)(pw_db, &key, [all...] |
/freebsd-11-stable/contrib/unbound/validator/ |
H A D | val_secalgo.c | 303 * Setup DSA key digest in DER encoding ... 440 * Setup key and digest for verification. Adjust sig if necessary. 442 * @param algo: key algorithm 443 * @param evp_key: EVP PKEY public key to create. 445 * @param key: key to setup for. 446 * @param keylen: length of key. 451 unsigned char* key, size_t keylen) 467 dsa = sldns_key_buf2dsa_raw(key, keylen); 503 rsa = sldns_key_buf2rsa_raw(key, keyle 450 setup_key_digest(int algo, EVP_PKEY** evp_key, const EVP_MD** digest_type, unsigned char* key, size_t keylen) argument 644 verify_canonrrset(sldns_buffer* buf, int algo, unsigned char* sigblock, unsigned int sigblock_len, unsigned char* key, unsigned int keylen, char** reason) argument 920 SECKEYPublicKey* key; local 939 nss_buf2ecdsa(unsigned char* key, size_t len, int algo) argument 994 nss_buf2dsa(unsigned char* key, size_t len) argument 1056 nss_buf2rsa(unsigned char* key, size_t len) argument 1115 nss_setup_key_digest(int algo, SECKEYPublicKey** pubkey, HASH_HashType* htype, unsigned char* key, size_t keylen, unsigned char** prefix, size_t* prefixlen) argument 1255 verify_canonrrset(sldns_buffer* buf, int algo, unsigned char* sigblock, unsigned int sigblock_len, unsigned char* key, unsigned int keylen, char** reason) argument 1556 _verify_nettle_dsa(sldns_buffer* buf, unsigned char* sigblock, unsigned int sigblock_len, unsigned char* key, unsigned int keylen) argument 1645 _verify_nettle_rsa(sldns_buffer* buf, unsigned int digest_size, char* sigblock, unsigned int sigblock_len, uint8_t* key, unsigned int keylen) argument 1725 _verify_nettle_ecdsa(sldns_buffer* buf, unsigned int digest_size, unsigned char* sigblock, unsigned int sigblock_len, unsigned char* key, unsigned int keylen) argument 1791 _verify_nettle_ed25519(sldns_buffer* buf, unsigned char* sigblock, unsigned int sigblock_len, unsigned char* key, unsigned int keylen) argument 1827 verify_canonrrset(sldns_buffer* buf, int algo, unsigned char* sigblock, unsigned int sigblock_len, unsigned char* key, unsigned int keylen, char** reason) argument [all...] |
/freebsd-11-stable/contrib/netbsd-tests/usr.bin/rump_server/ |
H A D | t_disk.sh | 55 test_case size -d key=/img,hostpath=the.img,size=32k 61 test_case offset -d key=/img,hostpath=the.img,size=32k,offset=16k 67 test_case notrunc -d key=/img,hostpath=the.img,size=8k,offset=16k 77 test_case data -d key=/img,hostpath=the.img,size=8k,offset=16k 91 test_case type_chr -d key=/img,hostpath=the.img,size=32k,type=chr 98 test_case type_reg -d key=/img,hostpath=the.img,size=32k,type=reg 105 test_case type_blk -d key=/img,hostpath=the.img,size=32k,type=blk 112 test_case type_blk_default -d key=/img,hostpath=the.img,size=32k
|
/freebsd-11-stable/contrib/ntp/lib/isc/include/isc/ |
H A D | hmacmd5.h | 44 unsigned char key[ISC_HMACMD5_KEYLENGTH]; member in struct:__anon4823 51 isc_hmacmd5_init(isc_hmacmd5_t *ctx, const unsigned char *key,
|
/freebsd-11-stable/contrib/libreadline/examples/ |
H A D | manexamp.c | 64 invert_case_line (count, key) 65 int count, key;
|
/freebsd-11-stable/contrib/libucl/src/ |
H A D | ucl_hash.h | 59 void ucl_hash_insert (ucl_hash_t* hashlin, const ucl_object_t *obj, const char *key, 76 const ucl_object_t* ucl_hash_search (ucl_hash_t* hashlin, const char *key,
|
/freebsd-11-stable/contrib/dialog/ |
H A D | msgbox.c | 50 int key = 0, fkey; local 118 key = dlg_mouse_wgetch(dialog, &fkey); 119 if (dlg_result_key(key, fkey, &result)) 122 if (!fkey && (check = dlg_char_to_button(key, buttons)) >= 0) { 128 switch (key) { 159 if (is_DLGK_MOUSE(key)) { 160 result = dlg_ok_buttoncode(key - M_EVENT); 163 } else if (dlg_check_scrolled(key,
|
/freebsd-11-stable/contrib/amd/scripts/ |
H A D | amd2ldif.in | 48 my $key = shift @vals; 51 print "dn: cn=amdmap $mapname\[$key\], $base\n"; 52 printf "$fmt","cn","amdmap $mapname\[$key\]"; 55 printf "$fmt","amdmapKey", $key;
|
/freebsd-11-stable/sys/crypto/blowfish/ |
H A D | bf_enc.c | 81 BF_encrypt(data, key) 83 BF_KEY *key; 87 p = key->P; 88 s= &key->S[0]; 123 BF_decrypt(data, key) 125 BF_KEY *key; 129 p = key->P; 130 s= &key->S[0];
|
/freebsd-11-stable/contrib/subversion/subversion/libsvn_fs_base/ |
H A D | tree.h | 62 const char *key, 74 const char *key,
|