Lines Matching refs:Add
58 // Add elements to the list to grow it to its capacity.
60 list.Add(1);
61 list.Add(2);
62 list.Add(3);
63 list.Add(4);
65 // Add an existing element, the backing store should have to grow.
66 list.Add(list[0]);
74 list.Add(0);
75 list.Add(1);
76 list.Add(2);
85 // Add no elements to list since other_list is empty.
92 // Add three elements to other_list.
93 other_list.Add(0);
94 other_list.Add(1);
95 other_list.Add(2);
109 list.Add(1);
114 list.Add(2);
115 list.Add(3);
125 for (int i = 0; i < kElements; i++) list.Add(i);
137 list.Add(1);
150 for (int i = 0; i < 4; ++i) list.Add(i);