/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/CGI/examples/ |
H A D | monty.cgi | 66 my(@values,$key); 70 foreach $key ($query->param) { 71 print "<STRONG>$key</STRONG> -> "; 72 @values = $query->param($key);
|
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | lfind.c | 59 char *key = (char *)ky; local 64 if ((*compar)(key, base) == 0)
|
H A D | hsearch.c | 175 new->key = malloc((unsigned)strlen(line) + 1); 176 if (new->key == NULL) { 180 (void) strcpy(new->key, line); 194 printf("Key = %s, Value = %d\n", res->key, *res->data); 293 i = HASH(item.key); /* Primary hash on key */ 300 if (table[i].key == NULL) /* Empty slot? */ 302 else if (COMPARE(table[i].key, item.key) == 0) /* Match? */ 306 c = HASH2(item.key); /* N 493 hashm(POINTER key) argument 505 hash2m(POINTER key) argument 515 crunch(POINTER key) argument [all...] |
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) {
|
/osnet-11/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softRSA.c | 42 soft_rsa_encrypt(soft_object_t *key, CK_BYTE_PTR in, uint32_t in_len, argument 57 rv = soft_get_public_value(key, CKA_PUBLIC_EXPONENT, expo, 63 rv = soft_get_private_value(key, CKA_PRIVATE_EXPONENT, expo, 70 rv = soft_get_public_value(key, CKA_MODULUS, modulus, &modulus_len); 92 soft_rsa_decrypt(soft_object_t *key, CK_BYTE_PTR in, uint32_t in_len, argument 114 rv = soft_get_private_value(key, CKA_MODULUS, modulus, &modulus_len); 119 rv = soft_get_private_value(key, CKA_PRIME_1, prime1, &prime1_len); 122 rv = soft_rsa_encrypt(key, in, in_len, out, 0); 129 rv = soft_get_private_value(key, CKA_PRIME_2, prime2, &prime2_len); 132 rv = soft_rsa_encrypt(key, i 244 soft_object_t *key = rsa_ctx->key; local 333 soft_object_t *key = rsa_ctx->key; local 530 soft_object_t *key = rsa_ctx->key; local 648 soft_object_t *key = rsa_ctx->key; local 750 soft_genRSAkey_set_attribute(soft_object_t *key, CK_ATTRIBUTE_TYPE type, uchar_t *buf, uint32_t buflen, boolean_t public) argument 986 soft_object_t *key = rsa_ctx->key; local 1107 soft_object_t *key = rsa_ctx->key; local 1197 soft_object_t *key = rsa_ctx->key; local [all...] |
H A D | softDSA.c | 86 * Make a copy of the signature or verification key, and save it 89 * on this original key while doing signing/verification. 104 dsa_ctx->key = tmp_key; 124 local_dsa_sign(soft_object_t *key, uchar_t *q, uint_t qlen, argument 136 rv = soft_get_private_value(key, CKA_PRIME, p, &plen); 141 rv = soft_get_private_value(key, CKA_BASE, g, &glen); 146 rv = soft_get_private_value(key, CKA_VALUE, x, &xlen); 170 local_dsa_verify(soft_object_t *key, CK_BYTE_PTR data, CK_BYTE_PTR sig) argument 183 rv = soft_get_public_value(key, CKA_PRIME, p, &plen); 188 rv = soft_get_public_value(key, CKA_SUBPRIM 231 soft_object_t *key = dsa_ctx->key; local 306 soft_object_t *key = dsa_ctx->key; local 374 soft_object_t *key = dsa_ctx->key; local 421 soft_object_t *key = dsa_ctx->key; local 457 soft_genDSAkey_set_attribute(soft_object_t *key, CK_ATTRIBUTE_TYPE type, uchar_t *value, uint32_t value_len, boolean_t public) argument [all...] |
/osnet-11/usr/src/lib/libdns_sd/common/ |
H A D | dnssd_clientlib.c | 114 const char *key, 120 *keylen = (unsigned long) strlen(key); 125 if (p <= e && *keylen <= x[0] && !strncmp(key, (char*)x+1, *keylen)) 229 const char *key, 238 for (k = key; *k; k++) if (*k < 0x20 || *k > 0x7E || *k == '=') return(kDNSServiceErr_Invalid); 239 keysize = (unsigned long)(k - key); 242 (void)TXTRecordRemoveValue(txtRecord, key); 258 memcpy(p, key, keysize); 274 const char *key 278 uint8_t *item = InternalTXTRecordSearch(txtRec->datalen, txtRec->buffer, key, 110 InternalTXTRecordSearch( uint16_t txtLen, const void *txtRecord, const char *key, unsigned long *keylen ) argument 226 TXTRecordSetValue( TXTRecordRef *txtRecord, const char *key, uint8_t valueSize, const void *value ) argument 308 TXTRecordGetValuePtr( uint16_t txtLen, const void *txtRecord, const char *key, uint8_t *valueLen ) argument 336 TXTRecordGetItemAtIndex( uint16_t txtLen, const void *txtRecord, uint16_t index, uint16_t keyBufLen, char *key, uint8_t *valueLen, const void **value ) argument [all...] |
/osnet-11/usr/src/cmd/sendmail/src/ |
H A D | udb.c | 135 DBT key; local 144 memset(&key, '\0', sizeof(key)); 184 /* build actual database key */ 216 key.data = keybuf; 217 key.size = keylen; 222 i = (*up->udb_dbp->seq)(up->udb_dbp, &key, &info, R_CURSOR); 235 (errno = dbc->c_get(dbc, &key, 255 (int) key.size, (char *) key 601 DBT key, info; local 842 char *key; local [all...] |
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/op/ |
H A D | each.t | 50 while (($key,$value) = each(%h)) { 51 if ($key eq $keys[$i] && $value eq $values[$i] 52 && (('a' lt 'A' && $key lt $value) || $key gt $value)) { 53 $key =~ y/a-z/A-Z/; 54 $i++ if $key eq $value; 61 ok ($#keys == 31, "added a key"); 81 $total += $key while $key = each %hash; 87 $total += $key whil [all...] |
/osnet-11/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...] |
/osnet-11/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:__anon30 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...] |
/osnet-11/usr/src/lib/udapl/udapl_tavor/common/ |
H A D | dapl_hash.c | 56 DAPL_HASH_KEY key; member in struct:DAPL_HASH_ELEM 96 #define DAPL_DOHASH(key, hashsize) ((uint64_t)((key) % (hashsize))) 109 } else if (element->key == (DAPL_HASH_KEY) (in_key)) { \ 130 * Rehash the key (used by add and lookup functions) 132 * Inputs: element element to rehash key 133 * key, datum datum for key head 139 DAPL_HASH_KEY key, 157 if (element->key 137 dapli_hash_rehash( DAPL_HASH_ELEM *element, DAPL_HASH_KEY key, void **datum, DAPL_HASH_ELEM ** head) argument 177 dapli_hash_add( DAPL_HASH_TABLEP p_table, DAPL_HASH_KEY key, void *datum, DAT_BOOLEAN allow_dup, DAT_BOOLEAN *report_dup) argument 287 dapl_hash_delete_element(DAPL_HASH_ELEM * element, DAPL_HASH_KEY key, DAPL_HASH_DATA *p_datum) argument 439 dapls_hash_insert( IN DAPL_HASH_TABLE *p_table, IN DAPL_HASH_KEY key, IN DAPL_HASH_DATA data) argument 473 dapls_hash_search( IN DAPL_HASH_TABLE *p_table, IN DAPL_HASH_KEY key, OUT DAPL_HASH_DATA *p_data) argument 505 dapls_hash_remove( IN DAPL_HASH_TABLE *p_table, IN DAPL_HASH_KEY key, OUT DAPL_HASH_DATA *p_data) argument [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/fs/ |
H A D | reiserfs.c | 184 struct grub_reiserfs_key key; member in struct:grub_reiserfs_item_header 240 /* Return the type of given v2 key. */ 242 grub_reiserfs_get_key_v2_type (const struct grub_reiserfs_key *key) argument 244 switch (grub_le_to_cpu64 (key->u.v2.offset_type) >> 60) 260 /* Return the type of given v1 key. */ 262 grub_reiserfs_get_key_v1_type (const struct grub_reiserfs_key *key) argument 264 switch (grub_le_to_cpu32 (key->u.v1.type)) 282 /* Return 1 if the given key is version 1 key, 2 otherwise. */ 284 grub_reiserfs_get_key_version (const struct grub_reiserfs_key *key) argument 313 grub_reiserfs_print_key(const struct grub_reiserfs_key *key) argument 343 grub_reiserfs_get_key_offset(const struct grub_reiserfs_key *key) argument 353 grub_reiserfs_set_key_offset(struct grub_reiserfs_key *key, grub_uint64_t value) argument 366 grub_reiserfs_get_key_type(const struct grub_reiserfs_key *key) argument 376 grub_reiserfs_set_key_type(struct grub_reiserfs_key *key, enum grub_reiserfs_item_type grub_type, int version) argument 468 grub_reiserfs_get_item(struct grub_reiserfs_data *data, const struct grub_reiserfs_key *key, struct grub_fshelp_node *item) argument 647 struct grub_reiserfs_key key; local 988 struct grub_reiserfs_key key; local 1073 struct grub_reiserfs_key key; local [all...] |
/osnet-11/usr/src/lib/krb5/kdb/ |
H A D | kdb_default.c | 47 * If kvno is 0 get the key which is maxkvno for the princ and matches 71 /* Get the max key version */ 207 new_entry.key = keylist->keyblock; 241 krb5_keyblock *key, 247 list.keyblock = *key; 256 krb5_keyblock *key, 281 if (key->enctype == ENCTYPE_UNKNOWN) 282 key->enctype = enctype; 283 else if (enctype != key->enctype) { 295 key 237 krb5_def_store_mkey(krb5_context context, char *keyfile, krb5_principal mname, krb5_kvno kvno, krb5_keyblock *key, char *master_pwd) argument 254 krb5_db_def_fetch_mkey_stash(krb5_context context, const char *keyfile, krb5_keyblock *key, krb5_kvno *kvno) argument 334 krb5_db_def_fetch_mkey_keytab(krb5_context context, const char *keyfile, krb5_principal mname, krb5_keyblock *key, krb5_kvno *kvno) argument 398 krb5_db_def_fetch_mkey(krb5_context context, krb5_principal mname, krb5_keyblock *key, krb5_kvno *kvno, char *db_args) argument [all...] |
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/ |
H A D | search.h | 41 char *key; member in struct:entry
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Storable/t/ |
H A D | st-dump.pl | 145 foreach $key (sort keys %{$href}) { 147 &recursive_dump(\$key, undef); 148 unless (defined $href->{$key}) { 153 &recursive_dump(\$href->{$key}, 1);
|
/osnet-11/usr/src/lib/libnsl/yp/ |
H A D | yp_match.c | 61 char *key; member in struct:cache 79 if (n->key != 0) 80 free(n->key); 104 ((n->key = malloc(keylen)) == 0) || 118 in_cache(char *domain, char *map, char *key, int keylen, char **val, argument 135 (memcmp(key, c->key, (size_t)keylen) == 0) && 167 * the passed key datum in the named map, and to return the associated value 172 __yp_match_cflookup(char *domain, char *map, char *key, int keylen, char **val, argument 195 (key 299 yp_match( char *domain, char *map, char *key, int keylen, char **val, int *vallen) argument 350 __yp_match_rsvdport_cflookup( char *domain, char *map, char *key, int keylen, char **val, int *vallen, int hardlookup) argument 484 yp_match_rsvdport( char *domain, char *map, char *key, int keylen, char **val, int *vallen) argument 502 domatch(char *domain, char *map, char *key, int keylen, struct dom_binding *pdomb, struct timeval *timeoutp, char **val, int *vallen) argument [all...] |
/osnet-11/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));
|
/osnet-11/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...] |
/osnet-11/usr/src/grub/grub2/grub-core/normal/ |
H A D | auth.c | 160 int key; local 164 key = grub_getkey (); 165 if (key == '\n' || key == '\r') 168 if (key == '\e') 174 if (key == '\b') 181 if (!grub_isprint (key)) 186 buf[cur_len++] = key; 187 grub_printf ("%c", key); 196 return (key ! [all...] |
/osnet-11/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...] |
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/CGI/t/ |
H A D | upload.t | 47 for my $key (keys %myenv) { 48 $ENV{$key} = $myenv{$key}; 53 for my $key (keys %myenv) { 54 delete $ENV{$key};
|
/osnet-11/usr/src/lib/libsmbns/common/ |
H A D | smbns_hash.h | 63 * Each entry (item) in the hash table has a linked-list pointer, a key, 65 * The key is a user provided key and is used to position the item within 116 size_t (*ht_hash)(struct ht_handle *handle, const char *key); 161 extern HT_ITEM *ht_add_item(HT_HANDLE *handle, const char *key, 163 extern HT_ITEM *ht_replace_item(HT_HANDLE *handle, const char *key, 165 extern void *ht_remove_item(HT_HANDLE *handle, const char *key); 166 extern HT_ITEM *ht_find_item(HT_HANDLE *handle, const char *key);
|
/osnet-11/usr/src/lib/libnisdb/yptol/ |
H A D | yptol_utils.c | 113 datum key; local 116 key.dptr = str1; 117 key.dsize = strlen(str1); 121 if (dbm_store(fdb, key, content, DBM_REPLACE) != 0) { 124 key.dptr, content.dptr, errno);
|
/osnet-11/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
|