/illumos-gate/usr/src/cmd/ctfdump/ |
H A D | ctfdump.c | 218 if (ctc->ctc_argc != 0) { in ctfdump_functions_cb() 219 ctfdump_fargs_grow(ctc->ctc_argc); in ctfdump_functions_cb() 228 for (i = 0; i < ctc->ctc_argc; i++) in ctfdump_functions_cb() 233 ctc->ctc_argc == 0 ? "" : ", "); in ctfdump_functions_cb() 574 if (ctc.ctc_argc > 0) { in ctfdump_types_cb() 575 ctfdump_fargs_grow(ctc.ctc_argc); in ctfdump_types_cb() 958 if (cfi->ctc_argc != 0) { in ctfsrc_function() 959 ctfdump_fargs_grow(cfi->ctc_argc); in ctfsrc_function() 1002 if (l->ci_funcinfo.ctc_argc < r->ci_funcinfo.ctc_argc) in idname_compare() 1004 else if (l->ci_funcinfo.ctc_argc > r->ci_funcinfo.ctc_argc) in idname_compare() [all …]
|
/illumos-gate/usr/src/test/util-tests/tests/ctf/ |
H A D | check-common.c | 601 if (nargs != fi.ctc_argc) { in ctftest_check_function() 603 fi.ctc_argc, nargs); in ctftest_check_function() 613 if (!ret || fi.ctc_argc == 0) { in ctftest_check_function() 617 if ((args = calloc(fi.ctc_argc, sizeof (ctf_id_t))) == NULL) { in ctftest_check_function() 622 if (ctf_func_args(fp, sym, fi.ctc_argc, args) != 0) { in ctftest_check_function() 629 for (i = 0; i < fi.ctc_argc; i++) { in ctftest_check_function() 700 if (nargs != fi.ctc_argc) { in ctftest_check_fptr() 702 fi.ctc_argc, nargs); in ctftest_check_fptr() 712 if (!ret || fi.ctc_argc == 0) { in ctftest_check_fptr() 721 if (ctf_func_args_by_id(fp, tid, fi.ctc_argc, args) != 0) { in ctftest_check_fptr() [all …]
|
H A D | check-merge-static.c | 130 if (fi.ctc_argc != 1) { in check_mumble() 132 "expected %d", name, symid, fi.ctc_argc, 1); in check_mumble()
|
/illumos-gate/usr/src/lib/libctf/common/ |
H A D | ctf_diff.c | 266 if (ifunc.ctc_argc != ofunc.ctc_argc) in ctf_diff_fptr() 282 ctf_free(iids, sizeof (ctf_id_t) * ifunc.ctc_argc); in ctf_diff_fptr() 297 for (i = 0; i < ifunc.ctc_argc; i++) { in ctf_diff_fptr() 305 ctf_free(iids, sizeof (ctf_id_t) * ifunc.ctc_argc); in ctf_diff_fptr() 306 ctf_free(oids, sizeof (ctf_id_t) * ofunc.ctc_argc); in ctf_diff_fptr() 1105 if (ifip.ctc_argc != ofip.ctc_argc && in ctf_diff_func_fill() 1114 if (ifip.ctc_argc > idcnt) { in ctf_diff_func_fill() 1122 idcnt = ifip.ctc_argc; in ctf_diff_func_fill() 1138 ifip.ctc_argc, iids)) != 0) in ctf_diff_func_fill() 1141 ofip.ctc_argc, oids)) != 0) in ctf_diff_func_fill() [all …]
|
H A D | ctf_merge.c | 387 argv = ctf_alloc(sizeof (ctf_id_t) * ctc.ctc_argc); in ctf_merge_add_func() 392 ctf_free(argv, sizeof (ctf_id_t) * ctc.ctc_argc); in ctf_merge_add_func() 404 for (i = 0; i < ctc.ctc_argc; i++) { in ctf_merge_add_func() 415 ctf_free(argv, sizeof (ctf_id_t) * ctc.ctc_argc); in ctf_merge_add_func() 1081 sizeof (ctf_id_t) * fip->ctc_argc); in ctf_merge_add_function() 1089 fmap->cmf_argc = fip->ctc_argc; in ctf_merge_add_function() 1100 sizeof (ctf_id_t) * fip->ctc_argc); in ctf_merge_add_function() 1170 fi.ctc_argc = LCTF_INFO_VLEN(fp, funcbase); in ctf_merge_add_symbol() 1173 if (fi.ctc_argc != 0 && data[fi.ctc_argc - 1] == 0) { in ctf_merge_add_symbol() 1175 fi.ctc_argc--; in ctf_merge_add_symbol() [all …]
|
H A D | ctf_dwarf.c | 2090 if (fi.ctc_argc != 0) { in ctf_dwarf_create_fptr() 2107 ctf_free(argv, sizeof (ctf_id_t) * fi.ctc_argc); in ctf_dwarf_create_fptr() 2264 fip->ctc_argc++; in ctf_dwarf_function_count() 2267 fip->ctc_argc++; in ctf_dwarf_function_count() 2269 fip->ctc_argc > 0) { in ctf_dwarf_function_count() 2314 if (i == fip->ctc_argc) in ctf_dwarf_convert_fargs() 2414 if (cdf->cdf_fip.ctc_argc != 0) { in ctf_dwarf_convert_function() 2415 uint_t argc = cdf->cdf_fip.ctc_argc; in ctf_dwarf_convert_function() 2435 cdf->cdf_fip.ctc_argc); in ctf_dwarf_convert_function() 2904 if (fip.ctc_argc != 0) { in ctf_dwarf_duplicate_func() [all …]
|
/illumos-gate/usr/src/lib/libsaveargs/tests/dump/ |
H A D | dump.c | 121 if (ss->ss_finfo.ctc_argc == 0) /* No arguments, no point */ in check_sym() 129 ss->ss_finfo.ctc_argc, start_index) != SAVEARGS_NO_ARGS) in check_sym() 131 ss->ss_finfo.ctc_argc); in check_sym()
|
/illumos-gate/usr/src/common/ctf/ |
H A D | ctf_types.c | 260 if (fi.ctc_argc > ARRAY_SIZE(args)) in ctf_format_func() 261 fi.ctc_argc = ARRAY_SIZE(args); in ctf_format_func() 263 if (fi.ctc_argc == 0) { in ctf_format_func() 268 if (ctf_func_args_by_id(fp, id, fi.ctc_argc, args) != 0) in ctf_format_func() 271 for (size_t i = 0; i < fi.ctc_argc; i++) { in ctf_format_func() 278 i + 1 == fi.ctc_argc ? "" : ", "); in ctf_format_func() 1050 fip->ctc_argc = nargs; in ctf_func_info_by_id() 1060 fip->ctc_argc--; in ctf_func_info_by_id() 1196 fi.ctc_argc = LCTF_INFO_VLEN(fp, info); in ctf_function_iter() 1199 if (fi.ctc_argc != 0 && dp[fi.ctc_argc - 1] == 0) { in ctf_function_iter() [all …]
|
H A D | ctf_lookup.c | 282 fip->ctc_argc = n; in ctf_func_info() 287 fip->ctc_argc--; in ctf_func_info() 312 for (argc = MIN(argc, f.ctc_argc); argc != 0; argc--) in ctf_func_args()
|
H A D | ctf_create.c | 1142 (ctc->ctc_argc != 0 && argv == NULL)) in ctf_add_funcptr() 1145 vlen = ctc->ctc_argc; in ctf_add_funcptr() 1157 for (i = 0; i < ctc->ctc_argc; i++) { in ctf_add_funcptr() 1176 for (i = 0; i < ctc->ctc_argc; i++) in ctf_add_funcptr() 1179 bcopy(argv, vdat, sizeof (ctf_id_t) * ctc->ctc_argc); in ctf_add_funcptr() 1856 ctc.ctc_argc = 0; in ctf_add_type() 2024 for (i = 0; i < fip->ctc_argc; i++) { in ctf_add_function() 2033 dsd->dsd_nargs = fip->ctc_argc; in ctf_add_function() 2042 bcopy(argc, dsd->dsd_argc, sizeof (ctf_id_t) * fip->ctc_argc); in ctf_add_function() 2044 dsd->dsd_argc[fip->ctc_argc] = 0; in ctf_add_function()
|
/illumos-gate/usr/src/lib/libproc/amd64/ |
H A D | Pisadep.c | 179 *countp = finfo.ctc_argc; in argcount_ctf() 409 argc = finfo.ctc_argc; in read_args() 435 for (i = 0; i < MIN(5, finfo.ctc_argc); i++) { in read_args()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | ctf_api.h | 161 uint_t ctc_argc; /* number of typed arguments to function */ member
|
/illumos-gate/usr/src/lib/libproc/i386/ |
H A D | Pisadep.c | 139 *countp = finfo.ctc_argc; in argcount_ctf()
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_nm.c | 210 for (i = 0; i < f.ctc_argc; i++) { in nm_func_signature() 231 } else if (f.ctc_argc == 0) { in nm_func_signature()
|
H A D | mdb_ctf.c | 468 mfp->mtf_argc = f.ctc_argc; in mdb_ctf_func_info()
|
/illumos-gate/usr/src/uts/intel/dtrace/ |
H A D | fbt.c | 609 if (desc->dtargd_ndx + 1 > f.ctc_argc) in fbt_getargdesc()
|
/illumos-gate/usr/src/lib/abi/apptrace/common/ |
H A D | apptrace.c | 625 argc = MIN(sizeof (argt) / sizeof (argt[0]), finfo.ctc_argc); in la_sparcv9_pltenter()
|
/illumos-gate/usr/src/uts/sparc/dtrace/ |
H A D | fbt.c | 1214 nargs = f.ctc_argc; in fbt_provide_module() 1678 if (desc->dtargd_ndx + 1 > f.ctc_argc) in fbt_getargdesc()
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_pid.c | 906 *nargs = MIN(args, f.ctc_argc); in dt_pid_get_types()
|
H A D | dt_open.c | 1206 ctc.ctc_argc = 0; in dt_vopen()
|