/titanic_44/usr/src/lib/libast/common/hash/ |
H A D | hashlook.c | 37 hashlook(register Hash_table_t* tab, const char* name, long flags, const char* value) in hashlook() argument 62 HASHMOD(tab, n); in hashlook() 63 for (b = tab->table[n]; b; b = b->next) in hashlook() 70 if (!(tab = tab->scope) || (flags & HASH_NOSCOPE)) in hashlook() 75 tab->root->accesses++; in hashlook() 76 top = tab; in hashlook() 77 last = &tab->root->last; in hashlook() 80 last->table = tab; in hashlook() 89 else if (tab->flags & HASH_HASHED) in hashlook() 95 else HASH(tab->root, name, n); in hashlook() [all …]
|
H A D | hashalloc.c | 43 register Hash_table_t* tab; in hashalloc() local 65 if (!(tab = (Hash_table_t*)(*region)(handle, NiL, sizeof(Hash_table_t), 0))) in hashalloc() 67 memset(tab, 0, sizeof(Hash_table_t)); in hashalloc() 69 else if (!(tab = newof(0, Hash_table_t, 1, 0))) in hashalloc() 71 tab->bucketsize = (sizeof(Hash_header_t) + sizeof(char*) - 1) / sizeof(char*); in hashalloc() 74 tab->flags = ref->flags & ~HASH_RESET; in hashalloc() 75 tab->root = ref->root; in hashalloc() 82 if (!(tab->root = (Hash_root_t*)(*region)(handle, NiL, sizeof(Hash_root_t), 0))) in hashalloc() 84 memset(tab->root, 0, sizeof(Hash_root_t)); in hashalloc() 86 else if (!(tab->root = newof(0, Hash_root_t, 1, 0))) in hashalloc() [all …]
|
H A D | hashscan.c | 47 hashscan(register Hash_table_t* tab, register int flags) in hashscan() argument 54 pos->tab = tab->root->last.table = tab; in hashscan() 56 pos->slot = tab->table - 1; in hashscan() 57 pos->limit = tab->table + tab->size; in hashscan() 58 if (tab->scope && !(flags & HASH_NOSCOPE)) in hashscan() 65 if (tab->frozen) in hashscan() 67 register Hash_bucket_t** sp = tab->table; 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() [all …]
|
H A D | hashfree.c | 40 hashfree(register Hash_table_t* tab) in hashfree() argument 53 if (!tab) return(0); in hashfree() 54 if (tab->table) in hashfree() 58 if (tab->root->local->free) in hashfree() 60 if (tab->root->flags & HASH_BUCKET) freebucket = tab->root->local->free; in hashfree() 61 else freevalue = tab->root->local->free; in hashfree() 63 if (region = tab->root->local->region) in hashfree() 64 handle = tab->root->local->handle; in hashfree() 65 sx = &tab->table[tab->size]; in hashfree() 66 sp = &tab->table[0]; in hashfree() [all …]
|
H A D | hashdump.c | 53 dumpbucket(register Hash_table_t* tab, int flags) in dumpbucket() argument 62 sx = tab->table + tab->size; in dumpbucket() 63 for (sp = tab->table; sp < sx; sp++) in dumpbucket() 67 if (!(b->hash & HASH_DELETED) && (!(tab->flags & HASH_VALUE) || b->value)) in dumpbucket() 71 sfprintf(sfstderr, "%5d %2d :", sp - tab->table, n); in dumpbucket() 73 if (!(b->hash & HASH_DELETED) && (!(tab->flags & HASH_VALUE) || b->value)) in dumpbucket() 75 if (n = tab->root->namesize) in dumpbucket() 91 if (tab->flags & HASH_VALUE) sfprintf(sfstderr, "=0x%08lx", (long)b->value); in dumpbucket() 104 dumptable(register Hash_table_t* tab, register int flags) in dumptable() argument 109 sfprintf(sfstderr, " name: %s", tab->name ? tab->name : "*no name*"); in dumptable() [all …]
|
H A D | hashsize.c | 38 hashsize(register Hash_table_t* tab, int size) in hashsize() argument 49 if (size > 0 && size != tab->size && !(size & (size - 1))) in hashsize() 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() 75 if ((tab->flags & (HASH_RESIZE|HASH_STATIC)) != HASH_STATIC) in hashsize() 77 if (region) (*region)(handle, tab->table, 0, 0); in hashsize() [all …]
|
/titanic_44/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 37 $(FILES1) : $$(@:tab.%=a.%) b.lp 38 cat $(@:tab.%=a.%) b.lp >$@ [all …]
|
/titanic_44/usr/src/cmd/isns/isnsd/ |
H A D | htable.c | 60 const htab_t *tab, in avl_search() argument 64 htab_itemx_t *x = tab->avlt; in avl_search() 93 const htab_t *tab, in avl_search_next() argument 98 htab_itemx_t *x = tab->avlt; in avl_search_next() 276 htab_t *tab, in avl_insert() argument 288 if (tab->avlt == NULL) { in avl_insert() 289 tab->avlt = x; in avl_insert() 293 a = tab->avlt; in avl_insert() 294 p = tab->avlt; in avl_insert() 360 tab->avlt = c; in avl_insert() [all …]
|
/titanic_44/usr/src/lib/libnisdb/ |
H A D | db_index.cc | 58 tab = NULL; in db_index() 84 if (tab != NULL) { in reset() 86 curr = tab[i]; in reset() 95 delete tab; // get rid of table itself in reset() 97 tab = NULL; in reset() 145 db_index_entry_p * oldtab = tab; in grow() 163 if ((tab = (db_index_entry_p*) in grow() 166 tab = oldtab; // restore previous table info in grow() 175 oldtab[i]->relocate(tab, table_size); in grow() 197 if (index_value == NULL || table_size == 0 || tab == NULL) { in lookup() [all …]
|
H A D | db_table.cc | 314 tab = NULL; in db_table() 348 if (tab != NULL) { in reset() 352 if (tab[i]) { in reset() 353 free_entry(tab[i]); in reset() 359 delete tab; in reset() 361 tab = NULL; in reset() 414 (void) memcpy(&newEnumArray[oldSize], &tab[oldSize], in allocateEnumArray() 430 entry_object_p *oldtab = tab; in grow() 447 if ((tab = (entry_object_p*) in grow() 450 tab = oldtab; // restore previous table info in grow() [all …]
|
/titanic_44/usr/src/common/mpi/ |
H A D | mp_gf2m.c | 68 mp_digit tab[8], top2b = a >> 30; in s_bmul_1x1() local 73 tab[0] = 0; tab[1] = a1; tab[2] = a2; tab[3] = a1^a2; in s_bmul_1x1() 74 tab[4] = a4; tab[5] = a1^a4; tab[6] = a2^a4; tab[7] = a1^a2^a4; in s_bmul_1x1() 76 s = tab[b & 0x7]; l = s; in s_bmul_1x1() 77 s = tab[b >> 3 & 0x7]; l ^= s << 3; h = s >> 29; in s_bmul_1x1() 78 s = tab[b >> 6 & 0x7]; l ^= s << 6; h ^= s >> 26; in s_bmul_1x1() 79 s = tab[b >> 9 & 0x7]; l ^= s << 9; h ^= s >> 23; in s_bmul_1x1() 80 s = tab[b >> 12 & 0x7]; l ^= s << 12; h ^= s >> 20; in s_bmul_1x1() 81 s = tab[b >> 15 & 0x7]; l ^= s << 15; h ^= s >> 17; in s_bmul_1x1() 82 s = tab[b >> 18 & 0x7]; l ^= s << 18; h ^= s >> 14; in s_bmul_1x1() [all …]
|
/titanic_44/usr/src/lib/libast/common/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()
|
/titanic_44/usr/src/lib/libfru/ |
H A D | Makefile.targ | 47 pics/y.tab.cc pics/y.tab.h: ../libfru/nameSyntaxYacc.y 49 $(SED) -f ../libfru/yy-sed y.tab.c > pics/y.tab.cc 50 $(SED) -f ../libfru/yy-sed y.tab.h > pics/y.tab.h 51 $(RM) y.tab.c y.tab.h 53 pics/nameSyntaxYacc.o: pics/y.tab.cc 54 $(COMPILE.cc) -I../libfru -Ipics -o $@ pics/y.tab.cc 56 pics/nameSyntaxLex.o: ../libfru/nameSyntaxLex.l pics/y.tab.h
|
/titanic_44/usr/src/lib/fm/topo/modules/common/pcibus/ |
H A D | did_hash.c | 132 did_hash_t *tab = (did_hash_t *)topo_mod_getspecific(mp); in did_hash_insert() local 134 int idx = did_dnhash(key) % tab->dph_hashlen; in did_hash_insert() 136 tab->dph_nelems++; in did_hash_insert() 138 topo_mod_dprintf(tab->dph_mod, "Insert [key=%p] into %p, bucket %d\n", in did_hash_insert() 139 key, (void *)tab, idx); in did_hash_insert() 140 if (tab->dph_hash[idx] == NULL) { in did_hash_insert() 141 tab->dph_hash[idx] = new; in did_hash_insert() 142 topo_mod_dprintf(tab->dph_mod, "first entry.\n"); in did_hash_insert() 147 for (assertchk = tab->dph_hash[idx]; in did_hash_insert() 151 new->dp_next = tab->dph_hash[idx]; in did_hash_insert() [all …]
|
/titanic_44/usr/src/cmd/oamuser/user/ |
H A D | userdefs.c | 84 static const parsent_t tab[] = { variable 109 #define NDEF (sizeof (tab) / sizeof (parsent_t)) 132 if (strncmp(cur_p, tab[ind].name, tab[ind].nmsz) == 0) { in scan() 133 *start_p = cur_p + tab[ind].nmsz; in scan() 134 return (&tab[ind]); in scan() 375 if (tab[i].off == skip) in putusrdef() 378 switch (tab[i].type) { in putusrdef() 380 res = fprintf(defptr, "%s%d\n", tab[i].name, in putusrdef() 381 FIELD(defs, &tab[i], int)); in putusrdef() 384 res = fprintf(defptr, "%s%s\n", tab[i].name, in putusrdef() [all …]
|
/titanic_44/usr/src/lib/nsswitch/ldap/common/ |
H A D | getnetgrent.c | 70 netgroup_table_t tab; member 78 netgroup_table_t tab; member 105 add_netgroup_name(const char *name, netgroup_table_t *tab) in add_netgroup_name() argument 111 if (tab == NULL) { in add_netgroup_name() 124 ng = tab->hash_list[h]; in add_netgroup_name() 142 ng_new->next_hash = tab->hash_list[h]; in add_netgroup_name() 143 tab->hash_list[h] = ng_new; in add_netgroup_name() 144 ng_new->next = tab->to_do; in add_netgroup_name() 145 tab->to_do = ng_new; in add_netgroup_name() 151 get_next_netgroup(netgroup_table_t *tab) in get_next_netgroup() argument [all …]
|
/titanic_44/usr/src/data/zoneinfo/ |
H A D | README.illumos | 32 Next you need to copy the country tab and the zone tab files. These have 35 $ cp iso3166.tab $CODEMGR_WS/usr/src/data/zoneinfo/country.tab 36 $ cp zone.tab $CODEMGR_WS/usr/src/data/zoneinfo/zone.tab.txt 38 Now, you need to manually fix up the zone_sun.tab. zone_sun.tab has 41 in zone_sun.tab. The simplest way known to deal with it today is 45 $ vimdiff zone.tab.txt zone_sun.tab 48 diff zone.tab.txt' and see what changed and fix zone_sun.tab 53 *** zone_sun.tab must remain sorted. 54 *** The upstream zone.tab.txt is not always completely in alphabetical order. 58 occurred in zone.tab.txt and backward. The contents of backward describe [all …]
|
/titanic_44/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
|
/titanic_44/usr/src/cmd/awk_xpg4/ |
H A D | Makefile | 49 CLEANFILES= awk.c y.tab.h 81 awk.c + y.tab.h: awk.y 83 awk.o: awk.c y.tab.h 85 awk0.c: awk.c y.tab.h 87 awk1.c: awk.c y.tab.h 89 awk2.c: awk.c y.tab.h 91 awk3.c: awk.c y.tab.h 93 awk4.c: awk.c y.tab.h
|
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/ |
H A D | Makefile | 29 OBJS= nwamcfg.o nwamcfg_lex.o nwamcfg_grammar.tab.o 37 CLEANFILES += nwamcfg_lex.c nwamcfg_grammar.tab.c nwamcfg_grammar.tab.h 56 nwamcfg_lex.c: nwamcfg_lex.l nwamcfg_grammar.tab.h nwamcfg.h 59 nwamcfg_grammar.tab.h nwamcfg_grammar.tab.c: nwamcfg_grammar.y nwamcfg.h 62 nwamcfg_lex.o nwamcfg_grammar.tab.o := CCVERBOSE =
|
/titanic_44/usr/src/cmd/zonecfg/ |
H A D | Makefile | 27 OBJS= zonecfg.o zonecfg_lex.o zonecfg_grammar.tab.o 42 CLEANFILES += zonecfg_lex.c zonecfg_grammar.tab.c zonecfg_grammar.tab.h 61 zonecfg_lex.c: zonecfg_lex.l zonecfg_grammar.tab.h zonecfg.h 64 zonecfg_grammar.tab.h zonecfg_grammar.tab.c: zonecfg_grammar.y zonecfg.h 67 zonecfg_lex.o zonecfg_grammar.tab.o := CCVERBOSE =
|
/titanic_44/usr/src/cmd/mdb/common/modules/crypto/ |
H A D | impl.c | 204 kcf_provider_desc_t **tab; in prov_tab() local 224 tab = mdb_zalloc(prov_tab_max * sizeof (kcf_provider_desc_t *), in prov_tab() 228 mdb_printf("DEBUG: tab = %p, prov_tab_max = %d\n", tab, prov_tab_max); in prov_tab() 231 if (mdb_vread(tab, prov_tab_max * sizeof (kcf_provider_desc_t *), in prov_tab() 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() [all …]
|
/titanic_44/usr/src/grub/grub-0.97/ |
H A D | missing | 216 rm -f y.tab.c y.tab.h 223 cp "$SRCFILE" y.tab.c 227 cp "$SRCFILE" y.tab.h 232 if [ ! -f y.tab.h ]; then 233 echo >y.tab.h 235 if [ ! -f y.tab.c ]; then 236 echo 'main() { return 0; }' >y.tab.c
|
/titanic_44/usr/src/cmd/ipf/tools/ |
H A D | Makefile.tools | 124 ipf.tab.c > ../ipf_y.c 126 ipf.tab.h > ../ipf_y.h 128 CLEANFILES += ipf.tab.c ipf.tab.h 165 ipmon.tab.c > ../ipmon_y.c 167 ipmon.tab.h > ../ipmon_y.h 169 CLEANFILES += ipmon.tab.c ipmon.tab.h 196 ipnat.tab.c > ../ipnat_y.c 198 ipnat.tab.h > ../ipnat_y.h 200 CLEANFILES += ipnat.tab.c ipnat.tab.h 227 ippool.tab.c > ../ippool_y.c [all …]
|
/titanic_44/usr/src/lib/libshell/common/features/ |
H A D | math.sh | 21 : include math.tab 104 tab= 129 tab="$tab$nl#ifdef $v$nl$ht\"\\0${R}${a}${name}\",$ht(Math_f)${L},${nl}#endif" 175 do tab="$tab$nl$ht\"\\0${R}${a}${x}\",$ht(Math_f)$f," 178 tab="$tab$nl$ht\"\",$ht$ht(Math_f)0" 187 {$tab
|