Lines Matching defs:data
56 u8 data[10];
64 .data = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 },
70 .data = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 },
76 .data = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 },
82 .data = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 },
88 .data = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 },
94 .data = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 },
100 .data = { 7, 8, 9, 0, 0, 0, 0, 0, 0, 0 },
134 struct test_data_offset *data = &offsets[i];
139 size = dso__data_read_offset(dso, &machine, data->offset,
142 TEST_ASSERT_VAL("Wrong size", size == data->size);
143 TEST_ASSERT_VAL("Wrong data", !memcmp(buf, data->data, 10));
165 TEST_ASSERT_VAL("Wrong data",
275 * Open dsos via dso__data_fd(), it opens the data
292 TEST_ASSERT_VAL("dsos[0] is not open", dsos[0]->data.fd != -1);
299 TEST_ASSERT_VAL("failed to close dsos[0]", dsos[0]->data.fd == -1);
374 TEST_ASSERT_VAL("failed to close dso_0", dso_0->data.fd == -1);
384 TEST_ASSERT_VAL("failed to close dso_1", dso_1->data.fd == -1);
397 DEFINE_SUITE("DSO data read", dso_data);
398 DEFINE_SUITE("DSO data cache", dso_data_cache);
399 DEFINE_SUITE("DSO data reopen", dso_data_reopen);