Lines Matching refs:ASSERT_STREQ
33 ASSERT_STREQ(btf__str_by_offset(btf, t->name_off), "int", "int_name"); in gen_btf()
38 ASSERT_STREQ(btf_type_raw_dump(btf, 1), in gen_btf()
60 ASSERT_STREQ(btf_type_raw_dump(btf, 2), in gen_btf()
68 ASSERT_STREQ(btf_type_raw_dump(btf, 3), in gen_btf()
76 ASSERT_STREQ(btf_type_raw_dump(btf, 4), in gen_btf()
84 ASSERT_STREQ(btf_type_raw_dump(btf, 5), in gen_btf()
95 ASSERT_STREQ(btf_type_raw_dump(btf, 6), in gen_btf()
109 ASSERT_STREQ(btf__str_by_offset(btf, t->name_off), "s1", "struct_name"); in gen_btf()
115 ASSERT_STREQ(btf__str_by_offset(btf, m->name_off), "f1", "f1_name"); in gen_btf()
120 ASSERT_STREQ(btf__str_by_offset(btf, m->name_off), "f2", "f2_name"); in gen_btf()
124 ASSERT_STREQ(btf_type_raw_dump(btf, 7), in gen_btf()
141 ASSERT_STREQ(btf__str_by_offset(btf, t->name_off), "u1", "union_name"); in gen_btf()
147 ASSERT_STREQ(btf__str_by_offset(btf, m->name_off), "f1", "f1_name"); in gen_btf()
151 ASSERT_STREQ(btf_type_raw_dump(btf, 8), in gen_btf()
164 ASSERT_STREQ(btf__str_by_offset(btf, t->name_off), "e1", "enum_name"); in gen_btf()
169 ASSERT_STREQ(btf__str_by_offset(btf, v->name_off), "v1", "v1_name"); in gen_btf()
172 ASSERT_STREQ(btf__str_by_offset(btf, v->name_off), "v2", "v2_name"); in gen_btf()
174 ASSERT_STREQ(btf_type_raw_dump(btf, 9), in gen_btf()
183 ASSERT_STREQ(btf__str_by_offset(btf, t->name_off), "struct_fwd", "fwd_name"); in gen_btf()
186 ASSERT_STREQ(btf_type_raw_dump(btf, 10), in gen_btf()
192 ASSERT_STREQ(btf__str_by_offset(btf, t->name_off), "union_fwd", "fwd_name"); in gen_btf()
195 ASSERT_STREQ(btf_type_raw_dump(btf, 11), in gen_btf()
201 ASSERT_STREQ(btf__str_by_offset(btf, t->name_off), "enum_fwd", "fwd_name"); in gen_btf()
205 ASSERT_STREQ(btf_type_raw_dump(btf, 12), in gen_btf()
212 ASSERT_STREQ(btf__str_by_offset(btf, t->name_off), "typedef1", "typedef_name"); in gen_btf()
215 ASSERT_STREQ(btf_type_raw_dump(btf, 13), in gen_btf()
222 ASSERT_STREQ(btf__str_by_offset(btf, t->name_off), "func1", "func_name"); in gen_btf()
226 ASSERT_STREQ(btf_type_raw_dump(btf, 14), in gen_btf()
241 ASSERT_STREQ(btf__str_by_offset(btf, p->name_off), "p1", "p1_name"); in gen_btf()
244 ASSERT_STREQ(btf__str_by_offset(btf, p->name_off), "p2", "p2_name"); in gen_btf()
246 ASSERT_STREQ(btf_type_raw_dump(btf, 15), in gen_btf()
255 ASSERT_STREQ(btf__str_by_offset(btf, t->name_off), "var1", "var_name"); in gen_btf()
259 ASSERT_STREQ(btf_type_raw_dump(btf, 16), in gen_btf()
269 ASSERT_STREQ(btf__str_by_offset(btf, t->name_off), "datasec1", "datasec_name"); in gen_btf()
277 ASSERT_STREQ(btf_type_raw_dump(btf, 17), in gen_btf()
285 ASSERT_STREQ(btf__str_by_offset(btf, t->name_off), "tag1", "tag_value"); in gen_btf()
289 ASSERT_STREQ(btf_type_raw_dump(btf, 18), in gen_btf()
295 ASSERT_STREQ(btf__str_by_offset(btf, t->name_off), "tag2", "tag_value"); in gen_btf()
299 ASSERT_STREQ(btf_type_raw_dump(btf, 19), in gen_btf()
306 ASSERT_STREQ(btf__str_by_offset(btf, t->name_off), "tag1", "tag_value"); in gen_btf()
309 ASSERT_STREQ(btf_type_raw_dump(btf, 20), in gen_btf()
320 ASSERT_STREQ(btf__str_by_offset(btf, t->name_off), "e1", "enum64_name"); in gen_btf()
325 ASSERT_STREQ(btf__str_by_offset(btf, v64->name_off), "v1", "v1_name"); in gen_btf()
329 ASSERT_STREQ(btf__str_by_offset(btf, v64->name_off), "v2", "v2_name"); in gen_btf()
332 ASSERT_STREQ(btf_type_raw_dump(btf, 21), in gen_btf()
342 ASSERT_STREQ(btf__str_by_offset(btf, t->name_off), "e1", "enum64_name"); in gen_btf()
347 ASSERT_STREQ(btf__str_by_offset(btf, v64->name_off), "v1", "v1_name"); in gen_btf()
350 ASSERT_STREQ(btf_type_raw_dump(btf, 22), in gen_btf()