Home | History | Annotate | Download | only in cctest

Lines Matching refs:Add

54 // Check that we can add (a reference to) an element of the list
57 // Add elements to the list to grow it to its capacity.
59 list.Add(1);
60 list.Add(2);
61 list.Add(3);
62 list.Add(4);
64 // Add an existing element, the backing store should have to grow.
65 list.Add(list[0]);
69 // Test that we can add all elements from a list to another list.
72 list.Add(0);
73 list.Add(1);
74 list.Add(2);
83 // Add no elements to list since other_list is empty.
90 // Add three elements to other_list.
91 other_list.Add(0);
92 other_list.Add(1);
93 other_list.Add(2);
107 list.Add(1);
112 list.Add(2);
113 list.Add(3);
123 for (int i = 0; i < kElements; i++) list.Add(i);
136 for (int i = 0; i < 4; ++i) list.Add(i);