Searched refs:tab (Results 1 - 25 of 145) sorted by relevance

123456

/illumos-gate/usr/src/cmd/troff/nroff.d/terms.d/
H A DMakefile14 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
[all...]
/illumos-gate/usr/src/lib/libast/common/hash/
H A Dhashlast.c24 /* OBSOLETE 19960229 -- use tab->root->last.{table|bucket} */
40 hashlast(Hash_table_t* tab) argument
42 return(tab->root->last.bucket);
H A Dhashalloc.c43 register Hash_table_t* tab; local
65 if (!(tab = (Hash_table_t*)(*region)(handle, NiL, sizeof(Hash_table_t), 0)))
67 memset(tab, 0, sizeof(Hash_table_t));
69 else if (!(tab = newof(0, Hash_table_t, 1, 0)))
71 tab->bucketsize = (sizeof(Hash_header_t) + sizeof(char*) - 1) / sizeof(char*);
74 tab->flags = ref->flags & ~HASH_RESET;
75 tab->root = ref->root;
82 if (!(tab->root = (Hash_root_t*)(*region)(handle, NiL, sizeof(Hash_root_t), 0)))
84 memset(tab->root, 0, sizeof(Hash_root_t));
86 else if (!(tab
[all...]
H A Dhashfree.c40 hashfree(register Hash_table_t* tab) argument
53 if (!tab) return(0);
54 if (tab->table)
58 if (tab->root->local->free)
60 if (tab->root->flags & HASH_BUCKET) freebucket = tab->root->local->free;
61 else freevalue = tab->root->local->free;
63 if (region = tab->root->local->region)
64 handle = tab->root->local->handle;
65 sx = &tab
[all...]
H A Dhashscan.c37 * pos = hashscan(tab, flags);
47 hashscan(register Hash_table_t* tab, register int flags) argument
54 pos->tab = tab->root->last.table = tab;
56 pos->slot = tab->table - 1;
57 pos->limit = tab->table + tab->size;
58 if (tab->scope && !(flags & HASH_NOSCOPE))
65 if (tab
[all...]
H A Dhashsize.c38 hashsize(register Hash_table_t* tab, int size) argument
49 if (size > 0 && size != tab->size && !(size & (size - 1)))
51 if (region = tab->root->local->region)
53 handle = tab->root->local->handle;
57 if (!new_s) tab->flags |= HASH_FIXED;
60 old_sx = (old_s = tab->table) + tab->size;
61 tab->size = size;
70 HASHMOD(tab, index);
75 if ((tab
[all...]
H A Dhashlook.c37 hashlook(register Hash_table_t* tab, const char* name, long flags, const char* value) argument
62 HASHMOD(tab, n);
63 for (b = tab->table[n]; b; b = b->next)
70 if (!(tab = tab->scope) || (flags & HASH_NOSCOPE))
75 tab->root->accesses++;
76 top = tab;
77 last = &tab->root->last;
80 last->table = tab;
89 else if (tab
[all...]
H A Dhashdump.c53 dumpbucket(register Hash_table_t* tab, int flags) argument
62 sx = tab->table + tab->size;
63 for (sp = tab->table; sp < sx; sp++)
67 if (!(b->hash & HASH_DELETED) && (!(tab->flags & HASH_VALUE) || b->value))
71 sfprintf(sfstderr, "%5d %2d :", sp - tab->table, n);
73 if (!(b->hash & HASH_DELETED) && (!(tab->flags & HASH_VALUE) || b->value))
75 if (n = tab->root->namesize)
91 if (tab->flags & HASH_VALUE) sfprintf(sfstderr, "=0x%08lx", (long)b->value);
104 dumptable(register Hash_table_t* tab, registe argument
136 register Hash_table_t* tab; local
164 hashdump(register Hash_table_t* tab, int flags) argument
[all...]
H A Dhashwalk.c37 hashwalk(Hash_table_t* tab, int flags, register int (*walker)(const char*, char*, void*), void* handle) argument
43 if (!(pos = hashscan(tab, flags)))
47 if ((v = (*walker)(hashname(b), (tab->flags & HASH_VALUE) ? b->value : (char*)b, handle)) < 0)
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Dhtable.c52 * tab - the hash table.
60 const htab_t *tab,
64 htab_itemx_t *x = tab->avlt;
85 * tab - the hash table.
93 const htab_t *tab,
98 htab_itemx_t *x = tab->avlt;
269 * tab - the hash table.
276 htab_t *tab,
288 if (tab->avlt == NULL) {
289 tab
59 avl_search( const htab_t *tab, const uint32_t uid ) argument
92 avl_search_next( const htab_t *tab, const uint32_t uid ) argument
275 avl_insert( htab_t *tab, htab_itemx_t *x ) argument
386 new_uid( htab_t *tab, uint32_t uid ) argument
459 uid_insert( htab_t *tab, uint32_t *const uid_p, const uint32_t hval ) argument
620 htab_t *tab = NULL; local
694 htab_add( htab_t *tab, void *p, int flag, uint32_t *uid_p, int *update_p ) argument
835 htab_remove( htab_t *tab, void *p, uint32_t uid, int clone_flag ) argument
960 htab_lookup( htab_t *tab, void *p, uint32_t uid, uint32_t *uid_p, int (*callback)(void *, void *), int rekey ) argument
1055 htab_get_next( htab_t *tab, uint32_t uid ) argument
[all...]
/illumos-gate/usr/src/lib/libast/common/tm/
H A Dtmlex.c35 * return the tab table index that matches s ignoring case and .'s
38 * ntab and nsuf are the number of elements in tab and suf,
48 tmlex(register const char* s, char** e, char** tab, int ntab, char** suf, int nsuf) argument
54 for (p = tab, n = ntab; n-- && (x = *p); p++)
56 return p - tab;
57 if (tm_info.format != tm_data.format && tab >= tm_info.format && tab < tm_info.format + TM_NFORM)
59 tab = tm_data.format + (tab - tm_info.format);
60 if (suf && tab >
[all...]
/illumos-gate/usr/src/cmd/devmgmt/data/
H A DMakefile27 FILES= device.tab dgroup.tab
/illumos-gate/usr/src/lib/libast/common/string/
H A Dstrlook.c31 * return pointer to name in tab with element size siz
34 * the last name in tab must be 0
40 strlook(const void* tab, size_t siz, register const char* name) argument
42 register char* t = (char*)tab;
H A Dstrsearch.c32 * name in the (*comparf*)() sorted tab of num elements of
40 strsearch(const void* tab, size_t num, size_t siz, Strcmp_f comparf, const char* name, void* context) argument
42 register char* lo = (char*)tab;
/illumos-gate/usr/src/tools/ndrgen/
H A DMakefile40 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/lib/libnisdb/
H A Ddb_index.cc58 tab = NULL;
84 if (tab != NULL) {
86 curr = tab[i];
95 delete tab; // get rid of table itself
97 tab = NULL;
145 db_index_entry_p * oldtab = tab;
163 if ((tab = (db_index_entry_p*)
166 tab = oldtab; // restore previous table info
175 oldtab[i]->relocate(tab, table_size);
197 if (index_value == NULL || table_size == 0 || tab
[all...]
/illumos-gate/usr/src/cmd/zic/
H A Ddo_pofile.sh9 # Create messages file for zone_sun.tab, country.tab, continent.tab
14 ZONE_SUN_FILE=zone_sun.tab
15 COUNTRY_FILE=country.tab
16 CONTINENT_FILE=continent.tab
27 $ECHO "# continent.tab"
30 # Get 2nd column of continent.tab file
41 $ECHO "# country.tab"
44 # Get 2nd column of country.tab fil
[all...]
/illumos-gate/usr/src/cmd/iconv/
H A DMakefile21 OBJS = iconv_main.o iconv_list.o charmap.o parser.tab.o scanner.o
33 CLEANFILES = $(OBJS) parser.tab.c parser.tab.h
46 $(OBJS): parser.tab.h
48 parser.tab.c parser.tab.h: parser.y
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/
H A Ddid_hash.c132 did_hash_t *tab = (did_hash_t *)topo_mod_getspecific(mp); local
134 int idx = did_dnhash(key) % tab->dph_hashlen;
136 tab->dph_nelems++;
138 topo_mod_dprintf(tab->dph_mod, "Insert [key=%p] into %p, bucket %d\n",
139 key, (void *)tab, idx);
140 if (tab->dph_hash[idx] == NULL) {
141 tab->dph_hash[idx] = new;
142 topo_mod_dprintf(tab->dph_mod, "first entry.\n");
147 for (assertchk = tab->dph_hash[idx];
151 new->dp_next = tab
160 did_hash_t *tab = (did_hash_t *)topo_mod_getspecific(mp); local
[all...]
/illumos-gate/usr/src/cmd/zonecfg/
H A DMakefile27 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 =
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/
H A DMakefile29 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 =
/illumos-gate/usr/src/common/mpi/
H A Dmp_gf2m.c68 mp_digit tab[8], top2b = a >> 30; local
73 tab[0] = 0; tab[1] = a1; tab[2] = a2; tab[3] = a1^a2;
74 tab[4] = a4; tab[5] = a1^a4; tab[6] = a2^a4; tab[7] = a1^a2^a4;
76 s = tab[
100 mp_digit tab[16], top3b = a >> 61; local
[all...]
/illumos-gate/usr/src/lib/libsec/
H A DMakefile.com32 GENERATED_SRCS = acl.tab.o acl_lex.o
35 CLEANFILES += acl_lex.c acl.tab.c acl.tab.h
74 acl.tab.c acl.tab.h: $(SRCDIR)/acl.y
77 acl_lex.c: $(SRCDIR)/acl_lex.l acl.tab.h
/illumos-gate/usr/src/cmd/awk_xpg4/
H A DMakefile49 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
/illumos-gate/usr/src/cmd/oamuser/user/
H A Duserdefs.c84 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) {
133 *start_p = cur_p + tab[ind].nmsz;
134 return (&tab[ind]);
325 * #<tab>Default values for adduser. Changed mm/dd/yy hh:mm:ss.
375 if (tab[i].off == skip)
378 switch (tab[i].type) {
380 res = fprintf(defptr, "%s%d\n", tab[
[all...]

Completed in 175 milliseconds

123456