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

1234567

/freebsd-11-stable/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-11-stable/usr.bin/grep/regex/
H A Dhashtable.c66 hashtable *tbl; local
71 tbl = malloc(sizeof(hashtable));
72 if (tbl == NULL)
75 tbl->entries = calloc(sizeof(hashtable_entry *), table_size);
76 if (tbl->entries == NULL)
79 tbl->table_size = table_size;
80 tbl->usage = 0;
81 tbl->key_size = key_size;
82 tbl->value_size = value_size;
84 return (tbl);
107 hashtable_put(hashtable *tbl, const void *key, const void *value) argument
181 hashtable_lookup(const hashtable *tbl, const void *key) argument
209 hashtable_get(hashtable *tbl, const void *key, void *value) argument
231 hashtable_remove(hashtable *tbl, const void *key) argument
256 hashtable_free(hashtable *tbl) argument
[all...]
/freebsd-11-stable/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-11-stable/contrib/mdocml/
H A Dtbl.c1 /* $Id: tbl.c,v 1.42 2017/07/08 17:52:50 schwarze Exp $ */
35 tbl_read(struct tbl_node *tbl, int ln, const char *p, int pos) argument
46 if (tbl->part == TBL_PART_OPTS) {
47 tbl->part = TBL_PART_LAYOUT;
67 tbl_option(tbl, ln, p, &pos);
75 switch (tbl->part) {
77 tbl_layout(tbl, ln, p, pos);
80 tbl_cdata(tbl, ln, p, pos);
83 tbl_data(tbl, ln, p, pos);
91 struct tbl_node *tbl; local
104 tbl_free(struct tbl_node *tbl) argument
137 tbl_restart(int line, int pos, struct tbl_node *tbl) argument
149 tbl_span(struct tbl_node *tbl) argument
162 tbl_end(struct tbl_node *tbl) argument
[all...]
H A Dtbl_layout.c62 mods(struct tbl_node *tbl, struct tbl_cell *cp, argument
87 mandoc_msg(MANDOCERR_TBLLAYOUT_PAR, tbl->parse,
116 mandoc_msg(MANDOCERR_TBLLAYOUT_MOD, tbl->parse,
160 tbl->parse, ln, *pos - 1, NULL);
163 mandoc_vmsg(MANDOCERR_TBLLAYOUT_CHAR, tbl->parse,
176 mandoc_vmsg(MANDOCERR_FT_BAD, tbl->parse,
198 mandoc_vmsg(MANDOCERR_FT_BAD, tbl->parse,
205 cell(struct tbl_node *tbl, struct tbl_row *rp, argument
219 tbl->parse, ln, *pos, NULL);
238 mandoc_vmsg(MANDOCERR_TBLLAYOUT_CHAR, tbl
266 tbl_layout(struct tbl_node *tbl, int ln, const char *p, int pos) argument
356 cell_alloc(struct tbl_node *tbl, struct tbl_row *rp, enum tbl_cellt pos) argument
[all...]
H A Dtbl_data.c40 getdata(struct tbl_node *tbl, struct tbl_span *dp, argument
68 mandoc_msg(MANDOCERR_TBLDATA_EXTRA, tbl->parse,
93 while (p[*pos] && p[*pos] != tbl->opts.tab)
103 tbl->part = TBL_PART_CDATA;
128 tbl->parse, ln, sv, dat->string);
132 tbl_cdata(struct tbl_node *tbl, int ln, const char *p, int pos) argument
137 dat = tbl->last_span->last;
141 if (p[pos] == tbl->opts.tab) {
142 tbl->part = TBL_PART_DATA;
145 getdata(tbl, tb
172 newspan(struct tbl_node *tbl, int line, struct tbl_row *rp) argument
193 tbl_data(struct tbl_node *tbl, int ln, const char *p, int pos) argument
[all...]
H A Dtbl_opts.c65 arg(struct tbl_node *tbl, int ln, const char *p, int *pos, int key) argument
83 mandoc_vmsg(MANDOCERR_TBLOPT_EQN, tbl->parse,
90 tbl->opts.tab = p[*pos];
98 tbl->opts.decimal = p[*pos];
106 tbl->parse, ln, *pos, keys[key].name);
109 tbl->parse, ln, *pos, "%s want %d have %d",
123 tbl_option(struct tbl_node *tbl, int ln, const char *p, int *offs) argument
145 tbl->parse, ln, pos, "%c", p[pos]);
159 mandoc_vmsg(MANDOCERR_TBLOPT_BAD, tbl->parse,
169 tbl
[all...]
H A Dout.c102 * all rows and cells in the table. The function pointers in "tbl" are
106 tblcalc(struct rofftbl *tbl, const struct tbl_span *sp, argument
123 assert(NULL == tbl->cols);
124 tbl->cols = mandoc_calloc((size_t)sp->opts->cols,
145 tbl->cols[++maxcol].spacing = SIZE_MAX;
146 col = tbl->cols + icol;
155 (*tbl->sulen)(&su, tbl->arg);
162 tblcalc_data(tbl, col, opts, dp,
179 col = tbl
255 tblcalc_data(struct rofftbl *tbl, struct roffcol *col, const struct tbl_opts *opts, const struct tbl_dat *dp, size_t mw) argument
286 tblcalc_literal(struct rofftbl *tbl, struct roffcol *col, const struct tbl_dat *dp, size_t mw) argument
319 tblcalc_number(struct rofftbl *tbl, struct roffcol *col, const struct tbl_opts *opts, const struct tbl_dat *dp) argument
[all...]
/freebsd-11-stable/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-11-stable/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-11-stable/usr.bin/fortune/unstr/
H A Dunstr.c82 static STRFILE tbl; /* description table */ local
96 if (fread((char *)&tbl, sizeof(tbl), 1, Dataf) != 1) {
102 tbl.str_version = be32toh(tbl.str_version);
103 tbl.str_numstr = be32toh(tbl.str_numstr);
104 tbl.str_longlen = be32toh(tbl.str_longlen);
105 tbl
117 order_unstr(STRFILE *tbl) argument
[all...]
/freebsd-11-stable/usr.sbin/bhyve/
H A Dmptbl.h35 void mptable_add_oemtbl(void *tbl, int tblsz);
/freebsd-11-stable/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-11-stable/contrib/groff/src/preproc/tbl/
H A DMakefile.sub1 PROG=tbl$(EXEEXT)
2 MAN1=tbl.n
/freebsd-11-stable/gnu/usr.bin/groff/src/preproc/
H A DMakefile3 SUBDIR= eqn grn html pic refer tbl
/freebsd-11-stable/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-11-stable/contrib/elftoolchain/common/
H A Duthash.h82 #define uthash_noexpand_fyi(tbl) /* can be defined to log noexpand */
85 #define uthash_expand_fyi(tbl) /* can be defined to log expands */
94 #define ELMT_FROM_HH(tbl,hhp) ((void*)(((char*)(hhp)) - ((tbl)->hho)))
101 HASH_FCN(keyptr,keylen, (head)->hh.tbl->num_buckets, _hf_hashv, _hf_bkt); \
102 if (HASH_BLOOM_TEST((head)->hh.tbl, _hf_hashv)) { \
103 HASH_FIND_IN_BKT((head)->hh.tbl, hh, (head)->hh.tbl->buckets[ _hf_bkt ], \
112 #define HASH_BLOOM_MAKE(tbl) \
114 (tbl)
909 struct UT_hash_table *tbl; member in struct:UT_hash_handle
[all...]
/freebsd-11-stable/sys/opencrypto/
H A Dgfmult.c64 struct gf128 tbl[16]; local
67 tbl[0] = MAKE_GF128(0, 0);
68 tbl[1] = h;
71 tbl[i] = gf128_mulalpha(tbl[i / 2]);
72 tbl[i + 1] = gf128_add(tbl[i], h);
76 t->a[nib_rev[i]] = tbl[i].v[0] >> 32;
77 t->b[nib_rev[i]] = tbl[i].v[0];
78 t->c[nib_rev[i]] = tbl[
108 readrow(struct gf128table *tbl, unsigned bits) argument
138 gfmultword(uint64_t word, struct gf128 x, struct gf128table *tbl) argument
175 gfmultword4(uint64_t worda, uint64_t wordb, uint64_t wordc, uint64_t wordd, struct gf128 x, struct gf128table4 *tbl) argument
219 gf128_mul(struct gf128 v, struct gf128table *tbl) argument
236 gf128_mul4(struct gf128 a, struct gf128 b, struct gf128 c, struct gf128 d, struct gf128table4 *tbl) argument
259 gf128_mul4b(struct gf128 r, const uint8_t *v, struct gf128table4 *tbl) argument
[all...]
/freebsd-11-stable/gnu/usr.bin/groff/src/preproc/tbl/
H A DMakefile3 PROG_CXX= tbl
/freebsd-11-stable/usr.bin/fortune/strfile/
H A Dstrfile.h38 #define STR_ENDSTRING(line,tbl) \
39 (((unsigned char)(line)[0]) == (tbl).str_delim && (line)[1] == '\n')

Completed in 220 milliseconds

1234567