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

12345

/illumos-gate/usr/src/cmd/mandoc/
H A Dtbl.c1 /* $Id: tbl.c,v 1.40 2015/10/06 18:32:20 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 return tbl_cdata(tbl, ln, p, pos) ? ROFF_TBL : ROFF_IGN;
85 tbl_data(tbl, ln, p, pos);
92 struct tbl_node *tbl; local
105 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
164 struct tbl_node *tbl; local
[all...]
H A Dtbl_layout.c61 mods(struct tbl_node *tbl, struct tbl_cell *cp, argument
85 mandoc_msg(MANDOCERR_TBLLAYOUT_PAR, tbl->parse,
114 mandoc_msg(MANDOCERR_TBLLAYOUT_MOD, tbl->parse,
143 tbl->parse, ln, *pos - 1, NULL);
146 mandoc_vmsg(MANDOCERR_TBLLAYOUT_CHAR, tbl->parse,
159 mandoc_vmsg(MANDOCERR_FT_BAD, tbl->parse,
181 mandoc_vmsg(MANDOCERR_FT_BAD, tbl->parse,
188 cell(struct tbl_node *tbl, struct tbl_row *rp, argument
202 tbl->parse, ln, *pos, NULL);
221 mandoc_vmsg(MANDOCERR_TBLLAYOUT_CHAR, tbl
249 tbl_layout(struct tbl_node *tbl, int ln, const char *p, int pos) argument
337 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
59 mandoc_msg(MANDOCERR_TBLDATA_EXTRA, tbl->parse,
84 while (p[*pos] && p[*pos] != tbl->opts.tab)
94 tbl->part = TBL_PART_CDATA;
119 tbl->parse, ln, sv, dat->string);
123 tbl_cdata(struct tbl_node *tbl, int ln, const char *p, int pos) argument
128 dat = tbl->last_span->last;
132 if (p[pos] == tbl->opts.tab) {
133 tbl->part = TBL_PART_DATA;
136 getdata(tbl, tb
164 newspan(struct tbl_node *tbl, int line, struct tbl_row *rp) argument
185 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.c103 * all rows and cells in the table. The function pointers in "tbl" are
107 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,
146 col = tbl->cols + icol;
150 tblcalc_data(tbl, col, opts, dp);
163 col = tbl->cols + icol;
182 col = tbl->cols + icol;
205 * Emulate a bug in GNU tbl width calculation that
221 col = tbl
234 tblcalc_data(struct rofftbl *tbl, struct roffcol *col, const struct tbl_opts *opts, const struct tbl_dat *dp) argument
265 tblcalc_literal(struct rofftbl *tbl, struct roffcol *col, const struct tbl_dat *dp) argument
279 tblcalc_number(struct rofftbl *tbl, struct roffcol *col, const struct tbl_opts *opts, const struct tbl_dat *dp) argument
[all...]
H A Dtbl_html.c58 if (h->tbl.cols == NULL) {
59 h->tbl.len = html_tbl_len;
60 h->tbl.slen = html_tbl_strlen;
61 tblcalc(&h->tbl, sp, 0);
65 PAIR_CLASS_INIT(&tag, "tbl");
70 col = h->tbl.cols + ic;
136 assert(h->tbl.cols);
137 free(h->tbl.cols);
138 h->tbl.cols = NULL;
/illumos-gate/usr/src/boot/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...]
/illumos-gate/usr/src/cmd/sgs/crle/common/
H A Dhash.c37 Hash_tbl * tbl; local
39 if ((tbl = malloc(sizeof (Hash_tbl))) == 0)
42 if ((tbl->t_entry = calloc((unsigned)(sizeof (Hash_ent *)), size)) == 0)
45 tbl->t_ident = ident;
46 tbl->t_type = type;
47 tbl->t_size = size;
49 return (tbl);
54 get_hash(Hash_tbl * tbl, Addr key, Half id, int mode) argument
60 if (tbl->t_type == HASH_STR)
65 bucket = hashval % tbl
[all...]
/illumos-gate/usr/src/cmd/sgs/link_audit/common/
H A Dhash.c63 get_hash(hash *tbl, char *key) argument
68 if (tbl->hash_type == String_Key) {
69 tmp = tbl->table[bucket = hash_string(key, tbl->size)];
71 tmp = tbl->table[bucket = labs((long)key) % tbl->size];
74 if (tbl->hash_type == String_Key) {
95 new->key = ((tbl->hash_type == String_Key)?strdup(key):key);
98 * hook into chain from tbl...
101 new->left_entry = tbl
114 find_hash(hash *tbl, const char *key) argument
137 del_hash(hash *tbl, const char *key) argument
201 operate_hash(hash *tbl, void (*ptr)(), const char *usr_arg) argument
215 operate_hash_addr(hash *tbl, void (*ptr)(), const char *usr_arg) argument
229 destroy_hash(hash *tbl, int (*ptr)(), const char *usr_arg) argument
[all...]
/illumos-gate/usr/src/cmd/prstat/
H A Dprtable.c91 add_uid(uidtbl_t *tbl, char *name) argument
95 if (tbl->n_size == tbl->n_nent) { /* reallocation */
96 if ((tbl->n_size *= 2) == 0)
97 tbl->n_size = 4; /* first time */
98 tbl->n_list = Realloc(tbl->n_list, tbl->n_size*sizeof (uid_t));
101 uid = &tbl->n_list[tbl
111 has_uid(uidtbl_t *tbl, uid_t uid) argument
169 add_zone(zonetbl_t *tbl, char *str) argument
209 has_zone(zonetbl_t *tbl, zoneid_t id) argument
228 convert_zone(zonetbl_t *tbl) argument
[all...]
/illumos-gate/usr/src/cmd/truss/
H A Dhtbl.c54 htp->tbl = (hashb_t *)
59 temp = &htp->tbl[i];
75 cur = &htp->tbl[i];
93 free((char *)htp->tbl);
94 htp->tbl = NULL;
127 cur = &htp->tbl[bucket];
174 iterate_hash(htbl_t *tbl) argument
183 new->table = tbl;
185 for (i = 0; i < tbl->size; i++) {
186 cur = &tbl
205 htbl_t *tbl; local
251 elements_in_table(htbl_t *tbl) argument
[all...]
/illumos-gate/usr/src/cmd/troff/troff.d/tmac.d/
H A DMakefile34 FILES = acm.me an ansun ansun.tbl bib \
37 mmn mmt ms.acc ms.cov ms.eqn ms.ref ms.tbl \
39 tbl.me thesis.me tz.map v vgrind
/illumos-gate/usr/src/cmd/eqn/
H A Dlookup.c23 tbl *keytbl[TBLSIZE]; /* key words */
24 tbl *restbl[TBLSIZE]; /* reserved words */
25 tbl *deftbl[TBLSIZE]; /* user-defined names */
201 /* find name in tbl. if defn non-null, install */
202 tbl *
203 lookup(tbl *tblp[], char *name, char *defn)
205 tbl *p;
223 p = (tbl *) malloc(sizeof (tbl));
/illumos-gate/usr/src/uts/i86pc/io/
H A Dimmu_dmar.c52 static void dmar_table_destroy(dmar_table_t *tbl);
287 parse_drhd(char *uhead, dmar_table_t *tbl) argument
296 ASSERT(tbl);
335 list_insert_tail(&(tbl->tbl_drhd_list[drhd->dr_seg]), drhd);
345 parse_rmrr(char *uhead, dmar_table_t *tbl) argument
354 ASSERT(tbl);
398 list_insert_tail(&(tbl->tbl_rmrr_list[rmrr->rm_seg]), rmrr);
414 dmar_table_t *tbl; local
437 tbl = kmem_zalloc(sizeof (dmar_table_t), KM_SLEEP);
438 mutex_init(&(tbl
612 dmar_table_print(dmar_table_t *tbl) argument
700 dmar_devinfos_create(dmar_table_t *tbl) argument
744 dmar_devi_destroy(dmar_table_t *tbl) argument
793 dmar_table_destroy(dmar_table_t *tbl) argument
845 dmar_table_t *tbl = NULL; local
905 dmar_table_t *tbl = dmar_table; local
949 dmar_table_t *tbl; local
1058 dmar_table_t *tbl; local
[all...]
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddevfsadm.h180 #define DEVFSADM_CREATE_INIT_V0(tbl) \
183 (sizeof (tbl) / sizeof (devfsadm_create_t)), \
184 ((devfsadm_create_t *)(tbl)) }
186 #define DEVFSADM_REMOVE_INIT_V0(tbl)\
189 (sizeof (tbl) / sizeof (devfsadm_remove_t)), \
190 ((devfsadm_remove_t *)(tbl)) }
192 #define DEVFSADM_REMOVE_INIT_V1(tbl)\
195 (sizeof (tbl) / sizeof (devfsadm_remove_V1_t)), \
196 ((devfsadm_remove_V1_t *)(tbl)) }
/illumos-gate/usr/src/uts/common/avs/ns/sdbc/
H A Dsd_trace.c142 if (_sd_trace_table[cd].tbl)
171 _sd_trace_table[cd].tbl = t;
195 if (tt->tbl == NULL) continue;
196 size = tt->tbl->tt_max * sizeof (_sdtr_t) +
202 nsc_kmem_free(tt->tbl, size);
204 tt->tbl = NULL;
238 if ((t = _sd_trace_table[-1].tbl) == NULL)
243 if ((t = _sd_trace_table[cd].tbl) == NULL) {
247 if ((t = _sd_trace_table[-1].tbl) == NULL)
308 if ((t = _sd_trace_table[-1].tbl)
[all...]
/illumos-gate/usr/src/lib/krb5/ss/
H A Dexecute_cmd.c18 * get_request(tbl, idx)
22 * by tbl.
24 * tbl (ss_request_table *)
37 static struct _ss_request_entry * get_request (tbl, idx)
38 ss_request_table * tbl;
41 struct _ss_request_table *tbl1 = (struct _ss_request_table *) tbl;
46 #define get_request(tbl,idx) ((tbl) -> requests + (idx))
/illumos-gate/usr/src/cmd/fm/modules/common/fabric-xlate/
H A Dfx_fabric.c278 fab_erpt_tbl_t *tbl)
280 const char *class = tbl->err_class;
296 fab_erpt_tbl_t *tbl)
298 const char *class = tbl->err_class;
315 fab_erpt_tbl_t *tbl)
317 const char *class = tbl->err_class;
335 fab_erpt_tbl_t *tbl)
337 const char *class = tbl->err_class;
354 fab_erpt_tbl_t *tbl)
356 const char *class = tbl
277 fab_prep_pci_erpt(fmd_hdl_t *hdl, fab_data_t *data, nvlist_t *erpt, fab_erpt_tbl_t *tbl) argument
295 fab_prep_pci_bdg_erpt(fmd_hdl_t *hdl, fab_data_t *data, nvlist_t *erpt, fab_erpt_tbl_t *tbl) argument
314 fab_prep_pci_bdg_ctl_erpt(fmd_hdl_t *hdl, fab_data_t *data, nvlist_t *erpt, fab_erpt_tbl_t *tbl) argument
334 fab_prep_pcie_ce_erpt(fmd_hdl_t *hdl, fab_data_t *data, nvlist_t *erpt, fab_erpt_tbl_t *tbl) argument
353 fab_prep_pcie_ue_erpt(fmd_hdl_t *hdl, fab_data_t *data, nvlist_t *erpt, fab_erpt_tbl_t *tbl) argument
393 fab_prep_pcie_sue_erpt(fmd_hdl_t *hdl, fab_data_t *data, nvlist_t *erpt, fab_erpt_tbl_t *tbl) argument
430 fab_prep_pcix_erpt(fmd_hdl_t *hdl, fab_data_t *data, nvlist_t *erpt, fab_erpt_tbl_t *tbl) argument
529 fab_prep_pcix_bdg_sec_erpt(fmd_hdl_t *hdl, fab_data_t *data, nvlist_t *erpt, fab_erpt_tbl_t *tbl) argument
548 fab_prep_pcix_bdg_erpt(fmd_hdl_t *hdl, fab_data_t *data, nvlist_t *erpt, fab_erpt_tbl_t *tbl) argument
642 fab_prep_pcie_nadv_erpt(fmd_hdl_t *hdl, fab_data_t *data, nvlist_t *erpt, fab_erpt_tbl_t *tbl) argument
667 fab_prep_pcie_rc_erpt(fmd_hdl_t *hdl, fab_data_t *data, nvlist_t *erpt, fab_erpt_tbl_t *tbl) argument
719 fab_prep_pcie_fake_rc_erpt(fmd_hdl_t *hdl, fab_data_t *data, nvlist_t *erpt, fab_erpt_tbl_t *tbl) argument
775 fab_err_tbl_t *tbl; local
[all...]
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_dictionary.cc358 print_table(db_table_desc *tbl) argument
360 if (tbl == NULL)
362 printf("%s: %d\n", tbl->table_name, tbl->hashval);
595 transfer_aux(XDR* x, pptr tbl) argument
597 return (xdr_db_dict_desc_p(x, (db_dict_desc_p *) tbl));
951 db_table_desc *tbl = NULL, *clone = NULL, *next_td = NULL; local
957 tbl = tempdict.dictionary->tables.tables_val[i];
958 if (!tbl)
960 retval = db_clone_bucket(tbl,
1015 db_table_desc *tbl = NULL; local
1055 db_table_desc *tbl, *clone; local
1427 db_table_desc *tbl; local
1670 db_table_desc *tbl; local
1826 translate_to_query(db_table_desc* tbl, int numattrs, nis_attr* attrlist) argument
1857 get_table_name(db_table_desc* tbl) argument
1946 db_table_desc *tbl; local
2189 db_table_desc_p tbl = NULL, local
2238 db_table_desc *tbl = find_table_desc(table); local
[all...]
H A Dnis_db.cc129 db_table_desc *tbl = 0; local
137 dbase = InUseDictionary->find_table(intName, &tbl);
342 db_table_desc * tbl = NULL; local
343 db * dbase = InUseDictionary->find_table(table_name, &tbl);
345 if (tbl == NULL || dbase == NULL)
352 query = InUseDictionary->translate_to_query(tbl,
414 db_table_desc * tbl = NULL; local
415 db * dbase = InUseDictionary->find_table(table_name, &tbl,
418 if (tbl == NULL || dbase == NULL)
424 query = InUseDictionary->translate_to_query(tbl,
505 db_table_desc *tbl = 0; local
772 db_table_desc *tbl = 0; local
988 db_table_desc *tbl = 0; local
1282 db_table_desc *tbl = 0; local
1591 db_table_desc * tbl = NULL; local
1653 db_table_desc * tbl = NULL; local
1784 db_table_desc * tbl = NULL; local
[all...]
/illumos-gate/usr/src/cmd/tbl/
H A DMakefile28 PROG = tbl
37 POFILE= tbl.po
/illumos-gate/usr/src/boot/sys/boot/efi/include/
H A Defilib.h41 void *efi_get_table(EFI_GUID *tbl);
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Deib_fip.c877 fip_vhub_table_t *tbl; local
910 tbl = (fip_vhub_table_t *)(void *)pkt;
911 hdr = &(tbl->vt_fip_header);
925 desc_tbl = &(tbl->vt_vhub_table);
1263 eib_fip_update_eport_state(eib_t *ss, eib_vhub_table_t *tbl, argument
1267 mutex_enter(&tbl->tb_lock);
1268 if (tbl->tb_eport_state != eport_state) {
1272 tbl->tb_eport_state, eport_state);
1273 tbl->tb_eport_state = eport_state;
1275 mutex_exit(&tbl
1290 eib_fip_queue_tbl_entry(eib_vhub_table_t *tbl, eib_vhub_map_t *map, uint32_t tusn, uint8_t eport_state) argument
1379 eib_fip_queue_gw_entry(eib_vnic_t *vnic, eib_vhub_table_t *tbl, uint32_t tusn, uint8_t eport_state) argument
1404 eib_fip_apply_updates(eib_t *ss, eib_vhub_table_t *tbl, eib_vhub_update_t *upd) argument
1467 eib_fip_dequeue_tbl_entry(eib_vhub_table_t *tbl, uint8_t *mac, uint32_t tusn, uint8_t eport_state) argument
[all...]
/illumos-gate/usr/src/cmd/sa/
H A Dsadp.c207 struct var tbl; variable in typeref:struct:var
470 FETCH_IV (X1_V, tbl);
471 Debug dump_v_struct (&tbl);
472 sbuf = malloc(sizeof (struct buf) * tbl.v_buf);
475 phybuf = malloc(sizeof (struct buf) * tbl.v_pbuf);
570 FETCH_IAL(X1_BUF, sbuf, tbl.v_buf*sizeof (struct buf));
575 FETCH_IAL(X1_PBUF, phybuf, tbl.v_pbuf*sizeof (struct buf));
780 if ((temp1 < setup[X1_BUF].n_value) || (index > tbl.v_buf)){
783 if (index < tbl.v_pbuf){
1420 dump_v_struct (tbl)
[all...]

Completed in 110 milliseconds

12345