/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Misc/ |
H A D | wpm.d | 102 this->key = stringof(copyin(self->buf, arg0)); 107 /self->buf && (this->key == " " || this->key == "\n" || this->key == "\r") && 116 /self->buf && (this->key == " " || this->key == "\n" || this->key == "\r")/
|
/osnet-11/usr/src/lib/krb5/kadm5/ |
H A D | misc_free.c | 54 kadm5_ret_t krb5_free_key_data_contents(context, key) 56 krb5_key_data *key; 60 idx = (key->key_data_ver == 1 ? 1 : 2); 62 if (key->key_data_contents[i]) { 63 memset(key->key_data_contents[i], 0, key->key_data_length[i]); 64 free(key->key_data_contents[i]);
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/ |
H A D | dumpvar.pl | 129 local(%v,@v,$sp,$value,$key,@sortKeys,$more,$shortmore,$short) ; 204 for $key (@sortKeys) { 206 $value = $ {$v}{$key} ; 207 print "$sp", &stringify($key), " => "; 343 my ($off,$key, $val, $all, $m) = @_; 346 if (($key !~ /^_</ or $dumpDBFiles) and defined $entry) { 347 print( (' ' x $off) . "\$", &unctrl($key), " = " ); 350 if (($key !~ /^_</ or $dumpDBFiles) and @entry) { 351 print( (' ' x $off) . "\@$key = (\n" ); 355 if ($key n [all...] |
/osnet-11/usr/src/lib/libast/common/misc/ |
H A D | setenviron.c | 51 char* key = (char*)akey; local 116 if (!key) 120 t = key; 134 *p = key; 135 return (s = strchr(key, '=')) ? s + 1 : (char*)0; 141 if (!(s = strchr(key, '='))) 145 *p = key;
|
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | getuserattrnam.c | 43 attr(const char *name, kva_t *kva, void *key, void *val) argument 48 if ((match = kva_match(kva, (char *)key)) != NULL) { 66 * key = the key name of the attribute. 80 * Finds the first value associated with key for the user 93 getuserattrnam(const char *user, const char *key, char **where, argument 105 (void) _enum_attrs(user, attr, (void *)key, &attrval); 128 if (asprintf(&defkey, "%s=", key) == -1) { 144 getuserattruid(const uid_t u, const char *key, char **where, const char *deflt) argument 153 return (getuserattrnam(pwd.pw_name, key, wher [all...] |
H A D | secdb.c | 37 * kva_match(): Given a key-value array and a key, return a pointer to the 38 * value that matches the key. 41 kva_match(kva_t *kva, char *key) argument 46 if (kva == NULL || key == NULL) { 51 if (strcmp(data[i].key, key) == 0) { 73 if (data[i].key != NULL) { 74 free(data[i].key); 75 data[i].key 91 _kva_free_value(kva_t *kva, char *key) argument 144 char *key; local 261 char *key, *val; local 288 _insert2kva(kva_t *kva, char *key, char *value) argument [all...] |
H A D | tsearch.c | 55 typedef struct node { char *key; struct node *llink, *rlink; } NODE; member in struct:node 60 /* Find or insert key into search tree */ 64 char *key = (char *)ky; local 66 NODE *q; /* New node if key not found */ 71 int r = (*compar)(key, (*rootp)->key); /* T2: */ 81 q->key = key; /* Initialize new node */ 87 /* Delete node with key key */ 91 char *key = (char *)ky; local [all...] |
/osnet-11/usr/src/lib/nsswitch/nis/common/ |
H A D | gethostent.c | 51 for (s = argp->key.name; (c = *s) != '\0'; s++) { 56 if ((copy = strdup(argp->key.name)) == 0) { 59 for (mung = copy + (s - argp->key.name); 73 "hosts.byname", argp->key.name, 0); 93 if (argp->key.hostaddr.type != AF_INET || 94 argp->key.hostaddr.len != sizeof (addr)) { 97 (void) memcpy(&addr, argp->key.hostaddr.addr, sizeof (addr));
|
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/ |
H A D | bt_put.c | 58 * key: key 63 * RET_ERROR, RET_SUCCESS and RET_SPECIAL if the key is already in the 67 __bt_put(dbp, key, data, flags) 69 DBT *key; 117 * If the key/data pair won't fit on a page, store it on overflow 118 * pages. Only put the key on the overflow page if the pair are 125 if (key->size + data->size > t->bt_ovflsize) { 126 if (key->size > t->bt_ovflsize) { 128 storekey: if (__ovfl_put(t, key, [all...] |
/osnet-11/usr/src/lib/libnisdb/yptol/ |
H A D | update.c | 73 * Pointer to the entry key 82 update_entry_if_required(map_ctrl *map, datum *key) argument 96 if (0 == strncmp(key->dptr, yp_last_modified, yp_last_modified_sz)) { 103 if (is_special_key(key)) 106 if (!has_entry_expired(map, key)) 111 return (update_from_dit(map, key)); 120 * Entry key 128 update_from_dit(map_ctrl *map, datum *key) argument 144 ret = read_from_dit(map->map_name, map->domain, key, &dat); 171 dbm_delete(map->entries, *key); 372 is_special_key(datum *key) argument [all...] |
H A D | shim.c | 33 * NOTE : There is a major bug/feature in dbm. A key obtained by 36 * and the static strings pointed to by the key are destroyed. The 39 * key data in malloced memory. This is freed when map_ctrl is 113 shim_dbm_delete(DBM *db, datum key) argument 127 dbm_delete(map->ttl, key); 130 ret = dbm_delete(map->entries, key); 149 shim_dbm_fetch(DBM *db, datum key) argument 162 if (SUCCESS == update_entry_if_required(map, &key)) { 164 ret = dbm_fetch(map->entries, key); 168 ret = dbm_fetch(map->entries, key); 188 shim_dbm_fetch_noupdate(DBM *db, datum key) argument 451 shim_dbm_store(DBM *db, datum key, datum content, int store_mode) argument 563 datum key; local [all...] |
/osnet-11/usr/src/lib/libsmbns/common/ |
H A D | smbns_hash.c | 51 static size_t ht_default_hash(HT_HANDLE *handle, const char *key); 73 * must be a power of two. The key size must be a positive integer. 74 * For null terminated keys, the key size does not need to include the 75 * null terminating character. The type of key is indicated by the flags. 166 * on the specified key. This will identify the location for the 167 * corresponding item in the hash table. The handle and key pointers 173 ht_default_hash(HT_HANDLE *handle, const char *key) argument 179 while (*key) { 180 hash_ndx += *key; 181 ++key; 226 ht_add_item(HT_HANDLE *handle, const char *key, const void *data) argument 283 ht_replace_item(HT_HANDLE *handle, const char *key, const void *data) argument 304 ht_remove_item(HT_HANDLE *handle, const char *key) argument 368 ht_find_item(HT_HANDLE *handle, const char *key) argument [all...] |
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Tie/ |
H A D | Memoize.pm | 15 my ($h,$key) = ($_[0][0], $_[1]); 16 my $res = $h->{$key}; 18 return $res if exists $h->{$key}; # Accessible, but undef 19 my $cache = $_[0][1]{$key}; 21 my @res = $_[0][2]->($key, $_[0][4]); # Autoload 22 $_[0][1]{$key} = 0, return unless @res; # Cache non-existence 23 delete $_[0][1]{$key}; # Clear existence cache, not needed any more 24 $_[0][0]{$key} = $res[0]; # Store data and return 28 my ($a,$key) = (shift, shift); 29 return 1 if exists $a->[0]{$key}; # Hav [all...] |
/osnet-11/usr/src/lib/libast/common/comp/ |
H A D | tsearch.c | 61 Void_t* key; member in struct:_tree_s 88 { { sizeof(Dtlink_t), -1, /* object is key */ 101 Void_t* tsearch(const Void_t* key, Void_t** rootp, argument 104 Void_t* tsearch(key, rootp, comparf) 105 Void_t* key; 120 if(!(o = (Tree_t*)dtmatch(dt,key)) ) 123 o->key = (Void_t*)key; 132 return (Void_t*)(&o->key); 137 Void_t* tfind(const Void_t* key, Void_ argument 163 tdelete(const Void_t* key, Void_t** rootp, int(*comparf)(const Void_t*, const Void_t*) ) argument [all...] |
/osnet-11/usr/src/lib/libfuse/common/ |
H A D | fuse_opt.h | 35 * ii) The processing function is called, with 'value' as the key 87 * Value to set the variable to, or to be passed as 'key' to the 95 * called with the specified key. 97 #define FUSE_OPT_KEY(templ, key) { templ, -1U, key } 139 * Special key value for options to keep 147 * Special key value for options to discard 175 * @param key determines why the processing function was called 179 typedef int (*fuse_opt_proc_t)(void *data, const char *arg, int key,
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/ |
H A D | read_servi.c | 29 * It is a convenience function that reads a key out of a keytab. 43 * principal, vno, and enctype and returns the resulting key in *key 49 krb5_kt_read_service_key(krb5_context context, krb5_pointer keyprocarg, krb5_principal principal, krb5_kvno vno, krb5_enctype enctype, krb5_keyblock **key) argument 78 krb5_copy_keyblock(context, &entry.key, key);
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | enc_keyhelper.c | 36 krb5_encrypt_keyhelper(krb5_context context, krb5_key key, krb5_keyusage usage, argument 43 enctype = krb5_k_key_enctype(context, key); 52 ret = krb5_k_encrypt(context, key, usage, 0, plain, cipher);
|
H A D | decode_kdc.c | 42 *key, putting result in *rep. 54 krb5int_decode_tgs_rep(krb5_context context, krb5_data *enc_rep, const krb5_keyblock *key, argument 74 if ((retval = krb5_kdc_rep_decrypt_proc(context, key, &usage,
|
/osnet-11/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_namespace.c | 46 * (by key) 52 mdkey_t key, 65 nm.key = key; 89 * (by key) 175 * (by key) 181 mdkey_t key, 191 nm.key = key; 205 * (by key) 49 meta_getnmentbykey( set_t setno, side_t sideno, mdkey_t key, char **drvnm, minor_t *mnum, md_dev64_t *dev, md_error_t *ep ) argument 178 meta_getdidminorbykey( set_t setno, side_t sideno, mdkey_t key, md_error_t *ep ) argument 208 meta_getdidbykey( set_t setno, side_t sideno, mdkey_t key, md_error_t *ep ) argument 260 meta_setdid( set_t setno, side_t sideno, mdkey_t key, md_error_t *ep ) argument 320 meta_getnmbykey( set_t setno, side_t sideno, mdkey_t key, md_error_t *ep ) argument 337 meta_getnmentbydev( set_t setno, side_t sideno, md_dev64_t dev, char **drvnm, minor_t *mnum, mdkey_t *key, md_error_t *ep ) argument 400 add_name( mdsetname_t *sp, side_t sideno, mdkey_t key, char *dname, minor_t mnum, char *bname, char *minorname, ddi_devid_t devid, md_error_t *ep ) argument 439 del_name( mdsetname_t *sp, side_t sideno, mdkey_t key, md_error_t *ep ) argument 539 mdkey_t key = MD_KEYWILD; local 736 mdkey_t key; local 834 del_self_name( mdsetname_t *sp, mdkey_t key, md_error_t *ep ) argument [all...] |
/osnet-11/usr/src/lib/nsswitch/files/common/ |
H A D | tsol_gettpent.c | 40 keyp = args->key.name; 60 if (argp->key.name == NULL) 63 return (_nss_files_XY_all(be, argp, 1, argp->key.name, check_name));
|
/osnet-11/usr/src/lib/udapl/udapl_tavor/include/ |
H A D | dapl_hash.h | 99 IN DAPL_HASH_KEY key, 105 IN DAPL_HASH_KEY key, 111 IN DAPL_HASH_KEY key,
|
/osnet-11/usr/src/cmd/hal/hald/ |
H A D | property.h | 50 HalProperty *hal_property_new_string (const char *key, 52 HalProperty *hal_property_new_int (const char *key, 54 HalProperty *hal_property_new_uint64 (const char *key, 56 HalProperty *hal_property_new_bool (const char *key, 58 HalProperty *hal_property_new_double (const char *key, 60 HalProperty *hal_property_new_strlist (const char *key);
|
/osnet-11/usr/src/lib/libresolv2/common/dst/ |
H A D | dst_internal.h | 37 char *dk_key_name; /*%< name of the key */ 38 int dk_key_size; /*%< this is the size of the key in bits */ 39 int dk_proto; /*%< what protocols this key can be used for */ 40 int dk_alg; /*%< algorithm number from key record */ 41 u_int32_t dk_flags; /*%< and the flags of the public key */ 42 u_int16_t dk_id; /*%< identifier of the key */ 43 void *dk_KEY_struct; /*%< pointer to key in crypto pkg fmt */ 60 /* suffixes for key file names */ 62 #define PUBLIC_KEY "key" 80 int (*sign)(const int mode, DST_KEY *key, voi [all...] |
/osnet-11/usr/src/lib/fm/libdiagcode/common/ |
H A D | diagcode.h | 54 /* return number of strings in key for a given dictionary, plus 1 for null */ 57 /* given a key, construct a diagcode */ 59 const char *key[], char *code, size_t maxcode); 61 /* given a diagcode, return the key (array of strings) */ 63 char *key[], int maxkey);
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/B/C/ |
H A D | C.xs | 9 SV* key = newSViv( 0 ); 35 sv_setiv( key, PTR2IV( rx ) ); 38 hv_store_ent( regexp_hv, key, rv, 0 ); 42 SvREFCNT_dec( key );
|