Lines Matching refs:data
46 const char *data, const char *actual) in test_uuid_failed() argument
53 data); in test_uuid_failed()
62 static void __init test_uuid_test(const struct test_uuid_data *data) in test_uuid_test() argument
70 if (guid_parse(data->uuid, &le)) in test_uuid_test()
71 test_uuid_failed("conversion", false, false, data->uuid, NULL); in test_uuid_test()
74 if (!guid_equal(&data->le, &le)) { in test_uuid_test()
76 test_uuid_failed("cmp", false, false, data->uuid, buf); in test_uuid_test()
81 if (uuid_parse(data->uuid, &be)) in test_uuid_test()
82 test_uuid_failed("conversion", false, true, data->uuid, NULL); in test_uuid_test()
85 if (!uuid_equal(&data->be, &be)) { in test_uuid_test()
87 test_uuid_failed("cmp", false, true, data->uuid, buf); in test_uuid_test()
91 static void __init test_uuid_wrong(const char *data) in test_uuid_wrong() argument
98 if (!guid_parse(data, &le)) in test_uuid_wrong()
99 test_uuid_failed("negative", true, false, data, NULL); in test_uuid_wrong()
103 if (!uuid_parse(data, &be)) in test_uuid_wrong()
104 test_uuid_failed("negative", true, true, data, NULL); in test_uuid_wrong()