Searched refs:key (Results 126 - 150 of 892) sorted by relevance

1234567891011>>

/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/
H A Drec_utils.c53 * e: key/data pair to be returned
55 * key: user's key structure
62 __rec_ret(t, e, nrec, key, data)
66 DBT *key, *data;
71 if (key == NULL)
74 /* We have to copy the key, it's not on the page. */
85 key->size = sizeof(recno_t);
86 key->data = t->bt_rkey.data;
/osnet-11/usr/src/grub/grub2/grub-core/lib/efi/
H A Drelocator.c34 grub_efi_uintn_t key; local
35 grub_efi_get_memory_map (&mmapsize, NULL, &key, &descriptor_size,
48 grub_efi_uintn_t key; local
52 grub_efi_get_memory_map (&mmapsize, NULL, &key, &desc_size,
58 grub_efi_get_memory_map (&mmapsize, descs, &key, &desc_size,
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/op/
H A Davhv.t50 while (my ($key,$value) = each %$a) {
51 if ($key eq $keys[$i] && $value eq $values[$i] && $key eq lc($value)) {
52 $key =~ y/a-z/A-Z/;
53 $i++ if $key eq $value;
110 $a = [{key => 1}, 'a'];
111 f($a->{key});
H A Dhashassign.t13 my @comma = ("key", "value");
16 # $foo{string} into a shared hash key scalar. It might be worth making the
17 # tokeniser build the LHS of => as a shared hash key scalar too.
27 my $key = 'ey';
28 is ($comma{"k" . $key}, "value", 'is key present? (unoptimised)');
30 is ($comma{key}, "value", 'is key present? (maybe optimised)');
32 my @temp = (key=>undef);
33 is ($comma{$temp[0]}, "value", 'is key presen
[all...]
/osnet-11/usr/src/cmd/hal/hald/
H A Ddevice_store.h53 const char *key,
101 const char *key,
105 const char *key,
109 const char *key,
113 const char *key,
/osnet-11/usr/src/lib/libresolv2/common/nameser/
H A Dns_verify.c115 *\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...]
H A Dns_sign.c65 *\li key tsig key used for signing
74 *\li - bad key / sign failed (-BADKEY)
93 DST_KEY *key = (DST_KEY *)k; local
109 if (key != NULL && error != ns_r_badsig && error != ns_r_badkey) {
110 n = ns_name_pton(key->dk_key_name, name, sizeof name);
134 if (key != NULL && error != ns_r_badsig && error != ns_r_badkey) {
135 if (key->dk_alg != KEY_HMAC_MD5)
157 if (key != NULL && error != ns_r_badsig && error != ns_r_badkey) {
162 dst_sign_data(SIG_MODE_INIT, key,
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/commands/
H A Dsearch.c40 char *key; member in struct:cache_entry
47 FUNC_NAME (const char *key, const char *var, int no_floppy, argument
76 grub_dprintf("search", "key = %s\n", key);
78 if (*key == '(' && (tempkey = grub_strchr(key, ')')))
81 tempkey = key;
120 if (compare_fn (quid, key) == 0)
138 cache_ent->key = grub_strdup (key);
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Tie/
H A DSubstrHash.pm7 Tie::SubstrHash - Fixed-table-size, fixed-key-length hashing
18 an array of determinate size, with constant key size and record size.
22 keys will index, and the size of the overall table (in terms of key-value
28 key not exactly C<$key_len> characters in length. While these constraints
34 Because the current implementation uses the table and key sizes for the
63 local($self,$key) = @_;
74 elsif (substr($record, 1, $klen) eq $key) {
82 local($self,$key,$val) = @_;
94 $record = "\2". $key . $val;
104 elsif (substr($record, 1, $klen) eq $key) {
[all...]
/osnet-11/usr/src/lib/libcurses/screen/
H A Dtgetch.c49 * 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...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/ExtUtils/
H A DPacklist.pm93 my ($key, @kvs) = $line;
94 if ($key =~ /^(.*?)( \w+=.*)$/)
96 $key = $1;
99 $key =~ s!/\./!/!g; # Some .packlists have spurious '/./' bits in the paths
102 $self->{data}->{$key} = undef;
112 $self->{data}->{$key} = $data;
127 foreach my $key (sort(keys(%{$self->{data}})))
129 print $fh ("$key");
130 if (ref($self->{data}->{$key}))
132 my $data = $self->{data}->{$key};
[all...]
/osnet-11/usr/src/lib/librdc/common/
H A Drdcpersist.c77 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...]
/osnet-11/usr/src/lib/libmp/common/
H A Dutil.c171 * Convert hex key to MINT key
174 mp_xtom(char *key) argument
182 for (; *key; key++) {
183 digit = xtoi(*key);
208 * Convert MINT key to hex key
211 mp_mtox(MINT *key) argument
224 if (key
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Search/
H A DDict.pm13 Search::Dict, look - search for key in dictionary file
18 look *FILEHANDLE, $key, $dict, $fold;
26 (stringwise) to I<$key>. Returns the new file position, or -1 if an error
51 my($fh,$key,$dict,$fold) = @_;
67 $key =~ s/[^\w\s]//g if $dict;
68 $key = lc $key if $fold;
82 if (defined($_) && $comp->($_, $key) < 0) {
102 last if $comp->($_, $key) >= 0;
/osnet-11/usr/src/lib/nsswitch/user/common/
H A Dgetprinter.c45 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...]
/osnet-11/usr/src/lib/libkmf/libkmf/common/
H A Dkeyop.c94 KMF_KEY_HANDLE *key; local
131 key = kmf_get_attr_ptr(KMF_KEY_HANDLE_ATTR, attrlist, num_args);
132 if (key == NULL)
134 if (key->keylabel != NULL)
135 free(key->keylabel);
137 if (key->israw && key->keyp != NULL) {
138 if (key->keyclass == KMF_ASYM_PUB ||
139 key->keyclass == KMF_ASYM_PRI) {
140 kmf_free_raw_key(key
[all...]
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/crypto/keyhash_provider/
H A Dk5_md5des.c47 k5_md5des_hash(krb5_context context, krb5_const krb5_keyblock *key, argument
63 if (key->length != 8)
77 xorkey.magic = key->magic;
78 xorkey.enctype = key->enctype;
79 xorkey.length = key->length;
80 xorkey.contents = (krb5_octet *)malloc(key->length);
84 (void) memcpy(xorkey.contents, key->contents, xorkey.length);
147 krb5_const krb5_keyblock *key,
164 if (key->length != 8)
179 /* create and the encryption key */
146 k5_md5des_verify(krb5_context context, krb5_const krb5_keyblock *key, krb5_keyusage usage, krb5_const krb5_data *ivec, krb5_const krb5_data *input, krb5_const krb5_data *hash, krb5_boolean *valid) argument
[all...]
/osnet-11/usr/src/lib/libast/common/path/
H A Dpathtemp.c91 uint32_t key; member in struct:__anon1176
108 uint32_t key; local
152 tmp.key = (tmp.seed = (tmp.rng = dir ? (uint32_t)strtoul(dir, NiL, 0) : (uint32_t)1) != 0)? (uint32_t)0x63c63cd9L : 0;
301 if (!tmp.key)
302 tmp.key = (tmp.rng >> 16) | ((tmp.rng & 0xffff) << 16);
303 tmp.rng ^= tmp.key;
317 key = tmp.rng * tmp.key + tv.tv_nsec;
320 tmp.key = tmp.rng * key
[all...]
H A Dpathkey.c27 * generate 14 char lookup key for lang path in key
30 * if key==0 then space is malloc'd
44 pathkey(char* key, char* attr, const char* lang, const char* tool, const char* path) argument
46 return pathkey_20100601(lang, tool, path, key, 16, attr, PATH_MAX);
54 pathkey_20100601(const char* lang, const char* tool, const char* apath, char* key, size_t keysize, char* attr, size_t attrsize) argument
75 if (!key)
76 key = buf;
81 k = key;
293 sfsprintf(key, 1
[all...]
/osnet-11/usr/src/common/crypto/ecc/
H A Dec.c236 /* Generates a new EC key pair. The private key is a supplied
237 * value and the public key is the result of performing a scalar
246 ECPrivateKey *key; local
260 /* Initialize an arena for the EC key. */
264 key = (ECPrivateKey *)PORT_ArenaZAlloc(arena, sizeof(ECPrivateKey),
266 if (!key) {
272 SECITEM_AllocItem(arena, &key->version, 1, kmflag);
273 key->version.data[0] = 1;
276 * ECParams structure within the private key
627 ECDSA_SignDigestWithSeed(ECPrivateKey *key, SECItem *signature, const SECItem *digest, const unsigned char *kb, const int kblen, int kmflag) argument
826 ECDSA_SignDigest(ECPrivateKey *key, SECItem *signature, const SECItem *digest, int kmflag) argument
864 ECDSA_VerifyDigest(ECPublicKey *key, const SECItem *signature, const SECItem *digest, int kmflag) argument
1066 EC_FreePrivateKey(ECPrivateKey *key, boolean_t freeit) argument
1080 EC_FreePublicKey(ECPublicKey *key, boolean_t freeit) argument
[all...]
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/
H A Dhash_bigkey.c44 * Big key/data handling for the hashing package.
78 * You need to do an insert and the key/data pair is greater than
86 __big_insert(hashp, pagep, key, val)
89 const DBT *key, *val;
95 key_data = (int8_t *)key->data;
96 key_size = key->size;
112 /* Move the key's data. */
114 /* Mark the page as to how much key & data is on this page. */
156 /* Get first page with big key/data. */
179 * Given a key, indicate
293 __get_bigkey(HTAB *hashp, PAGE16 *pagep, indx_t ndx, DBT *key) argument
[all...]
/osnet-11/usr/src/lib/libpool/common/
H A Ddict.c31 * arbitrary key-value mappings. It is used by libpool to store
73 * A key bucket.
77 const void *db_key; /* key */
83 * A dictionary which holds a mapping between a key and a value.
87 * dh_buckets - key storage
184 hash_addr(const void *key) argument
186 return (hash_buf(&key, sizeof (key)));
289 * Get a value from the hash. Null is returned if the key cannot be
293 dict_get(dict_hdl_t *hdl, const void *key) argument
311 dict_put(dict_hdl_t *hdl, const void *key, void *value) argument
341 dict_remove(dict_hdl_t *hdl, const void *key) argument
[all...]
/osnet-11/usr/src/lib/libdns_sd/java/com/apple/dnssd/
H A DTXTRecord.java77 /** Set a key/value pair in the TXT record. Setting an existing key will replace its value.<P>
78 @param key
79 The key name. Must be ASCII, with no '=' characters.
84 public void set( String key, String value) argument
87 this.set( key, valBytes);
90 /** Set a key/value pair in the TXT record. Setting an existing key will replace its value.<P>
91 @param key
92 The key nam
97 set( String key, byte[] value) argument
152 remove( String key) argument
188 contains( String key) argument
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Hash/
H A DUtil.pm49 the ability to lock an individual key so it cannot be deleted and the
85 die sprintf "Hash has key '$k' which is not in the new key ".
117 lock_value (%hash, $key);
118 unlock_value(%hash, $key);
120 Locks and unlocks an individual key of a hash. The value of a locked
121 key cannot be changed.
128 my($hash, $key) = @_;
131 Internals::SvREADONLY $hash->{$key}, 1;
135 my($hash, $key)
[all...]
/osnet-11/usr/src/lib/nsswitch/files/common/
H A Dgetprofattr.c56 if (a->key.name != NULL && *a->key.name == '/' &&
57 __get_default_prof(a->key.name, a) == NSS_SUCCESS) {
73 * Push all the prof/user_attrs with the same key for later merging.
103 * No merging for user_attr; we only copy missed key/value
130 if (kva_match(kv1, kv2->data[i].key) == NULL) {
132 kv2->data[i].key = NULL;
139 char *key = kv2->data[i].key; local
140 if (key !
[all...]

Completed in 32 milliseconds

1234567891011>>