Lines Matching refs:clc
41 ctftests_lookup_cb_t *clc = arg; in ctftest_lookup_type_cb() local
43 if (ctf_type_name(clc->clc_fp, id, buf, sizeof (buf)) == NULL) in ctftest_lookup_type_cb()
46 if (strcmp(buf, clc->clc_name) != 0) in ctftest_lookup_type_cb()
49 clc->clc_id = id; in ctftest_lookup_type_cb()
62 ctftests_lookup_cb_t clc; in ctftest_lookup_type() local
64 clc.clc_fp = fp; in ctftest_lookup_type()
65 clc.clc_id = CTF_ERR; in ctftest_lookup_type()
66 clc.clc_name = name; in ctftest_lookup_type()
68 (void) ctf_type_iter(fp, B_TRUE, ctftest_lookup_type_cb, &clc); in ctftest_lookup_type()
69 return (clc.clc_id); in ctftest_lookup_type()
75 ctftests_lookup_cb_t *clc = arg; in ctftest_lookup_object_cb() local
77 if (strcmp(obj, clc->clc_name) == 0) { in ctftest_lookup_object_cb()
78 clc->clc_id = type; in ctftest_lookup_object_cb()
88 ctftests_lookup_cb_t clc; in ctftest_lookup_symbol() local
90 clc.clc_fp = fp; in ctftest_lookup_symbol()
91 clc.clc_id = CTF_ERR; in ctftest_lookup_symbol()
92 clc.clc_name = name; in ctftest_lookup_symbol()
94 (void) ctf_object_iter(fp, ctftest_lookup_object_cb, &clc); in ctftest_lookup_symbol()
95 return (clc.clc_id); in ctftest_lookup_symbol()