Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:list

3 // Test list stuff
7 // Test opaque structure support. the list type is defined later
8 struct list;
10 struct list *PassThroughList(struct list *L) {
17 typedef struct list {
19 struct list *Next;
20 } list;
22 list *Data;
28 Data = (list*)malloc(12); // This is not a proper list allocation
31 extern list ListNode1;
32 list ListNode3 = { 4, 0 };
33 list ListNode2 = { 3, &ListNode3 };
34 list ListNode0 = { 1, &ListNode1 };
35 list ListNode1 = { 2, &ListNode2 };
38 list ListArray[10];
41 void InsertIntoListTail(list **L, int Data) {
44 *L = (list*)malloc(sizeof(list));
49 // Recursive list search fn
50 list *FindData(list *L, int Data) {
60 list *MyList = 0;