Home
last modified time | relevance | path

Searched refs:hash (Results 51 – 75 of 462) sorted by relevance

12345678910>>...19

/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DProbeInfo.java167 int hash = 17; in hashCode() local
168 hash = (37 * hash) + probeAttributes.hashCode(); in hashCode()
169 hash = (37 * hash) + argumentAttributes.hashCode(); in hashCode()
170 return hash; in hashCode()
H A DFlow.java191 int hash = 17; in hashCode() local
192 hash = (37 * hash) + kind.hashCode(); in hashCode()
193 hash = (37 * hash) + depth; in hashCode()
194 return hash; in hashCode()
H A DAggregationRecord.java226 int hash = 17; in hashCode() local
227 hash = (37 * hash) + tuple.hashCode(); in hashCode()
228 hash = (37 * hash) + value.hashCode(); in hashCode()
229 return hash; in hashCode()
H A DPrintfRecord.java236 int hash = 17; in hashCode() local
237 hash = (37 * hash) + records.hashCode(); in hashCode()
238 hash = (37 * hash) + formattedString.hashCode(); in hashCode()
239 return hash; in hashCode()
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dmech_md5.c331 CK_BYTE hash[MD5_DIGEST_LENGTH]; in md5_hmac_sign() local
389 hash, &hash_len); in md5_hmac_sign()
399 k_ipad[i] = hash[i] ^ 0x36; in md5_hmac_sign()
400 k_opad[i] = hash[i] ^ 0x5C; in md5_hmac_sign()
441 hash_len = sizeof (hash); in md5_hmac_sign()
442 rc = digest_mgr_digest_final(sess, &digest_ctx, hash, &hash_len); in md5_hmac_sign()
464 rc = digest_mgr_digest_update(sess, &digest_ctx, hash, hash_len); in md5_hmac_sign()
470 hash_len = sizeof (hash); in md5_hmac_sign()
471 rc = digest_mgr_digest_final(sess, &digest_ctx, hash, &hash_len); in md5_hmac_sign()
477 (void) memcpy(out_data, hash, hmac_len); in md5_hmac_sign()
/illumos-gate/usr/src/grub/grub-0.97/docs/
H A Dhelp2man105 my $hash = \%include;
115 $hash = \%include;
133 $hash = \%append;
141 $hash->{$key} ||= '';
142 $hash->{$key} .= $_;
152 for my $hash (\(%include, %append))
154 for (keys %$hash) { $hash->{$_} =~ s/\n+$/\n/ }
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/dk/
H A Ddk_decrypt.c41 const struct krb5_hash_provider *hash,
53 const struct krb5_hash_provider *hash, in krb5_dk_decrypt() argument
58 return krb5_dk_decrypt_maybe_trunc_hmac(context, enc, hash, key, usage, in krb5_dk_decrypt()
66 const struct krb5_hash_provider *hash, in krb5int_aes_dk_decrypt() argument
71 return krb5_dk_decrypt_maybe_trunc_hmac(context, enc, hash, key, usage, in krb5int_aes_dk_decrypt()
79 const struct krb5_hash_provider *hash, in krb5_dk_decrypt_maybe_trunc_hmac() argument
106 hashsize = hash->hashsize; in krb5_dk_decrypt_maybe_trunc_hmac()
158 if ((ret = krb5_hmac(context, hash, derived_hmac_key, in krb5_dk_decrypt_maybe_trunc_hmac()
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/
H A Dhmac.c107 krb5_const struct krb5_hash_provider *hash, in krb5_hmac() argument
122 if (hash == NULL) { in krb5_hmac()
139 hashsize = hash->hashsize; in krb5_hmac()
140 blocksize = hash->blocksize; in krb5_hmac()
185 if ((ret = ((*(hash->hash))(context, icount+1, hashin, &hashout)))) in krb5_hmac()
205 if ((ret = ((*(hash->hash))(context, 2, hashin, output)))) in krb5_hmac()
/illumos-gate/usr/src/cmd/prstat/
H A Dprfile.c168 int hash = pid % FDS_TABLE_SIZE; in fds_get() local
170 for (fdsp = fds_tbl[hash]; fdsp; fdsp = fdsp->fds_next) in fds_get()
176 fdsp->fds_next = fds_tbl[hash]; in fds_get()
177 fds_tbl[hash] = fdsp; in fds_get()
186 int hash = pid % FDS_TABLE_SIZE; in fds_rm() local
188 for (fds = fds_tbl[hash]; fds && fds->fds_pid != pid; in fds_rm()
202 fds_tbl[hash] = fds->fds_next; in fds_rm()
/illumos-gate/usr/src/lib/lib9p/common/
H A Dhashtable.h98 void *ht_find(struct ht *h, uint32_t hash);
99 void *ht_find_locked(struct ht *h, uint32_t hash);
100 int ht_add(struct ht *h, uint32_t hash, void *value);
101 int ht_remove(struct ht *h, uint32_t hash);
102 int ht_remove_locked(struct ht *h, uint32_t hash);
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_aggregate.c472 if (hash->dtah_hash == NULL) { in dt_aggregate_snap_cpu()
481 bzero(hash->dtah_hash, size); in dt_aggregate_snap_cpu()
685 hash->dtah_hash[ndx] = h; in dt_aggregate_snap_cpu()
687 if (hash->dtah_all != NULL) in dt_aggregate_snap_cpu()
691 hash->dtah_all = h; in dt_aggregate_snap_cpu()
1218 assert(hash->dtah_all == h); in dt_aggwalk_rval()
2168 if (hash->dtah_hash == NULL) { in dt_aggregate_destroy()
2171 free(hash->dtah_hash); in dt_aggregate_destroy()
2188 hash->dtah_hash = NULL; in dt_aggregate_destroy()
2189 hash->dtah_all = NULL; in dt_aggregate_destroy()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/hash/
H A Dhashlib.h45 Hash_hash_f hash; /* name hash routine */ member
61 unsigned int hash; /* last lookup hash */
84 #define HASH(r,n,h) if (r->local->hash) h = r->namesize ? (*r->local->hash)(n, r->namesize) : (*r->…
/illumos-gate/usr/src/cmd/tsol/tnd/
H A Dtnd.c931 unsigned char hash; in rhtable_search_and_update() local
957 i, hash); in rhtable_search_and_update()
1009 i, hash); in rhtable_search_and_update()
1030 unsigned char hash; in rhtable_search_and_update_v6() local
1106 unsigned char hash; in rhtable_lookup() local
1117 i, hash); in rhtable_lookup()
1147 unsigned char hash; in rhtable_lookup_v6() local
1170 unsigned char hash; in add_cache_entry() local
1207 unsigned char hash; in lookup_cache_table() local
1223 unsigned char hash; in add_cache_entry_v6() local
[all …]
/illumos-gate/usr/src/common/mc/zen_umc/
H A Dzen_umc_decode.c334 uint8_t hash = 0; in zen_umc_decode_ileave_cod() local
339 hash ^= val; in zen_umc_decode_ileave_cod()
344 hash ^= val; in zen_umc_decode_ileave_cod()
349 hash ^= val; in zen_umc_decode_ileave_cod()
352 dec->dec_ilv_chan |= hash << i; in zen_umc_decode_ileave_cod()
401 uint8_t hash = 0; in zen_umc_decode_ileave_nps() local
406 hash ^= val; in zen_umc_decode_ileave_nps()
411 hash ^= val; in zen_umc_decode_ileave_nps()
416 hash ^= val; in zen_umc_decode_ileave_nps()
425 hash ^= val; in zen_umc_decode_ileave_nps()
[all …]
/illumos-gate/usr/src/cmd/make/bin/
H A Dimplicit.cc172 (int) target_body->hash.length); in find_suffix_rule()
187 suffix.suffix->hash.length); in find_suffix_rule()
189 suffix.suffix->hash.length] = in find_suffix_rule()
230 tmpbuf = getmem(source->hash.length + 8); in find_suffix_rule()
532 suffix_length = suffix->name->hash.length; in find_ar_suffix_rule()
545 (int)(true_target->hash.length - in find_ar_suffix_rule()
734 (int) target_suffix->hash.length); in build_suffix_list()
743 hash.length + in build_suffix_list()
744 target_suffix->hash.length), in build_suffix_list()
1210 prefix_length = prefix->hash.length; in match_found_with_pattern()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dcallout.c84 callout_hash_t *hashp = &(hash); \
97 callout_hash_t *hashp = &(hash); \
110 callout_hash_t *hashp = &(hash); \
167 #define CALLOUT_LIST_INSERT(hash, cl) \ argument
755 int hash; in callout_heap_delete() local
772 hash = CALLOUT_CLHASH(expiration); in callout_heap_delete()
865 int i, hash, clflags; in callout_heap_process() local
989 int hash, clflags; in timeout_generic() local
1102 hash = CALLOUT_CLHASH(expiration); in timeout_generic()
1285 int hash, flags; in untimeout_generic() local
[all …]
/illumos-gate/usr/src/cmd/svc/common/
H A Dmanifest_hash.c171 szret = scf_value_get_opaque(val, hash, MHASH_SIZE); in mhash_retrieve_entry()
182 (void) memset(hash + MHASH_SIZE_OLD, 0, in mhash_retrieve_entry()
380 ret = scf_value_set_opaque(val, hash, MHASH_SIZE); in mhash_store_entry()
532 md5_hash_file(const char *file, off64_t sz, uchar_t *hash) in md5_hash_file() argument
555 md5_calc(hash, (uchar_t *)buf, (unsigned int) sz); in md5_hash_file()
601 uchar_t hash[MHASH_SIZE]; in mhash_test_file() local
698 (void) memset(hash, 0, MHASH_SIZE); in mhash_test_file()
699 md5_calc(hash, (uchar_t *)data, strlen(data)); in mhash_test_file()
753 (void) mhash_store_entry(hndl, pname, file, hash, in mhash_test_file()
785 (void) mhash_store_entry(hndl, pname, file, hash, in mhash_test_file()
[all …]
H A Dmanifest_find.c85 add_pointer(mftsd_t *tsdp, const char *fn, const char *pname, uchar_t *hash) in add_pointer() argument
115 if (hash != NULL) in add_pointer()
116 (void) memcpy(info->mi_hash, hash, MHASH_SIZE); in add_pointer()
188 uchar_t hash[MHASH_SIZE]; in process() local
212 hash) == MHASH_NEWFILE) { in process()
213 return (add_pointer(tsdp, fn, pname, hash)); in process()
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/arcfour/
H A Dk5_arcfour.c21 krb5_arcfour_encrypt_length(enc, hash, inputlen, length) in krb5_arcfour_encrypt_length() argument
23 const struct krb5_hash_provider *hash;
30 hashsize = hash->hashsize;
75 const struct krb5_hash_provider *hash;
91 hashsize = hash->hashsize;
200 ret = krb5_hmac(context, hash, key, 1, &salt, &d1);
243 ret = krb5_hmac(context, hash, &k1, 1, &checksum, &d3);
272 const struct krb5_hash_provider *hash;
286 hashsize = hash->hashsize;
390 ret=krb5_hmac(context, hash, key, 1, &salt, &d1);
[all …]
/illumos-gate/usr/src/common/ficl/
H A Ddictionary.c357 word->hash = ficlHashCode(name); in ficlDictionaryAppendWord()
485 ficlHash *hash; in ficlDictionaryCreateWordlist() local
492 hash->size = bucketCount; in ficlDictionaryCreateWordlist()
493 ficlHashReset(hash); in ficlDictionaryCreateWordlist()
494 return (hash); in ficlDictionaryCreateWordlist()
516 ficlHash *hash; in ficlDictionaryEmpty() local
525 hash->size = bucketCount; in ficlDictionaryEmpty()
526 ficlHashReset(hash); in ficlDictionaryEmpty()
528 dictionary->forthWordlist = hash; in ficlDictionaryEmpty()
618 ficlHash *hash; in ficlDictionaryLookup() local
[all …]
H A Dtools.c142 ficlWord **hash; in ficlPrimitiveHashSummary() local
156 hash = pFHash->table; in ficlPrimitiveHashSummary()
162 word = hash[i]; in ficlPrimitiveHashSummary()
681 ficlHash *hash; in ficlPrimitiveForgetWid() local
684 ficlHashForget(hash, dictionary->here); in ficlPrimitiveForgetWid()
708 ficlHashForget(hash, where); in ficlPrimitiveForget()
719 ficlHash *hash, char *ss) in ficlPrimitiveWordsBackend() argument
749 for (i = 0; i < hash->size; i++) { in ficlPrimitiveWordsBackend()
759 hash->name ? hash->name : "<unknown>"); in ficlPrimitiveWordsBackend()
850 for (i = 0; i < hash->size; i++) { in ficlPrimitiveListEnv()
[all …]
/illumos-gate/usr/src/uts/common/fs/tmpfs/
H A Dtmp_dir.c72 hash = (hash << 4) + hash + (uint_t)Xc; \
90 uint_t hash; in tmpfs_hash_in() local
95 t->td_hash = hash; in tmpfs_hash_in()
110 uint_t hash; in tmpfs_hash_out() local
114 hash = t->td_hash; in tmpfs_hash_out()
132 uint_t hash; in tmpfs_hash_change() local
135 hash = tdp->td_hash; in tmpfs_hash_change()
147 uint_t hash; in tmpfs_hash_lookup() local
151 TMPFS_HASH(parent, name, hash); in tmpfs_hash_lookup()
154 l = t_hashtable[T_HASH_INDEX(hash)]; in tmpfs_hash_lookup()
[all …]
/illumos-gate/usr/src/cmd/keyserv/
H A Dsetkey.c1165 int hash;
1186 int hash;
1287 int hash; local
1346 int hash = 0; in hash_keys3() local
1355 hash ^= *pub; in hash_keys3()
1356 hash ^= *sec; in hash_keys3()
1650 int hash; local
1672 hash)) {
1829 int hash = 0; local
1832 hash ^= *pub;
[all …]
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dplace.c727 os_desc_hash_t *hash; in os_desc_hash() local
734 if ((hash = sgp->sg_hashtab) != NULL && hash->osh_hashtab != NULL) { in os_desc_hash()
735 if (nitems < hash->osh_size) { in os_desc_hash()
742 hash->osh_hashtab[idx] = osp; in os_desc_hash()
751 libld_free(hash->osh_hashtab); in os_desc_hash()
766 if (hash == NULL) { in os_desc_hash()
774 if ((hash->osh_hashtab = in os_desc_hash()
782 hash->osh_size = new_size; in os_desc_hash()
787 hash->osh_hashtab[idx] = osp; in os_desc_hash()
823 os_desc_hash_t *hash; in ld_place_section() local
[all …]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dndbm.c240 unsigned long hash; in dbm_forder() local
242 hash = dcalchash(key); in dbm_forder()
414 if ((hash&bit) == 0) in dbm_hashinc()
415 return (hash|bit); in dbm_hashinc()
416 hash &= ~bit; in dbm_hashinc()
431 dbm_access(db, hash); in dbm_firsthash()
448 hash = dbm_hashinc(db, hash); in dbm_firsthash()
449 if (hash == 0) in dbm_firsthash()
546 unsigned long hash; in dbm_do_nextkey() local
708 hash = dbm_hashinc(db, hash); in dbm_do_nextkey()
[all …]

12345678910>>...19