Searched defs:table (Results 1 - 25 of 364) sorted by relevance

1234567891011>>

/freebsd-head/contrib/unbound/services/cache/
H A Drrset.h57 /** uses partitioned hash table */
58 struct slabhash table; member in struct:rrset_cache
/freebsd-head/sys/compat/cloudabi/
H A Dcloudabi_errno.c39 static const int table[] = { local
120 if (error < 0 || error >= nitems(table) || table[error] == 0)
122 return (table[error]);
/freebsd-head/contrib/smbfs/lib/smb/
H A Dkiconv.c49 kiconv_add_xlat_table(const char *to, const char *from, const u_char *table) argument
61 din.ia_data = table;
/freebsd-head/contrib/ipfilter/lib/
H A Dprinthash.c20 iphtent_t *ipep, **table; local
40 sz = iph.iph_size * sizeof(*table);
41 table = malloc(sz);
42 if ((*copyfunc)((char *)iph.iph_table, (char *)table, sz))
52 free(table);
H A Dfacpri.c29 typedef struct table { struct
/freebsd-head/sys/libkern/
H A Dscanc.c40 scanc(u_int size, const u_char *cp, const u_char table[], int mask0) argument
47 if (table[*cp] & mask)
/freebsd-head/tests/sys/fs/fusefs/
H A Dmockfs.cc66 const char* table[NUM_OPS] = { local
110 return (table[opcode]);
/freebsd-head/contrib/ncurses/progs/
H A Dtparm_type.c55 } table[] = { local
65 for (n = 0; n < SIZEOF(table); n++) {
66 if (!strcmp(name, table[n].name)) {
67 result = table[n].code;
/freebsd-head/contrib/netbsd-tests/lib/libc/stdlib/
H A Dt_abs.c50 } table[] = { local
59 for (size_t i = 0; i < __arraycount(table); i++)
60 ATF_CHECK(abs(table[i].val) == table[i].res);
74 } table[] = { local
86 for (size_t i = 0; i < __arraycount(table); i++)
87 ATF_CHECK(imaxabs(table[i].val) == table[i].res);
101 } table[] = { local
112 for (size_t i = 0; i < __arraycount(table);
127 } table[] = { local
[all...]
/freebsd-head/lib/libc/string/
H A Dstrxfrm.c61 struct xlocale_collate *table = local
77 if (table->__collate_load_error)
86 if ((xlen = _collate_sxfrm(table, wcs, dest, len)) == (size_t)-1)
H A Dwcsxfrm.c49 struct xlocale_collate *table = local
58 if ((table->__collate_load_error) ||
59 ((slen = _collate_wxfrm(table, src, dest, len)) == (size_t)-1)) {
/freebsd-head/sys/dev/amr/
H A Damr_tables.h62 * Lookup table for code-to-text translations.
69 extern char *amr_describe_code(struct amr_code_lookup *table, u_int32_t code);
82 amr_describe_code(struct amr_code_lookup *table, u_int32_t code) argument
86 for (i = 0; table[i].string != NULL; i++)
87 if (table[i].code == code)
88 return(table[i].string);
89 return(table[i+1].string);
/freebsd-head/sys/dev/drm2/
H A Ddrm_hashtab.h50 LIST_HEAD(drm_hash_item_list, drm_hash_item) *table; member in struct:drm_open_hash
/freebsd-head/contrib/ncurses/ncurses/widechar/
H A Dlib_wacs.c47 } table[] = { local
125 for (n = 0; n < SIZEOF(table); ++n) {
128 int wide = wcwidth((wchar_t) table[n].value[active]);
133 m = table[n].map;
135 SetChar(_nc_wacs[m], table[n].value[1], A_NORMAL);
139 SetChar(_nc_wacs[m], table[n].value[0], A_NORMAL);
144 _tracechar(table[n].value[active]),
/freebsd-head/contrib/gdb/gdb/
H A Dmacrotab.h74 /* A table of all the macro definitions for a given compilation unit. */
124 /* The macro table for the compilation unit this source location is
126 struct macro_table *table; member in struct:macro_source_file
151 /* Create a new, empty macro table. Allocate it in OBSTACK, or use
158 should only ever add information the macro table --- you should
173 void free_macro_table (struct macro_table *table);
185 The macro table makes its own copy of FILENAME; the caller is
187 struct macro_source_file *macro_set_main (struct macro_table *table,
191 /* Return the main source file of the macro table TABLE. */
192 struct macro_source_file *macro_main (struct macro_table *table);
265 struct macro_table *table; member in struct:macro_definition
[all...]
H A Dframe-unwind.c38 /* Append a predicate to the end of the table. */
40 append_predicate (struct frame_unwind_table *table, argument
43 table->sniffer = xrealloc (table->sniffer, ((table->nr + 1)
45 table->sniffer[table->nr] = sniffer;
46 table->nr++;
52 struct frame_unwind_table *table = XCALLOC (1, struct frame_unwind_table); local
53 append_predicate (table, dummy_frame_sniffe
63 struct frame_unwind_table *table = local
80 struct frame_unwind_table *table = gdbarch_data (gdbarch, frame_unwind_data); local
[all...]
/freebsd-head/cddl/contrib/opensolaris/lib/pyzfs/common/
H A Dholds.py34 import zfs.table namespace
64 t = zfs.table.Table(fields, rjustfields)
/freebsd-head/contrib/com_err/
H A Dcom_right.h82 struct error_table *table; member in struct:et_list
/freebsd-head/crypto/heimdal/lib/com_err/
H A Dcom_right.h70 struct error_table *table; member in struct:et_list
/freebsd-head/crypto/heimdal/lib/krb5/
H A Dcrc.c36 static u_long table[256]; variable
58 table[i] = crc;
67 res = table[(res ^ *p++) & 0xFF] ^ (res >> 8);
/freebsd-head/libexec/bootpd/
H A Dhash.h27 * Generalized hash table ADT
73 * hash_Lookup(table, hashcode, compare, key);
79 * The actual hash table index will be the passed hashcode modulo
80 * the hash table size.
91 * Various hash table definitions
117 hash_member *table[1]; /* Dynamically extended */
116 hash_member *table[1]; /* Dynamically extended */ member in struct:hash_tblstruct
/freebsd-head/sys/dev/mly/
H A Dmly_tables.h33 * Lookup table for code-to-text translations.
40 static char *mly_describe_code(struct mly_code_lookup *table, u_int32_t code);
46 mly_describe_code(struct mly_code_lookup *table, u_int32_t code) argument
50 for (i = 0; table[i].string != NULL; i++)
51 if (table[i].code == code)
52 return(table[i].string);
53 return(table[i+1].string);
125 * This table is directly derived from the corresponding table in the
/freebsd-head/sys/teken/
H A Dteken_wcwidth.h18 /* auxiliary function for binary search in interval table */
19 static int bisearch(teken_char_t ucs, const struct interval *table, int max) { argument
23 if (ucs < table[0].first || ucs > table[max].last)
27 if (ucs > table[mid].last)
29 else if (ucs < table[mid].first)
99 /* binary search in table of non-spacing characters */
/freebsd-head/sbin/dhclient/
H A Dhash.c80 void add_hash(struct hash_table *table, const unsigned char *name, int len, argument
86 if (!table)
91 hashno = do_hash(name, len, table->hash_count);
95 warning("Can't add %s to hash table.", name);
100 bp->next = table->buckets[hashno];
102 table->buckets[hashno] = bp;
106 hash_lookup(struct hash_table *table, unsigned char *name, int len) argument
111 if (!table)
117 hashno = do_hash(name, len, table->hash_count);
119 for (bp = table
[all...]
/freebsd-head/contrib/less/
H A Dposition.c12 * Routines dealing with the "position" table.
13 * This is a table which tells the position (in the input file) of the
16 * {{ The position table is scrolled by moving all the entries.
17 * Would be better to have a circular table
24 static POSITION *table = NULL; /* The position table */ variable
54 return (table[sindex]);
58 * Add a new file position to the bottom of the position table.
67 * Scroll the position table up.
70 table[
[all...]

Completed in 138 milliseconds

1234567891011>>