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

1234567891011>>

/macosx-10.10.1/ksh-23/ksh/src/lib/libast/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)
/macosx-10.10.1/pyobjc-45/2.5/pyobjc/pyobjc-framework-CoreText/PyObjCTest/
H A Dtest_cttexttab.py15 tab = CTTextTabCreate(kCTCenterTextAlignment, 10.5, { u"key": u"value" })
16 self.failUnlessIsInstance(tab, CTTextTabRef)
18 v = CTTextTabGetAlignment(tab)
21 v = CTTextTabGetLocation(tab)
24 v = CTTextTabGetOptions(tab)
/macosx-10.10.1/pyobjc-45/2.6/pyobjc/pyobjc-framework-CoreText/PyObjCTest/
H A Dtest_cttexttab.py15 tab = CTTextTabCreate(kCTCenterTextAlignment, 10.5, { u"key": u"value" })
16 self.assertIsInstance(tab, CTTextTabRef)
18 v = CTTextTabGetAlignment(tab)
21 v = CTTextTabGetLocation(tab)
24 v = CTTextTabGetOptions(tab)
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/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...]
/macosx-10.10.1/cxxfilt-11/cxxfilt/bfd/
H A Delf-strtab.c128 _bfd_elf_strtab_free (struct elf_strtab_hash *tab) argument
130 bfd_hash_table_free (&tab->table);
131 free (tab->array);
132 free (tab);
139 _bfd_elf_strtab_add (struct elf_strtab_hash *tab, argument
150 BFD_ASSERT (tab->sec_size == 0);
152 bfd_hash_lookup (&tab->table, str, TRUE, copy);
163 if (tab->size == tab->alloced)
166 tab
179 _bfd_elf_strtab_addref(struct elf_strtab_hash *tab, bfd_size_type idx) argument
189 _bfd_elf_strtab_delref(struct elf_strtab_hash *tab, bfd_size_type idx) argument
200 _bfd_elf_strtab_clear_all_refs(struct elf_strtab_hash *tab) argument
209 _bfd_elf_strtab_size(struct elf_strtab_hash *tab) argument
215 _bfd_elf_strtab_offset(struct elf_strtab_hash *tab, bfd_size_type idx) argument
230 _bfd_elf_strtab_emit(register bfd *abfd, struct elf_strtab_hash *tab) argument
299 _bfd_elf_strtab_finalize(struct elf_strtab_hash *tab) argument
[all...]
/macosx-10.10.1/JavaScriptCore-7600.1.17/tests/mozilla/js1_2/function/
H A Dtostring-2.js59 var tab = " "; variable
62 var equals = new TestFunction( "Equals", "a, b", tab+ "return a == b;" );
68 ( version() <= 120 ) ? tab +"return a == b;" : tab +"return a === b;" );
73 var doesntequal = new TestFunction( "DoesntEqual", "a, b", tab + "return a != b;" );
79 ( version() <= 120 ) ? tab +"return a != b;" : tab +"return a !== b;" );
85 var testor = new TestFunction( "TestOr", "a", tab+"if (a == null || a == void 0) {\n"+
86 tab +tab
[all...]
/macosx-10.10.1/pyobjc-45/2.6/pyobjc/pyobjc-core/PyObjCTest/
H A Dtest3_typecheck.py28 tab = [
32 objc.loadBundleFunctions(bundle, d, tab)
36 tab = [
39 self.assertRaises(TypeError, objc.loadBundleFunctions, bundle, d, tab)
41 tab = [
44 self.assertRaises(TypeError, objc.loadBundleFunctions, bundle, d, tab)
50 tab = [
55 objc.loadBundleVariables(bundle, d, tab)
60 tab = [
64 self.assertRaises(TypeError, objc.loadBundleVariables, bundle, d, tab)
[all...]
/macosx-10.10.1/pyobjc-45/pyobjc/pyobjc-core-2.5.1/PyObjCTest/
H A Dtest3_typecheck.py28 tab = [
32 objc.loadBundleFunctions(bundle, d, tab)
36 tab = [
39 self.assertRaises(TypeError, objc.loadBundleFunctions, bundle, d, tab)
41 tab = [
44 self.assertRaises(TypeError, objc.loadBundleFunctions, bundle, d, tab)
50 tab = [
55 objc.loadBundleVariables(bundle, d, tab)
60 tab = [
64 self.assertRaises(TypeError, objc.loadBundleVariables, bundle, d, tab)
[all...]
/macosx-10.10.1/bind9-45.101/bind9/lib/dns/
H A Diptable.c34 dns_iptable_t *tab; local
36 tab = isc_mem_get(mctx, sizeof(*tab));
37 if (tab == NULL)
39 tab->mctx = mctx;
40 isc_refcount_init(&tab->refcount, 1);
41 tab->radix = NULL;
42 tab->magic = DNS_IPTABLE_MAGIC;
44 result = isc_radix_create(mctx, &tab->radix, RADIX_MAXBITS);
48 *target = tab;
63 dns_iptable_addprefix(dns_iptable_t *tab, isc_netaddr_t *addr, isc_uint16_t bitlen, isc_boolean_t pos) argument
116 dns_iptable_merge(dns_iptable_t *tab, dns_iptable_t *source, isc_boolean_t pos) argument
166 dns_iptable_t *tab = *tabp; local
[all...]
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/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;
/macosx-10.10.1/pyobjc-45/pyobjc/pyobjc-framework-CoreText-2.5.1/PyObjCTest/
H A Dtest_cttexttab.py25 tab = CTTextTabCreate(kCTCenterTextAlignment, 10.5, {
28 self.assertIsInstance(tab, CTTextTabRef)
30 v = CTTextTabGetAlignment(tab)
33 v = CTTextTabGetLocation(tab)
36 v = CTTextTabGetOptions(tab)
/macosx-10.10.1/file_cmds-242/mtree/
H A Dcompare.c77 tab = "\t"; \
88 const char *tab = ""; local
130 tab, (u_long)s->st_uid, (u_long)p->fts_statp->st_uid);
139 tab = "\t";
144 tab, (u_long)s->st_gid, (u_long)p->fts_statp->st_gid);
153 tab = "\t";
160 tab, s->st_mode, p->fts_statp->st_mode & MBITS);
169 tab = "\t";
175 tab, s->st_nlink, p->fts_statp->st_nlink);
176 tab
[all...]
/macosx-10.10.1/sudo-73/src/
H A Dmkpkg7 # Make sure IFS is set to space, tab, newline in that order.
9 tab=' '
65 configure_opts="${configure_opts}${configure_opts+$tab}$1"
69 configure_opts="${configure_opts}${configure_opts+$tab}$1"
111 configure_opts="${configure_opts}${configure_opts+$tab}--with-selinux"
116 configure_opts="${configure_opts}${configure_opts+$tab}--with-linux-audit"
117 configure_opts="${configure_opts}${configure_opts+$tab}--with-pam-login"
138 configure_opts="${configure_opts}${configure_opts+$tab}--with-selinux"
174 configure_opts="${configure_opts}${configure_opts+$tab}--enable-admin-flag${tab}
[all...]
/macosx-10.10.1/cxxfilt-11/cxxfilt/binutils/
H A Dcoffdump.c35 static void tab (int);
48 tab (int x) function
102 tab (1);
114 tab (0);
119 tab (-1);
125 tab (1);
154 tab (0);
158 tab(0);
238 tab (-1);
244 tab (
[all...]
/macosx-10.10.1/Chess-310.6/sjeng/
H A Dmissing44 bison create \`y.tab.[ch]', if possible, from existing .[ch]
48 yacc create \`y.tab.[ch]', if possible, from existing .[ch]"
115 rm -f y.tab.c y.tab.h
122 cp "$SRCFILE" y.tab.c
126 cp "$SRCFILE" y.tab.h
131 if [ ! -f y.tab.h ]; then
132 echo >y.tab.h
134 if [ ! -f y.tab.c ]; then
135 echo 'main() { return 0; }' >y.tab
[all...]
/macosx-10.10.1/Heimdal-398.1.2/lib/roken/
H A Dmissing44 bison create \`y.tab.[ch]', if possible, from existing .[ch]
48 yacc create \`y.tab.[ch]', if possible, from existing .[ch]"
115 rm -f y.tab.c y.tab.h
122 cp "$SRCFILE" y.tab.c
126 cp "$SRCFILE" y.tab.h
131 if [ ! -f y.tab.h ]; then
132 echo >y.tab.h
134 if [ ! -f y.tab.c ]; then
135 echo 'main() { return 0; }' >y.tab
[all...]
/macosx-10.10.1/bash-94.1.2/bash-3.2/support/
H A Dmissing44 bison create \`y.tab.[ch]', if possible, from existing .[ch]
48 yacc create \`y.tab.[ch]', if possible, from existing .[ch]"
113 rm -f y.tab.c y.tab.h
120 cp "$SRCFILE" y.tab.c
124 cp "$SRCFILE" y.tab.h
129 if [ ! -f y.tab.h ]; then
130 echo >y.tab.h
132 if [ ! -f y.tab.c ]; then
133 echo 'main() { return 0; }' >y.tab
[all...]
/macosx-10.10.1/ruby-106/ruby/ext/tk/sample/tkextlib/tktable/
H A Dbuttons.rb13 tab = TkVariable.new_hash
18 :variable=>tab, :titlerows=>1, :titlecols=>1,
55 if tab[rc] == 'ON'
56 tab[rc] = 'OFF'
59 tab[rc] = 'ON'
66 tab[i,-1] = i
69 tab[-1,j] = j
71 tab[i,j] = "OFF"

Completed in 161 milliseconds

1234567891011>>