Lines Matching defs:entry2
58 CodeEntry entry2(i::CodeEventListener::FUNCTION_TAG, "bbb");
59 ProfileNode* childNode2 = node->FindOrAddChild(&entry2);
63 CHECK_EQ(childNode2, node->FindOrAddChild(&entry2));
70 CHECK_EQ(childNode2, node->FindOrAddChild(&entry2));
85 CodeEntry entry2(i::CodeEventListener::FUNCTION_TAG, aaa);
86 CHECK_EQ(childNode1, node->FindOrAddChild(&entry2));
101 CodeEntry* entry2 = NULL,
106 if (entry2 != NULL) {
107 node = node->FindChild(entry2);
126 CodeEntry entry2(i::CodeEventListener::FUNCTION_TAG, "bbb");
131 CHECK(!helper.Walk(&entry2));
134 CodeEntry* path[] = {NULL, &entry3, NULL, &entry2, NULL, NULL, &entry1, NULL};
137 CHECK(!helper.Walk(&entry2));
144 ProfileNode* node2 = helper.Walk(&entry1, &entry2);
148 CHECK(!helper.Walk(&entry1, &entry2, &entry1));
149 CHECK(!helper.Walk(&entry1, &entry2, &entry2));
150 ProfileNode* node3 = helper.Walk(&entry1, &entry2, &entry3);
158 CHECK_EQ(node2, helper.Walk(&entry1, &entry2));
159 CHECK_EQ(node3, helper.Walk(&entry1, &entry2, &entry3));
164 CodeEntry* path2[] = {&entry2, &entry2, &entry1};
167 CHECK(!helper.Walk(&entry2));
172 CHECK_EQ(node2, helper.Walk(&entry1, &entry2));
173 CHECK(!helper.Walk(&entry1, &entry2, &entry1));
174 CHECK_EQ(node3, helper.Walk(&entry1, &entry2, &entry3));
176 ProfileNode* node4 = helper.Walk(&entry1, &entry2, &entry2);
204 CodeEntry entry2(i::CodeEventListener::FUNCTION_TAG, "bbb");
205 CodeEntry* e2_e1_path[] = {&entry2, &entry1};
216 // Results in {root,0,0} -> {entry1,0,2} -> {entry2,0,3}
221 ProfileNode* node2 = flat_helper.Walk(&entry1, &entry2);
224 // Must calculate {root,5,0} -> {entry1,5,2} -> {entry2,3,3}
228 CodeEntry* e2_path[] = {&entry2};
246 // Results in -> {entry1,0,2} -> {entry2,0,1}
247 // {root,0,0} -> {entry2,0,3}
253 ProfileNode* node1_2 = wide_helper.Walk(&entry1, &entry2);
256 node2 = wide_helper.Walk(&entry2);
262 // Calculates -> {entry1,3,2} -> {entry2,1,1}
263 // {root,10,0} -> {entry2,3,3}
281 CodeEntry entry2(i::CodeEventListener::FUNCTION_TAG, "bbb");
285 code_map.AddCode(ToAddress(0x1700), &entry2, 0x100);
293 CHECK_EQ(&entry2, code_map.FindEntry(ToAddress(0x1700)));
294 CHECK_EQ(&entry2, code_map.FindEntry(ToAddress(0x1700 + 0x50)));
295 CHECK_EQ(&entry2, code_map.FindEntry(ToAddress(0x1700 + 0x100 - 1)));
311 CodeEntry entry2(i::CodeEventListener::FUNCTION_TAG, "bbb");
313 code_map.AddCode(ToAddress(0x1700), &entry2, 0x100);
315 CHECK_EQ(&entry2, code_map.FindEntry(ToAddress(0x1700)));
352 CodeEntry* entry2 = new CodeEntry(i::Logger::FUNCTION_TAG, "bbb");
355 generator.code_map()->AddCode(ToAddress(0x1700), entry2, 0x100);
387 CHECK(!top_down_test_helper.Walk(entry2));
395 ProfileNode* node3 = top_down_test_helper.Walk(entry1, entry2, entry3);
403 delete entry2;
423 CodeEntry* entry2 = new CodeEntry(i::Logger::FUNCTION_TAG, "bbb");
426 generator.code_map()->AddCode(ToAddress(0x1700), entry2, 0x100);
467 delete entry2;