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

/macosx-10.10.1/dtrace-147/libctf/
H A Dctf_create.c594 if ((type = ctf_add_generic(fp, flag, name, &dtd)) == CTF_ERR)
595 return (CTF_ERR); /* errno is set for us */
610 if (ref == CTF_ERR || ref < 0 || ref > CTF_MAX_TYPE)
613 if ((type = ctf_add_generic(fp, flag, NULL, &dtd)) == CTF_ERR)
614 return (CTF_ERR); /* errno is set for us */
651 if ((type = ctf_add_generic(fp, flag, NULL, &dtd)) == CTF_ERR)
652 return (CTF_ERR); /* errno is set for us */
701 if ((type = ctf_add_generic(fp, flag, NULL, &dtd)) == CTF_ERR) {
703 return (CTF_ERR); /* errno is set for us */
730 else if ((type = ctf_add_generic(fp, flag, name, &dtd)) == CTF_ERR)
[all...]
H A Dctf_labels.c61 if (extract_label_info(fp, &ctlp, &num_labels) == CTF_ERR)
88 if (extract_label_info(fp, &ctlp, &num_labels) == CTF_ERR)
89 return (CTF_ERR); /* errno is set */
146 if ((rc = ctf_label_iter(fp, label_info_cb, &cb_arg)) == CTF_ERR)
H A Dctf_types.c71 if ((type = ctf_type_resolve(fp, type)) == CTF_ERR)
72 return (CTF_ERR); /* errno is set for us */
75 return (CTF_ERR); /* errno is set for us */
123 if ((type = ctf_type_resolve(fp, type)) == CTF_ERR)
124 return (CTF_ERR); /* errno is set for us */
127 return (CTF_ERR); /* errno is set for us */
198 return (CTF_ERR); /* errno is set for us */
214 if (fp == NULL && type == CTF_ERR)
215 return (-1); /* simplify caller code by permitting CTF_ERR */
329 if ((type = ctf_type_resolve(fp, type)) == CTF_ERR)
[all...]
H A Dctf_lookup.c115 if (ntype == CTF_ERR || (ntype = fp->ctf_ptrtab[
168 (ptype = ctf_lookup_by_name(fp->ctf_parent, name)) != CTF_ERR)
171 return (CTF_ERR);
330 if (ctf_func_info(fp, symidx, &f) == CTF_ERR)
331 return (CTF_ERR); /* errno is set for us */
H A Dctf_util.c145 * CTF_ERR for the benefit of the caller.
151 return (CTF_ERR);
/macosx-10.10.1/dtrace-147/libdtrace/
H A Ddt_decl.c86 ddp->dd_type = CTF_ERR;
150 dsp->ds_type = CTF_ERR;
335 if (dnp->dn_type == CTF_ERR && !(flags & DT_DP_VARARGS)) {
497 if (name != NULL && (type = ctf_lookup_by_name(ctfp, n)) != CTF_ERR &&
506 if (type == CTF_ERR || ctf_update(ctfp) == CTF_ERR) {
603 ctf_type_encoding(dtt.dtt_ctfp, base, &cte) == CTF_ERR ||
621 if (dtt.dtt_type == CTF_ERR ||
622 ctf_update(dsp->ds_ctfp) == CTF_ERR) {
645 if (dtt.dtt_type == CTF_ERR ||
[all...]
H A Ddt_open.c571 { "int", NULL, CTF_ERR, 0x7fffffffULL },
572 { "unsigned int", NULL, CTF_ERR, 0xffffffffULL },
573 { "long", NULL, CTF_ERR, 0x7fffffffULL },
574 { "unsigned long", NULL, CTF_ERR, 0xffffffffULL },
575 { "long long", NULL, CTF_ERR, 0x7fffffffffffffffULL },
576 { "unsigned long long", NULL, CTF_ERR, 0xffffffffffffffffULL }
584 { "int", NULL, CTF_ERR, 0x7fffffffULL },
585 { "unsigned int", NULL, CTF_ERR, 0xffffffffULL },
586 { "long", NULL, CTF_ERR, 0x7fffffffffffffffULL },
587 { "unsigned long", NULL, CTF_ERR,
[all...]
H A Ddt_xlator.c126 ptr.dtt_type = CTF_ERR;
272 if (src_base == CTF_ERR || dst_base == CTF_ERR)
328 if (ptr && dxp != NULL && dxp->dx_ptrid.di_type == CTF_ERR)
H A Ddt_ident.c247 * as a dis_args[] element with ctfp = NULL, type == CTF_ERR).
268 isp->dis_args[i].dn_type = CTF_ERR;
365 if (xnp->dn_type == CTF_ERR) {
370 if (nnp->dn_type == CTF_ERR) {
467 if (idp->di_type == CTF_ERR) {
489 if (idp->di_ctfp != NULL && idp->di_type != CTF_ERR)
917 idp->di_type = CTF_ERR;
H A Ddt_provider.c312 dtt.dtt_type = CTF_ERR;
318 if (dtt.dtt_type != CTF_ERR && (adp->dtargd_xlate[0] == '\0' ||
331 dtt.dtt_type = CTF_ERR;
625 if (dtt.dtt_type == CTF_ERR ||
626 ctf_update(dtt.dtt_ctfp) == CTF_ERR) {
H A Ddt_parser.c67 * 1. dn_ctfp = NULL, dn_type = CTF_ERR
259 if ((ptr = ctf_type_pointer(ctfp, type)) != CTF_ERR ||
260 (ptr = ctf_type_pointer(ctfp, base)) != CTF_ERR) {
271 (type = ctf_add_type(dmp->dm_ctfp, ctfp, type)) == CTF_ERR) {
278 if (ptr == CTF_ERR || ctf_update(dmp->dm_ctfp) == CTF_ERR) {
346 if (ctf_type_encoding(lfp, lbase, &le) == CTF_ERR) {
351 if (ctf_type_encoding(rfp, rbase, &re) == CTF_ERR) {
503 dnp->dn_type = CTF_ERR;
948 (base = ctf_type_reference(fp, base)) != CTF_ERR
[all...]
H A Ddt_grammar.y243 { dt_scope_push(NULL, CTF_ERR); } DT_TOK_ASGN
811 array: DT_TOK_LBRAC { dt_scope_push(NULL, CTF_ERR); }
824 function: DT_TOK_LPAR { dt_scope_push(NULL, CTF_ERR); }
H A Ddt_options.c750 if (ctf_array_info(fp, type, &r) == CTF_ERR) {
758 if (ctf_set_array(fp, type, &r) == CTF_ERR ||
759 ctf_update(fp) == CTF_ERR) {
H A Ddt_printf.c114 (base = ctf_type_resolve(ctfp, r.ctr_contents)) != CTF_ERR &&
130 (base = ctf_type_resolve(ctfp, r.ctr_contents)) != CTF_ERR &&
676 dtt.dtt_type = CTF_ERR;
H A Ddt_module.c1144 if (ctf_import(dmp->dm_ctfp, pfp) == CTF_ERR) {
1623 if ((id = ctf_lookup_by_name(dmp->dm_ctfp, name)) != CTF_ERR) {
1650 tip->dtt_type = CTF_ERR;
1672 if (tip->dtt_type == CTF_ERR) {
H A Ddt_cg.c81 if (ctf_member_info(fp, type, s, mp) == CTF_ERR)
162 ctf_type_encoding(ctfp, type, &e) != CTF_ERR)
418 ctf_type_encoding(dst->dn_ctfp, dst->dn_type, &e) != CTF_ERR)
1051 mnp->dn_membname, &ctm) == CTF_ERR) {
H A Ddt_cc.c2584 ctf_write(dtp->dt_cdefs->dm_ctfp, dtp->dt_cdefs_fd) == CTF_ERR))
2589 ctf_write(dtp->dt_ddefs->dm_ctfp, dtp->dt_ddefs_fd) == CTF_ERR))
/macosx-10.10.1/dtrace-147/test/cmd/chkargs/
H A Dchkargs.c59 if (p.dtp_argv[i].dtt_type == CTF_ERR) {
/macosx-10.10.1/xnu-2782.1.97/bsd/dev/dtrace/
H A Dfbt.c325 if (ctf_func_info(fp, fbt->fbtp_symndx, &f) == CTF_ERR)
338 if (ctf_func_args(fp, fbt->fbtp_symndx, argc, argv) == CTF_ERR)
/macosx-10.10.1/dtrace-147/sys/
H A Dctf_api.h144 #define CTF_ERR (-1L) macro

Completed in 181 milliseconds