Lines Matching +defs:label +defs:offset
293 size_t offset;
327 offset = strtab_insert(&b->ctb_strtab, tp->t_name);
328 ctt.ctt_name = CTF_TYPE_NAME(CTF_STRTAB_0, offset);
405 offset = strtab_insert(&b->ctb_strtab,
409 offset);
423 offset = strtab_insert(&b->ctb_strtab,
427 offset);
461 offset = strtab_insert(&b->ctb_strtab, ep->el_name);
462 cte.cte_name = CTF_TYPE_NAME(CTF_STRTAB_0, offset);
849 * with a label provided by the caller. There are several cases, outlined
853 * 1. matchlbl == NULL - return the index of the most recent label.
854 * 2. matchlbl == "BASE" - return the index of the oldest label.
858 * the type index associated with the label.
872 char *label = sbuf + ctl->ctl_label;
876 debug(3, "Resurrected label %s type idx %d\n", label, lastidx);
878 tdata_label_add(td, label, lastidx);
882 baselabel = label;
887 if (matchlbl != NULL && streq(label, matchlbl))
892 /* User provided a label that didn't match */
893 warning("%s: Cannot find label `%s' - using base (%s)\n",
1283 ctf_parse(ctf_header_t *h, caddr_t buf, symit_data_t *si, char *label)
1301 idx = resurrect_labels(h, td, buf, label);
1345 * up to the type associated with the provided label, inclusive, will be
1346 * reconstructed. If a NULL label is provided, all types will be reconstructed.
1351 ctf_load(char *file, caddr_t buf, size_t bufsz, symit_data_t *si, char *label)
1389 td = ctf_parse(h, ctfdata, si, label);