/illumos-gate/usr/src/cmd/refer/ |
H A D | inv6.c | 21 whash(FILE *ft, FILE *fa, FILE *fb, int nhash, int iflong, in whash() argument 36 hpt = (long *)calloc(nhash+1, sizeof (*hpt)); in whash() 38 hfreq = (int *)calloc(nhash, sizeof (*hfreq)); in whash() 69 while (hash < nhash) in whash() 71 fwrite(&nhash, sizeof (nhash), 1, fa); in whash() 73 fwrite(hpt, sizeof (*hpt), nhash, fa); in whash() 74 fwrite(hfreq, sizeof (*hfreq), nhash, fa); in whash()
|
H A D | glue1.c | 65 static int nhash = 0; in huntmain() local 161 fread(&nhash, sizeof (nhash), 1, fa); in huntmain() 163 if (nhash > maxhash) { in huntmain() 170 maxhash = nhash; in huntmain() 177 hpt = (long *)zalloc(nhash, sizeof (*hpt)); in huntmain() 189 nhash); in huntmain() 190 fread(hpt, sizeof (*hpt), nhash, fa); in huntmain() 192 hfreq = (int *)zalloc(nhash, sizeof (*hfreq)); in huntmain() 200 nhash); in huntmain() 201 frtbl = fread(hfreq, sizeof (*hfreq), nhash, fa); in huntmain() [all …]
|
H A D | hunt1.c | 65 int falseflg, nhash, nitem, nfound, frtbl, kk; in main() local 175 fread(&nhash, sizeof (nhash), 1, fa); in main() 180 hpt = (long *)calloc(nhash, sizeof (*hpt)); in main() 181 kk = fread(hpt, sizeof (*hpt), nhash, fa); in main() 184 kk, iflong, nhash); in main() 186 assert(kk == nhash); in main() 187 hfreq = (int *)calloc(nhash, sizeof (*hfreq)); in main() 189 frtbl = fread(hfreq, sizeof (*hfreq), nhash, fa); in main() 190 hfrflg = (frtbl == nhash); in main() 203 nfound = doquery(hpt, nhash, fb, nitem, qitem, master); in main()
|
H A D | inv1.c | 41 int nhash = 256; in main() local 64 nhash = atoi(argv[1]+2); in main() 118 nhash = recopy(ftb, fb, fopen(nma, "r")); in main() 126 docs = newkeys(fta, stdin, fc, nhash, fd, &iflong); in main() 150 whash(fta, fa, fb, nhash, iflong, &keys, &hashes); in main()
|
H A D | inv2.c | 22 newkeys(FILE *outf, FILE *inf, FILE *recf, int nhash, FILE *fd, int *iflong) in newkeys() argument 69 fprintf(outf, "%04d %06ld\n", hash(keyv[i])%nhash, lp); in newkeys() 73 keyv[i], hash(keyv[i])%nhash); in newkeys() 87 hash(key)%nhash, lp); in newkeys()
|
H A D | inv5.c | 21 recopy(FILE *ft, FILE *fb, FILE *fa, int nhash) in recopy() argument 44 if (n != nhash) in recopy()
|
H A D | hunt2.c | 35 doquery(long *hpt, int nhash, FILE *fb, int nitem, in doquery() argument 76 hh[i] = hash(qitem[i])%nhash; in doquery() 82 fprintf(stderr, "past that loop nhash %d hpt is %lo\n", nhash, hpt); in doquery()
|
/illumos-gate/usr/src/cmd/troff/ |
H A D | n4.c | 56 struct numtab *nhash[128]; /* 128 == the 0177 on line above */ variable 230 nhash[i] = 0; in nrehash() 237 p->link = nhash[i]; in nrehash() 238 nhash[i] = p; in nrehash() 253 lp = &nhash[NHASH(rp->r)]; 276 for (p = nhash[h]; p; p = p->link) 282 p->link = nhash[h]; 283 nhash[h] = p; 303 for (p = nhash[NHASH(i)]; p; p = p->link)
|
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | doupdate.c | 82 static unsigned int *nhash = NULL; variable 84 static unsigned long *nhash = NULL; variable 149 new = malloc(lines * sizeof (*nhash)); in __m_doupdate_init() 152 if (nhash != NULL) in __m_doupdate_init() 153 free(nhash); in __m_doupdate_init() 155 nhash = (unsigned int *) new; in __m_doupdate_init() 157 nhash = (unsigned long *) new; in __m_doupdate_init() 828 if (ohash[or] != nhash[nr]) { in cost() 943 __m_cc_hash(newscr, nhash, i); in complex() 949 nhash[i] = __m_screen->_hash[i]; in complex() [all …]
|
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | doupdate.c | 86 static unsigned long *nhash = (unsigned long *) 0; variable 149 new = m_malloc(lines * sizeof *nhash); in __m_doupdate_init() 152 if (nhash != (unsigned long *) 0) in __m_doupdate_init() 153 free(nhash); in __m_doupdate_init() 154 nhash = (unsigned long *) new; in __m_doupdate_init() 693 if (ohash[or] != nhash[nr] 814 __m_cc_hash(newscr, nhash, i); in complex() 820 nhash[i] = __m_screen->_hash[i]; in complex() 857 __m_screen->_hash[i] = nhash[i]; in complex() 887 __m_cc_hash(newscr, nhash, row); in simple()
|
/illumos-gate/usr/src/lib/libpkg/ |
H A D | Makefile.com | 39 mappath.o ncgrpw.o nhash.o \
|
/illumos-gate/usr/src/uts/common/io/cxgbe/firmware/ |
H A D | t4fw_cfg.txt | 376 nhash = 12288 # number of hash region entries 400 nhash = 2048 421 nhash = 2048
|
H A D | t5fw_cfg.txt | 417 nhash = 12288 # number of hash region entries 442 nhash = 2048 464 nhash = 2048
|
H A D | t6fw_cfg.txt | 431 nhash = 12288 # number of hash region entries 459 nhash = 2048 482 nhash = 2048
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | if.c | 102 static uint_t nhash(const void *, size_t); 133 NULL, nhash, offsetof(struct interface, int_nhash), 156 nhash(const void *arg, size_t voffs) in nhash() function
|
/illumos-gate/usr/src/cmd/sgs/elfdump/common/ |
H A D | elfdump.c | 4020 ulong_t nbkt, nhash; in hash_entry() local 4046 nhash = elf_hash(symname); in hash_entry() 4047 nbkt = nhash % bkts; in hash_entry()
|