Searched refs:tbl (Results 1 - 25 of 146) sorted by relevance

123456

/freebsd-10.1-release/contrib/ntp/libparse/
H A Dtrim_info.c43 cmd_info_t *tbl
48 for (i = 0; tbl[i].cmd != 0xFF; i++)
50 if (tbl[i].cmd == cmd)
51 return &tbl[i];
/freebsd-10.1-release/usr.bin/grep/regex/
H A Dhashtable.c64 hashtable *tbl; local
69 tbl = malloc(sizeof(hashtable));
70 if (tbl == NULL)
73 tbl->entries = calloc(sizeof(hashtable_entry *), table_size);
74 if (tbl->entries == NULL)
77 tbl->table_size = table_size;
78 tbl->usage = 0;
79 tbl->key_size = key_size;
80 tbl->value_size = value_size;
82 return (tbl);
105 hashtable_put(hashtable *tbl, const void *key, const void *value) argument
179 hashtable_lookup(const hashtable *tbl, const void *key) argument
207 hashtable_get(hashtable *tbl, const void *key, void *value) argument
229 hashtable_remove(hashtable *tbl, const void *key) argument
254 hashtable_free(hashtable *tbl) argument
[all...]
/freebsd-10.1-release/contrib/flex/
H A Dtables_shared.c59 yyskel_static flex_int32_t yytbl_calc_total_len (const struct yytbl_data *tbl)
64 n = tbl->td_lolen;
65 if (tbl->td_hilen > 0)
66 n *= tbl->td_hilen;
68 if (tbl->td_id == YYTD_ID_TRANSITION)
58 yytbl_calc_total_len(const struct yytbl_data *tbl) argument
H A Dtables.c60 static flex_int32_t yytbl_data_geti (const struct yytbl_data *tbl, int i);
62 static flex_int32_t yytbl_data_getijk (const struct yytbl_data *tbl, int i,
100 * @param tbl a pointer to an uninitialized table
339 * @param tbl data table
345 static flex_int32_t yytbl_data_getijk (const struct yytbl_data *tbl, int i,
351 lo = tbl->td_lolen;
353 switch (YYTDFLAGS2BYTES (tbl->td_flags)) {
355 return ((flex_int8_t *) (tbl->td_data))[(i * lo + j) * (k + 1) +
358 return ((flex_int16_t *) (tbl->td_data))[(i * lo + j) * (k +
362 return ((flex_int32_t *) (tbl
380 yytbl_data_geti(const struct yytbl_data *tbl, int i) argument
404 yytbl_data_seti(const struct yytbl_data *tbl, int i, flex_int32_t newval) argument
429 min_int_size(struct yytbl_data *tbl) argument
462 yytbl_data_compress(struct yytbl_data *tbl) argument
[all...]
H A Dgen.c105 struct yytbl_data *tbl; local
107 tbl = (struct yytbl_data *) calloc (1, sizeof (struct yytbl_data));
108 yytbl_data_init (tbl, YYTD_ID_RULE_CAN_MATCH_EOL);
109 tbl->td_flags = YYTD_DATA8;
110 tbl->td_lolen = num_rules + 1;
111 tbl->td_data = tdata =
112 (flex_int8_t *) calloc (tbl->td_lolen, sizeof (flex_int8_t));
120 return tbl;
205 struct yytbl_data *tbl = 0; local
214 tbl
306 struct yytbl_data *tbl = 0; local
437 struct yytbl_data *tbl = 0; local
643 struct yytbl_data *tbl; local
1244 struct yytbl_data *tbl; local
1614 struct yytbl_data *tbl; local
1643 struct yytbl_data *tbl; local
1671 struct yytbl_data *tbl; local
[all...]
H A Dtables.h70 int yytbl_data_init (struct yytbl_data *tbl, enum yytbl_id id);
75 void yytbl_data_compress (struct yytbl_data *tbl);
/freebsd-10.1-release/lib/libc/string/
H A Dstrcspn.c46 u_long tbl[(UCHAR_MAX + 1) / LONG_BIT]; local
53 tbl[0] = 1;
54 tbl[3] = tbl[2] = tbl[1] = 0;
56 for (tbl[0] = idx = 1; idx < sizeof(tbl) / sizeof(tbl[0]); idx++)
57 tbl[idx] = 0;
62 tbl[id
[all...]
H A Dstrspn.c46 u_long tbl[(UCHAR_MAX + 1) / LONG_BIT]; local
53 tbl[3] = tbl[2] = tbl[1] = tbl[0] = 0;
55 for (idx = 0; idx < sizeof(tbl) / sizeof(tbl[0]); idx++)
56 tbl[idx] = 0;
61 tbl[idx] |= bit;
67 if ((tbl[id
[all...]
/freebsd-10.1-release/sys/libkern/
H A Dstrcspn.c46 u_long tbl[(UCHAR_MAX + 1) / LONG_BIT]; local
53 tbl[0] = 1;
54 tbl[3] = tbl[2] = tbl[1] = 0;
56 for (tbl[0] = idx = 1; idx < sizeof(tbl) / sizeof(tbl[0]); idx++)
57 tbl[idx] = 0;
62 tbl[id
[all...]
H A Dstrspn.c46 u_long tbl[(UCHAR_MAX + 1) / LONG_BIT]; local
53 tbl[3] = tbl[2] = tbl[1] = tbl[0] = 0;
55 for (idx = 0; idx < sizeof(tbl) / sizeof(tbl[0]); idx++)
56 tbl[idx] = 0;
61 tbl[idx] |= bit;
67 if ((tbl[id
[all...]
/freebsd-10.1-release/contrib/mdocml/
H A Dtbl.c1 /* $Id: tbl.c,v 1.26 2011/07/25 15:37:00 kristaps Exp $ */
33 tbl_read(struct tbl_node *tbl, int ln, const char *p, int offs) argument
48 if (TBL_PART_OPTS == tbl->part && len)
50 tbl->part = TBL_PART_LAYOUT;
54 switch (tbl->part) {
56 return(tbl_option(tbl, ln, p) ? ROFF_IGN : ROFF_ERR);
58 return(tbl_layout(tbl, ln, p) ? ROFF_IGN : ROFF_ERR);
60 return(tbl_cdata(tbl, ln, p) ? ROFF_TBL : ROFF_IGN);
69 return(tbl_data(tbl, ln, p) ? ROFF_TBL : ROFF_IGN);
128 tbl_restart(int line, int pos, struct tbl_node *tbl) argument
144 tbl_span(struct tbl_node *tbl) argument
159 struct tbl_node *tbl; local
[all...]
H A Dtbl_data.c38 data(struct tbl_node *tbl, struct tbl_span *dp, argument
68 tbl->parse, ln, *pos, NULL);
96 while (p[*pos] && p[*pos] != tbl->opts.tab)
106 tbl->part = TBL_PART_CDATA;
135 tbl->parse, ln, sv, NULL);
142 tbl_cdata(struct tbl_node *tbl, int ln, const char *p) argument
150 dat = tbl->last_span->last;
154 if (p[pos] == tbl->opts.tab) {
155 tbl->part = TBL_PART_DATA;
157 return(data(tbl, tb
184 newspan(struct tbl_node *tbl, int line, struct tbl_row *rp) argument
207 tbl_data(struct tbl_node *tbl, int ln, const char *p) argument
[all...]
H A Dout.c35 const struct tbl *, const struct tbl_dat *);
39 const struct tbl *, const struct tbl_dat *);
138 * all rows and cells in the table. The function pointers in "tbl" are
142 tblcalc(struct rofftbl *tbl, const struct tbl_span *sp) argument
155 assert(NULL == tbl->cols);
156 tbl->cols = mandoc_calloc
157 ((size_t)sp->tbl->cols, sizeof(struct roffcol));
177 col = &tbl->cols[dp->layout->head->ident];
178 tblcalc_data(tbl, col, sp->tbl, d
203 tblcalc_data(struct rofftbl *tbl, struct roffcol *col, const struct tbl *tp, const struct tbl_dat *dp) argument
239 tblcalc_literal(struct rofftbl *tbl, struct roffcol *col, const struct tbl_dat *dp) argument
253 tblcalc_number(struct rofftbl *tbl, struct roffcol *col, const struct tbl *tp, const struct tbl_dat *dp) argument
[all...]
H A Dtbl_opts.c85 arg(struct tbl_node *tbl, int ln, const char *p, int *pos, enum tbl_ident key) argument
96 mandoc_msg(MANDOCERR_TBL, tbl->parse,
112 mandoc_msg(MANDOCERR_TBL, tbl->parse,
118 mandoc_msg(MANDOCERR_TBL, tbl->parse,
124 if ('\0' != (tbl->opts.tab = p[(*pos)++]))
127 mandoc_msg(MANDOCERR_TBL, tbl->parse,
139 tbl->opts.linesize = atoi(buf);
143 mandoc_msg(MANDOCERR_TBL, tbl->parse, ln, *pos, NULL);
146 if ('\0' != (tbl->opts.decimal = p[(*pos)++]))
149 mandoc_msg(MANDOCERR_TBL, tbl
167 opt(struct tbl_node *tbl, int ln, const char *p, int *pos) argument
255 tbl_option(struct tbl_node *tbl, int ln, const char *p) argument
[all...]
H A Dtbl_layout.c69 mods(struct tbl_node *tbl, struct tbl_cell *cp, argument
96 * modifiers come in any order. The existing tbl doesn't let
125 tbl->parse, ln, *pos, NULL);
142 mandoc_msg(MANDOCERR_TBLLAYOUT, tbl->parse,
184 mandoc_msg(MANDOCERR_TBLLAYOUT, tbl->parse,
208 mandoc_msg(MANDOCERR_TBLLAYOUT, tbl->parse,
214 cell(struct tbl_node *tbl, struct tbl_row *rp, argument
227 mandoc_msg(MANDOCERR_TBLLAYOUT, tbl->parse,
244 mandoc_msg(MANDOCERR_TBLLAYOUT, tbl->parse,
253 mandoc_msg(MANDOCERR_TBLLAYOUT, tbl
296 row(struct tbl_node *tbl, int ln, const char *p, int *pos) argument
348 tbl_layout(struct tbl_node *tbl, int ln, const char *p) argument
360 cell_alloc(struct tbl_node *tbl, struct tbl_row *rp, enum tbl_cellt pos) argument
[all...]
H A Dtbl_term.c34 static void tbl_data(struct termp *, const struct tbl *,
41 static void tbl_number(struct termp *, const struct tbl *,
89 tp->tbl.len = term_tbl_len;
90 tp->tbl.slen = term_tbl_strlen;
91 tp->tbl.arg = tp;
93 tblcalc(&tp->tbl, sp);
99 if (TBL_OPT_DBOX & sp->tbl->opts)
101 if (TBL_OPT_DBOX & sp->tbl->opts ||
102 TBL_OPT_BOX & sp->tbl->opts)
108 if (TBL_OPT_BOX & sp->tbl
280 tbl_data(struct termp *tp, const struct tbl *tbl, const struct tbl_dat *dp, const struct roffcol *col) argument
404 tbl_number(struct termp *tp, const struct tbl *tbl, const struct tbl_dat *dp, const struct roffcol *col) argument
[all...]
/freebsd-10.1-release/games/fortune/unstr/
H A Dunstr.c82 static STRFILE tbl; /* description table */ local
95 fread((char *)&tbl, sizeof(tbl), 1, Dataf);
96 tbl.str_version = be32toh(tbl.str_version);
97 tbl.str_numstr = be32toh(tbl.str_numstr);
98 tbl.str_longlen = be32toh(tbl.str_longlen);
99 tbl
111 order_unstr(STRFILE *tbl) argument
[all...]
/freebsd-10.1-release/usr.sbin/bhyve/
H A Dmptbl.h33 void mptable_add_oemtbl(void *tbl, int tblsz);
/freebsd-10.1-release/sys/netpfil/ipfw/
H A Dip_fw_table.c139 ipfw_add_table_entry(struct ip_fw_chain *ch, uint16_t tbl, void *paddr, argument
152 if (tbl >= V_fw_tables_max)
173 rnh_ptr = &ch->tables[tbl];
194 rnh_ptr = &ch->xtables[tbl];
230 rnh_ptr = &ch->xtables[tbl];
243 if ((ch->tabletype[tbl] != 0) && (ch->tabletype[tbl] != type)) {
264 if (ch->tabletype[tbl] != type) {
276 ch->tabletype[tbl] = type;
291 ipfw_del_table_entry(struct ip_fw_chain *ch, uint16_t tbl, voi argument
409 ipfw_flush_table(struct ip_fw_chain *ch, uint16_t tbl) argument
449 uint16_t tbl; local
477 unsigned int ntables_old, tbl; local
534 ipfw_lookup_table(struct ip_fw_chain *ch, uint16_t tbl, in_addr_t addr, uint32_t *val) argument
556 ipfw_lookup_table_extended(struct ip_fw_chain *ch, uint16_t tbl, void *paddr, uint32_t *val, int type) argument
605 ipfw_count_table(struct ip_fw_chain *ch, uint32_t tbl, uint32_t *cnt) argument
622 ipfw_table * const tbl = arg; local
640 ipfw_dump_table(struct ip_fw_chain *ch, ipfw_table *tbl) argument
663 ipfw_count_xtable(struct ip_fw_chain *ch, uint32_t tbl, uint32_t *cnt) argument
685 ipfw_xtable * const tbl = arg; local
709 ipfw_xtable * const tbl = arg; local
749 ipfw_dump_xtable(struct ip_fw_chain *ch, ipfw_xtable *tbl) argument
[all...]
/freebsd-10.1-release/crypto/openssl/crypto/asn1/
H A Dt_bitst.c66 BIT_STRING_BITNAME *tbl, int indent)
71 for (bnam = tbl; bnam->lname; bnam++) {
84 BIT_STRING_BITNAME *tbl)
87 bitnum = ASN1_BIT_STRING_num_asc(name, tbl);
97 int ASN1_BIT_STRING_num_asc(char *name, BIT_STRING_BITNAME *tbl) argument
100 for (bnam = tbl; bnam->lname; bnam++) {
65 ASN1_BIT_STRING_name_print(BIO *out, ASN1_BIT_STRING *bs, BIT_STRING_BITNAME *tbl, int indent) argument
83 ASN1_BIT_STRING_set_asc(ASN1_BIT_STRING *bs, char *name, int value, BIT_STRING_BITNAME *tbl) argument
/freebsd-10.1-release/gnu/usr.bin/groff/src/preproc/
H A DMakefile3 SUBDIR= eqn grn html pic refer soelim tbl
/freebsd-10.1-release/contrib/libucl/uthash/
H A Duthash.h81 #define uthash_noexpand_fyi(tbl) /* can be defined to log noexpand */
84 #define uthash_expand_fyi(tbl) /* can be defined to log expands */
93 #define ELMT_FROM_HH(tbl,hhp) ((void*)(((char*)(hhp)) - ((tbl)->hho)))
100 HASH_FCN(keyptr,keylen, (head)->hh.tbl->num_buckets, _hf_hashv, _hf_bkt); \
101 if (HASH_BLOOM_TEST((head)->hh.tbl, _hf_hashv)) { \
102 HASH_FIND_IN_BKT((head)->hh.tbl, hh, (head)->hh.tbl->buckets[ _hf_bkt ], \
111 #define HASH_BLOOM_MAKE(tbl) \
113 (tbl)
710 struct UT_hash_table *tbl; member in struct:UT_hash_handle
[all...]
/freebsd-10.1-release/contrib/nvi/docs/USD.doc/edit/
H A DMakefile4 TBL= tbl
/freebsd-10.1-release/gnu/usr.bin/groff/src/preproc/tbl/
H A DMakefile3 PROG_CXX= tbl
/freebsd-10.1-release/games/fortune/strfile/
H A Dstrfile.h38 #define STR_ENDSTRING(line,tbl) \
39 (((unsigned char)(line)[0]) == (tbl).str_delim && (line)[1] == '\n')

Completed in 160 milliseconds

123456