Lines Matching full:location
51 // |location|.
52 void TallyABirth(const Location& location, const std::string& thread_name) {
59 Births* birth = ThreadData::TallyABirthIfActive(location);
82 EXPECT_EQ(kFile, process_data_phase.tasks[0].birth.location.file_name);
84 process_data_phase.tasks[0].birth.location.function_name);
86 process_data_phase.tasks[0].birth.location.line_number);
169 Location location(kFunction, kFile, kLineNumber, NULL);
170 ThreadData::TallyABirthIfActive(location);
179 EXPECT_EQ(1u, birth_map.size()); // 1 birth location.
186 // Create a child (using the same birth location).
191 base::TrackingInfo pending_task(location, kBogusBirthTime);
205 EXPECT_EQ(1u, birth_map.size()); // 1 birth location.
207 EXPECT_EQ(1u, deaths.size()); // 1 location.
210 // The births were at the same location as the one known death.
221 EXPECT_EQ(kFile, process_data_phase.tasks[0].birth.location.file_name);
223 process_data_phase.tasks[0].birth.location.function_name);
225 process_data_phase.tasks[0].birth.location.line_number);
380 Location location(kFunction, kFile, kLineNumber, NULL);
381 TallyABirth(location, std::string());
402 Location location(kFunction, kFile, kLineNumber, NULL);
403 TallyABirth(location, kMainThreadName);
423 Location location(kFunction, kFile, kLineNumber, NULL);
424 TallyABirth(location, std::string());
436 Location location(kFunction, kFile, kLineNumber, NULL);
437 TallyABirth(location, kMainThreadName);
449 Location location(kFunction, kFile, kLineNumber, NULL);
450 TallyABirth(location, kMainThreadName);
455 base::TrackingInfo pending_task(location, kDelayedStartTime);
478 Location location(kFunction, kFile, kLineNumber, NULL);
479 TallyABirth(location, kMainThreadName);
484 base::TrackingInfo pending_task(location, kDelayedStartTime);
499 TallyABirth(location, kMainThreadName);
504 base::TrackingInfo pending_task1(location, kDelayedStartTime1);
528 EXPECT_EQ(kFile, process_data_phase0.tasks[0].birth.location.file_name);
530 process_data_phase0.tasks[0].birth.location.function_name);
532 process_data_phase0.tasks[0].birth.location.line_number);
552 EXPECT_EQ(kFile, process_data_phase1.tasks[0].birth.location.file_name);
554 process_data_phase1.tasks[0].birth.location.function_name);
556 process_data_phase1.tasks[0].birth.location.line_number);
577 Location location(kFunction, kFile, kLineNumber, NULL);
581 TallyABirth(location, kMainThreadName);
585 base::TrackingInfo pending_task(location, base::TimeTicks());
600 TallyABirth(location, kMainThreadName);
603 base::TrackingInfo pending_task(location, base::TimeTicks());
618 TallyABirth(location, kMainThreadName);
622 base::TrackingInfo pending_task(location, base::TimeTicks());
645 EXPECT_EQ(kFile, process_data_phase0.tasks[0].birth.location.file_name);
647 process_data_phase0.tasks[0].birth.location.function_name);
649 process_data_phase0.tasks[0].birth.location.line_number);
669 EXPECT_EQ(kFile, process_data_phase1.tasks[0].birth.location.file_name);
671 process_data_phase1.tasks[0].birth.location.function_name);
673 process_data_phase1.tasks[0].birth.location.line_number);
693 EXPECT_EQ(kFile, process_data_phase2.tasks[0].birth.location.file_name);
695 process_data_phase2.tasks[0].birth.location.function_name);
697 process_data_phase2.tasks[0].birth.location.line_number);
718 Location location(kFunction, kFile, kLineNumber, NULL);
724 base::TrackingInfo pending_task(location, kDelayedStartTime);
750 EXPECT_EQ(kFile, process_data_phase0.tasks[0].birth.location.file_name);
752 process_data_phase0.tasks[0].birth.location.function_name);
754 process_data_phase0.tasks[0].birth.location.line_number);
783 Location location(kFunction, kFile, kLineNumber, NULL);
789 base::TrackingInfo pending_task(location, kDelayedStartTime);
813 EXPECT_EQ(kFile, process_data_phase1.tasks[0].birth.location.file_name);
815 process_data_phase1.tasks[0].birth.location.function_name);
817 process_data_phase1.tasks[0].birth.location.line_number);
842 Location location(kFunction, kFile, kLineNumber, NULL);
843 TallyABirth(location, kMainThreadName);
848 base::TrackingInfo pending_task(location, kDelayedStartTime);
877 Location location(kFunction, kFile, kLineNumber, NULL);
878 TallyABirth(location, kMainThreadName);
883 base::TrackingInfo pending_task(location, kDelayedStartTime);
914 Location location(kFunction, kFile, kLineNumber, NULL);
915 TallyABirth(location, kMainThreadName);
920 base::TrackingInfo pending_task(location, kDelayedStartTime);
934 base::TrackingInfo pending_task2(location, kDelayedStartTime);
956 Location location(kFunction, kFile, kLineNumber, NULL);
961 base::TrackingInfo pending_task(location, kDelayedStartTime);
975 Location second_location(kFunction, kFile, kSecondFakeLineNumber, NULL);
991 EXPECT_EQ(kFile, process_data_phase.tasks[0].birth.location.file_name);
993 process_data_phase.tasks[0].birth.location.function_name);
995 process_data_phase.tasks[0].birth.location.line_number);
1005 EXPECT_EQ(kFile, process_data_phase.tasks[1].birth.location.file_name);
1007 process_data_phase.tasks[1].birth.location.function_name);
1009 process_data_phase.tasks[1].birth.location.line_number);
1026 Location location(kFunction, kFile, kLineNumber, NULL);
1027 TallyABirth(location, kMainThreadName);
1032 base::TrackingInfo pending_task(location, kDelayedStartTime);
1060 Location location(kFunction, kFile, kLineNumber, NULL);
1061 TallyABirth(location, kMainThreadName);
1066 base::TrackingInfo pending_task(location, kDelayedStartTime);
1100 Location location(kFunction, kFile, kLineNumber, NULL);
1104 TallyABirth(location, kMainThreadName);
1109 base::TrackingInfo pending_task(location, kDelayedStartTime);
1120 Location second_location(kFunction, kFile, kSecondFakeLineNumber, NULL);
1150 (process_data_phase.tasks[0].birth.location.line_number == kLineNumber)
1156 EXPECT_EQ(kFile, process_data_phase.tasks[t0].birth.location.file_name);
1158 process_data_phase.tasks[t0].birth.location.function_name);
1160 process_data_phase.tasks[t0].birth.location.line_number);
1170 EXPECT_EQ(kFile, process_data_phase.tasks[t1].birth.location.file_name);
1172 process_data_phase.tasks[t1].birth.location.function_name);
1174 process_data_phase.tasks[t1].birth.location.line_number);