/illumos-gate/usr/src/lib/libctf/common/ |
H A D | ctf_convert.c | 116 ctf_elfconvert(ctf_convert_t *cch, int fd, Elf *elf, int *errp, char *errbuf, in ctf_elfconvert() argument 142 if ((cch->cch_flags & CTF_FORCE_CONVERSION) == 0) { in ctf_elfconvert() 155 err = ctf_converters[i](cch, fd, elf, &fp, errbuf, errlen); in ctf_elfconvert() 175 if (cch->cch_label != NULL) { in ctf_elfconvert() 176 if (ctf_add_label(fp, cch->cch_label, fp->ctf_typemax, 0) == in ctf_elfconvert() 195 struct ctf_convert_handle *cch; in ctf_convert_init() local 202 cch = ctf_alloc(sizeof (struct ctf_convert_handle)); in ctf_convert_init() 203 if (cch == NULL) { in ctf_convert_init() 208 cch->cch_label = NULL; in ctf_convert_init() 209 cch->cch_flags = 0; in ctf_convert_init() [all …]
|
H A D | ctf_dwarf.c | 3184 ctf_dwarf_preinit_dies(ctf_convert_t *cch, int fd, Elf *elf, Dwarf_Debug dw, in ctf_dwarf_preinit_dies() argument 3204 cup->cu_handle = cch; in ctf_dwarf_preinit_dies() 3272 if (!(cch->cch_flags & in ctf_dwarf_preinit_dies() 3281 if (cch->cch_warncb != NULL) { in ctf_dwarf_preinit_dies() 3282 cch->cch_warncb(cch->cch_warncb_arg, in ctf_dwarf_preinit_dies() 3342 c_source_has_debug(ctf_convert_t *cch, const char *file, in c_source_has_debug() argument 3362 for (ccf = list_head(&cch->cch_nodebug); ccf != NULL; in c_source_has_debug() 3363 ccf = list_next(&cch->cch_nodebug, ccf)) { in c_source_has_debug() 3381 ctf_dwarf_check_missing(ctf_convert_t *cch, ctf_cu_t *cus, size_t nr_cus, in ctf_dwarf_check_missing() argument 3446 if (!c_source_has_debug(cch, file, cus, nr_cus)) { in ctf_dwarf_check_missing() [all …]
|
/illumos-gate/usr/src/cmd/refer/ |
H A D | refer6.c | 33 int nauth = 0, i, lastype = 0, cch, macro = 0, la; in putref() local 45 cch = s[2]; in putref() 49 cch = s[1]; in putref() 54 cch = lastype; in putref() 58 fprintf(stderr, "smallcaps %s cch %c\n", smallcaps, cch); in putref() 60 if (mindex(smallcaps, cch)) in putref() 80 if (mindex("XYZ[]", cch)) { /* skip these */ in putref() 84 if (cch == 'A') { in putref() 90 cch, sep, tx, sep); in putref() 93 cch, tx, sep); in putref() [all …]
|
/illumos-gate/usr/src/cmd/ctfconvert/ |
H A D | ctfconvert.c | 260 ctf_convert_t *cch; in main() local 356 cch = ctf_convert_init(&err); in main() 357 if (cch == NULL) { in main() 362 if ((err = ctf_convert_set_nthreads(cch, nthreads)) != 0) in main() 365 if ((err = ctf_convert_set_batchsize(cch, bsize)) != 0) in main() 368 if ((err = ctf_convert_set_flags(cch, flags)) != 0) in main() 371 if (label != NULL && (err = ctf_convert_set_label(cch, label)) != 0) in main() 374 if ((err = ctf_convert_set_warncb(cch, ctfconvert_warning, NULL)) != 0) in main() 396 if ((err = ctf_convert_add_ignore(cch, buf)) != 0) { in main() 412 ofp = ctf_fdconvert(cch, ifd, &err, buf, sizeof (buf)); in main() [all …]
|
/illumos-gate/usr/src/uts/common/io/usb/clients/ccid/ |
H A D | ccid.c | 1031 const ccid_header_t *cch; in ccid_command_resp_length() local 1039 cch = (ccid_header_t *)cc->cc_response->b_rptr; in ccid_command_resp_length() 1040 bcopy(&cch->ch_length, &len, sizeof (len)); in ccid_command_resp_length() 1048 const ccid_header_t *cch; in ccid_command_resp_param2() local 1054 cch = (ccid_header_t *)cc->cc_response->b_rptr; in ccid_command_resp_param2() 1055 bcopy(&cch->ch_param2, &val, sizeof (val)); in ccid_command_resp_param2() 1120 ccid_header_t cch; in ccid_command_status_decode() local 1126 VERIFY3U(mblen, >=, sizeof (cch)); in ccid_command_status_decode() 1128 bcopy(cc->cc_response->b_rptr, &cch, sizeof (cch)); in ccid_command_status_decode() 1130 *comp = CCID_REPLY_STATUS(cch.ch_param0); in ccid_command_status_decode() [all …]
|