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

1234

/osnet-11/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)
/osnet-11/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...]
/osnet-11/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;
H A Dstropt.c32 * parse option expression in s using options in tab with element size siz
33 * first element in tab must be a char*
43 * p matching tab entry, or name if no table
49 * names in s may be shorter than tab names
50 * longer names must have a prefix that matches a tab name
56 stropt(const char* as, const void* tab, int siz, int(*f)(void*, const void*, int, const char*), void* a) argument
89 if (tab)
91 for (p = (char**)tab; t = *p; p = (char**)((char*)p + siz))
/osnet-11/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...]
H A Ddb_table.cc311 tab = NULL;
345 if (tab != NULL) {
349 if (tab[i]) {
350 free_entry(tab[i]);
356 delete tab;
358 tab = NULL;
411 (void) memcpy(&newEnumArray[oldSize], &tab[oldSize],
427 entry_object_p *oldtab = tab;
443 // if ((tab = new entry_object_p[table_size]) == NULL)
444 if ((tab
[all...]
H A Ddb_index_c.x55 db_index_entry_p tab<>;
68 % db_index_entry_p *tab;
/osnet-11/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...]
/osnet-11/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...]
/osnet-11/usr/src/lib/libsec/
H A DMakefile.com31 GENERATED_SRCS = acl.tab.o acl_lex.o
34 CLEANFILES += acl_lex.c acl.tab.c acl.tab.h
66 acl.tab.c acl.tab.h: $(SRCDIR)/acl.y
69 acl_lex.c: $(SRCDIR)/acl_lex.l acl.tab.h
/osnet-11/usr/src/grub/grub-0.97/
H A Dmissing81 bison create \`y.tab.[ch]', if possible, from existing .[ch]
87 yacc create \`y.tab.[ch]', if possible, from existing .[ch]
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
[all...]
/osnet-11/usr/src/grub/grub2/build-aux/
H A Dmissing84 bison create \`y.tab.[ch]', if possible, from existing .[ch]
90 yacc create \`y.tab.[ch]', if possible, from existing .[ch]
219 rm -f y.tab.c y.tab.h
226 cp "$SRCFILE" y.tab.c
230 cp "$SRCFILE" y.tab.h
235 if test ! -f y.tab.h; then
236 echo >y.tab.h
238 if test ! -f y.tab.c; then
239 echo 'main() { return 0; }' >y.tab
[all...]
/osnet-11/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 /
[all...]
/osnet-11/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[
[all...]
/osnet-11/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
533 PerlIO_funcs *tab = PerlIOBase(f)->tab; local
858 PerlIO_tab_sv(pTHX_ PerlIO_funcs *tab) argument
894 PerlIO_define_layer(pTHX_ PerlIO_funcs *tab) argument
999 PerlIO_funcs *tab = &PerlIO_perlio; local
1031 PerlIOPop_pushed(pTHX_ PerlIO *f, const char *mode, SV *arg, PerlIO_funcs *tab) argument
1145 PerlIO_push(pTHX_ PerlIO *f, PerlIO_funcs *tab, const char *mode, SV *arg) argument
1203 PerlIORaw_pushed(pTHX_ PerlIO *f, const char *mode, SV *arg, PerlIO_funcs *tab) argument
1246 PerlIO_funcs *tab = PerlIO_layer_fetch(aTHX_ layers, n, NULL); local
1338 PerlIO_funcs *tab = PerlIOBase(f)->tab; local
1490 PerlIO_funcs *tab = NULL; local
1596 PerlIO_funcs *tab = PerlIOBase(f)->tab; local
1696 PerlIO_funcs *tab = PerlIOBase(f)->tab; local
1712 PerlIO_funcs *tab = PerlIOBase(f)->tab; local
1728 PerlIO_funcs *tab = PerlIOBase(f)->tab; local
1744 PerlIO_funcs *tab = PerlIOBase(f)->tab; local
1799 PerlIOUtf8_pushed(pTHX_ PerlIO *f, const char *mode, SV *arg, PerlIO_funcs *tab) argument
1874 PerlIO_funcs *tab = PerlIO_default_btm(); local
1956 PerlIOBase_pushed(pTHX_ PerlIO *f, const char *mode, SV *arg, PerlIO_funcs *tab) argument
2090 PerlIO_funcs *tab = PerlIOBase(n)->tab; local
2168 PerlIO_funcs *tab = PerlIOBase(nexto)->tab; local
2364 PerlIOUnix_pushed(pTHX_ PerlIO *f, const char *mode, SV *arg, PerlIO_funcs *tab) argument
2629 PerlIOStdio_pushed(pTHX_ PerlIO *f, const char *mode, SV *arg, PerlIO_funcs *tab) argument
3387 PerlIOBuf_pushed(pTHX_ PerlIO *f, const char *mode, SV *arg, PerlIO_funcs *tab) argument
3410 PerlIO_funcs *tab = local
3421 PerlIO_funcs *tab = PerlIO_layer_fetch(aTHX_ layers, n - 1, PerlIO_default_btm()); local
3944 PerlIOPending_pushed(pTHX_ PerlIO *f, const char *mode, SV *arg, PerlIO_funcs *tab) argument
4023 PerlIOCrlf_pushed(pTHX_ PerlIO *f, const char *mode, SV *arg, PerlIO_funcs *tab) argument
[all...]
/osnet-11/usr/src/lib/nsswitch/ldap/common/
H A Dgetnetgrent.c70 netgroup_table_t tab; member in struct:__anon2785
78 netgroup_table_t tab; member in struct:__anon2786
105 add_netgroup_name(const char *name, netgroup_table_t *tab) argument
111 if (tab == NULL) {
124 ng = tab->hash_list[h];
142 ng_new->next_hash = tab->hash_list[h];
143 tab->hash_list[h] = ng_new;
144 ng_new->next = tab->to_do;
145 tab->to_do = ng_new;
151 get_next_netgroup(netgroup_table_t *tab) argument
168 free_netgroup_table(netgroup_table_t *tab) argument
512 add_netgroup_member_entry(ns_ldap_entry_t *entry, netgroup_table_t *tab) argument
532 add_netgroup_member(ns_ldap_result_t *result, netgroup_table_t *tab) argument
559 netgroup_table_t tab; local
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/x2p/
H A Dfind2perl.PL59 sub tab ();
89 $out .= tab . "(\n";
94 $out .= tab . ")";
100 $out .= tab . "!";
103 $out .= tab . '/' . fileglob_to_re(shift) . "/s";
108 $out .= tab;
118 $out .= tab . "-$filetest _";
120 $out .= tab . 'print("$name\n")';
123 $out .= tab . 'print("$name\0")';
127 $out .= tab;
[all...]

Completed in 95 milliseconds

1234