/freebsd-10.0-release/usr.sbin/sa/ |
H A D | usrdb.c | 67 v1_to_v2(DBT *key, DBT *data) argument 73 if (key->size != sizeof(u_long) || data->size != sizeof(uiv1)) { 78 /* Convert key. */ 79 key->size = sizeof(uid_t); 80 uid = (uid_t)*(u_long *)(key->data); 81 key->data = &uid; 120 DBT key, data; local 126 key.data = &uid; 127 key.size = sizeof uid; 129 rv = DB_GET(usracct_db, &key, 183 DBT key, data; local [all...] |
/freebsd-10.0-release/contrib/gcc/config/i386/ |
H A D | gthr-win32.c | 55 to emulate pthreads key dtors; the runtime provides a special DLL, 105 __gthr_win32_key_create (__gthread_key_t *key, void (*dtor) (void *)) argument 111 *key = tls_index; 115 status = __mingwthr_key_dtor (*key, dtor); 124 __gthr_win32_key_delete (__gthread_key_t key) argument 126 return (TlsFree (key) != 0) ? 0 : (int) GetLastError (); 130 __gthr_win32_getspecific (__gthread_key_t key) argument 135 ptr = TlsGetValue(key); 141 __gthr_win32_setspecific (__gthread_key_t key, const void *ptr) argument 143 return (TlsSetValue (key, (voi [all...] |
/freebsd-10.0-release/contrib/subversion/subversion/libsvn_fs_base/bdb/ |
H A D | node-origins-table.c | 71 DBT key, value; 76 svn_fs_base__str_to_dbt(&key, node_id), 94 DBT key, value; 97 /* Create a key from our NODE_ID. */ 98 svn_fs_base__str_to_dbt(&key, node_id); 106 &key, svn_fs_base__result_dbt(&value), 0); 130 &key, &value, 0)); 139 DBT key; 141 svn_fs_base__str_to_dbt(&key, node_id); 145 trail->db_txn, &key, 70 DBT key, value; local 93 DBT key, value; local 138 DBT key; local [all...] |
H A D | txn-table.c | 34 #include "../key-gen.h" 65 /* Create the `next-key' table entry. */ 68 DBT key, value; local 71 svn_fs_base__str_to_dbt(&key, NEXT_KEY_KEY), 89 DBT key, value; local 96 svn_fs_base__str_to_dbt(&key, txn_name); 101 &key, &value, 0)); 121 /* Get the current value associated with the `next-key' key in the table. */ 123 SVN_ERR(BDB_WRAP(fs, N_("allocating new transaction ID (getting 'next-key')"), 177 DBT key; local 202 DBT key, value; local 243 DBT key, value; local [all...] |
H A D | locks-table.c | 85 DBT key, value; local 90 svn_fs_base__str_to_dbt(&key, lock_token); 95 &key, &value, 0)); 107 DBT key; local 110 svn_fs_base__str_to_dbt(&key, lock_token); 112 db_err = bfd->locks->del(bfd->locks, trail->db_txn, &key, 0); 129 DBT key, value; local 136 svn_fs_base__str_to_dbt(&key, lock_token), 186 matching path-key. */ 204 DBT key, valu local [all...] |
/freebsd-10.0-release/lib/libc/rpc/ |
H A D | des_crypt.c | 74 cbc_crypt(key, buf, len, mode, ivec) 75 char *key; 91 err = common_crypt(key, buf, len, mode, &dp); 101 ecb_crypt(key, buf, len, mode) 102 char *key; 115 return(common_crypt(key, buf, len, mode, &dp)); 124 common_crypt(key, buf, len, mode, desp) 125 char *key; 140 COPY8(key, desp->des_key);
|
/freebsd-10.0-release/contrib/apr-util/include/ |
H A D | apr_sdbm.h | 120 * Fetch an sdbm record value by key 123 * @param key The key datum to find this record 127 apr_sdbm_datum_t key); 130 * Store an sdbm record value by key 132 * @param key The key datum to store this record by 137 * APR_SDBM_REPLACE overwrite any existing record for key 140 APU_DECLARE(apr_status_t) apr_sdbm_store(apr_sdbm_t *db, apr_sdbm_datum_t key, 144 * Delete an sdbm record value by key [all...] |
/freebsd-10.0-release/contrib/llvm/tools/lldb/include/lldb/Interpreter/ |
H A D | OptionValueDictionary.h | 90 GetValueForKey (const ConstString &key) const; 108 GetStringValueForKey (const ConstString &key); 111 SetStringValueForKey (const ConstString &key, 117 SetValueForKey (const ConstString &key, 122 DeleteValueForKey (const ConstString &key);
|
/freebsd-10.0-release/contrib/ofed/management/opensm/include/complib/ |
H A D | cl_event_wheel.h | 94 (*cl_pfn_event_aged_cb_t) (IN uint64_t key, 98 * key 99 * [in] The key used for registering the item in the call to 156 * A Map holding all registered event items by their key. 187 uint64_t key; member in struct:_cl_event_wheel_reg_info 202 * key 203 * The key by which one can find the event 212 * The number of times the same event (key) was registered 366 IN const uint64_t key, 375 * key [all...] |
/freebsd-10.0-release/contrib/subversion/subversion/include/ |
H A D | svn_hash.h | 166 /** Hash key status indicator for svn_hash_diff_func_t. */ 180 /** Function type for expressing a key's status between two hash tables. */ 182 (const void *key, apr_ssize_t klen, 189 * For each key in the union of @a hash_a's and @a hash_b's keys, invoke 190 * @a diff_func exactly once, passing the key, the key's length, an enum 191 * @c svn_hash_diff_key_status indicating which table(s) the key appears 237 * match their corresponding key. Use @a pool for all allocations 247 /** Shortcut for apr_hash_get() with a const char * key. 251 #define svn_hash_gets(ht, key) \ [all...] |
/freebsd-10.0-release/contrib/unbound/util/ |
H A D | locks.h | 156 #define ub_thread_key_create(key, f) LOCKRET(pthread_key_create(key, f)) 157 #define ub_thread_key_set(key, v) LOCKRET(pthread_setspecific(key, v)) 158 #define ub_thread_key_get(key) pthread_getspecific(key) 194 #define ub_thread_key_create(key, f) LOCKRET(thr_keycreate(key, f)) 195 #define ub_thread_key_set(key, v) LOCKRET(thr_setspecific(key, [all...] |
/freebsd-10.0-release/contrib/wpa/src/crypto/ |
H A D | crypto_internal.c | 26 u8 key[64]; member in struct:crypto_hash 31 struct crypto_hash * crypto_hash_init(enum crypto_hash_alg alg, const u8 *key, argument 60 MD5Update(&ctx->u.md5, key, key_len); 62 key = tk; 65 os_memcpy(ctx->key, key, key_len); 68 os_memcpy(k_pad, key, key_len); 79 SHA1Update(&ctx->u.sha1, key, key_len); 81 key = tk; 84 os_memcpy(ctx->key, ke [all...] |
/freebsd-10.0-release/crypto/openssh/ |
H A D | krl.h | 22 /* Functions to manage key revocation lists */ 52 int ssh_krl_revoke_key_explicit(struct ssh_krl *krl, const Key *key); 53 int ssh_krl_revoke_key_sha1(struct ssh_krl *krl, const Key *key); 54 int ssh_krl_revoke_key(struct ssh_krl *krl, const Key *key); 59 int ssh_krl_check_key(struct ssh_krl *krl, const Key *key); 60 int ssh_krl_file_contains_key(const char *path, const Key *key);
|
H A D | auth2-pubkey.c | 53 #include "key.h" 77 Key *key = NULL; local 105 logit("userauth_pubkey: unsupported public key algorithm: %s", 109 key = key_from_blob(pkblob, blen); 110 if (key == NULL) { 111 error("userauth_pubkey: cannot decode key: %s", pkalg); 114 if (key->type != pktype) { 115 error("userauth_pubkey: type mismatch for decoded key " 116 "(received %d, expected %d)", key->type, pktype); 150 pubkey_auth_info(authctxt, key, NUL 193 pubkey_auth_info(Authctxt *authctxt, const Key *key, const char *fmt, ...) argument 309 check_authkeys_file(FILE *f, char *file, Key* key, struct passwd *pw) argument 419 user_cert_trusted_ca(struct passwd *pw, Key *key) argument 475 user_key_allowed2(struct passwd *pw, Key *key, char *file) argument 498 user_key_command_allowed2(struct passwd *user_pw, Key *key) argument 645 user_key_allowed(struct passwd *pw, Key *key) argument [all...] |
/freebsd-10.0-release/crypto/openssl/crypto/bf/ |
H A D | blowfish.h | 108 void private_BF_set_key(BF_KEY *key, int len, const unsigned char *data); 110 void BF_set_key(BF_KEY *key, int len, const unsigned char *data); 112 void BF_encrypt(BF_LONG *data,const BF_KEY *key); 113 void BF_decrypt(BF_LONG *data,const BF_KEY *key); 116 const BF_KEY *key, int enc);
|
/freebsd-10.0-release/crypto/openssl/crypto/modes/ |
H A D | ofb128.c | 67 size_t len, const void *key, 74 assert(in && out && key && ivec && num); 90 (*block)(ivec, ivec, key); 100 (*block)(ivec, ivec, key); 113 (*block)(ivec, ivec, key); 66 CRYPTO_ofb128_encrypt(const unsigned char *in, unsigned char *out, size_t len, const void *key, unsigned char ivec[16], int *num, block128_f block) argument
|
/freebsd-10.0-release/crypto/heimdal/lib/hdb/ |
H A D | keys.c | 54 krb5_free_keyblock_contents(context, &keys[i].key); 83 parse_key_set(krb5_context context, const char *key, argument 95 p = key; 165 krb5_set_error_message(context, EINVAL, "bad value for default_keys `%s'", key); 204 Key key, *tmp; local 206 memset(&key, 0, sizeof(key)); 214 key.key.keytype = enctype; 215 key [all...] |
/freebsd-10.0-release/contrib/apr/tables/ |
H A D | apr_tables.c | 298 #define TABLE_HASH(key) (TABLE_INDEX_MASK & *(unsigned char *)(key)) 302 /* Compute the "checksum" for a key, consisting of the first 308 #define COMPUTE_KEY_CHECKSUM(key, checksum) \ 310 const char *k = (key); \ 345 * - Hash the key into the index: 346 * - index_first[TABLE_HASH(key)] is the offset within 347 * the table of the first entry with that key 348 * - index_last[TABLE_HASH(key)] is the offset within 349 * the table of the last entry with that key 463 apr_table_get(const apr_table_t *t, const char *key) argument 492 apr_table_set(apr_table_t *t, const char *key, const char *val) argument 564 apr_table_setn(apr_table_t *t, const char *key, const char *val) argument 636 apr_table_unset(apr_table_t *t, const char *key) argument 690 apr_table_merge(apr_table_t *t, const char *key, const char *val) argument 727 apr_table_mergen(apr_table_t *t, const char *key, const char *val) argument 780 apr_table_add(apr_table_t *t, const char *key, const char *val) argument 800 apr_table_addn(apr_table_t *t, const char *key, const char *val) argument [all...] |
H A D | apr_hash.c | 39 * The table is an array indexed by the hash of the key; collisions 50 const void *key; member in struct:apr_hash_entry_t 156 const void **key, 160 if (key) *key = hi->this->key; 190 const unsigned char *key = (const unsigned char *)char_key; local 233 for (p = key; *p; p++) { 236 *klen = p - key; 239 for (p = key, 155 apr_hash_this(apr_hash_index_t *hi, const void **key, apr_ssize_t *klen, void **val) argument 262 find_entry(apr_hash_t *ht, const void *key, apr_ssize_t klen, const void *val) argument 339 apr_hash_get(apr_hash_t *ht, const void *key, apr_ssize_t klen) argument 351 apr_hash_set(apr_hash_t *ht, const void *key, apr_ssize_t klen, const void *val) argument 398 apr_hash_merge(apr_pool_t *p, const apr_hash_t *overlay, const apr_hash_t *base, void * (*merger)(apr_pool_t *p, const void *key, apr_ssize_t klen, const void *h1_val, const void *h2_val, const void *data), const void *data) argument [all...] |
/freebsd-10.0-release/contrib/ncurses/include/ |
H A D | Caps.uwin | 220 has_meta_key km bool km - - YB-GE Has a meta key (i.e., sets 8th-bit) 347 key_backspace kbs str kb KEY_BACKSPACE 0407 YB-G- backspace key 348 key_catab ktbc str ka KEY_CATAB 0526 -B-G-* clear-all-tabs key 349 key_clear kclr str kC KEY_CLEAR 0515 -B-G-* clear-screen or erase key 350 key_ctab kctab str kt KEY_CTAB 0525 -B-G-* clear-tab key 351 key_dc kdch1 str kD KEY_DC 0512 YB-G- delete-character key 352 key_dl kdl1 str kL KEY_DL 0510 -B-G-* delete-line key 353 key_down kcud1 str kd KEY_DOWN 0402 YBCGE down-arrow key 355 key_eol kel str kE KEY_EOL 0517 -B-G-* clear-to-end-of-line key 356 key_eos ked str kS KEY_EOS 0516 -B-G-* clear-to-end-of-screen key [all...] |
/freebsd-10.0-release/contrib/binutils/libiberty/ |
H A D | splay-tree.c | 63 KDEL (node->key); 66 /* We use the "key" field to hold the "next" pointer. */ 67 node->key = (splay_tree_key)pending; 82 /* active points to a node which has its key and value 87 KDEL (active->left->key); 89 active->left->key = (splay_tree_key)pending; 94 KDEL (active->right->key); 96 active->right->key = (splay_tree_key)pending; 101 active = (splay_tree_node)(temp->key); 135 /* Bottom up splay of key 138 splay_tree_splay(splay_tree sp, splay_tree_key key) argument 295 splay_tree_insert(splay_tree sp, splay_tree_key key, splay_tree_value value) argument 347 splay_tree_remove(splay_tree sp, splay_tree_key key) argument 387 splay_tree_lookup(splay_tree sp, splay_tree_key key) argument 433 splay_tree_predecessor(splay_tree sp, splay_tree_key key) argument 464 splay_tree_successor(splay_tree sp, splay_tree_key key) argument [all...] |
/freebsd-10.0-release/contrib/gcclibs/libiberty/ |
H A D | splay-tree.c | 63 KDEL (node->key); 66 /* We use the "key" field to hold the "next" pointer. */ 67 node->key = (splay_tree_key)pending; 82 /* active points to a node which has its key and value 87 KDEL (active->left->key); 89 active->left->key = (splay_tree_key)pending; 94 KDEL (active->right->key); 96 active->right->key = (splay_tree_key)pending; 101 active = (splay_tree_node)(temp->key); 135 /* Bottom up splay of key 138 splay_tree_splay(splay_tree sp, splay_tree_key key) argument 295 splay_tree_insert(splay_tree sp, splay_tree_key key, splay_tree_value value) argument 347 splay_tree_remove(splay_tree sp, splay_tree_key key) argument 387 splay_tree_lookup(splay_tree sp, splay_tree_key key) argument 433 splay_tree_predecessor(splay_tree sp, splay_tree_key key) argument 464 splay_tree_successor(splay_tree sp, splay_tree_key key) argument [all...] |
/freebsd-10.0-release/crypto/heimdal/lib/hx509/ |
H A D | collector.c | 104 free_private_key(struct private_key *key) argument 106 free_AlgorithmIdentifier(&key->alg); 107 if (key->private_key) 108 hx509_private_key_free(&key->private_key); 109 der_free_octet_string(&key->localKeyId); 110 free(key); 121 struct private_key *key; local 125 key = calloc(1, sizeof(*key)); 126 if (key [all...] |
/freebsd-10.0-release/crypto/openssl/crypto/hmac/ |
H A D | hmac.c | 68 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, argument 88 return FIPS_hmac_init_ex(ctx, key, len, md, NULL); 100 if (key != NULL) 104 OPENSSL_assert(j <= (int)sizeof(ctx->key)); 109 if (!EVP_DigestUpdate(&ctx->md_ctx,key,len)) 111 if (!EVP_DigestFinal_ex(&(ctx->md_ctx),ctx->key, 117 OPENSSL_assert(len>=0 && len<=(int)sizeof(ctx->key)); 118 memcpy(ctx->key,key,len); 122 memset(&ctx->key[ct 149 HMAC_Init(HMAC_CTX *ctx, const void *key, int len, const EVP_MD *md) argument 225 HMAC(const EVP_MD *evp_md, const void *key, int key_len, const unsigned char *d, size_t n, unsigned char *md, unsigned int *md_len) argument [all...] |
/freebsd-10.0-release/lib/libc/iconv/ |
H A D | citrus_db.c | 98 _citrus_db_lookup(struct _citrus_db *db, struct _citrus_region *key, argument 121 hashval = db->db_hashfunc(key)%num_entries; 150 /* compare key length */ 151 if (be32toh(dex->dex_key_size) == _region_size(key)) { 152 /* seek to the head of the key. */ 156 /* get the region of the key */ 158 _region_size(key)) == NULL) 160 /* compare key byte stream */ 161 if (memcmp(_region_head(&r), _region_head(key), 162 _region_size(key)) 181 _citrus_db_lookup_by_string(struct _citrus_db *db, const char *key, struct _citrus_region *data, struct _citrus_db_locator *dl) argument 192 _citrus_db_lookup8_by_string(struct _citrus_db *db, const char *key, uint8_t *rval, struct _citrus_db_locator *dl) argument 212 _citrus_db_lookup16_by_string(struct _citrus_db *db, const char *key, uint16_t *rval, struct _citrus_db_locator *dl) argument 235 _citrus_db_lookup32_by_string(struct _citrus_db *db, const char *key, uint32_t *rval, struct _citrus_db_locator *dl) argument 258 _citrus_db_lookup_string_by_string(struct _citrus_db *db, const char *key, const char **rdata, struct _citrus_db_locator *dl) argument 293 _citrus_db_get_entry(struct _citrus_db *db, int idx, struct _region *key, struct _region *data) argument [all...] |