Lines Matching refs:t
17 const struct btf_type *t; in test_btf_split() local
44 t = btf__type_by_id(btf2, 1); in test_btf_split()
45 if (!ASSERT_OK_PTR(t, "int_type")) in test_btf_split()
47 ASSERT_EQ(btf_is_int(t), true, "int_kind"); in test_btf_split()
48 ASSERT_STREQ(btf__str_by_offset(btf2, t->name_off), "int", "int_name"); in test_btf_split()
56 t = btf__type_by_id(btf1, 4); in test_btf_split()
57 ASSERT_NULL(t, "split_type_in_main"); in test_btf_split()
59 t = btf__type_by_id(btf2, 4); in test_btf_split()
60 if (!ASSERT_OK_PTR(t, "split_struct_type")) in test_btf_split()
62 ASSERT_EQ(btf_is_struct(t), true, "split_struct_kind"); in test_btf_split()
63 ASSERT_EQ(btf_vlen(t), 3, "split_struct_vlen"); in test_btf_split()
64 ASSERT_STREQ(btf__str_by_offset(btf2, t->name_off), "s2", "split_struct_name"); in test_btf_split()