Lines Matching refs:list
7 // notice, this list of conditions and the following disclaimer.
9 // copyright notice, this list of conditions and the following
38 List<AstNode*>* list = new List<AstNode*>(0);
39 CHECK_EQ(0, list->length());
46 list->Add(node);
47 CHECK_EQ(1, list->length());
48 CHECK_EQ(node, list->at(0));
49 CHECK_EQ(node, list->last());
53 list->Add(node);
55 CHECK_EQ(1 + kElements, list->length());
57 list->Clear();
58 CHECK_EQ(0, list->length());
59 delete list;