Lines Matching defs:all
74 struct info *all;
127 check (const char *name, int index, const struct info *all, int want_lineno,
132 if (all[index].filename == NULL || all[index].function == NULL)
139 if (strcmp (base (all[index].filename), "btest.c") != 0)
142 all[index].filename);
145 if (all[index].lineno != want_lineno)
148 all[index].lineno, want_lineno);
151 if (strcmp (all[index].function, want_function) != 0)
154 all[index].function, want_function);
175 p = &data->all[data->index];
301 struct info all[20];
306 data.all = &all[0];
328 check ("test1", 0, all, f3line, "f3", &data.failed);
329 check ("test1", 1, all, f2line, "f2", &data.failed);
330 check ("test1", 2, all, f1line, "test1", &data.failed);
361 struct info all[20];
366 data.all = &all[0];
380 check ("test2", 0, all, f3line, "f13", &data.failed);
381 check ("test2", 1, all, f2line, "f12", &data.failed);
382 check ("test2", 2, all, f1line, "test2", &data.failed);
434 struct info all[20];
438 bdata.all = &all[0];
465 check ("test3", 0, all, f3line, "f23", &bdata.failed);
466 check ("test3", 1, all, f2line, "f22", &bdata.failed);
467 check ("test3", 2, all, f1line, "test3", &bdata.failed);
584 struct info all[20];
587 bdata.all = &all[0];
603 check ("test4", 0, all, f3line, "f33", &bdata.failed);
604 check ("test4", 1, all, f2line, "f32", &bdata.failed);
605 check ("test4", 2, all, f1line, "test4", &bdata.failed);
698 /* Run all the tests. */