Searched defs:tbl (Results 1 - 25 of 77) sorted by relevance

1234

/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/eqn/
H A De.h77 } tbl; typedef in typeref:struct:s_tbl
/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...]
H A Dinspect.c151 Hash_tbl *tbl; local
171 for (APLIST_TRAVERSE(crle->c_inotbls, idx, tbl)) {
172 if (tbl->t_ident == dev) {
178 if ((tbl = make_hash(crle->c_inobkts, HASH_INT, dev)) == NULL)
180 if (aplist_append(&crle->c_inotbls, tbl, AL_CNT_CRLE) == NULL)
187 if ((ent = get_hash(tbl, ino, 0,
197 obj->o_tbl = tbl;
658 Hash_tbl *tbl; local
664 for (APLIST_TRAVERSE(crle->c_inotbls, idx, tbl)) {
665 if (tbl
[all...]
/illumos-gate/usr/src/cmd/mandoc/
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.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_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...]
/illumos-gate/usr/src/cmd/tbl/
H A Dt1.c25 /* required by GCOS because file is passed to "tbl" by troff preprocessor */
64 exit(tbl(argc,argv));
68 tbl(int argc, char **argv) function
121 (void) fprintf(stderr, gettext("tbl: Invalid option "
123 (void) fprintf(stderr, gettext("Usage: tbl [ -me ] "
/illumos-gate/usr/src/lib/libilb/common/
H A Dilb_nat.c90 * The function doing the work... The tbl parameter determines whith table
95 enum which_tbl tbl)
118 if (tbl == show_nat)
129 if (tbl == show_nat)
94 ilb_show_info(ilb_handle_t h, char *buf, size_t *num, boolean_t *end, enum which_tbl tbl) argument
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/
H A Dilbadm_nat.c125 ilbadm_show_info(int argc, char *argv[], enum which_tbl tbl) argument
160 if (tbl == show_nat)
178 if (tbl == show_nat)
187 if (tbl == show_nat)
/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...]
H A Dperfcnt.c67 static hash *tbl; variable
125 tbl = make_hash(213);
221 dep = (d_entry **)get_hash(tbl, (char *)sym_name);
255 (void) operate_hash(tbl, scanlist, NULL);
/illumos-gate/usr/src/boot/sys/boot/efi/libefi/
H A Dlibefi.c62 efi_get_table(EFI_GUID *tbl) argument
69 if (!memcmp(id, tbl, sizeof(EFI_GUID)))
/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...]
H A Dhtbl.h52 unsigned int size; /* size of tbl in buckets */
53 hashb_t *tbl; /* ptr to buckets */ member in struct:htbl
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ofs/
H A Dsol_uobj.c519 "UOBJ FIND: id %d in tbl 0x%P - tbl empty", uo_id,
566 * tbl - Pointer to the user object managment table to
581 sol_ofs_uobj_get_read(sol_ofs_uobj_table_t *tbl, uint32_t uo_id) argument
585 uobj = ofs_uobj_find(tbl, uo_id, 1);
606 * tbl - Pointer to the user object managment table to
621 sol_ofs_uobj_get_write(sol_ofs_uobj_table_t *tbl, uint32_t uo_id) argument
626 uobj = ofs_uobj_find(tbl, uo_id, 1);
/illumos-gate/usr/src/uts/common/kiconv/kiconv_sc/
H A Dkiconv_cck_common.c292 * Search key in tbl[0] <= tbl[1] <= ... <= tbl[n-1]. Return 0 if not found.
293 * tbl[0] is a special element for non-identical conversion.
296 kiconv_binsearch(uint32_t key, void *tbl, size_t nitems) argument
303 table = (kiconv_table_t *)tbl;
/illumos-gate/usr/src/lib/libc/port/gen/
H A Diconv.c337 iconv_open_private(const char *lib, const char *tbl) argument
395 cdpath->_icv_state = (void *)(*fptr)(tbl);
/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/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/uts/common/inet/ilb/
H A Dilb_alg_hash.c158 del_server(hash_server_t *tbl, size_t hash_size, ilb_server_t *host) argument
163 if (tbl[i].server == host) {
167 tbl[j] = tbl[j + 1];
174 tbl[hash_size - 1].server = NULL;
175 tbl[hash_size - 1].enabled = B_FALSE;
/illumos-gate/usr/src/uts/common/ipp/dscpmk/
H A Ddscpmkddi.c129 int32_t *tbl; local
170 &tbl, &nelem)) == 0) {
172 if ((tbl[cnt] != DSCPMK_UNCHANGED_DSCP) && (tbl[cnt] !=
174 dscpmk_data->dscp_map[cnt] = tbl[cnt];
265 int32_t *tbl; local
322 &tbl, &nelem)) == 0) {
324 if ((tbl[cnt] != DSCPMK_UNCHANGED_DSCP) && (tbl[cnt] !=
326 dscpmk_data->dscp_map[cnt] = tbl[cn
[all...]

Completed in 118 milliseconds

1234