/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | parse.c | 47 #define hash nvlink.hl._hash macro 1922 sfprintf(lexp->kiafile,"%..64d;%c;%.*s;%d;%d;%..64d;%..64d;%c;%d;%s\n",np->hash,type,len,name,first,last,parent,lexp->fscript,pkind,width,attr); 1924 sfprintf(lexp->kiafile,"%..64d;%c;%s;%d;%d;%..64d;%..64d;%c;%d;%s\n",np->hash,type,name,first,last,parent,lexp->fscript,pkind,width,attr); 1926 return(np->hash);
|
/illumos-gate/usr/src/cmd/ypcmd/mknetid/ |
H A D | mknetid.c | 380 hash(str, size) function 412 val = hash((unsigned char *) name, PRNTABSIZE); 438 val = hash((unsigned char *) user, GRPTABSIZE); 476 val = hash((unsigned char *) user, GRPTABSIZE);
|
/illumos-gate/usr/src/common/lzma/ |
H A D | LzFind.h | 23 CLzRef *hash; member in struct:_CMatchFinder
|
/illumos-gate/usr/src/cmd/mailx/ |
H A D | cmd2.c | 624 h = hash(field); 701 h = hash(field); 735 h = hash(field); 819 h = hash(field);
|
/illumos-gate/usr/src/cmd/sgs/crle/common/ |
H A D | print.c | 224 Word *hash, *chain; local 769 * If there's no hash table there's nothing else to process. 960 * If we've in verbose mode scan the hash list. 963 hash = (Word *)(CAST_PTRINT(char *, head->ch_hash) + addr); 964 bkts = hash[0]; 965 chain = &hash[2 + bkts]; 966 hash += 2; 971 * Scan the hash buckets looking for valid entries. 973 for (ndx = 0; ndx < bkts; ndx++, hash++) { 979 if (*hash [all...] |
/illumos-gate/usr/src/cmd/sgs/elfdump/common/ |
H A D | fake_shdr.c | 600 * Read the hash nbucket/nchain values from the start of the hash 604 * values, *total contains the number of elements in the hash table, 1095 SINFO hash; member in struct:__anon1431 1219 sec.hash.type = SINFO_T_HASH; 1220 sec.hash.vaddr = dyn->d_un.d_ptr; 1371 * fan out: Disqualifying the .dynsym will disqualify the hash 1389 * The length of the hash section is encoded in its first two 1394 * If we don't have a hash table, or cannot read nbuckets and 1397 if (sec.hash [all...] |
/illumos-gate/usr/src/cmd/sgs/mcs/common/ |
H A D | utils.c | 410 int hash; local 475 hash = dohash(pos + strings); 477 if (hash != hash_key[i]) 498 hash_key[hash_num] = hash;
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | cache_a.out.c | 46 static int hash(); 99 * Search appropriate hash bucket for a matching entry. 101 index = hash(libname, liblen, major); 170 int index; /* the hash value */ 246 index = hash(cp, cplen, m); 427 * Calculate hash index for link object. 431 hash(np, nchrs, m) function 433 int nchrs; /* no of chrs. to hash on */
|
/illumos-gate/usr/src/cmd/spell/ |
H A D | hashlook.c | 34 #include "hash.h" 61 h = hash(s);
|
/illumos-gate/usr/src/lib/libast/common/cdt/ |
H A D | dtdisc.c | 117 if(!(type&DT_SAMEHASH)) /* new hash value */ 120 r->hash = _DTHSH(dt,k,disc,disc->size);
|
H A D | dtmethod.c | 99 list->hash = _DTHSH(dt,key,disc,disc->size);
|
/illumos-gate/usr/src/cmd/mdb/common/modules/mdb_ks/ |
H A D | mdb_ks.c | 101 static ncache_t **dnlc_hash; /* mdbs hash array of dnlc entries */ 109 static uintptr_t mdb_page_hash; /* base address of page hash */ 186 int i; /* hash index */ 189 int nc_hashsz; /* kernel hash array size */ 190 uintptr_t nc_hash_addr; /* kernel va of ncache hash array */ 191 uintptr_t head; /* kernel va of head of hash chain */ 234 * Allocate the mdb dnlc hash array 238 /* for each kernel hash chain */ 241 nc_hash_t nch; /* kernel hash chain header */ 243 int hash; /* md local 555 int pid_hashsz, hash; local 973 int hash = 0; local [all...] |
/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | syms.c | 45 * The primary key is the symbol name hash with a secondary key of the symbol 116 * name, we're not going to be able to hash this, search for it, or 287 * hash value is specified it is calculated. A pointer to the located 291 ld_sym_find(const char *name, Word hash, avl_index_t *where, Ofl_desc *ofl) argument 295 if (hash == SYM_NOHASH) 297 hash = (Word)elf_hash((const char *)name); 298 qsav.sav_hash = hash; 327 ld_sym_enter(const char *name, Sym *osym, Word hash, Ifl_desc *ifl, argument 365 savl->sav_hash = sap->sa_hash = hash; 641 Word hash; local 976 sym_cap_vis(const char *name, Word hash, Sym *sym, Ofl_desc *ofl) argument 1941 Word ndx, hash, local, total; local 3023 Word hash; local [all...] |
/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | dir.c | 382 for (p = srcfiletable[hash(compath(file)) % HASHMOD]; 407 i = hash(p->file) % HASHMOD;
|
/illumos-gate/usr/src/tools/ctf/cvt/ |
H A D | st_parse.c | 461 * Check if we have this node in the hash table already 920 * find the tdesc struct in the hash table for this type 924 if (tdp == NULL) { /* not in hash list */ 1054 lookup_name(tdesc_t **hash, const char *name) argument 1059 for (tdp = hash[bucket]; tdp != NULL; tdp = tdp->t_next) { 1078 * Add a node to the hash queues. 1083 int hash = HASH(num); local 1088 * If it already exists in the hash table don't add it again 1095 tdp->t_hash = hash_table[hash]; 1096 hash_table[hash] [all...] |
/illumos-gate/usr/src/uts/common/io/scsi/adapters/mpt_sas/ |
H A D | mptsas_hash.c | 37 refhash_create(uint_t bucket_count, refhash_hash_f hash, argument 64 hp->rh_hash = hash;
|
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_util.c | 897 uint64_t hash = 0; local 915 /* compute L2 hash */ 922 hash = PKT_HASH_MAC(mac_src) ^ PKT_HASH_MAC(mac_dst); 964 /* compute IP src/dst addresses hash and skip IPv{4,6} header */ 989 * the frag_id to generate the hash inorder to get 996 hash ^= (PKT_HASH_4BYTES(ip_src) ^ 1003 hash ^= PKT_HASH_2BYTES(identp); 1031 * the frag_id to generate the hash inorder to get 1038 hash ^= (PKT_HASH_4BYTES(ip_src) ^ 1045 hash [all...] |
/illumos-gate/usr/src/cmd/make/lib/mksh/ |
H A D | macro.cc | 144 (int) value->hash.length 161 sourceb.string.text.p + value->hash.length; 1035 (int) chain->name->hash.length); 1131 (int) val->hash.length); 1143 (int) value->hash.length); 1184 (int) value->hash.length); 1193 (int) macro_apx->body.macro_appendix.value_to_append->hash.length); 1216 (value->hash.length > 0)) {
|
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | zap_impl.h | 131 uint64_t zap_salt; /* salt to stir into hash function */ 209 #define ZAP_HASH_IDX(hash, n) (((n) == 0) ? 0 : ((hash) >> (64 - (n))))
|
/illumos-gate/usr/src/lib/libsqlite/ |
H A D | main.mk | 60 expr.o func.o hash.o insert.o \ 80 $(TOP)/src/hash.c \ 81 $(TOP)/src/hash.h \ 128 $(TOP)/src/hash.h \ 297 hash.o: $(TOP)/src/hash.c $(HDR) 298 $(TCCX) -c $(TOP)/src/hash.c
|
/illumos-gate/usr/src/cmd/awk/ |
H A D | tran.c | 229 h = hash(s, tp->size); 269 h = hash(n, tp->size); 278 hash(uchar *s, int n) /* form hash value for string s */ function 300 nh = hash(cp->nval, nsz); 316 h = hash(s, tp->size);
|
/illumos-gate/usr/src/cmd/isns/isnsd/ |
H A D | htable.c | 52 * tab - the hash table. 85 * tab - the hash table. 269 * tab - the hash table. 379 * tab - the hash table. 448 * tab - the hash table. 450 * hval - the hash value of the new node. 526 * enlarge the hash table when it gets too full. 528 * tab - the hash table. 551 /* re-hash all items to the new table */ 590 * some generic initialization for the hash tabl 669 uint32_t hash = 5381; local [all...] |
/illumos-gate/usr/src/uts/common/inet/ilb/ |
H A D | ilb_nat.c | 49 #define ILB_NAT_SRC_HASH(hash, key1, key2, hash_size) \ 51 CRC32((hash), (key1), sizeof (uint32_t), -1U, crc32_table); \ 52 CRC32((hash), (key2), sizeof (uint32_t), (hash), crc32_table); \ 53 (hash) %= (hash_size); \
|
/illumos-gate/usr/src/uts/common/avs/ns/nsctl/ |
H A D | nsc_gen.c | 827 * Calculate a simple hash for the specified string 830 * Returns a simple hash of the NULL terminated string, str. 837 uint64_t hash = (uint64_t)0; local 840 return (hash); 843 hash <<= 1; 844 hash += (uint64_t)*str; 848 return (hash);
|
/illumos-gate/usr/src/cmd/fm/fminject/common/ |
H A D | inj_defn.c | 71 inj_hash_t *hash = item2hash(inj_mem2item(type)); local 74 if ((v = inj_strhash_lookup(hash, name)) == NULL) 796 inj_hash_t *hash = item2hash(type); local 824 if ((v = inj_strhash_lookup(hash, name)) != NULL) { 833 (void) inj_strhash_insert(hash, name, (uintptr_t)defn);
|