Lines Matching refs:dd
77 cleanup_data_dir(struct data_dir dd) in cleanup_data_dir() argument
79 if (dd.filename) { in cleanup_data_dir()
80 unlink(dd.filename); in cleanup_data_dir()
81 free(dd.filename); in cleanup_data_dir()
83 if (dd.dirname) { in cleanup_data_dir()
84 rmdir(dd.dirname); in cleanup_data_dir()
85 free(dd.dirname); in cleanup_data_dir()
105 struct data_dir dd = make_data_dir(NULL); in START_TEST() local
107 ctx = quirks_init_subsystem(dd.dirname, in START_TEST()
114 cleanup_data_dir(dd); in START_TEST()
122 struct data_dir dd = make_data_dir(quirks_file); in START_TEST() local
124 ctx = quirks_init_subsystem(dd.dirname, in START_TEST()
130 cleanup_data_dir(dd); in START_TEST()
138 struct data_dir dd = make_data_dir(quirks_file); in START_TEST() local
140 ctx = quirks_init_subsystem(dd.dirname, in START_TEST()
146 cleanup_data_dir(dd); in START_TEST()
156 struct data_dir dd = make_data_dir(quirks_file); in START_TEST() local
158 ctx = quirks_init_subsystem(dd.dirname, in START_TEST()
164 cleanup_data_dir(dd); in START_TEST()
174 struct data_dir dd = make_data_dir(quirks_file); in START_TEST() local
176 ctx = quirks_init_subsystem(dd.dirname, in START_TEST()
182 cleanup_data_dir(dd); in START_TEST()
194 struct data_dir dd = make_data_dir(quirks_file); in START_TEST() local
196 ctx = quirks_init_subsystem(dd.dirname, in START_TEST()
202 cleanup_data_dir(dd); in START_TEST()
214 struct data_dir dd = make_data_dir(quirks_file); in START_TEST() local
216 ctx = quirks_init_subsystem(dd.dirname, in START_TEST()
222 cleanup_data_dir(dd); in START_TEST()
236 struct data_dir dd = make_data_dir(quirks_file); in START_TEST() local
238 ctx = quirks_init_subsystem(dd.dirname, in START_TEST()
245 cleanup_data_dir(dd); in START_TEST()
256 struct data_dir dd = make_data_dir(quirks_file); in START_TEST() local
258 ctx = quirks_init_subsystem(dd.dirname, in START_TEST()
264 cleanup_data_dir(dd); in START_TEST()
275 struct data_dir dd = make_data_dir(quirks_file); in START_TEST() local
277 ctx = quirks_init_subsystem(dd.dirname, in START_TEST()
283 cleanup_data_dir(dd); in START_TEST()
294 struct data_dir dd = make_data_dir(quirks_file); in START_TEST() local
296 ctx = quirks_init_subsystem(dd.dirname, in START_TEST()
302 cleanup_data_dir(dd); in START_TEST()
313 struct data_dir dd = make_data_dir(quirks_file); in START_TEST() local
315 ctx = quirks_init_subsystem(dd.dirname, in START_TEST()
321 cleanup_data_dir(dd); in START_TEST()
332 struct data_dir dd = make_data_dir(quirks_file); in START_TEST() local
334 ctx = quirks_init_subsystem(dd.dirname, in START_TEST()
340 cleanup_data_dir(dd); in START_TEST()
351 struct data_dir dd = make_data_dir(quirks_file); in START_TEST() local
353 ctx = quirks_init_subsystem(dd.dirname, in START_TEST()
359 cleanup_data_dir(dd); in START_TEST()
370 struct data_dir dd = make_data_dir(quirks_file); in START_TEST() local
372 ctx = quirks_init_subsystem(dd.dirname, in START_TEST()
378 cleanup_data_dir(dd); in START_TEST()
389 struct data_dir dd = make_data_dir(quirks_file); in START_TEST() local
391 ctx = quirks_init_subsystem(dd.dirname, in START_TEST()
398 cleanup_data_dir(dd); in START_TEST()
411 struct data_dir dd = make_data_dir(quirks_file); in START_TEST() local
413 ctx = quirks_init_subsystem(dd.dirname, in START_TEST()
420 cleanup_data_dir(dd); in START_TEST()
431 struct data_dir dd = make_data_dir(quirks_file); in START_TEST() local
433 ctx = quirks_init_subsystem(dd.dirname, in START_TEST()
440 cleanup_data_dir(dd); in START_TEST()
451 struct data_dir dd = make_data_dir(quirks_file); in START_TEST() local
453 ctx = quirks_init_subsystem(dd.dirname, in START_TEST()
460 cleanup_data_dir(dd); in START_TEST()
487 struct data_dir dd = make_data_dir(quirks_file); in START_TEST() local
489 ctx = quirks_init_subsystem(dd.dirname, in START_TEST()
496 cleanup_data_dir(dd); in START_TEST()
507 struct data_dir dd = make_data_dir(quirks_file); in START_TEST() local
509 ctx = quirks_init_subsystem(dd.dirname, in START_TEST()
515 cleanup_data_dir(dd); in START_TEST()
534 struct data_dir dd = make_data_dir(quirks_file); in START_TEST() local
536 ctx = quirks_init_subsystem(dd.dirname, in START_TEST()
543 cleanup_data_dir(dd); in START_TEST()
567 struct data_dir dd = make_data_dir(*qf); in START_TEST() local
569 ctx = quirks_init_subsystem(dd.dirname, in START_TEST()
575 cleanup_data_dir(dd); in START_TEST()
595 struct data_dir dd = make_data_dir(quirks_file); in START_TEST() local
597 ctx = quirks_init_subsystem(dd.dirname, in START_TEST()
604 cleanup_data_dir(dd); in START_TEST()
628 struct data_dir dd = make_data_dir(*qf); in START_TEST() local
630 ctx = quirks_init_subsystem(dd.dirname, in START_TEST()
636 cleanup_data_dir(dd); in START_TEST()
656 struct data_dir dd = make_data_dir(quirks_file); in START_TEST() local
658 ctx = quirks_init_subsystem(dd.dirname, in START_TEST()
665 cleanup_data_dir(dd); in START_TEST()
689 struct data_dir dd = make_data_dir(*qf); in START_TEST() local
691 ctx = quirks_init_subsystem(dd.dirname, in START_TEST()
697 cleanup_data_dir(dd); in START_TEST()
729 struct data_dir dd = make_data_dir(quirks_file); in START_TEST() local
731 ctx = quirks_init_subsystem(dd.dirname, in START_TEST()
738 cleanup_data_dir(dd); in START_TEST()
753 struct data_dir dd = make_data_dir(*qf); in START_TEST() local
755 ctx = quirks_init_subsystem(dd.dirname, in START_TEST()
761 cleanup_data_dir(dd); in START_TEST()
797 struct data_dir dd = make_data_dir(quirks_file); in START_TEST() local
799 ctx = quirks_init_subsystem(dd.dirname, in START_TEST()
806 cleanup_data_dir(dd); in START_TEST()
827 struct data_dir dd = make_data_dir(*qf); in START_TEST() local
829 ctx = quirks_init_subsystem(dd.dirname, in START_TEST()
835 cleanup_data_dir(dd); in START_TEST()
851 struct data_dir dd = make_data_dir(quirks_file); in START_TEST() local
853 ctx = quirks_init_subsystem(dd.dirname, in START_TEST()
860 cleanup_data_dir(dd); in START_TEST()
884 struct data_dir dd = make_data_dir(*qf); in START_TEST() local
886 ctx = quirks_init_subsystem(dd.dirname, in START_TEST()
892 cleanup_data_dir(dd); in START_TEST()
919 struct data_dir dd; in test_attr_parse() local
931 dd = make_data_dir(buf); in test_attr_parse()
932 ctx = quirks_init_subsystem(dd.dirname, in test_attr_parse()
950 cleanup_data_dir(dd); in test_attr_parse()
1294 struct data_dir dd = make_data_dir(quirks_file); in START_TEST() local
1298 ctx = quirks_init_subsystem(dd.dirname, in START_TEST()
1313 cleanup_data_dir(dd); in START_TEST()
1327 struct data_dir dd = make_data_dir(quirks_file); in START_TEST() local
1331 ctx = quirks_init_subsystem(dd.dirname, in START_TEST()
1346 cleanup_data_dir(dd); in START_TEST()
1357 struct data_dir dd; in START_TEST() local
1376 dd = make_data_dir(quirks_file); in START_TEST()
1378 ctx = quirks_init_subsystem(dd.dirname, in START_TEST()
1393 cleanup_data_dir(dd); in START_TEST()
1498 struct data_dir dd = make_data_dir(quirks_file); in START_TEST() local
1500 ctx = quirks_init_subsystem(dd.dirname, in START_TEST()
1512 cleanup_data_dir(dd); in START_TEST()