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

12

/opensolaris-onvv-gate/usr/src/tools/ctf/stabs/common/
H A Dctfstabs.c166 if ((id = ctf_lookup_by_name(ctf, name)) != CTF_ERR)
170 if ((id = ctf_lookup_by_name(ctf, fullname)) != CTF_ERR)
174 if ((id = ctf_lookup_by_name(ctf, fullname)) != CTF_ERR)
178 if ((id = ctf_lookup_by_name(ctf, fullname)) != CTF_ERR)
181 return (CTF_ERR);
221 if ((lid = ctf_lookup_by_name(ctf, "long")) == CTF_ERR ||
222 (lsz = ctf_type_size(ctf, lid)) == CTF_ERR)
H A Dforth.c198 if ((tid = find_type(part)) == CTF_ERR ||
199 (tid = ctf_type_resolve(ctf, tid)) == CTF_ERR ||
200 (kind = ctf_type_kind(ctf, tid)) == CTF_ERR) {
219 if ((kind = ctf_type_kind(ctf, tid)) == CTF_ERR) {
H A Dfth_struct.c166 if ((sz = ctf_type_size(ctf, fth_str_curtid)) == CTF_ERR)
313 if (ctf_array_info(ctf, tid, &ar) == CTF_ERR) {
342 if ((tid = ctf_type_resolve(ctf, mem->fsm_tid)) == CTF_ERR) {
347 if ((kind = ctf_type_kind(ctf, tid)) == CTF_ERR) {
352 if ((sz = ctf_type_size(ctf, tid)) == CTF_ERR) {
359 if (ctf_type_encoding(ctf, tid, &e) == CTF_ERR)
H A Dgenassym.c167 if ((curtype = find_type(curname)) == CTF_ERR)
254 if ((type = ctf_type_resolve(ctf, type)) == CTF_ERR)
/opensolaris-onvv-gate/usr/src/common/ctf/
H A Dctf_create.c595 if ((type = ctf_add_generic(fp, flag, name, &dtd)) == CTF_ERR)
596 return (CTF_ERR); /* errno is set for us */
611 if (ref == CTF_ERR || ref < 0 || ref > CTF_MAX_TYPE)
614 if ((type = ctf_add_generic(fp, flag, NULL, &dtd)) == CTF_ERR)
615 return (CTF_ERR); /* errno is set for us */
652 if ((type = ctf_add_generic(fp, flag, NULL, &dtd)) == CTF_ERR)
653 return (CTF_ERR); /* errno is set for us */
702 if ((type = ctf_add_generic(fp, flag, NULL, &dtd)) == CTF_ERR) {
704 return (CTF_ERR); /* errno is set for us */
731 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.c68 if ((type = ctf_type_resolve(fp, type)) == CTF_ERR)
69 return (CTF_ERR); /* errno is set for us */
72 return (CTF_ERR); /* errno is set for us */
120 if ((type = ctf_type_resolve(fp, type)) == CTF_ERR)
121 return (CTF_ERR); /* errno is set for us */
124 return (CTF_ERR); /* errno is set for us */
195 return (CTF_ERR); /* errno is set for us */
211 if (fp == NULL && type == CTF_ERR)
212 return (-1); /* simplify caller code by permitting CTF_ERR */
326 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);
300 if (ctf_func_info(fp, symidx, &f) == CTF_ERR)
301 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);
/opensolaris-onvv-gate/usr/src/lib/libdtrace/common/
H A Ddt_decl.c83 ddp->dd_type = CTF_ERR;
147 dsp->ds_type = CTF_ERR;
320 if (dnp->dn_type == CTF_ERR && !(flags & DT_DP_VARARGS)) {
482 if (name != NULL && (type = ctf_lookup_by_name(ctfp, n)) != CTF_ERR &&
491 if (type == CTF_ERR || ctf_update(ctfp) == CTF_ERR) {
588 ctf_type_encoding(dtt.dtt_ctfp, base, &cte) == CTF_ERR ||
606 if (dtt.dtt_type == CTF_ERR ||
607 ctf_update(dsp->ds_ctfp) == CTF_ERR) {
630 if (dtt.dtt_type == CTF_ERR ||
[all...]
H A Ddt_open.c544 { "int", NULL, CTF_ERR, 0x7fffffffULL },
545 { "unsigned int", NULL, CTF_ERR, 0xffffffffULL },
546 { "long", NULL, CTF_ERR, 0x7fffffffULL },
547 { "unsigned long", NULL, CTF_ERR, 0xffffffffULL },
548 { "long long", NULL, CTF_ERR, 0x7fffffffffffffffULL },
549 { "unsigned long long", NULL, CTF_ERR, 0xffffffffffffffffULL }
557 { "int", NULL, CTF_ERR, 0x7fffffffULL },
558 { "unsigned int", NULL, CTF_ERR, 0xffffffffULL },
559 { "long", NULL, CTF_ERR, 0x7fffffffffffffffULL },
560 { "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.c245 * as a dis_args[] element with ctfp = NULL, type == CTF_ERR).
266 isp->dis_args[i].dn_type = CTF_ERR;
363 if (xnp->dn_type == CTF_ERR) {
368 if (nnp->dn_type == CTF_ERR) {
465 if (idp->di_type == CTF_ERR) {
487 if (idp->di_ctfp != NULL && idp->di_type != CTF_ERR)
915 idp->di_type = CTF_ERR;
H A Ddt_provider.c314 dtt.dtt_type = CTF_ERR;
320 if (dtt.dtt_type != CTF_ERR && (adp->dtargd_xlate[0] == '\0' ||
333 dtt.dtt_type = CTF_ERR;
627 if (dtt.dtt_type == CTF_ERR ||
628 ctf_update(dtt.dtt_ctfp) == CTF_ERR) {
H A Ddt_parser.c63 * 1. dn_ctfp = NULL, dn_type = CTF_ERR
255 if ((ptr = ctf_type_pointer(ctfp, type)) != CTF_ERR ||
256 (ptr = ctf_type_pointer(ctfp, base)) != CTF_ERR) {
267 (type = ctf_add_type(dmp->dm_ctfp, ctfp, type)) == CTF_ERR) {
274 if (ptr == CTF_ERR || ctf_update(dmp->dm_ctfp) == CTF_ERR) {
342 if (ctf_type_encoding(lfp, lbase, &le) == CTF_ERR) {
347 if (ctf_type_encoding(rfp, rbase, &re) == CTF_ERR) {
499 dnp->dn_type = CTF_ERR;
944 (base = ctf_type_reference(fp, base)) != CTF_ERR
[all...]
H A Ddt_grammar.y241 { dt_scope_push(NULL, CTF_ERR); } DT_TOK_ASGN
809 array: DT_TOK_LBRAC { dt_scope_push(NULL, CTF_ERR); }
822 function: DT_TOK_LPAR { dt_scope_push(NULL, CTF_ERR); }
H A Ddt_module.c649 if (ctf_import(dmp->dm_ctfp, pfp) == CTF_ERR) {
1195 if ((id = ctf_lookup_by_name(dmp->dm_ctfp, name)) != CTF_ERR) {
1222 tip->dtt_type = CTF_ERR;
1244 if (tip->dtt_type == CTF_ERR) {
H A Ddt_options.c696 if (ctf_array_info(fp, type, &r) == CTF_ERR) {
704 if (ctf_set_array(fp, type, &r) == CTF_ERR ||
705 ctf_update(fp) == CTF_ERR) {
/opensolaris-onvv-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_ctf.c93 (id = ctf_lookup_by_name(fp, tnp->tn_name)) != CTF_ERR) {
148 (id = ctf_lookup_by_name(fp, name)) == CTF_ERR ||
155 arg.tn_id = CTF_ERR;
159 if (arg.tn_id != CTF_ERR) {
168 if (id == CTF_ERR) {
230 if ((mcip->mci_id = ctf_lookup_by_symbol(fp, sip->sym_id)) == CTF_ERR) {
292 if ((id = ctf_lookup_by_name(fp, name)) == CTF_ERR)
335 if (ctf_func_info(fp, si.sym_id, &f) == CTF_ERR)
362 if (ctf_func_args(fp, funcp->mtf_symidx, len, cargv) == CTF_ERR)
375 set_ctf_id(idp, NULL, CTF_ERR);
[all...]
H A Dmdb_nm.c190 if (ctf_func_info(fp, index, &f) == CTF_ERR)
253 else if ((id = ctf_lookup_by_symbol(fp, index)) != CTF_ERR)
271 if (fp != NULL && (id = ctf_lookup_by_symbol(fp, index)) != CTF_ERR) {
/opensolaris-onvv-gate/usr/src/lib/abi/apptrace/common/
H A Dapptraceutil.c148 if (ctf_type_encoding(ctfp, base, &e) == CTF_ERR) {
232 if ((base = ctf_type_reference(ctfp, base)) == CTF_ERR)
235 if ((base = ctf_type_resolve(ctfp, base)) == CTF_ERR)
312 if ((base = ctf_type_resolve(ctfp, id)) == CTF_ERR ||
313 (kind = ctf_type_kind(ctfp, base)) == CTF_ERR)
H A Dapptrace.c607 if (ctf_func_info(ctfp, si.prs_id, &finfo) == CTF_ERR)
753 if (ctf_func_info(ctfp, si.prs_id, &finfo) == CTF_ERR)
/opensolaris-onvv-gate/usr/src/cmd/dtrace/test/cmd/chkargs/
H A Dchkargs.c58 if (p.dtp_argv[i].dtt_type == CTF_ERR) {
/opensolaris-onvv-gate/usr/src/uts/common/sys/
H A Dctf_api.h115 #define CTF_ERR (-1L) macro
/opensolaris-onvv-gate/usr/src/uts/intel/dtrace/
H A Dfbt.c640 if (ctf_func_info(fp, fbt->fbtp_symndx, &f) == CTF_ERR)
653 if (ctf_func_args(fp, fbt->fbtp_symndx, argc, argv) == CTF_ERR)

Completed in 211 milliseconds

12