/illumos-gate/usr/src/cmd/spell/ |
H A D | hashlook.c | 36 int hindex[NI]; variable 61 wp = &table[hindex[t]]; in hashlook() 62 tp = &table[hindex[t+1]]; in hashlook() 120 if (rhuff(f) == 0 || read(fileno(f), (char *)hindex, in prime() 121 NI * sizeof (*hindex)) != NI * sizeof (*hindex) || in prime() 122 (table = (unsigned *)malloc(hindex[NI-1] * sizeof (*table))) == 0 || in prime() 123 read(fileno(f), (char *)table, sizeof (*table) * hindex[NI-1]) != in prime() 124 hindex[NI-1] * sizeof (*table)) in prime() 134 fread((char *)hindex, sizeof (*hindex), NI, f) != NI || in prime() 136 fread((char *)table, sizeof (*table), hindex[NI-1], f) != in prime() [all …]
|
H A D | hashcheck.c | 39 int hindex[NI]; variable 88 (void) fread((char *)hindex, sizeof (*hindex), NI, stdin); in main() 89 table = (unsigned *)malloc(hindex[NI-1]*sizeof (*table)); in main() 90 (void) fread((char *)table, sizeof (*table), hindex[NI-1], stdin); in main() 94 for (wp = hindex[i]; wp < hindex[i+1]; ) { in main() 95 if (wp == hindex[i] && bp == U) in main() 102 if (wp > hindex[i+1] || in main() 103 wp == hindex[i+1] && bp < U) in main()
|
H A D | spellin.c | 43 int hindex[NI]; variable 118 hindex[++u] = wp; in main() 147 hindex[u] = wp; in main() 149 (void) fwrite((char *)hindex, sizeof (*hindex), NI, stdout); in main() 157 (BYTE * ((float)wp * sizeof (*table) + sizeof (hindex)) / count)); in main()
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_addr.c | 113 uint_t hindex; in sctp_ipif_inactive() local 135 sctps->sctps_g_ipifs[hindex].ipif_count--; in sctp_ipif_inactive() 180 int hindex; in sctp_lookup_ipif_addr() local 460 int hindex; in sctp_ipif_hash_insert() local 499 sctp->sctp_saddrs[hindex].ipif_count++; in sctp_ipif_hash_insert() 528 int hindex; in sctp_ipif_hash_remove() local 540 sctp->sctp_saddrs[hindex].ipif_count--; in sctp_ipif_hash_remove() 836 uint_t hindex; in sctp_move_ipif() local 1014 int hindex; in sctp_update_ipif_addr() local 1148 uint_t hindex; in sctp_update_ipif() local [all …]
|
/illumos-gate/usr/src/lib/libsip/common/ |
H A D | sip_hash.c | 50 sip_hash_add(sip_hash_t *sip_hash, void *obj, int hindex) in sip_hash_add() argument 63 hash_entry = &sip_hash[hindex]; in sip_hash_add() 85 sip_hash_find(sip_hash_t *sip_hash, void *digest, int hindex, in sip_hash_find() argument 92 hash_entry = &sip_hash[hindex]; in sip_hash_find() 138 sip_hash_delete(sip_hash_t *sip_hash, void *digest, int hindex, in sip_hash_delete() argument 146 hash_entry = &sip_hash[hindex]; in sip_hash_delete()
|
H A D | sip_xaction.c | 100 (uchar_t *)hindex); in sip_find_md5_digest() 104 (uchar_t *)hindex); in sip_find_md5_digest() 271 sip_xaction_match(void *obj, void *hindex) in sip_xaction_match() argument 279 if (bcmp(tmp->sip_xaction_hash_digest, hindex, in sip_xaction_match() 296 int hindex; in sip_xaction_find() local 316 hindex = SIP_DIGEST_TO_HASH(hash_index); in sip_xaction_find() 318 (void *)hash_index, hindex, sip_xaction_match); in sip_xaction_find() 482 sip_xaction_remove(void *obj, void *hindex, int *found) in sip_xaction_remove() argument 492 if (bcmp(tmp->sip_xaction_hash_digest, hindex, in sip_xaction_remove() 552 int hindex; in sip_xaction_delete() local [all …]
|
H A D | sip_dialog.c | 1194 sip_dialog_match(void *obj, void *hindex) in sip_dialog_match() argument 1203 if (bcmp(dialog->sip_dlg_id, hindex, in sip_dialog_match() 1217 sip_dialog_dontfree(void *obj, void *hindex, int *found) in sip_dialog_dontfree() argument 1223 if (bcmp(dialog->sip_dlg_id, hindex, sizeof (dialog->sip_dlg_id)) in sip_dialog_dontfree() 1238 sip_dialog_free(void *obj, void *hindex, int *found) in sip_dialog_free() argument 1244 if (bcmp(dialog->sip_dlg_id, hindex, sizeof (dialog->sip_dlg_id)) in sip_dialog_free()
|
/illumos-gate/usr/src/cmd/syslogd/ |
H A D | syslogd.c | 2191 int hindex; in cvthname() local 2204 if ((h = hnc_lookup(nbp, ncp, &hindex)) != NULL) { in cvthname() 2287 hnc_register(nbp, ncp, h, hindex); in cvthname() 5342 hnc_lookup(struct netbuf *nbp, struct netconfig *ncp, int *hindex) in hnc_lookup() argument 5360 *hindex = index = addr_hash(nbp); in hnc_lookup() 5409 host_list_t *h, int hindex) in hnc_register() argument 5447 for (hpp = &hnc_cache[hindex]; (hp = *hpp) != NULL; ) { in hnc_register() 5476 entry->next = hnc_cache[hindex]; in hnc_register() 5477 hnc_cache[hindex] = entry; in hnc_register()
|