/illumos-gate/usr/src/contrib/ast/src/lib/libast/hash/ |
H A D | hashlook.c | 62 HASHMOD(tab, n); in hashlook() 70 if (!(tab = tab->scope) || (flags & HASH_NOSCOPE)) in hashlook() 76 top = tab; in hashlook() 128 tab = tab->scope; in hashlook() 189 …if (tab->root->local->free && (tab->root->flags & HASH_BUCKET)) (*tab->root->local->free)((char*)b… in hashlook() 192 if (tab->root->local->region) (*tab->root->local->region)(tab->root->local->handle, b, 0, 0); in hashlook() 197 …if (tab->root->local->region) (*tab->root->local->region)(tab->root->local->handle, (char*)name, 0… in hashlook() 239 …if (tab->root->local->region) (*tab->root->local->region)(tab->root->local->handle, (char*)name, 0… in hashlook() 277 if (!tab->frozen && !(tab->flags & HASH_FIXED) && tab->buckets > tab->root->meanchain * tab->size) in hashlook() 278 hashsize(tab, tab->size << 1); in hashlook() [all …]
|
H A D | hashalloc.c | 75 tab->root = ref->root; in hashalloc() 95 tab->size = HASHMINSIZE; in hashalloc() 107 if (n > tab->bucketsize) tab->bucketsize = n; in hashalloc() 142 if (tab->size & (tab->size - 1)) tab->flags |= HASH_FIXED; in hashalloc() 168 if (!tab->table) in hashalloc() 174 memset(tab->table, 0, sizeof(Hash_bucket_t*) * tab->size); in hashalloc() 176 else if (!(tab->table = newof(0, Hash_bucket_t*, tab->size, 0))) goto out; in hashalloc() 180 tab->root->flags = tab->flags & HASH_INTERNAL; in hashalloc() 186 tab->next = tab->root->references; in hashalloc() 187 tab->root->references = tab; in hashalloc() [all …]
|
H A D | hashfree.c | 53 if (!tab) return(0); in hashfree() 54 if (tab->table) in hashfree() 60 if (tab->root->flags & HASH_BUCKET) freebucket = tab->root->local->free; in hashfree() 65 sx = &tab->table[tab->size]; in hashfree() 66 sp = &tab->table[0]; in hashfree() 97 else free(tab->table); in hashfree() 101 if (tab->root) in hashfree() 109 if ((tp = tab->root->references) != tab) in hashfree() 134 if (tab->root->local) in hashfree() 137 else free(tab->root); in hashfree() [all …]
|
H A D | hashscan.c | 54 pos->tab = tab->root->last.table = tab; in hashscan() 57 pos->limit = tab->table + tab->size; in hashscan() 65 if (tab->frozen) in hashscan() 68 register Hash_bucket_t** sx = tab->table + tab->size; in hashscan() 74 } while (tab = tab->scope); in hashscan() 75 tab = pos->tab; in hashscan() 78 tab->frozen++; in hashscan() 103 pos->tab = pos->tab->scope; in hashnext() 104 pos->tab->root->last.table = pos->tab; in hashnext() 105 pos->limit = (pos->slot = pos->tab->table) + pos->tab->size; in hashnext() [all …]
|
H A D | hashdump.c | 62 sx = tab->table + tab->size; in dumpbucket() 75 if (n = tab->root->namesize) in dumpbucket() 109 sfprintf(sfstderr, " name: %s", tab->name ? tab->name : "*no name*"); in dumptable() 110 if (scope = tab->scope) in dumptable() 119 if (tab->frozen) sfprintf(sfstderr, "frozen=%d ", tab->frozen); in dumptable() 120 dumpflags(tab->flags); in dumptable() 126 if ((flags | tab->flags) & HASH_BUCKET) dumpbucket(tab, flags); in dumptable() 136 register Hash_table_t* tab; in dumproot() local 153 for (tab = root->references; tab; tab = tab->next) in dumproot() 154 dumptable(tab, flags); in dumproot() [all …]
|
H A D | hashsize.c | 38 hashsize(register Hash_table_t* tab, int size) in hashsize() argument 51 if (region = tab->root->local->region) in hashsize() 53 handle = tab->root->local->handle; in hashsize() 57 if (!new_s) tab->flags |= HASH_FIXED; in hashsize() 60 old_sx = (old_s = tab->table) + tab->size; in hashsize() 61 tab->size = size; in hashsize() 70 HASHMOD(tab, index); in hashsize() 77 if (region) (*region)(handle, tab->table, 0, 0); in hashsize() 78 else free(tab->table); in hashsize() 80 tab->table = new_s; in hashsize() [all …]
|
/illumos-gate/usr/src/cmd/troff/nroff.d/terms.d/ |
H A D | Makefile | 14 FILES1 = tab.2631 tab.2631-c tab.2631-e tab.lp 15 FILES2 = tab.300 tab.300-12 tab.300s tab.300s-12 tab.382 \ 16 tab.4000a tab.450 tab.450-12 tab.832 17 FILES3 = tab.37 tab.8510 tab.X tab.tn300 22 LNKFILES = tab.300S tab.300S-12 tab.4000A 25 $(ROOTNTERM)/tab.300S := ROOTLNKDEST = $(ROOTNTERM)/tab.300s 26 $(ROOTNTERM)/tab.300S-12 := ROOTLNKDEST = $(ROOTNTERM)/tab.300s-12 27 $(ROOTNTERM)/tab.4000A := ROOTLNKDEST = $(ROOTNTERM)/tab.4000a 38 cat $(@:tab.%=a.%) b.lp >$@ 41 $(FILES3) : $$(@:tab.%=ab.%) [all …]
|
/illumos-gate/usr/src/cmd/isns/isnsd/ |
H A D | htable.c | 276 htab_t *tab, in avl_insert() argument 387 htab_t *tab, in new_uid() argument 460 htab_t *tab, in uid_insert() argument 497 x = new_uid(tab, tab->buid + 1); in uid_insert() 534 htab_t *tab in enlarge_htab() argument 695 htab_t *tab, in htab_add() argument 715 items = tab->items[hval & tab->mask]; in htab_add() 836 htab_t *tab, in htab_remove() argument 961 htab_t *tab, in htab_lookup() argument 1026 itemp = &tab->items[(hval & tab->mask)]; in htab_lookup() [all …]
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | db_index.cc | 56 tab = NULL; in db_index() 82 if (tab != NULL) { in reset() 84 curr = tab[i]; in reset() 95 tab = NULL; in reset() 244 fst = tab[bucket]; in remove() 281 fst = tab[bucket]; in add() 350 tab = NULL; in db_index() 356 tab = NULL; in db_index() 385 if (tab != NULL) { in print() 407 tab = orig->tab; in move_xdr_db_index() [all …]
|
H A D | db_table.cc | 317 tab = NULL; in db_table() 355 if (tab[i]) { in reset() 362 delete tab; in reset() 364 tab = NULL; in reset() 470 free(tab); in grow() 489 free(tab); in grow() 536 if (prev >= table_size || tab == NULL || tab[prev] == NULL) in next_entry() 695 tab == NULL || tab[where] == NULL) in replace_entry() 720 tab == NULL || tab[where] == NULL) in delete_entry() 1125 tab = NULL; in db_table() [all …]
|
/illumos-gate/usr/src/common/mpi/ |
H A D | mp_gf2m.c | 66 mp_digit tab[8], top2b = a >> 30; in s_bmul_1x1() local 71 tab[0] = 0; tab[1] = a1; tab[2] = a2; tab[3] = a1^a2; in s_bmul_1x1() 72 tab[4] = a4; tab[5] = a1^a4; tab[6] = a2^a4; tab[7] = a1^a2^a4; in s_bmul_1x1() 74 s = tab[b & 0x7]; l = s; in s_bmul_1x1() 75 s = tab[b >> 3 & 0x7]; l ^= s << 3; h = s >> 29; in s_bmul_1x1() 98 mp_digit tab[16], top3b = a >> 61; in s_bmul_1x1() local 103 tab[ 0] = 0; tab[ 1] = a1; tab[ 2] = a2; tab[ 3] = a1^a2; in s_bmul_1x1() 104 tab[ 4] = a4; tab[ 5] = a1^a4; tab[ 6] = a2^a4; tab[ 7] = a1^a2^a4; in s_bmul_1x1() 105 tab[ 8] = a8; tab[ 9] = a1^a8; tab[10] = a2^a8; tab[11] = a1^a2^a8; in s_bmul_1x1() 106 tab[12] = a4^a8; tab[13] = a1^a4^a8; tab[14] = a2^a4^a8; tab[15] = a1^a2^a4^a8; in s_bmul_1x1() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/tm/ |
H A D | tmlex.c | 48 tmlex(register const char* s, char** e, char** tab, int ntab, char** suf, int nsuf) in tmlex() argument 54 for (p = tab, n = ntab; n-- && (x = *p); p++) in tmlex() 56 return p - tab; in tmlex() 57 if (tm_info.format != tm_data.format && tab >= tm_info.format && tab < tm_info.format + TM_NFORM) in tmlex() 59 tab = tm_data.format + (tab - tm_info.format); in tmlex() 60 if (suf && tab >= tm_info.format && tab < tm_info.format + TM_NFORM) in tmlex() 62 for (p = tab, n = ntab; n-- && (x = *p); p++) in tmlex() 64 return p - tab; in tmlex()
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/ |
H A D | did_hash.c | 132 int idx = did_dnhash(key) % tab->dph_hashlen; in did_hash_insert() 134 tab->dph_nelems++; in did_hash_insert() 137 key, (void *)tab, idx); in did_hash_insert() 138 if (tab->dph_hash[idx] == NULL) { in did_hash_insert() 139 tab->dph_hash[idx] = new; in did_hash_insert() 140 topo_mod_dprintf(tab->dph_mod, "first entry.\n"); in did_hash_insert() 145 for (assertchk = tab->dph_hash[idx]; in did_hash_insert() 149 new->dp_next = tab->dph_hash[idx]; in did_hash_insert() 150 tab->dph_hash[idx] = new; in did_hash_insert() 159 int idx = did_dnhash(key) % tab->dph_hashlen; in did_hash_lookup() [all …]
|
/illumos-gate/usr/src/lib/libfru/ |
H A D | Makefile.targ | 45 pics/y.tab.cc pics/y.tab.h: ../libfru/nameSyntaxYacc.y 47 $(SED) -f ../libfru/yy-sed y.tab.c > pics/y.tab.cc 48 $(SED) -f ../libfru/yy-sed y.tab.h > pics/y.tab.h 49 $(RM) y.tab.c y.tab.h 51 pics/nameSyntaxYacc.o: pics/y.tab.cc 52 $(COMPILE.cc) -I../libfru -Ipics -o $@ pics/y.tab.cc 54 pics/nameSyntaxLex.o: ../libfru/nameSyntaxLex.l pics/y.tab.h
|
/illumos-gate/usr/src/cmd/oamuser/user/ |
H A D | userdefs.c | 83 static const parsent_t tab[] = { variable 133 if (strncmp(cur_p, tab[ind].name, tab[ind].nmsz) == 0) { in scan() 134 *start_p = cur_p + tab[ind].nmsz; in scan() 135 return (&tab[ind]); in scan() 384 if (tab[i].off == skip) in putusrdef() 387 switch (tab[i].type) { in putusrdef() 390 FIELD(defs, &tab[i], int)); in putusrdef() 394 FIELD(defs, &tab[i], char *)); in putusrdef() 422 if (tab[i].uakey != NULL && in update_def() 424 FIELD(ud, &tab[i], char *) = val; in update_def() [all …]
|
/illumos-gate/usr/src/cmd/geniconvtbl/ |
H A D | Makefile.com | 34 OBJS = itmcomp.o assemble.o disassemble.o itm_util.o y.tab.o lex.yy.o 35 MSGFILES = itmcomp.i assemble.i disassemble.i itm_util.i y.tab.i lex.yy.i geniconvtbl.i 47 CLEANFILES = $(OBJS) y.tab.c y.tab.h lex.yy.c \ 82 y.tab.c + y.tab.h: $(SRCDIR)/itm_comp.y 84 @ $(MV) y.tab.c y.tab.c~ 85 @ $(SED) -f $(SRCDIR)/yacc.sed y.tab.c~ > y.tab.c 86 @ $(RM) y.tab.c~ 88 lex.yy.c: $(SRCDIR)/itm_comp.l y.tab.h
|
/illumos-gate/usr/src/lib/nsswitch/ldap/common/ |
H A D | getnetgrent.c | 70 netgroup_table_t tab; member 78 netgroup_table_t tab; member 111 if (tab == NULL) { in add_netgroup_name() 145 tab->to_do = ng_new; in add_netgroup_name() 155 if (tab == NULL) in get_next_netgroup() 158 ng = tab->to_do; in get_next_netgroup() 161 ng->next = tab->done; in get_next_netgroup() 162 tab->done = ng; in get_next_netgroup() 172 if (tab == NULL) in free_netgroup_table() 188 (void) memset(tab, 0, sizeof (*tab)); in free_netgroup_table() [all …]
|
/illumos-gate/usr/src/tools/ndrgen/ |
H A D | Makefile | 40 CLEANFILES += $(OBJS) y.tab.c y.tab.h 57 $(OBJS): y.tab.h 59 y.tab.c y.tab.h: ndr_parse.y 62 ndr_parse.o : y.tab.c 63 $(COMPILE.c) -o $@ y.tab.c
|
/illumos-gate/usr/src/cmd/awk_xpg4/ |
H A D | Makefile | 50 CLEANFILES= awk.c y.tab.h 85 awk.c + y.tab.h: awk.y 87 awk.o: awk.c y.tab.h 89 awk0.c: awk.c y.tab.h 91 awk1.c: awk.c y.tab.h 93 awk2.c: awk.c y.tab.h 95 awk3.c: awk.c y.tab.h 97 awk4.c: awk.c y.tab.h
|
/illumos-gate/usr/src/cmd/iconv/ |
H A D | Makefile | 22 OBJS = iconv_main.o iconv_list.o charmap.o parser.tab.o scanner.o 37 CLEANFILES = $(OBJS) parser.tab.c parser.tab.h 50 $(OBJS): parser.tab.h 51 $(PIFILES): parser.tab.h 53 parser.tab.c parser.tab.h: parser.y
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/ |
H A D | Makefile | 30 OBJS= nwamcfg.o nwamcfg_lex.o nwamcfg_grammar.tab.o 38 CLEANFILES += nwamcfg_lex.c nwamcfg_grammar.tab.c nwamcfg_grammar.tab.h 58 nwamcfg_lex.c: nwamcfg_lex.l nwamcfg_grammar.tab.h nwamcfg.h 61 nwamcfg_grammar.tab.h + nwamcfg_grammar.tab.c: nwamcfg_grammar.y nwamcfg.h 64 nwamcfg_lex.o nwamcfg_grammar.tab.o := CCVERBOSE =
|
/illumos-gate/usr/src/data/zoneinfo/ |
H A D | README.illumos | 33 Next you need to copy the country tab and the zone tab files. These have 36 $ cp iso3166.tab $CODEMGR_WS/usr/src/data/zoneinfo/country.tab 37 $ cp zone.tab $CODEMGR_WS/usr/src/data/zoneinfo/zone.tab.txt 39 Now, you need to manually fix up the zone_sun.tab. zone_sun.tab has 42 in zone_sun.tab. The simplest way known to deal with it today is 46 $ vimdiff zone.tab.txt zone_sun.tab 49 diff zone.tab.txt' and see what changed and fix zone_sun.tab 54 *** zone_sun.tab must remain sorted. 55 *** The upstream zone.tab.txt is not always completely in alphabetical order. 57 To check the final zone_sun.tab file, the `zonelint` script in the current
|
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | Makefile | 122 ipf.tab.c > ipf_y.c 124 ipf.tab.h > ipf_y.h 126 CLEANFILES += ipf.tab.c ipf.tab.h 160 ipmon.tab.c > ipmon_y.c 162 ipmon.tab.h > ipmon_y.h 164 CLEANFILES += ipmon.tab.c ipmon.tab.h 189 ipnat.tab.c > ipnat_y.c 191 ipnat.tab.h > ipnat_y.h 193 CLEANFILES += ipnat.tab.c ipnat.tab.h 218 ippool.tab.c > ippool_y.c [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/modules/crypto/ |
H A D | impl.c | 204 kcf_provider_desc_t **tab; in prov_tab() local 238 mdb_printf("DEBUG: *tab = %p\n", *tab); in prov_tab() 242 if (tab[i] == NULL) { in prov_tab() 257 mdb_printf("prov_tab[%d] = %p ", i, tab[i]); in prov_tab() 260 (uintptr_t)tab[i]) == -1) { in prov_tab() 262 (uintptr_t)tab[i]); in prov_tab() 273 if ((i > 0) && (tab[i-1] == NULL)) { in prov_tab() 287 kcf_policy_desc_t **tab; in policy_tab() local 323 mdb_printf("DEBUG: *tab = %p\n", *tab); in policy_tab() 327 if (tab[i] == NULL) { in policy_tab() [all …]
|
/illumos-gate/usr/src/cmd/zonecfg/ |
H A D | Makefile | 29 OBJS= zonecfg.o zonecfg_lex.o zonecfg_grammar.tab.o 44 CLEANFILES += zonecfg_lex.c zonecfg_grammar.tab.c zonecfg_grammar.tab.h 68 zonecfg_lex.c: zonecfg_lex.l zonecfg_grammar.tab.h zonecfg.h 71 zonecfg_grammar.tab.h zonecfg_grammar.tab.c: zonecfg_grammar.y zonecfg.h 74 zonecfg_lex.o zonecfg_grammar.tab.o := CCVERBOSE =
|