/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | ypmatch.c | 38 * This is a user command which looks up the value of a key in a map 41 * ypmatch [-d domain] [-t] [-k] key [key ...] mname 79 ypmatch [-d domain] [-t] [-k] key [key ...] mname\n\ 251 * in the keys, this retrys the match request including the NULL if the key 255 match_one(key, val, len) 256 char *key; 265 err = yp_match_rsvdport(domain, map, key, (int)strlen(key), va [all...] |
H A D | makedbm.c | 115 datum key, content, tmp; local 392 key.dptr = buf; 393 key.dsize = p - buf; 407 for (i = (strncmp(key.dptr, "YP_MULTI_", 9) ? 0 : 9); 408 i < key.dsize; i++) { 410 ic = *(key.dptr+i); 412 *(key.dptr+i) = tolower(ic); 415 tmp = dbm_fetch(fdb, key); 417 if (dbm_store(fdb, key, content, 1) != 0) { 419 key 556 datum key; local 574 datum key, content; local [all...] |
/illumos-gate/usr/src/cmd/allocate/ |
H A D | svc-allocate | 54 <match key="info.capabilities" contains="volume"> 55 <match key="@block.storage_device:storage.removable" bool="true"> 56 <merge key="volume.ignore" type="bool">true</merge> 58 <match key="@block.storage_device:storage.hotpluggable" bool="true"> 59 <merge key="volume.ignore" type="bool">true</merge>
|
/illumos-gate/usr/src/cmd/hal/tools/ |
H A D | hal_get_property.c | 59 "usage : hal-get-property --udi <udi> --key <key> \n" 64 " --key Key of the property to get\n" 86 char *key = NULL; local 106 {"key", 1, NULL, 0}, 132 } else if (strcmp (opt, "key") == 0) { 133 key = strdup (optarg); 151 if (udi == NULL || key == NULL) { 189 type = libhal_device_get_property_type (hal_ctx, udi, key, &error); 202 str = libhal_device_get_property_string (hal_ctx, udi, key, [all...] |
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/ |
H A D | hmac.c | 44 krb5_hmac(krb5_context context, const krb5_keyblock *key, argument 79 (crypto_key_t *)&key->kef_key, 80 key->key_tmpl, &mac, NULL); 99 * K is an n byte key 108 krb5_const krb5_keyblock *key, 126 if (key == NULL) { 127 KRB5_LOG0(KRB5_ERR, "krb5_hmac() error key == NULL\n"); 142 if (key->length > blocksize) 151 /* allocate space for the xor key, hash input vector, and inner hash */ 165 /* create the inner padded key */ 106 krb5_hmac(krb5_context context, krb5_const struct krb5_hash_provider *hash, krb5_const krb5_keyblock *key, krb5_const unsigned int icount, krb5_const krb5_data *input, krb5_data *output) argument [all...] |
H A D | make_checksum.c | 39 const krb5_keyblock *key, krb5_keyusage usage, 74 /* check if key is compatible */ 83 if (krb5_enctypes_list[e2].etype == key->enctype) 87 * Solaris Kerberos: The actual key encryption type could be 98 if (key->kef_key.ck_data == NULL) { 100 (krb5_keyblock *)key))) 104 if ((ret = init_key_uef(krb_ctx_hSession(context), (krb5_keyblock *)key))) 108 ret = (*(krb5_cksumtypes_list[i].keyhash->hash))(context, key, 113 (krb5_keyblock *)key); 115 (krb5_keyblock *)key); 38 krb5_c_make_checksum(krb5_context context, krb5_cksumtype cksumtype, const krb5_keyblock *key, krb5_keyusage usage, const krb5_data *input, krb5_checksum *cksum) argument [all...] |
/illumos-gate/usr/src/uts/common/io/kbtrans/ |
H A D | kbtrans_streams.c | 84 "kbtrans (key translation)" 154 * and up/down key codes are reported. 406 /* Scan table of down key stations */ 473 * When a key is pressed or released, the hardware module should 474 * call kbtrans, passing the key number and its new 482 kbtrans_key_t key, 505 if (key == (kbtrans_key_t)kp->k_abort1 || 506 key == (kbtrans_key_t)kp->k_abort1a) { 509 upper->kbtrans_streams_abort1_key = key; 512 /* Shift key need 480 kbtrans_streams_key( struct kbtrans *upper, kbtrans_key_t key, enum keystate state) argument 1558 kbtrans_untrans_keypressed_raw(struct kbtrans *upper, kbtrans_key_t key) argument 1583 kbtrans_untrans_keyreleased_raw(struct kbtrans *upper, kbtrans_key_t key) argument 1668 kbtrans_ascii_keypressed( struct kbtrans *upper, uint_t entrytype, kbtrans_key_t key, uint_t entry) argument 1810 kbtrans_ascii_keyreleased(struct kbtrans *upper, kbtrans_key_t key) argument 1824 kbtrans_ascii_setup_repeat( struct kbtrans *upper, uint_t entrytype, kbtrans_key_t key) argument 1857 kbtrans_trans_event_keypressed( struct kbtrans *upper, uint_t entrytype, kbtrans_key_t key, uint_t entry) argument 2015 kbtrans_trans_event_keyreleased(struct kbtrans *upper, kbtrans_key_t key) argument 2030 kbtrans_trans_event_setup_repeat( struct kbtrans *upper, uint_t entrytype, kbtrans_key_t key) argument 2109 kbtrans_setkey(struct kbtrans_lower *lower, struct kiockey *key, cred_t *cr) argument 2208 kbtrans_getkey(struct kbtrans_lower *lower, struct kiockey *key) argument 2267 kbtrans_skey(struct kbtrans_lower *lower, struct kiockeymap *key, cred_t *cr) argument 2329 kbtrans_gkey(struct kbtrans_lower *lower, struct kiockeymap *key) argument [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/dk/ |
H A D | stringtokey.c | 43 const krb5_data *parms, krb5_keyblock *key) 51 /* key->length is checked by krb5_derive_key */ 83 foldkey.enctype = key->enctype; 90 /* now derive the key from this one */ 95 if ((ret = krb5_derive_key(context, enc, &foldkey, key, &indata))) 96 (void) memset(key->contents, 0, key->length); 39 krb5int_dk_string_to_key( krb5_context context, const struct krb5_enc_provider *enc, const krb5_data *string, const krb5_data *salt, const krb5_data *parms, krb5_keyblock *key) argument
|
/illumos-gate/usr/src/lib/libnisdb/yptol/ |
H A D | yptol_utils.c | 116 datum key; local 119 key.dptr = str1; 120 key.dsize = strlen(str1); 124 if (dbm_store(fdb, key, content, DBM_REPLACE) != 0) { 127 key.dptr, content.dptr, errno);
|
/illumos-gate/usr/src/lib/libbc/libc/sys/common/ |
H A D | msgsys.c | 46 msgget(key_t key, int msgflg) argument 48 return (_syscall(SYS_msgsys, MSGGET, key, msgflg)); 75 key_t key; local 87 key = va_arg(ap, key_t); 90 return (msgget(key, msgflag));
|
H A D | semsys.c | 68 semget(key_t key, int nsems, int semflg) argument 70 return (_syscall(SYS_semsys, SEMGET, key, nsems, semflg)); 86 key_t key; local 103 key = va_arg(ap, key_t); 107 return (semget(key, nsems, semflg));
|
/illumos-gate/usr/src/cmd/hal/hald/ |
H A D | device_store.h | 53 const char *key, 101 const char *key, 105 const char *key, 109 const char *key, 113 const char *key,
|
/illumos-gate/usr/src/cmd/sh/ |
H A D | hash.c | 131 while (p != 0 && (res = STRCMP(str, p->item.key))) 162 crunch(key) 163 unsigned char *key; 168 for (s = 0; *key; s++) /* Simply add up the bytes */ 169 sum += *key++;
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/old/ |
H A D | old_encrypt.c | 55 const krb5_keyblock *key, 98 if ((key->enctype == ENCTYPE_DES_CBC_CRC) && (ivec == 0)) { 99 crcivec.length = key->length; 100 crcivec.data = (char *) key->contents; 106 if ((ret = ((*(enc->encrypt))(context, key, ivec, output, output)))) 52 krb5_old_encrypt(krb5_context context, const struct krb5_enc_provider *enc, const struct krb5_hash_provider *hash, const krb5_keyblock *key, krb5_keyusage usage, const krb5_data *ivec, const krb5_data *input, krb5_data *output) argument
|
/illumos-gate/usr/src/uts/common/smbsrv/ |
H A D | hash_table.h | 66 * Each entry (item) in the hash table has a linked-list pointer, a key, 68 * The key is a user provided key and is used to position the item within 119 size_t (*ht_hash)(struct ht_handle *handle, const char *key); 164 extern HT_ITEM *ht_add_item(HT_HANDLE *handle, const char *key, 166 extern HT_ITEM *ht_replace_item(HT_HANDLE *handle, const char *key, 168 extern void *ht_remove_item(HT_HANDLE *handle, const char *key); 169 extern HT_ITEM *ht_find_item(HT_HANDLE *handle, const char *key);
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/ |
H A D | rec_utils.c | 55 * e: key/data pair to be returned 57 * key: user's key structure 64 __rec_ret(t, e, nrec, key, data) 68 DBT *key, *data; 73 if (key == NULL) 76 /* We have to copy the key, it's not on the page. */ 87 key->size = sizeof(recno_t); 88 key->data = t->bt_rkey.data;
|
/illumos-gate/usr/src/lib/libresolv2/common/nameser/ |
H A D | ns_verify.c | 115 *\li key tsig key used for verifying. 126 *\li - key doesn't match (-ns_r_badkey) 140 DST_KEY *key = (DST_KEY *)k; local 162 /* Read the key name. */ 217 /* Verify that the key used is OK. */ 218 if (key != NULL) { 219 if (key->dk_alg != KEY_HMAC_MD5) 222 if (ns_samename(key->dk_key_name, name) != 1) 233 if (key ! [all...] |
/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/client/ |
H A D | BST.java | 62 public BST insert(String key, Object data) { argument 63 return insert(new BSTItem(key, data)); 166 public void traverse_find(String key) { argument 168 left.traverse_find(key); 169 if (data.compare(key, false) < 0) 171 Debug.info("HELP: Traverse_find: " + data.key); 173 right.traverse_find(key); 177 public void traverse_find_vector(Vector v, String key) { argument 180 * data.key + "[" +(left!=null?left.data.key [all...] |
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | tgetch.c | 49 * Read a key typed from the terminal 51 * interpret: = 0 for single-char key only 52 * = 1 for matching function key and macro patterns. 97 * a key that starts with -1. Also, we don't want to 184 * the list, making the access to a repeated key very fast and 192 int key, num_keys = cur_term->_ksz; local 207 key = 0; 209 key = cur_term->_first_macro; 212 first = key; 214 for (; key < num_key [all...] |
/illumos-gate/usr/src/lib/librdc/common/ |
H A D | rdcpersist.c | 77 char key[ CFG_MAX_KEY ]; local 89 snprintf(key, CFG_MAX_KEY, "sndr.set%d", set); 90 if (cfg_get_cstring(cfg, key, buf, CFG_MAX_BUF)) { 511 char key[CFG_MAX_KEY]; local 517 bzero(key, CFG_MAX_KEY); 518 snprintf(key, CFG_MAX_KEY, "sndr.set%d.shost", setnum); 519 if (cfg_get_cstring(cfg, key, buf, CFG_MAX_BUF) < 0) { 526 bzero(key, CFG_MAX_KEY); 527 snprintf(key, CFG_MAX_KEY, "sndr.set%d.secondary", setnum); 528 if (cfg_get_cstring(cfg, key, bu 544 char key[CFG_MAX_KEY]; local 581 char key[CFG_MAX_KEY]; local 650 char key[CFG_MAX_KEY]; local [all...] |
/illumos-gate/usr/src/common/crypto/dsa/ |
H A D | dsa_impl.c | 70 DSA_key_init(DSAkey *key, int size) argument 77 key->size = size; 78 if ((err = big_init(&(key->q), len160)) != BIG_OK) 80 if ((err = big_init(&(key->p), len)) != BIG_OK) 82 if ((err = big_init(&(key->g), len)) != BIG_OK) 84 if ((err = big_init(&(key->x), len160)) != BIG_OK) 86 if ((err = big_init(&(key->y), len)) != BIG_OK) 88 if ((err = big_init(&(key->k), len160)) != BIG_OK) 90 if ((err = big_init(&(key->r), len160)) != BIG_OK) 92 if ((err = big_init(&(key 119 DSA_key_finish(DSAkey *key) argument 138 generate_dsa_key(DSAkey *key, int (*rfunc)(void *, size_t)) argument [all...] |
/illumos-gate/usr/src/cmd/avs/sdbc/ |
H A D | scmadm.c | 272 char key[CFG_MAX_KEY], buf[CFG_MAX_BUF]; local 291 (void) snprintf(key, sizeof (key), "cache_hint.set%d.device", 293 if (cfg_get_cstring(cfg, key, buf, sizeof (buf)) < 0) { 306 (void) snprintf(key, sizeof (key), "cache_hint.set%d.wrthru", 308 if (cfg_get_cstring(cfg, key, buf, sizeof (buf)) < 0) 333 (void) snprintf(key, sizeof (key), "cache_hint.set%d.nordcache", 335 if (cfg_get_cstring(cfg, key, bu 382 char key[CFG_MAX_KEY], buf[CFG_MAX_BUF]; local 428 char key[CFG_MAX_KEY], buf[CFG_MAX_BUF]; local 526 char key[CFG_MAX_KEY], buf[CFG_MAX_BUF]; local 789 char key[CFG_MAX_KEY], buf[CFG_MAX_BUF]; local 847 char key[CFG_MAX_KEY], buf[CFG_MAX_BUF]; local 1497 char key[CFG_MAX_KEY]; local [all...] |
/illumos-gate/usr/src/lib/hal/libhal/common/ |
H A D | libhal.c | 231 char *key; /**< ASCII string */ member in struct:LibHalProperty_s 500 const char *key; local 505 dbus_message_iter_get_basic (&dict_entry_iter, &key); 521 p->key = strdup (key); 522 if (p->key == NULL) 569 free (p->key); 604 property_set_lookup (const LibHalPropertySet *set, const char *key) argument 609 LIBHAL_CHECK_PARAM_VALID(key, "*key", NUL 629 libhal_ps_get_type(const LibHalPropertySet *set, const char *key) argument 653 libhal_ps_get_string(const LibHalPropertySet *set, const char *key) argument 676 libhal_ps_get_int32(const LibHalPropertySet *set, const char *key) argument 699 libhal_ps_get_uint64(const LibHalPropertySet *set, const char *key) argument 722 libhal_ps_get_double(const LibHalPropertySet *set, const char *key) argument 745 libhal_ps_get_bool(const LibHalPropertySet *set, const char *key) argument 768 libhal_ps_get_strlist(const LibHalPropertySet *set, const char *key) argument 1024 char *key; local 1144 libhal_device_get_property_type(LibHalContext *ctx, const char *udi, const char *key, DBusError *error) argument 1204 libhal_device_get_property_strlist(LibHalContext *ctx, const char *udi, const char *key, DBusError *error) argument 1274 libhal_device_get_property_string(LibHalContext *ctx, const char *udi, const char *key, DBusError *error) argument 1349 libhal_device_get_property_int(LibHalContext *ctx, const char *udi, const char *key, DBusError *error) argument 1420 libhal_device_get_property_uint64(LibHalContext *ctx, const char *udi, const char *key, DBusError *error) argument 1490 libhal_device_get_property_double(LibHalContext *ctx, const char *udi, const char *key, DBusError *error) argument 1560 libhal_device_get_property_bool(LibHalContext *ctx, const char *udi, const char *key, DBusError *error) argument 1621 libhal_device_set_property_helper(LibHalContext *ctx, const char *udi, const char *key, int type, const char *str_value, dbus_int32_t int_value, dbus_uint64_t uint64_value, double double_value, dbus_bool_t bool_value, DBusError *error) argument 1728 libhal_device_set_property_string(LibHalContext *ctx, const char *udi, const char *key, const char *value, DBusError *error) argument 1758 libhal_device_set_property_int(LibHalContext *ctx, const char *udi, const char *key, dbus_int32_t value, DBusError *error) argument 1784 libhal_device_set_property_uint64(LibHalContext *ctx, const char *udi, const char *key, dbus_uint64_t value, DBusError *error) argument 1810 libhal_device_set_property_double(LibHalContext *ctx, const char *udi, const char *key, double value, DBusError *error) argument 1836 libhal_device_set_property_bool(LibHalContext *ctx, const char *udi, const char *key, dbus_bool_t value, DBusError *error) argument 1862 libhal_device_remove_property(LibHalContext *ctx, const char *udi, const char *key, DBusError *error) argument 1888 libhal_device_property_strlist_append(LibHalContext *ctx, const char *udi, const char *key, const char *value, DBusError *error) argument 1947 libhal_device_property_strlist_prepend(LibHalContext *ctx, const char *udi, const char *key, const char *value, DBusError *error) argument 2006 libhal_device_property_strlist_remove_index(LibHalContext *ctx, const char *udi, const char *key, unsigned int idx, DBusError *error) argument 2064 libhal_device_property_strlist_remove(LibHalContext *ctx, const char *udi, const char *key, const char *value, DBusError *error) argument 2507 libhal_device_property_exists(LibHalContext *ctx, const char *udi, const char *key, DBusError *error) argument 2718 char *key; local 2800 libhal_manager_find_device_string_match(LibHalContext *ctx, const char *key, const char *value, int *num_devices, DBusError *error) argument 3824 char *key; member in struct:LibHalChangeSetElement_s 3909 libhal_changeset_set_property_string(LibHalChangeSet *changeset, const char *key, const char *value) argument 3952 libhal_changeset_set_property_int(LibHalChangeSet *changeset, const char *key, dbus_int32_t value) argument 3988 libhal_changeset_set_property_uint64(LibHalChangeSet *changeset, const char *key, dbus_uint64_t value) argument 4024 libhal_changeset_set_property_double(LibHalChangeSet *changeset, const char *key, double value) argument 4060 libhal_changeset_set_property_bool(LibHalChangeSet *changeset, const char *key, dbus_bool_t value) argument 4096 libhal_changeset_set_property_strlist(LibHalChangeSet *changeset, const char *key, const char **value) argument [all...] |
/illumos-gate/usr/src/lib/nsswitch/user/common/ |
H A D | getprinter.c | 45 char *key = NULL; local 55 if ((key = strpbrk(value, "\n\t ")) != NULL) 56 *key = NULL; 66 key = "all"; 68 key = "use"; 71 namelist, key); 104 * filter not useful here since the key 119 namelen = strlen(args->key.name); 153 if ((strncmp(p, args->key.name, namelen) == 0) && 232 return (_nss_user_XY_printers(be, argp, argp->key [all...] |
/illumos-gate/usr/src/lib/print/libprint/common/ |
H A D | nss_convert.c | 115 (void) strncat_escaped(buf, kvp->key, buflen, ESCAPE_CHARS); 142 *key = NULL, local 166 } else if (key != NULL) 167 (void) ns_set_value_from_string(key, buf, 171 key = NULL; 174 if (key == NULL) { 175 key = strdup(buf); 203 if (key != NULL) 204 (void) ns_set_value_from_string(key, buf, printer);
|