Lines Matching refs:foo
36 struct foo { struct
40 SET_DECLARE(foo, struct foo); argument
42 struct foo a = { "foo" };
43 struct foo b = { "bar" };
44 struct foo c = { "baz" };
46 SET_ENTRY(foo, a);
47 SET_ENTRY(foo, b);
48 SET_ENTRY(foo, c);
53 struct foo **c; in main()
56 printf("Set count: %d\n", (int)SET_COUNT(foo)); in main()
59 printf("a: %s\n", ((struct foo *)__set_foo_sym_a)->buf); in main()
60 printf("b: %s\n", ((struct foo *)__set_foo_sym_b)->buf); in main()
61 printf("c: %s\n", ((struct foo *)__set_foo_sym_c)->buf); in main()
63 printf("item(foo, 0): %s\n", SET_ITEM(foo, 0)->buf); in main()
64 printf("item(foo, 1): %s\n", SET_ITEM(foo, 1)->buf); in main()
65 printf("item(foo, 2): %s\n", SET_ITEM(foo, 2)->buf); in main()
67 SET_FOREACH(c, foo) { in main()