Searched refs:ctfp (Results 1 - 20 of 20) sorted by relevance

/illumos-gate/usr/src/cmd/mail/
H A Disheader.c30 * ctfp -> continuation flag (should be FALSE the first time
38 isheader(char *lp, int *ctfp) argument
52 if ((*ctfp) && ((*lp == ' ') || (*lp == '\t'))) {
56 *ctfp = FALSE;
73 *ctfp = TRUE;
85 *ctfp = TRUE;
H A Dmail.h310 extern int isheader(char *lp, int *ctfp);
/illumos-gate/usr/src/lib/abi/apptrace/common/
H A Dapptraceutil.c47 type_name(ctf_file_t *ctfp, ctf_id_t type, char *buf, size_t len) argument
49 if (ctf_type_name(ctfp, type, buf, len) == NULL)
56 print_value(ctf_file_t *ctfp, ctf_id_t type, ulong_t value) argument
58 ctf_id_t rtype = ctf_type_resolve(ctfp, type);
63 if (ctf_type_kind(ctfp, rtype) == CTF_K_POINTER) {
64 type = ctf_type_reference(ctfp, rtype);
65 rtype = ctf_type_resolve(ctfp, type);
67 if (ctf_type_encoding(ctfp, rtype, &e) == 0 &&
79 if (ctf_type_kind(ctfp, rtype) == CTF_K_STRUCT) {
85 pa.pa_ctfp = ctfp;
143 ctf_file_t *ctfp = pap->pa_ctfp; local
195 ctf_file_t *ctfp = pap->pa_ctfp; local
225 ctf_file_t *ctfp = pap->pa_ctfp; local
268 ctf_file_t *ctfp = pap->pa_ctfp; local
305 ctf_file_t *ctfp = pap->pa_ctfp; local
[all...]
H A Dapptrace.c585 ctf_file_t *ctfp; local
600 if ((ctfp = Pname_to_ctf(proc_hdl, defname)) == NULL)
607 if (ctf_func_info(ctfp, si.prs_id, &finfo) == CTF_ERR)
610 (void) type_name(ctfp, finfo.ctc_return, buf, sizeof (buf));
619 rtype = ctf_type_resolve(ctfp, finfo.ctc_return);
620 type = ctf_type_reference(ctfp, rtype);
621 rtype = ctf_type_resolve(ctfp, type);
622 kind = ctf_type_kind(ctfp, rtype);
628 (void) ctf_func_args(ctfp, si.prs_id, argc, argt);
647 (void) type_name(ctfp, arg
726 ctf_file_t *ctfp; local
[all...]
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_print.c114 dt_print_type_name(ctf_file_t *ctfp, ctf_id_t id, char *buf, size_t buflen) argument
116 if (ctf_type_name(ctfp, id, buf, buflen) == NULL)
232 ctf_file_t *ctfp = pap->pa_ctfp; local
237 if (ctf_type_encoding(ctfp, base, &e) == CTF_ERR) {
286 ctf_file_t *ctfp = pap->pa_ctfp; local
290 if (ctf_type_encoding(ctfp, base, &e) == 0) {
317 ctf_file_t *ctfp = pap->pa_ctfp; local
319 size_t size = ctf_type_size(ctfp, base);
320 ctf_id_t bid = ctf_type_reference(ctfp, base);
325 if (bid == CTF_ERR || ctf_type_kind(ctfp, bi
369 ctf_file_t *ctfp = pap->pa_ctfp; local
479 ctf_file_t *ctfp = pap->pa_ctfp; local
551 ctf_file_t *ctfp = pap->pa_ctfp; local
652 ctf_file_t *ctfp; local
[all...]
H A Ddt_decl.c481 ctf_file_t *ctfp; local
486 ctfp = yypcb->pcb_hdl->dt_cdefs->dm_ctfp;
488 ctfp = yypcb->pcb_hdl->dt_ddefs->dm_ctfp;
499 if (name != NULL && (type = ctf_lookup_by_name(ctfp, n)) != CTF_ERR &&
500 ctf_type_kind(ctfp, type) != CTF_K_FORWARD)
504 type = ctf_add_struct(ctfp, flag, name);
506 type = ctf_add_union(ctfp, flag, name);
508 if (type == CTF_ERR || ctf_update(ctfp) == CTF_ERR) {
510 n, ctf_errmsg(ctf_errno(ctfp)));
513 ddp->dd_ctfp = ctfp;
678 ctf_file_t *ctfp; local
1098 dt_scope_push(ctf_file_t *ctfp, ctf_id_t type) argument
[all...]
H A Ddt_printf.c96 ctf_file_t *ctfp; local
105 ctfp = dnp->dn_ctfp;
106 base = ctf_type_resolve(ctfp, dnp->dn_type);
107 kind = ctf_type_kind(ctfp, base);
109 return (kind == CTF_K_ARRAY && ctf_array_info(ctfp, base, &r) == 0 &&
110 (base = ctf_type_resolve(ctfp, r.ctr_contents)) != CTF_ERR &&
111 ctf_type_encoding(ctfp, base, &e) == 0 && IS_CHAR(e));
118 ctf_file_t *ctfp = dnp->dn_ctfp; local
119 ctf_id_t base = ctf_type_resolve(ctfp, dnp->dn_type);
120 uint_t kind = ctf_type_kind(ctfp, bas
169 ctf_file_t *ctfp = dnp->dn_ctfp; local
182 ctf_file_t *ctfp = dnp->dn_ctfp; local
195 ctf_file_t *ctfp = dnp->dn_ctfp; local
[all...]
H A Ddt_cg.c146 dt_cg_load(dt_node_t *dnp, ctf_file_t *ctfp, ctf_id_t type) argument
168 ctf_type_encoding(ctfp, type, &e) != CTF_ERR)
171 size = ctf_type_size(ctfp, type);
192 ctf_file_t *ctfp = dnp->dn_ctfp; local
200 type = ctf_type_resolve(ctfp, dnp->dn_type);
201 kind = ctf_type_kind(ctfp, type);
205 if (ctf_array_info(ctfp, type, &r) != 0) {
206 yypcb->pcb_hdl->dt_ctferr = ctf_errno(ctfp);
211 type = ctf_type_reference(ctfp, type);
213 if ((size = ctf_type_size(ctfp, typ
643 ctf_file_t *ctfp = dnp->dn_ctfp; local
700 ctf_file_t *ctfp = dnp->dn_ctfp; local
1533 ctf_file_t *ctfp = dnp->dn_ctfp; local
[all...]
H A Ddt_parser.c266 ctf_file_t *ctfp = tip->dtt_ctfp; local
268 ctf_id_t base = ctf_type_resolve(ctfp, type);
274 if ((ptr = ctf_type_pointer(ctfp, type)) != CTF_ERR ||
275 (ptr = ctf_type_pointer(ctfp, base)) != CTF_ERR) {
285 if (ctfp != dmp->dm_ctfp && ctfp != ctf_parent_file(dmp->dm_ctfp) &&
286 (type = ctf_add_type(dmp->dm_ctfp, ctfp, type)) == CTF_ERR) {
307 dt_type_name(ctf_file_t *ctfp, ctf_id_t type, char *buf, size_t len) argument
311 if (ctfp == DT_FPTR_CTFP(dtp) && type == DT_FPTR_TYPE(dtp))
313 else if (ctfp
3175 ctf_file_t *ctfp; local
4020 ctf_file_t *ctfp; local
[all...]
H A Ddt_xlator.c361 dt_xlator_ident(dt_xlator_t *dxp, ctf_file_t *ctfp, ctf_id_t type) argument
363 if (ctf_type_kind(ctfp, ctf_type_resolve(ctfp, type)) == CTF_K_POINTER)
H A Ddt_module.c495 dt_module_lookup_by_ctf(dtrace_hdl_t *dtp, ctf_file_t *ctfp) argument
497 return (ctfp ? ctf_getspecific(ctfp) : NULL);
/illumos-gate/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_ctf_open.c73 ctf_file_t *ctfp; local
88 if ((ctfp = mdb_ctf_bufopen(mp->ctfdata, mp->ctfsize, mp->symtbl,
95 return (ctfp);
H A Dkmdb_module.c187 ctf_file_t *ctfp = kmc->kmc_mod->mod_ctfp; local
189 if (ctfp == NULL) {
194 return (ctfp);
206 ctf_file_t *ctfp; local
213 if ((ctfp = kmc->kmc_mod->mod_ctfp) == NULL) {
218 return (ctfp);
/illumos-gate/usr/src/lib/libsaveargs/tests/dump/
H A Ddump.c116 check_sym(ctf_file_t *ctfp, symtab_sym_t *ss) argument
118 int rettype = ctf_type_kind(ctfp, ss->ss_finfo.ctc_return);
125 ctf_type_size(ctfp, ss->ss_finfo.ctc_return) > 16)
138 ctf_file_t *ctfp; local
150 if ((ctfp = ctf_open(argv[1], &errp)) == NULL)
161 walk_symtab(elf, argv[1], ctfp, check_sym);
/illumos-gate/usr/src/lib/libproc/amd64/
H A DPisadep.c166 ctf_file_t *ctfp; local
173 if ((ctfp = Paddr_to_ctf(P, pc)) == NULL)
176 if (ctf_func_info(ctfp, si.prs_id, &finfo) == CTF_ERR)
388 ctf_file_t *ctfp = NULL; local
403 if ((ctfp = Paddr_to_ctf(P, pc)) == NULL)
406 if (ctf_func_info(ctfp, si.prs_id, &finfo) == CTF_ERR)
414 rettype = ctf_type_kind(ctfp, finfo.ctc_return);
422 ctf_type_size(ctfp, finfo.ctc_return) > 16)
432 if (ctf_func_args(ctfp, si.prs_id, 5, args_types) == CTF_ERR)
436 int t = ctf_type_kind(ctfp, args_type
[all...]
/illumos-gate/usr/src/cmd/mdb/common/libstandctf/
H A Dctf_subr.c68 ctf_fdcreate_int(int fd, int *errp, ctf_sect_t *ctfp) argument
/illumos-gate/usr/src/lib/libproc/i386/
H A DPisadep.c126 ctf_file_t *ctfp; local
133 if ((ctfp = Paddr_to_ctf(P, pc)) == NULL)
136 if (ctf_func_info(ctfp, si.prs_id, &finfo) == CTF_ERR)
/illumos-gate/usr/src/uts/common/ctf/
H A Dctf_mod.c118 ctf_fdcreate_int(int fd, int *errp, ctf_sect_t *ctfp) argument
/illumos-gate/usr/src/lib/libctf/common/
H A Dctf_lib.c417 ctf_fdcreate_int(int fd, int *errp, ctf_sect_t *ctfp) argument
449 if (ctfp != NULL)
602 ctfp == NULL) {
629 if (ctfp == NULL) {
630 if (ctfsect.cts_type == SHT_NULL && ctfp == NULL) {
644 ctfp = &ctfsect;
654 fp = ctf_bufopen(ctfp, &symsect, &strsect, errp);
656 fp = ctf_bufopen(ctfp, NULL, NULL, errp);
659 if (ctfp == NULL)
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_cmds.c1600 ctf_file_t *ctfp; local
1603 ctfp = mdb_tgt_name_to_ctf(mdb.m_target, name);
1604 if (ctfp == NULL || (version = ctf_label_topmost(ctfp)) == NULL)
1643 ctf_file_t *ctfp; local
1650 if ((ctfp = mdb_tgt_name_to_ctf(mdb.m_target, objname)) != NULL)
1651 version = ctf_label_topmost(ctfp);

Completed in 285 milliseconds