/illumos-gate/usr/src/tools/protocmp/ |
H A D | list.h | 149 extern unsigned int hash(const char *str);
|
/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | dwarf_xu_index.c | 771 Dwarf_Sig8 hash; in _dwarf_search_fission_for_offset() local 776 res = dwarf_get_xu_hash_entry(xuhdr,m,&hash,&indexn,error); in _dwarf_search_fission_for_offset() 781 !memcmp(&hash,&zerohashkey,sizeof(Dwarf_Sig8))) { in _dwarf_search_fission_for_offset() 795 *key_out = hash; in _dwarf_search_fission_for_offset()
|
/illumos-gate/usr/src/tools/scripts/ |
H A D | validate_pkg.py | 317 self.hash = action.hash 389 self.hash = self.path 645 path = action.hash
|
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | ef10_filter.c | 554 uint32_t hash; in ef10_filter_add_internal() local 569 hash = ef10_filter_hash(spec); in ef10_filter_add_internal() 588 i = (hash + depth) & (EFX_EF10_FILTER_TBL_ROWS - 1); in ef10_filter_add_internal() 832 unsigned int hash; in ef10_filter_delete() local 841 hash = ef10_filter_hash(spec); in ef10_filter_delete() 848 i = (hash + depth) & (EFX_EF10_FILTER_TBL_ROWS - 1); in ef10_filter_delete()
|
/illumos-gate/usr/src/cmd/make/bin/ |
H A D | read2.cc | 668 if (target->hash.length != 0) in enter_dependencies() 697 namep = ALLOC_WC((int) (target->hash.length + 10)); in enter_dependencies() 977 result->patterns[pattern] = GETNAME(cp, (int) target->hash.length - (cp - wcb.get_string())); in enter_percent() 1028 … depe->patterns[pattern] = GETNAME(cp, (int) depe->name->hash.length - (cp - wcb1.get_string())); in enter_percent() 1524 if (wcb[np->hash.length - 1] == in read_suffixes_list() 1527 (int)(np->hash.length - 1)); in read_suffixes_list() 1825 command.text.p = wcb1.get_string() + (*value)->hash.length; in sh_transform()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/smbsrv/ |
H A D | smbsrv.c | 1965 smb_hash_t hash; in smb_hash_walk_init() local 1977 if (mdb_vread(&hash, sizeof (hash), addr) == -1) { in smb_hash_walk_init() 1982 for (i = 0; i < hash.num_buckets; i++) { in smb_hash_walk_init() 1983 wsp->walk_addr = (uintptr_t)hash.buckets + in smb_hash_walk_init() 2052 smb_hash_t hash; in smb_hashstat_walk_init() local 2066 if (mdb_vread(&hash, sizeof (hash), addr) == -1) { in smb_hashstat_walk_init() 2071 arr_sz = hash.num_buckets * sizeof (smb_bucket_t); in smb_hashstat_walk_init() 2073 if (mdb_vread(buckets, arr_sz, (uintptr_t)hash.buckets) == -1) { in smb_hashstat_walk_init() 2075 hash.buckets); in smb_hashstat_walk_init() 2081 wd->end = buckets + hash.num_buckets; in smb_hashstat_walk_init() [all …]
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_asru.c | 936 fmd_asru_link_t **hash, size_t match_offset, size_t next_offset) in fmd_asru_do_hash_apply() argument 946 for (alp = hash[h]; alp != NULL; alp = in fmd_asru_do_hash_apply() 956 for (alp = hash[h]; alp != NULL; alp = in fmd_asru_do_hash_apply() 1104 fmd_asru_link_t **hash, size_t next_offset, char *name) in fmd_asru_do_delete_entry() argument 1111 pp = &hash[h]; in fmd_asru_do_delete_entry() 1127 fmd_case_t *cp, fmd_asru_link_t **hash, size_t next_offset, char *nvname) in fmd_asru_do_hash_delete() argument 1137 fmd_asru_do_delete_entry(ahp, cp, hash, next_offset, in fmd_asru_do_hash_delete() 1141 fmd_asru_do_delete_entry(ahp, cp, hash, next_offset, ""); in fmd_asru_do_hash_delete()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/include/ |
H A D | db.h | 142 (*hash) __P((const void *, size_t));
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | dacf.c | 313 mod_hash_t *hash; in dacf_rule_insert() local 329 hash = dacf_get_op_hash(opid, devspec_type); in dacf_rule_insert() 330 if (hash == NULL) { in dacf_rule_insert() 343 if (mod_hash_insert(hash, (mod_hash_key_t)rule->r_devspec_data, in dacf_rule_insert()
|
/illumos-gate/usr/src/cmd/refer/ |
H A D | hunt2.c | 26 extern int hash(); 76 hh[i] = hash(qitem[i])%nhash; in doquery()
|
/illumos-gate/usr/src/common/ctf/ |
H A D | ctf_create.c | 67 ctf_dtdef_t **hash = ctf_alloc(hashlen * sizeof (ctf_dtdef_t *)); in ctf_create() local 71 if (hash == NULL) in ctf_create() 83 ctf_free(hash, hashlen * sizeof (ctf_dtdef_t *)); in ctf_create() 89 bzero(hash, hashlen * sizeof (ctf_dtdef_t *)); in ctf_create() 90 fp->ctf_dthash = hash; in ctf_create() 105 ctf_dtdef_t **hash; in ctf_fdcreate() local 111 hash = ctf_alloc(hashlen * sizeof (ctf_dtdef_t *)); in ctf_fdcreate() 113 if (hash == NULL) in ctf_fdcreate() 125 ctf_free(hash, hashlen * sizeof (ctf_dtdef_t *)); in ctf_fdcreate() 131 bzero(hash, hashlen * sizeof (ctf_dtdef_t *)); in ctf_fdcreate() [all …]
|
/illumos-gate/usr/src/lib/librsm/common/ |
H A D | rsmlib.c | 398 int hash; in _rsm_insert_pollfd_table() local 401 hash = RSM_POLLFD_HASH(segfd); in _rsm_insert_pollfd_table() 405 chunk = pollfd_table.buckets[hash]; in _rsm_insert_pollfd_table() 426 chunk->next = pollfd_table.buckets[hash]; in _rsm_insert_pollfd_table() 427 pollfd_table.buckets[hash] = chunk; in _rsm_insert_pollfd_table() 430 chunk, hash, segfd, segrnum)); in _rsm_insert_pollfd_table() 442 hash, segfd, segrnum, chunk)); in _rsm_insert_pollfd_table() 499 int hash; in _rsm_remove_pollfd_table() local 506 hash = RSM_POLLFD_HASH(segfd); in _rsm_remove_pollfd_table() 510 prev_chunk = chunk = pollfd_table.buckets[hash]; in _rsm_remove_pollfd_table() [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/lua/ |
H A D | ltable.c | 53 #define hashstr(t,str) hashpow2(t, (str)->tsv.hash) 104 s->tsv.hash = luaS_hash(getstr(s), s->tsv.len, s->tsv.hash); in mainposition()
|
H A D | lstate.c | 227 luaM_freearray(L, G(L)->strt.hash, G(L)->strt.size); in close_state() 288 g->strt.hash = NULL; in lua_newstate()
|
/illumos-gate/usr/src/lib/libkvm/common/ |
H A D | kvm.c | 311 long hash = DUMP_HASH(&kd->kvm_dump, as, page); in kvm_lookup() local 312 off = kd->kvm_map[hash].dm_first; in kvm_lookup() 321 hash) { in kvm_lookup()
|
/illumos-gate/usr/src/cmd/spell/ |
H A D | hashlook.c | 59 h = hash(s); in hashlook()
|
/illumos-gate/usr/src/common/ficl/ |
H A D | ficl.h | 1206 ficlUnsigned16 hash; member 1329 FICL_PLATFORM_EXTERN void ficlHashForget(ficlHash *hash, void *where); 1331 FICL_PLATFORM_EXTERN void ficlHashInsertWord(ficlHash *hash, ficlWord *word); 1333 ficlHashLookup(ficlHash *hash, ficlString name, ficlUnsigned16 hashCode); 1334 FICL_PLATFORM_EXTERN void ficlHashReset(ficlHash *hash);
|
/illumos-gate/usr/src/cmd/awk_xpg4/ |
H A D | awk3.c | 446 register ushort_t hash; in vlookup() local 449 np = symtab[hashbuck(hash = dohash((wchar_t *)name))]; in vlookup() 451 if (np->n_hash == hash && wcscmp(name, np->n_name) == 0) in vlookup() 458 np = emptynode(VAR, hash = wcslen(name)); in vlookup() 463 (hash+1) * sizeof (wchar_t)); in vlookup() 537 register int hash = 0; in dohash() local 540 hash += *name++; in dohash() 541 return (hash); in dohash()
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | example.c | 737 struct storage_hash *hash; in get_generic_operand() local 767 hash = find_pseudo_storage(state, pseudo, NULL); in get_generic_operand() 768 if (!hash) in get_generic_operand() 770 src = hash->storage; in get_generic_operand() 1583 struct storage_hash *hash; in final_pseudo_flush() local 1591 hash = find_storage_hash(pseudo, state->outputs); in final_pseudo_flush() 1592 if (!hash) in final_pseudo_flush() 1594 out = hash->storage; in final_pseudo_flush()
|
/illumos-gate/usr/src/cmd/abi/appcert/scripts/ |
H A D | AppcertUtil.pm | 472 my (%hash, $key); 474 %hash = all_ldd_neededs($filename); 475 foreach $key (keys(%hash)) { 476 $str .= "$key $hash{$key}\n";
|
/illumos-gate/usr/src/cmd/vtfontcvt/ |
H A D | vtfontcvt.c | 270 int hash; in add_glyph() local 275 hash = fnv_32_buf(bytes, wbytes * height, FNV1_32_INIT) % FONTCVT_NHASH; in add_glyph() 276 SLIST_FOREACH(gl, &glyph_hash[hash], g_hash) { in add_glyph() 290 SLIST_INSERT_HEAD(&glyph_hash[hash], gl, g_hash); in add_glyph()
|
/illumos-gate/usr/src/lib/libinetsvc/common/ |
H A D | inetsvc.c | 1332 calculate_hash(const char *pathname, char **hash) in calculate_hash() argument 1379 *hash = digest; in calculate_hash() 1391 retrieve_inetd_hash(char **hash) in retrieve_inetd_hash() argument 1411 *hash = s; in retrieve_inetd_hash() 1422 store_inetd_hash(const char *hash) in store_inetd_hash() argument 1467 if (scf_value_set_astring(val, hash) == -1 || in store_inetd_hash()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/ |
H A D | Mamfile | 627 make hash/memsum.c 629 done hash/memsum.c 631 prev hash/memsum.c 643 make hash/strkey.c 647 done hash/strkey.c 649 prev hash/strkey.c 653 make hash/strsum.c 655 done hash/strsum.c 6199 make man/hash.3 6200 done man/hash.3 [all …]
|
/illumos-gate/usr/src/common/lzma/ |
H A D | LzFind.h | 23 CLzRef *hash; member
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | ftp.c | 893 if (hash) { in sendrequest() 901 if (hash && bytes > 0) { in sendrequest() 923 while (hash && (bytes >= hashbytes)) { in sendrequest() 944 if (hash && bytes > 0) { in sendrequest() 1244 if (hash) { in recvrequest() 1252 if (hash && bytes > 0) { in recvrequest() 1300 while (hash && (bytes >= hashbytes)) { in recvrequest() 1327 if (hash && bytes > 0) { in recvrequest()
|