Home
last modified time | relevance | path

Searched refs:tab (Results 1 – 25 of 258) sorted by relevance

1234567891011

/onnv-gate/usr/src/lib/libast/common/hash/
H A Dhashlook.c37 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 Dhashalloc.c43 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 Dhashscan.c47 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 Dhashfree.c40 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 Dhashdump.c53 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 Dhashsize.c38 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 …]
/onnv-gate/usr/src/cmd/troff/nroff.d/terms.d/
H A DMakefile15 FILES1 = tab.2631 tab.2631-c tab.2631-e tab.lp
16 FILES2 = tab.300 tab.300-12 tab.300s tab.300s-12 tab.382 \
17 tab.4000a tab.450 tab.450-12 tab.832
18 FILES3 = tab.37 tab.8510 tab.X tab.tn300
23 LNKFILES = tab.300S tab.300S-12 tab.4000A
26 $(ROOTNTERM)/tab.300S := ROOTLNKDEST = $(ROOTNTERM)/tab.300s
27 $(ROOTNTERM)/tab.300S-12 := ROOTLNKDEST = $(ROOTNTERM)/tab.300s-12
28 $(ROOTNTERM)/tab.4000A := ROOTLNKDEST = $(ROOTNTERM)/tab.4000a
38 $(FILES1) : $$(@:tab.%=a.%) b.lp
39 cat $(@:tab.%=a.%) b.lp >$@
[all …]
/onnv-gate/usr/src/cmd/isns/isnsd/
H A Dhtable.c60 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 …]
/onnv-gate/usr/src/lib/libnisdb/
H A Ddb_index.cc58 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 Ddb_table.cc316 tab = NULL; in db_table()
350 if (tab != NULL) { in reset()
354 if (tab[i]) { in reset()
355 free_entry(tab[i]); in reset()
361 delete tab; in reset()
363 tab = NULL; in reset()
416 (void) memcpy(&newEnumArray[oldSize], &tab[oldSize], in allocateEnumArray()
432 entry_object_p *oldtab = tab; in grow()
449 if ((tab = (entry_object_p*) in grow()
452 tab = oldtab; // restore previous table info in grow()
[all …]
/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/utils/
H A Dh2ph.PL86 my ($t, $tab, %curargs, $new, $eval_index, $dir, $name, $args, $outfile);
96 $tab = 0;
195 $tab += 4;
196 $t = "\t" x ($tab / 8) . ' ' x ($tab % 8);
214 $tab -= 4;
215 $t = "\t" x ($tab / 8) . ' ' x ($tab % 8);
226 $tab += 4;
227 $t = "\t" x ($tab / 8) . ' ' x ($tab % 8);
230 $tab += 4;
231 $t = "\t" x ($tab / 8) . ' ' x ($tab % 8);
[all …]
/onnv-gate/usr/src/lib/libast/common/tm/
H A Dtmlex.c48 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()
/onnv-gate/usr/src/common/mpi/
H A Dmp_gf2m.c68 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 …]
/onnv-gate/usr/src/common/openssl/crypto/bn/
H A Dbn_gf2m.c146 BN_ULONG tab[4], top1b = a >> 7; in bn_GF2m_mul_1x1() local
151 tab[0] = 0; tab[1] = a1; tab[2] = a2; tab[3] = a1^a2; in bn_GF2m_mul_1x1()
153 s = tab[b & 0x3]; l = s; in bn_GF2m_mul_1x1()
154 s = tab[b >> 2 & 0x3]; l ^= s << 2; h = s >> 6; in bn_GF2m_mul_1x1()
155 s = tab[b >> 4 & 0x3]; l ^= s << 4; h ^= s >> 4; in bn_GF2m_mul_1x1()
156 s = tab[b >> 6 ]; l ^= s << 6; h ^= s >> 2; in bn_GF2m_mul_1x1()
169 BN_ULONG tab[4], top1b = a >> 15; in bn_GF2m_mul_1x1() local
174 tab[0] = 0; tab[1] = a1; tab[2] = a2; tab[3] = a1^a2; in bn_GF2m_mul_1x1()
176 s = tab[b & 0x3]; l = s; in bn_GF2m_mul_1x1()
177 s = tab[b >> 2 & 0x3]; l ^= s << 2; h = s >> 14; in bn_GF2m_mul_1x1()
[all …]
/onnv-gate/usr/src/lib/libfru/
H A DMakefile.targ47 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
/onnv-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); 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 …]
/onnv-gate/usr/src/cmd/oamuser/user/
H A Duserdefs.c83 static const parsent_t tab[] = { variable
108 #define NDEF (sizeof (tab) / sizeof (parsent_t))
131 if (strncmp(cur_p, tab[ind].name, tab[ind].nmsz) == 0) { in scan()
132 *start_p = cur_p + tab[ind].nmsz; in scan()
133 return (&tab[ind]); in scan()
374 if (tab[i].off == skip) in putusrdef()
377 switch (tab[i].type) { in putusrdef()
379 res = fprintf(defptr, "%s%d\n", tab[i].name, in putusrdef()
380 FIELD(defs, &tab[i], int)); in putusrdef()
383 res = fprintf(defptr, "%s%s\n", tab[i].name, in putusrdef()
[all …]
/onnv-gate/usr/src/lib/nsswitch/ldap/common/
H A Dgetnetgrent.c70 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 …]
/onnv-gate/usr/src/tools/ndrgen/
H A DMakefile38 CLEANFILES += $(OBJS) y.tab.c y.tab.h
55 $(OBJS): y.tab.h
57 y.tab.c y.tab.h: ndr_parse.y
60 ndr_parse.o : y.tab.c
61 $(COMPILE.c) -o $@ y.tab.c
/onnv-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
49 nwamcfg_lex.c: nwamcfg_lex.l nwamcfg_grammar.tab.h nwamcfg.h
52 nwamcfg_grammar.tab.h nwamcfg_grammar.tab.c: nwamcfg_grammar.y nwamcfg.h
55 nwamcfg_lex.o nwamcfg_grammar.tab.o := CCVERBOSE =
/onnv-gate/usr/src/cmd/awk_xpg4/
H A DMakefile48 CLEANFILES= awk.c y.tab.h
80 awk.c + y.tab.h: awk.y
82 awk.o: awk.c y.tab.h
84 awk0.c: awk.c y.tab.h
86 awk1.c: awk.c y.tab.h
88 awk2.c: awk.c y.tab.h
90 awk3.c: awk.c y.tab.h
92 awk4.c: awk.c y.tab.h
/onnv-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
54 zonecfg_lex.c: zonecfg_lex.l zonecfg_grammar.tab.h zonecfg.h
57 zonecfg_grammar.tab.h zonecfg_grammar.tab.c: zonecfg_grammar.y zonecfg.h
60 zonecfg_lex.o zonecfg_grammar.tab.o := CCVERBOSE =
/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/
H A Dperlio.c61 PerlIO_funcs *tab = PerlIOBase(f)->tab; \
62 if (tab && tab->callback) \
63 return (*tab->callback) args; \
74 PerlIO_funcs *tab = PerlIOBase(f)->tab; \
75 if (tab && tab->callback) \
76 return (*tab->callback) args; \
86 PerlIO_funcs *tab = PerlIOBase(f)->tab; \
87 if (tab && tab->callback) \
88 (*tab->callback) args; \
98 PerlIO_funcs *tab = PerlIOBase(f)->tab; \
[all …]
/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/Unicode/Normalize/
H A Dmkheader105 my @tab = split /\t/, $1;
106 my $ini = hex $tab[0];
107 if ($tab[1] eq '') {
108 $Combin{ $ini } = $tab[2];
110 $Combin{ $_ } = $tab[2] foreach $ini .. hex($tab[1]);
115 my @tab = split /\t/, $1;
116 my $compat = $tab[2] =~ s/<[^>]+>//;
117 my $dec = [ _getHexArray($tab[2]) ]; # decomposition
118 my $ini = hex($tab[0]); # initial decomposable character
124 if ($tab[1] eq '') {
[all …]
/onnv-gate/usr/src/grub/grub-0.97/
H A Dmissing216 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

1234567891011