/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | mkalias.c | 158 datum key, value, part, partvalue; local 164 for (key = dbm_firstkey(Scandbm); key.dptr != NULL; 165 key = dbm_nextkey(Scandbm)) { 166 value = dbm_fetch(Indbm, key); 168 CopyName(user, key.dptr, key.dsize); 198 key.dptr = user; 199 key.dsize = strlen(user) + 1; 201 dbm_store(Outdbm, value, key, DBM_REPLAC 269 datum key, value; local [all...] |
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | udb.c | 137 DBT key; local 146 memset(&key, '\0', sizeof(key)); 186 /* build actual database key */ 218 key.data = keybuf; 219 key.size = keylen; 224 i = (*up->udb_dbp->seq)(up->udb_dbp, &key, &info, R_CURSOR); 237 (errno = dbc->c_get(dbc, &key, 257 (int) key.size, (char *) key 603 DBT key, info; local 844 char *key; local [all...] |
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | lcl_sv.c | 181 DBT key, data; local 187 key.data = pvt->sv.line; 188 key.size = SPRINTF((pvt->sv.line, "%s/%s", name, 191 if ((*pvt->dbh->get)(pvt->dbh, &key, &data, 0) != 0) 193 } else if ((*pvt->dbh->seq)(pvt->dbh, &key, &data, R_CURSOR) 196 return (sv_db_rec(&pvt->sv, &key, &data)); 225 DBT key, data; local 231 key.data = ports; 232 key.size = sizeof(u_short) * 2; 234 strncpy((char *)ports + key 300 DBT key, data; local 385 sv_db_rec(struct lcl_sv *sv, DBT *key, DBT *data) argument [all...] |
/illumos-gate/usr/src/uts/common/io/kbtrans/ |
H A D | kbtrans.c | 76 * key - scancode 80 * if it exists. If there is no raw callback, the key is translated. 87 kbtrans_key_t key, 91 "newstate=%d key=%d", state, key)); 100 cb->kc_keypressed_raw(lower->kbtrans_upper, key); 103 cb->kc_keyreleased_raw(lower->kbtrans_upper, key); 110 * translate the scancode into a key. 112 kbtrans_translate(lower, cb, key, state); 121 * key 85 kbtrans_processkey(struct kbtrans_lower *lower, struct keyboard_callback *cb, kbtrans_key_t key, enum keystate state) argument 129 kbtrans_translate(struct kbtrans_lower *lower, struct keyboard_callback *cb, kbtrans_key_t key, enum keystate newstate) argument [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | modhash.c | 40 * - Destructor functions for the key and value being hashed. 45 * destructor is needed for either a key or value. 50 * key) to the hashing function is a void * that represents 58 * - A key comparator (a la qsort). 59 * This is used when searching the hash chain. The key comparator 84 * destroy the given hash table, calling the key and value destructors 85 * on each key-value pair stored in the hash. 87 * mod_hash_insert(hash, key, val): 88 * place a key, value pair into the given hash. 91 * mod_hash_insert_reserve(hash, key, va 179 mod_hash_null_keydtor(mod_hash_key_t key) argument 205 mod_hash_bystr(void *hash_data, mod_hash_key_t key) argument 229 mod_hash_strkey_dtor(mod_hash_key_t key) argument 271 mod_hash_byptr(void *hash_data, mod_hash_key_t key) argument 340 mod_hash_byid(void *hash_data, mod_hash_key_t key) argument 518 i_mod_hash(mod_hash_t *hash, mod_hash_key_t key) argument 545 i_mod_hash_insert_nosync(mod_hash_t *hash, mod_hash_key_t key, mod_hash_val_t val, mod_hash_hndl_t handle) argument 579 mod_hash_insert(mod_hash_t *hash, mod_hash_key_t key, mod_hash_val_t val) argument 602 mod_hash_insert_reserve(mod_hash_t *hash, mod_hash_key_t key, mod_hash_val_t val, mod_hash_hndl_t handle) argument 670 i_mod_hash_remove_nosync(mod_hash_t *hash, mod_hash_key_t key, mod_hash_val_t *val) argument 707 mod_hash_remove(mod_hash_t *hash, mod_hash_key_t key, mod_hash_val_t *val) argument 725 mod_hash_replace(mod_hash_t *hash, mod_hash_key_t key, mod_hash_val_t val) argument 750 mod_hash_destroy(mod_hash_t *hash, mod_hash_key_t key) argument 774 i_mod_hash_find_nosync(mod_hash_t *hash, mod_hash_key_t key, mod_hash_val_t *val) argument 794 mod_hash_find(mod_hash_t *hash, mod_hash_key_t key, mod_hash_val_t *val) argument 806 mod_hash_find_cb(mod_hash_t *hash, mod_hash_key_t key, mod_hash_val_t *val, void (*find_cb)(mod_hash_key_t, mod_hash_val_t)) argument 822 mod_hash_find_cb_rval(mod_hash_t *hash, mod_hash_key_t key, mod_hash_val_t *val, int (*find_cb)(mod_hash_key_t, mod_hash_val_t), int *cb_rval) argument [all...] |
/illumos-gate/usr/src/cmd/hal/hald/ |
H A D | device_store.c | 150 const char *key, 158 device, key, added, removed); 281 const char *key, 287 g_return_val_if_fail (key != NULL, NULL); 294 if (!hal_device_has_property (d, key)) 297 type = hal_device_property_get_type (d, key); 301 if (strcmp (hal_device_property_get_string (d, key), 311 const char *key, 317 g_return_val_if_fail (key != NULL, NULL); 323 if (!hal_device_has_property (d, key)) 149 emit_device_property_changed(HalDevice *device, const char *key, gboolean added, gboolean removed, gpointer data) argument 280 hal_device_store_match_key_value_string(HalDeviceStore *store, const char *key, const char *value) argument 310 hal_device_store_match_key_value_int(HalDeviceStore *store, const char *key, int value) argument 338 hal_device_store_match_multiple_key_value_string(HalDeviceStore *store, const char *key, const char *value) argument 370 char *key; member in struct:__anon616 396 match_device_async(HalDeviceStore *store, HalDevice *device, const char *key, gboolean removed, gboolean added, gpointer user_data) argument 454 hal_device_store_match_key_value_string_async(HalDeviceStore *store, const char *key, const char *value, HalDeviceStoreAsyncCallback callback, gpointer user_data, int timeout) argument [all...] |
/illumos-gate/usr/src/lib/udapl/udapl_tavor/common/ |
H A D | dapl_hash.c | 57 DAPL_HASH_KEY key; member in struct:DAPL_HASH_ELEM 97 #define DAPL_DOHASH(key, hashsize) ((uint64_t)((key) % (hashsize))) 110 } else if (element->key == (DAPL_HASH_KEY) (in_key)) { \ 131 * Rehash the key (used by add and lookup functions) 133 * Inputs: element element to rehash key 134 * key, datum datum for key head 140 DAPL_HASH_KEY key, 158 if (element->key 138 dapli_hash_rehash( DAPL_HASH_ELEM *element, DAPL_HASH_KEY key, void **datum, DAPL_HASH_ELEM ** head) argument 178 dapli_hash_add( DAPL_HASH_TABLEP p_table, DAPL_HASH_KEY key, void *datum, DAT_BOOLEAN allow_dup, DAT_BOOLEAN *report_dup) argument 288 dapl_hash_delete_element(DAPL_HASH_ELEM * element, DAPL_HASH_KEY key, DAPL_HASH_DATA *p_datum) argument 440 dapls_hash_insert( IN DAPL_HASH_TABLE *p_table, IN DAPL_HASH_KEY key, IN DAPL_HASH_DATA data) argument 474 dapls_hash_search( IN DAPL_HASH_TABLE *p_table, IN DAPL_HASH_KEY key, OUT DAPL_HASH_DATA *p_data) argument 506 dapls_hash_remove( IN DAPL_HASH_TABLE *p_table, IN DAPL_HASH_KEY key, OUT DAPL_HASH_DATA *p_data) argument [all...] |
/illumos-gate/usr/src/lib/libbc/inc/include/sys/ |
H A D | ipc.h | 39 key_t key; /* key */ member in struct:ipc_perm 45 #define IPC_CREAT 0001000 /* create entry if key doesn't exist */ 46 #define IPC_EXCL 0002000 /* fail if key exists */ 50 #define IPC_PRIVATE (key_t)0 /* private key */
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | tsdalloc.c | 69 static thread_key_t key = THR_ONCE_KEY; local 79 if ((error = thr_keycreate_once(&key, _free_tsdbuf)) != 0) { 84 if ((loc = pthread_getspecific(key)) != NULL) { 92 if ((error = thr_setspecific(key, loc)) != 0) {
|
/illumos-gate/usr/src/cmd/ypcmd/revnetgroup/ |
H A D | table.h | 42 char *key; member in struct:tablenode
|
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/ |
H A D | hashset.c | 45 * the actual key data only through the hash and equal functions given 53 const void *e_key; /* Pointer to a key */ 86 * - the function hash(key) is used to compute hash values for keys; if 129 * Return a pointer to a matching key 133 h_get(const HASHSET h, void *key) argument 135 uint_t hash = h->h_hash(key); 140 if (e->e_hash == hash && h->h_equal(e->e_key, key)) 180 * Store a key into a HASHSET 181 * - if there is already an "equal" key then the new key wil 187 h_put(HASHSET h, const void *key) argument 223 h_delete(HASHSET h, const void *key) argument 268 const void *key; local [all...] |
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/include/ |
H A D | raw.h | 38 const krb5_keyblock *key, krb5_keyusage usage, 46 const krb5_keyblock *key, krb5_keyusage usage,
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/ |
H A D | search.h | 55 char *key; member in struct:entry
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | netlb.h | 49 * speed or style of loopback implemented), and a key value, used in the 80 char key[16]; member in struct:_lb_property_t
|
/illumos-gate/usr/src/boot/sys/boot/fdt/dts/arm/ |
H A D | exynos5250-snow.dts | 63 google,key-rows = <8>; 64 google,key-columns = <13>;
|
H A D | exynos5250-spring.dts | 63 google,key-rows = <8>; 64 google,key-columns = <13>;
|
/illumos-gate/usr/src/lib/nsswitch/nis/common/ |
H A D | gethostent6.c | 52 for (s = argp->key.ipnode.name; (c = *s) != '\0'; s++) { 57 if ((copy = strdup(argp->key.ipnode.name)) == 0) { 60 for (mung = copy + (s - argp->key.ipnode.name); 75 "ipnodes.byname", argp->key.ipnode.name, 0); 92 if (argp->key.hostaddr.type != AF_INET6 || 93 argp->key.hostaddr.len != sizeof (addr)) { 96 (void) memcpy(&addr, argp->key.hostaddr.addr, sizeof (addr));
|
/illumos-gate/usr/src/lib/libnsl/yp/ |
H A D | yp_match.c | 65 char *key; member in struct:cache 83 if (n->key != 0) 84 free(n->key); 108 ((n->key = malloc(keylen)) == 0) || 122 in_cache(char *domain, char *map, char *key, int keylen, char **val, argument 139 (memcmp(key, c->key, (size_t)keylen) == 0) && 171 * the passed key datum in the named map, and to return the associated value 176 __yp_match_cflookup(char *domain, char *map, char *key, int keylen, char **val, argument 199 (key 303 yp_match( char *domain, char *map, char *key, int keylen, char **val, int *vallen) argument 354 __yp_match_rsvdport_cflookup( char *domain, char *map, char *key, int keylen, char **val, int *vallen, int hardlookup) argument 488 yp_match_rsvdport( char *domain, char *map, char *key, int keylen, char **val, int *vallen) argument 506 domatch(char *domain, char *map, char *key, int keylen, struct dom_binding *pdomb, struct timeval *timeoutp, char **val, int *vallen) argument [all...] |
/illumos-gate/usr/src/cmd/print/lpget/ |
H A D | lpget.c | 52 gettext("Usage: %s [-k key] [list|(printer) ...]\n"), 58 display_kvp(char *key, char *value) argument 64 (void) printf("\n\t%s=%s", key, value); 66 (void) printf(gettext("\n\t%s - undefined"), key); 93 if (((*list)->key[0] == '\t') || 94 ((*list)->key[0] == ' ')) 97 string = ns_get_value_string((*list)->key, 99 rc += display_kvp((*list)->key, string);
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/des/ |
H A D | d3_cbc.c | 36 unsigned long length, krb5_keyblock *key, 46 if ((rv = get_algo(key->enctype, &algos)) != CKR_OK) { 53 rv = init_key_uef(krb_ctx_hSession(context), key); 69 rv = C_EncryptInit(krb_ctx_hSession(context), &mechanism, key->hKey); 71 rv = C_DecryptInit(krb_ctx_hSession(context), &mechanism, key->hKey); 113 unsigned long length, krb5_keyblock *key, 125 length, key, &ivdata, encrypt); 35 mit_des3_cbc_encrypt(krb5_context context, const mit_des_cblock *in, mit_des_cblock *out, unsigned long length, krb5_keyblock *key, const mit_des_cblock ivec, int encrypt) argument 110 mit_des3_cbc_encrypt(krb5_context context, const mit_des_cblock *in, mit_des_cblock *out, unsigned long length, krb5_keyblock *key, const mit_des_cblock ivec, int encrypt) argument
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/keyhash_provider/ |
H A D | k_hmac_md5.c | 47 const krb5_keyblock *key, krb5_keyusage usage, 66 if (krb5_enctypes_list[i].etype == key->enctype) 71 key->enctype); 77 * Solaris Kerberos: The digest length is that of MD5_CKSUM_LENGTH not the key 79 * length. The signing key is the digest and therefore is also the same 90 if (key->kef_key.ck_data == NULL) { 92 (krb5_keyblock *)key); 106 ret = krb5_hmac(context, (krb5_keyblock *)key, &ks_constant, &ds); 108 ret = krb5_hmac(context, &krb5int_hash_md5, key, 1, &ks_constant, &ds); 46 k5_hmac_md5_hash(krb5_context context, const krb5_keyblock *key, krb5_keyusage usage, const krb5_data *iv, const krb5_data *input, krb5_data *output) argument
|
/illumos-gate/usr/src/lib/krb5/kadm5/ |
H A D | misc_free.c | 60 kadm5_ret_t krb5_free_key_data_contents(context, key) 62 krb5_key_data *key; 66 idx = (key->key_data_ver == 1 ? 1 : 2); 68 if (key->key_data_contents[i]) { 69 memset(key->key_data_contents[i], 0, key->key_data_length[i]); 70 free(key->key_data_contents[i]);
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | tbl_opts.c | 38 int key; member in struct:tbl_phrase 65 arg(struct tbl_node *tbl, int ln, const char *p, int *pos, int key) argument 81 switch (key) { 106 tbl->parse, ln, *pos, keys[key].name); 110 keys[key].name, want, len); 168 if (keys[i].key) 169 tbl->opts.opts |= keys[i].key;
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/ |
H A D | did_hash.c | 69 did_dnhash(di_node_t key) argument 81 key_divisor = sizeof (*key); 83 keyn = (uintptr_t)key; 130 did_hash_insert(topo_mod_t *mp, di_node_t key, did_t *new) argument 134 int idx = did_dnhash(key) % tab->dph_hashlen; 138 topo_mod_dprintf(tab->dph_mod, "Insert [key=%p] into %p, bucket %d\n", 139 key, (void *)tab, idx); 150 assert(assertchk->dp_src != key); 157 did_hash_lookup(topo_mod_t *mp, di_node_t key) argument 161 int idx = did_dnhash(key) [all...] |
/illumos-gate/usr/src/lib/libcrypt/common/ |
H A D | llib-lcrypt | 42 void setkey(const char *key); 58 int cbc_crypt(char *key, char *buf, size_t len, unsigned int mode, char *ivec); 59 int ecb_crypt(char *key, char *buf, size_t len, unsigned int mode); 62 void _des_setkey(const char *key); 63 void des_setkey(const char *key);
|