Searched defs:key (Results 101 - 125 of 889) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/nscd/
H A Dgetgr.c64 (void) snprintf(whoami, len, "%s [key=%d]", name, argp->key.gid);
73 return (_NSC_INT_KEY_CMP(e1->key.gid, e2->key.gid));
77 grgid_gethash(nss_XbyY_key_t *key, int htsize) { argument
78 return ((uint_t)key->gid % htsize);
H A Dgetproject.c69 return (_NSC_INT_KEY_CMP(e1->key.projid, e2->key.projid));
73 projid_gethash(nss_XbyY_key_t *key, int htsize) { argument
74 return (db_gethash(&key->projid, sizeof (key->projid), htsize));
79 (void) snprintf(whoami, len, "%s [key=%d]", name, argp->key.projid);
H A Dgetpw.c71 return (_NSC_INT_KEY_CMP(e1->key.uid, e2->key.uid));
75 pwuid_gethash(nss_XbyY_key_t *key, int htsize) { argument
76 return ((uint_t)key->uid % htsize);
81 (void) snprintf(whoami, len, "%s [key=%d]", name, argp->key.uid);
H A Dgettnrhdb.c64 (void) snprintf(whoami, len, "%s [key=%s, len=%d, addrtype=%d]",
65 name, argp->key.hostaddr.addr, argp->key.hostaddr.len,
66 argp->key.hostaddr.type);
77 if (e1->key.hostaddr.type > e2->key.hostaddr.type)
79 else if (e1->key.hostaddr.type < e2->key.hostaddr.type)
82 l1 = strlen(e1->key.hostaddr.addr);
83 l2 = strlen(e2->key
90 tsol_rh_gethash(nss_XbyY_key_t *key, int htsize) argument
[all...]
/illumos-gate/usr/src/cmd/print/lpget/
H A Dlpget.c52 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/cmd/print/printmgr/com/sun/admin/pm/client/
H A DBSTItem.java38 public String key; field in class:BSTItem
50 key = newKey.toLowerCase();
56 return new String("Item " + key + " (" + handle + ")");
61 return compare(otherItem.key, exact);
85 key.compareTo(otherKey) :
90 * "Compare: " + key + " to " + otherKey + " -> " + rv);
98 Debug.info("HELP: compareSub: " + key + " to " + s);
102 rv = key.substring(0, s.length()).compareTo(s);
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dtsd.c79 * Map from thread pointer to tsd pointer for given key
86 uintptr_t key = NULL; local
90 if (mdb_getopts(argc, argv, 'k', MDB_OPT_UINTPTR, &key, NULL) != argc)
93 if (!(flags & DCMD_ADDRSPEC) || key == NULL)
109 if (key > ts->ts_nkeys)
112 eladdr = (uintptr_t)(ts->ts_value + key - 1);
114 mdb_warn("failed to read t->t_tsd[%d] at %p", key - 1, eladdr);
/illumos-gate/usr/src/cmd/eqn/
H A Dlookup.c23 tbl *keytbl[TBLSIZE]; /* key words */
28 char *key; member in struct:__anon442
238 for (i = 0; keyword[i].key != NULL; i++)
239 lookup(keytbl, keyword[i].key, (char *)keyword[i].keyval);
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautod_lookup.c44 char *key,
83 found = (rddir_entry_lookup(key, rdcp->entp) != NULL);
110 err = getmapent(key, mapname, &ml, stack, &stkptr, &iswildcard,
113 mapents = parse_entry(key, mapname, mapopts, &ml,
125 if (*key == '=' && uid == 0) {
126 if (isdigit(*(key+1))) {
131 trace = atoi(key+1);
134 } else if (*(key+1) == 'v') {
42 do_lookup1( char *mapname, char *key, char *subdir, char *mapopts, char *path, uint_t isdirect, uid_t uid, autofs_action_t *action, struct linka *linkp) argument
/illumos-gate/usr/src/cmd/audio/audioconvert/
H A Dparse.cc147 char *key; local
177 key = cp;
181 switch (do_lookup(key, Keywords)) {
215 Err(MGET("ambiguous keyword: %s\n"), key);
221 Err(MGET("invalid keyword: %s\n"), key);
/illumos-gate/usr/src/cmd/hal/addons/network-devices/
H A Dcache.c37 device_remove_if_stale(gpointer key, gpointer value, gpointer user_data) argument
41 char *name = key;
89 char *key; local
97 (gpointer)&key, (gpointer)&val);
/illumos-gate/usr/src/cmd/hal/tools/
H A Dhal_find_by_property.c49 "usage : hal-find-by-property --key <key> --string <value>\n"
56 " --key Key of the property to check\n"
81 char *key = NULL; local
98 {"key", 1, NULL, 0},
122 } else if (strcmp (opt, "key") == 0) {
123 key = strdup (optarg);
141 if (key == NULL || value == NULL) {
167 udis = libhal_manager_find_device_string_match (hal_ctx, key, value, &num_udis, &error);
176 printf ("Found %d device objects with string property %s = '%s'\n", num_udis, key, valu
[all...]
H A Dhal_get_property.c59 "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/cmd/isns/isnsd/
H A Disns_func.h43 isns_tlv_t *key; member in struct:conn_arg::__anon666
/illumos-gate/usr/src/cmd/sh/
H A Dhash.h59 unsigned char *key; member in struct:entry
/illumos-gate/usr/src/cmd/krb5/ldap_util/
H A Dkdb5_ldap_realm.h42 MASTER_KEY, /* use master key as new key */
43 TGT_KEY /* special handling for tgt key */
51 krb5_keyblock *key; member in struct:realm_info
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/
H A Dhmac.c44 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...]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/keyhash_provider/
H A Dk_hmac_md5.c47 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/uts/common/gssapi/mechs/krb5/crypto/old/
H A Dold_decrypt.c41 const krb5_keyblock *key,
94 if ((key->enctype == ENCTYPE_DES_CBC_CRC) && (ivec == 0)) {
95 crcivec.length = key->length;
96 crcivec.data = (char *) key->contents;
100 if ((ret = ((*(enc->decrypt))(context, key, ivec, input, &output))))
38 krb5_old_decrypt(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 *arg_output) argument
H A Dold_encrypt.c55 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/ipp/ipgpc/
H A Dtable.c50 * ht_insert(taid, id, key)
53 * if key == taid->wildcard, the key is inserted as a wildcard
55 * returns DONTCARE_VALUE if key == wildcard, NORMAL_VALUE otherwise
58 ht_insert(table_id_t *taid, key_t id, int key) argument
65 if (key == taid->wildcard) {
71 x = ht_hash(key);
73 * insert if key matches and entry is being used or if entry is empty
75 if (((table[x].key == key)
126 ht_search(hash_table table, int key) argument
155 ht_retrieve(table_id_t *taid, int key, ht_match_t *fid_table) argument
198 ht_remove(table_id_t *taid, key_t id, int key) argument
[all...]
/illumos-gate/usr/src/uts/common/sys/
H A Dipc.h54 key_t key; /* key */ member in struct:ipc_perm
65 #define IPC_CREAT 0001000 /* create entry if key doesn't exist */
66 #define IPC_EXCL 0002000 /* fail if key exists */
70 #define IPC_PRIVATE (key_t)0 /* private key */
H A Dkiconv_cck_common.h102 uint32_t key; member in struct:__anon8034
108 uint32_t key; member in struct:__anon8035
124 size_t kiconv_binsearch(uint32_t key, void *tbl, size_t nitems);
/illumos-gate/usr/src/lib/libast/common/cdt/
H A Ddtlist.c42 reg Void_t *key, *k; local
137 { key = (type&DT_MATCH) ? obj : _DTKEY(obj,ky,sz);
140 if(_DTCMP(dt,key,k,disc,cmpf,sz) == 0)
/illumos-gate/usr/src/lib/libast/common/path/
H A Dpathkey.c27 * generate 14 char lookup key for lang path in key
30 * if key==0 then space is malloc'd
41 pathkey(char* key, char* attr, const char* lang, const char* tool, const char* apath) argument
59 if (!key)
60 key = buf;
65 k = key;
268 sfsprintf(key, 15, "%08lX", memsum(path, s - path, n));
269 k = key + 14;
287 if (k <= key
[all...]

Completed in 103 milliseconds

1234567891011>>