Searched refs:hindex (Results 1 - 8 of 8) sorted by relevance

/illumos-gate/usr/src/cmd/spell/
H A Dhashcheck.c41 int hindex[NI]; variable
90 (void) fread((char *)hindex, sizeof (*hindex), NI, stdin);
91 table = (unsigned *)malloc(hindex[NI-1]*sizeof (*table));
92 (void) fread((char *)table, sizeof (*table), hindex[NI-1], stdin);
96 for (wp = hindex[i]; wp < hindex[i+1]; ) {
97 if (wp == hindex[i] && bp == U)
104 if (wp > hindex[i+1] ||
105 wp == hindex[
[all...]
H A Dhashlook.c38 int hindex[NI]; variable
63 wp = &table[hindex[t]];
64 tp = &table[hindex[t+1]];
122 if (rhuff(f) == 0 || read(fileno(f), (char *)hindex,
123 NI * sizeof (*hindex)) != NI * sizeof (*hindex) ||
124 (table = (unsigned *)malloc(hindex[NI-1] * sizeof (*table))) == 0 ||
125 read(fileno(f), (char *)table, sizeof (*table) * hindex[NI-1]) !=
126 hindex[NI-1] * sizeof (*table))
136 fread((char *)hindex, sizeo
[all...]
H A Dspellin.c45 int hindex[NI]; variable
120 hindex[++u] = wp;
149 hindex[u] = wp;
151 (void) fwrite((char *)hindex, sizeof (*hindex), NI, stdout);
159 (BYTE * ((float)wp * sizeof (*table) + sizeof (hindex)) / count));
/illumos-gate/usr/src/lib/libsip/common/
H A Dsip_hash.c52 sip_hash_add(sip_hash_t *sip_hash, void *obj, int hindex) argument
65 hash_entry = &sip_hash[hindex];
87 sip_hash_find(sip_hash_t *sip_hash, void *digest, int hindex, argument
94 hash_entry = &sip_hash[hindex];
140 sip_hash_delete(sip_hash_t *sip_hash, void *digest, int hindex, argument
148 hash_entry = &sip_hash[hindex];
H A Dsip_xaction.c58 sip_find_md5_digest(char *bid, _sip_msg_t *msg, uint16_t *hindex, argument
102 (uchar_t *)hindex);
106 (uchar_t *)hindex);
273 sip_xaction_match(void *obj, void *hindex) argument
281 if (bcmp(tmp->sip_xaction_hash_digest, hindex,
298 int hindex; local
318 hindex = SIP_DIGEST_TO_HASH(hash_index);
320 (void *)hash_index, hindex, sip_xaction_match);
484 sip_xaction_remove(void *obj, void *hindex, int *found) argument
494 if (bcmp(tmp->sip_xaction_hash_digest, hindex,
554 int hindex; local
[all...]
H A Dsip_dialog.c1196 sip_dialog_match(void *obj, void *hindex) argument
1205 if (bcmp(dialog->sip_dlg_id, hindex,
1219 sip_dialog_dontfree(void *obj, void *hindex, int *found) argument
1225 if (bcmp(dialog->sip_dlg_id, hindex, sizeof (dialog->sip_dlg_id))
1240 sip_dialog_free(void *obj, void *hindex, int *found) argument
1246 if (bcmp(dialog->sip_dlg_id, hindex, sizeof (dialog->sip_dlg_id))
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_addr.c113 uint_t hindex; local
121 hindex = SCTP_IPIF_ADDR_HASH(sctp_ipif->sctp_ipif_saddr,
133 list_remove(&sctps->sctps_g_ipifs[hindex].sctp_ipif_list,
135 sctps->sctps_g_ipifs[hindex].ipif_count--;
180 int hindex; local
182 hindex = SCTP_IPIF_ADDR_HASH(*addr, !IN6_IS_ADDR_V4MAPPED(addr));
185 if (sctps->sctps_g_ipifs[hindex].ipif_count == 0) {
189 sctp_ipif = list_head(&sctps->sctps_g_ipifs[hindex].sctp_ipif_list);
190 for (j = 0; j < sctps->sctps_g_ipifs[hindex].ipif_count; j++) {
214 &sctps->sctps_g_ipifs[hindex]
460 int hindex; local
528 int hindex; local
836 uint_t hindex; local
960 sctp_chk_and_updt_saddr(int hindex, sctp_ipif_t *ipif, sctp_stack_t *sctps) argument
1014 int hindex; local
1148 uint_t hindex; local
1355 int hindex; local
[all...]
/illumos-gate/usr/src/cmd/syslogd/
H A Dsyslogd.c2204 int hindex; local
2217 if ((h = hnc_lookup(nbp, ncp, &hindex)) != NULL) {
2300 hnc_register(nbp, ncp, h, hindex);
5357 hnc_lookup(struct netbuf *nbp, struct netconfig *ncp, int *hindex) argument
5375 *hindex = index = addr_hash(nbp);
5424 host_list_t *h, int hindex)
5462 for (hpp = &hnc_cache[hindex]; (hp = *hpp) != NULL; ) {
5491 entry->next = hnc_cache[hindex];
5492 hnc_cache[hindex] = entry;
5423 hnc_register(struct netbuf *nbp, struct netconfig *ncp, host_list_t *h, int hindex) argument

Completed in 1093 milliseconds