Searched refs:key (Results 76 - 100 of 536) sorted by relevance

1234567891011>>

/barrelfish-2018-10-04/lib/libc/db/hash/
H A Dhash_func.c58 * Assume that we've already split the bucket to which this key hashes,
67 hash1(const void *key, size_t len) argument
73 k = (u_int8_t *)key;
87 hash2(const void *key, size_t len) argument
92 k = (u_int8_t *)key;
113 hash3(const void *key, size_t len) argument
121 k = (u_int8_t *)key;
153 hash4(const void *key, size_t len) argument
163 k = key;
/barrelfish-2018-10-04/lib/libc/db/test/hash.tests/
H A Dthash4.c61 DBT item, key, res; local
85 key.data = wp1;
93 key.size = strlen(wp1);
97 * enter key/data pair into the table
99 if ((dbp->put)(dbp, &key, &item, R_NOOVERWRITE) != NULL) {
100 fprintf(stderr, "cannot enter: key %s\n",
114 key.size = strlen(wp1);
115 stat = (dbp->get)(dbp, &key, &res, 0);
117 fprintf ( stderr, "Error retrieving %s\n", key.data );
121 fprintf ( stderr, "%s not found\n", key
[all...]
H A Ddriver2.c53 int my_hash(key, len)
54 char *key;
64 DBT key, content; local
88 key.data = keybuf;
93 key.size = 128 + (random()&1023);
95 /* printf("%d: Key size %d, data size %d\n", i, key.size,
99 if ((db->put)(db, &key, &content, R_NOOVERWRITE)) {
H A Dtread2.c62 DBT item, key, res; local
81 key.data = wp1;
89 key.size = strlen(wp1);
92 stat = (dbp->get)(dbp, &key, &res,0);
94 fprintf ( stderr, "Error retrieving %s\n", key.data );
97 fprintf ( stderr, "%s not found\n", key.data );
H A Dtdel.c59 DBT item, key; local
82 key.data = wp1;
90 key.size = strlen(wp1);
94 * enter key/data pair into the table
96 if ((dbp->put)(dbp, &key, &item, R_NOOVERWRITE) != NULL) {
97 fprintf(stderr, "cannot enter: key %s\n",
109 key.size = strlen(wp1);
110 stat = (dbp->del)(dbp, &key, 0);
112 fprintf ( stderr, "Error retrieving %s\n", key.data );
/barrelfish-2018-10-04/lib/lua/src/
H A Dltable.h20 /* returns the key, given the value of a table entry */
25 LUAI_FUNC const TValue *luaH_getint (Table *t, int key);
26 LUAI_FUNC void luaH_setint (lua_State *L, Table *t, int key, TValue *value);
27 LUAI_FUNC const TValue *luaH_getstr (Table *t, TString *key);
28 LUAI_FUNC const TValue *luaH_get (Table *t, const TValue *key);
29 LUAI_FUNC TValue *luaH_newkey (lua_State *L, Table *t, const TValue *key);
30 LUAI_FUNC TValue *luaH_set (lua_State *L, Table *t, const TValue *key);
35 LUAI_FUNC int luaH_next (lua_State *L, Table *t, StkId key);
40 LUAI_FUNC Node *luaH_mainposition (const Table *t, const TValue *key);
H A Dltable.c73 {{NILCONSTANT, NULL}} /* key */
97 static Node *mainposition (const Table *t, const TValue *key) { argument
98 switch (ttype(key)) {
100 return hashnum(t, nvalue(key));
102 TString *s = rawtsvalue(key);
107 return hashstr(t, rawtsvalue(key));
110 return hashstr(t, rawtsvalue(key));
112 return hashboolean(t, bvalue(key));
114 return hashpointer(t, pvalue(key));
116 return hashpointer(t, fvalue(key));
127 arrayindex(const TValue *key) argument
144 findindex(lua_State *L, Table *t, StkId key) argument
169 luaH_next(lua_State *L, Table *t, StkId key) argument
218 countint(const TValue *key, int *nums) argument
405 luaH_newkey(lua_State *L, Table *t, const TValue *key) argument
446 luaH_getint(Table *t, int key) argument
466 luaH_getstr(Table *t, TString *key) argument
481 luaH_get(Table *t, const TValue *key) argument
510 luaH_set(lua_State *L, Table *t, const TValue *key) argument
518 luaH_setint(lua_State *L, Table *t, int key, TValue *value) argument
582 luaH_mainposition(const Table *t, const TValue *key) argument
[all...]
/barrelfish-2018-10-04/lib/octopus/client/
H A Dcapability_storage.c27 * \param key String that identifies the capability
30 errval_t oct_get_capability(const char *key, struct capref *retcap) argument
39 err = cl->call_seq.get_cap(cl, key, retcap, &reterr);
50 * \param key String that identifies the capability
53 errval_t oct_put_capability(const char *key, struct capref cap) argument
58 errval_t err = cl->call_seq.put_cap(cl, key, cap, &reterr);
69 * The server appends a globally unique ID to the key and returns
73 * \param[in] key Base key (server appends this with unique ID).
77 errval_t oct_sput_capability(const char *key, struc argument
105 oct_remove_capability(const char *key) argument
[all...]
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/rc4/
H A Drc4.h81 void RC4_set_key(RC4_KEY *key, int len, const unsigned char *data);
82 void RC4(RC4_KEY *key, size_t len, const unsigned char *indata,
/barrelfish-2018-10-04/include/openssl/
H A Drc4.h81 void RC4_set_key(RC4_KEY *key, int len, const unsigned char *data);
82 void RC4(RC4_KEY *key, size_t len, const unsigned char *indata,
/barrelfish-2018-10-04/lib/openssl-1.0.0d/engines/ccgost/
H A Dgost2001_keyx.h3 const unsigned char *key, size_t keylen,
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/ec/
H A Dec_key.c160 /* copy the public key */
171 /* copy the private key */
374 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key) argument
376 return key->group;
379 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group) argument
381 if (key->group != NULL)
382 EC_GROUP_free(key->group);
383 key->group = EC_GROUP_dup(group);
384 return (key->group == NULL) ? 0 : 1;
387 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key) argument
392 EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *priv_key) argument
400 EC_KEY_get0_public_key(const EC_KEY *key) argument
405 EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub_key) argument
413 EC_KEY_get_enc_flags(const EC_KEY *key) argument
418 EC_KEY_set_enc_flags(EC_KEY *key, unsigned int flags) argument
423 EC_KEY_get_conv_form(const EC_KEY *key) argument
428 EC_KEY_set_conv_form(EC_KEY *key, point_conversion_form_t cform) argument
435 EC_KEY_get_key_method_data(EC_KEY *key, void *(*dup_func)(void *), void (*free_func)(void *), void (*clear_free_func)(void *)) argument
441 EC_KEY_insert_key_method_data(EC_KEY *key, void *data, void *(*dup_func)(void *), void (*free_func)(void *), void (*clear_free_func)(void *)) argument
452 EC_KEY_set_asn1_flag(EC_KEY *key, int flag) argument
458 EC_KEY_precompute_mult(EC_KEY *key, BN_CTX *ctx) argument
[all...]
/barrelfish-2018-10-04/lib/libc/resolv/
H A Dmtctxres.c19 static pthread_key_t key; variable
34 * Initialize the TSD key. By doing this at library load time, we're
42 pthread_keycreate_ret = pthread_key_create(&key, __res_destroy_ctx);
73 if (pthread_getspecific(key) != 0) {
85 if ((ret = pthread_setspecific(key, mt)) != 0) {
130 if (((mt = pthread_getspecific(key)) != NULL) ||
132 (mt = pthread_getspecific(key)) != NULL)) {
/barrelfish-2018-10-04/lib/openssl-1.0.0d/bugs/
H A Dstream.c82 des_cblock iv,key; local
110 RC4_KEY key; local
114 RC4_set_key(&key,16,keystr);
117 RC4(key,26,in,out);
123 RC4_set_key(&key,16,keystr);
126 RC4(key,26,in,out);
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/asn1/
H A Dx_pubkey.c133 EVP_PKEY *X509_PUBKEY_get(X509_PUBKEY *key)
137 if (key == NULL) goto error;
139 if (key->pkey != NULL)
141 CRYPTO_add(&key->pkey->references, 1, CRYPTO_LOCK_EVP_PKEY);
142 return key->pkey;
145 if (key->public_key == NULL) goto error;
153 if (!EVP_PKEY_set_type(ret, OBJ_obj2nid(key->algor->algorithm)))
161 if (!ret->ameth->pub_decode(ret, key))
174 key->pkey = ret;
226 RSA *key;
[all...]
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/bf/
H A Dbf_skey.c65 void BF_set_key(BF_KEY *key, int len, const unsigned char *data) argument
72 memcpy(key,&bf_init,sizeof(BF_KEY));
73 p=key->P;
103 BF_encrypt(in,key);
108 p=key->S;
111 BF_encrypt(in,key);
/barrelfish-2018-10-04/lib/hashtable/
H A Dhashtable.c76 * \brief put a new key/value pair into the hashtable
78 * \param key the key. Has to be a string.
89 int _hash_value = hash(entry->key, entry->key_len);
101 static int ht_put_word(struct dictionary *dict, const char *key, size_t key_len, argument
108 e->key = key;
116 static int ht_put_capability(struct dictionary *dict, char *key, argument
123 e->key = key;
137 ht_get(struct dictionary *dict, const char *key, size_t key_len, void **value) argument
162 ht_get_capability(struct dictionary *dict, char *key, struct capref *value) argument
187 ht_remove(struct dictionary *dict, const char *key, size_t key_len) argument
[all...]
/barrelfish-2018-10-04/usr/eclipseclp/Visualisation/src/com/parctechnologies/eclipse/visualisation/
H A DDefaultViewerBuildingPolicy.java89 Object key = it.next();
90 ViewerFactory vf = (ViewerFactory)factories.get(key);
92 result.add(key);
100 Object key = it.next();
101 if (keys.contains(key)) {
102 enabled.put(key, new Boolean(true));
104 enabled.put(key, new Boolean(false));
114 Object key = it.next();
115 ViewerFactory vf = (ViewerFactory)factories.get(key);
116 if ( ((Boolean)enabled.get(key))
[all...]
/barrelfish-2018-10-04/usr/spawnd/
H A Dps.c72 uint64_t key; local
73 errval_t err = domain_cap_hash(entry->domain_cap, &key);
78 collections_hash_insert(ps_table, key, entry);
88 uint64_t key; local
89 errval_t err = domain_cap_hash(domain_cap, &key);
94 void *table_entry = collections_hash_find(ps_table, key);
101 *ret_hash_key = key;
112 uint64_t key; local
113 errval_t err = ps_get_domain(domain_cap, ret_entry, &key);
118 collections_hash_delete(ps_table, key);
[all...]
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/idea/
H A Di_skey.c63 void idea_set_encrypt_key(const unsigned char *key, IDEA_KEY_SCHEDULE *ks) argument
69 n2s(key,kt[0]); n2s(key,kt[1]); n2s(key,kt[2]); n2s(key,kt[3]);
70 n2s(key,kt[4]); n2s(key,kt[5]); n2s(key,kt[6]); n2s(key,kt[7]);
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/modes/
H A Dofb128.c74 size_t len, const void *key,
81 assert(in && out && key && ivec && num);
97 (*block)(ivec, ivec, key);
107 (*block)(ivec, ivec, key);
120 (*block)(ivec, ivec, key);
73 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
H A Dcbc128.c71 size_t len, const void *key,
77 assert(in && out && key && ivec);
85 (*block)(out, out, key);
96 (*block)(out, out, key);
109 (*block)(out, out, key);
120 size_t len, const void *key,
126 assert(in && out && key && ivec);
135 (*block)(in, out, key);
146 (*block)(in, out, key);
161 (*block)(in, tmp.c, key);
70 CRYPTO_cbc128_encrypt(const unsigned char *in, unsigned char *out, size_t len, const void *key, unsigned char ivec[16], block128_f block) argument
119 CRYPTO_cbc128_decrypt(const unsigned char *in, unsigned char *out, size_t len, const void *key, unsigned char ivec[16], block128_f block) argument
[all...]
/barrelfish-2018-10-04/lib/libc/iconv/
H A Dcitrus_db.c98 _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...]
/barrelfish-2018-10-04/lib/libc/stdlib/
H A Dbsearch.c64 bsearch_b(const void *key, const void *base0, size_t nmemb, size_t size, argument
68 bsearch(const void *key, const void *base0, size_t nmemb, size_t size,
79 cmp = COMPAR(key, p);
82 if (cmp > 0) { /* key > p: move right */
/barrelfish-2018-10-04/include/concurrent/
H A Dlinked_list.h23 void* key; member in struct:ll_element
41 bool ll_delete(struct ll_element *head, struct ll_element *tail, void* key);
46 bool ll_contains(struct ll_element *head, struct ll_element *tail, void* key);

Completed in 113 milliseconds

1234567891011>>