/external/javassist/sample/reflect/ |
Person.java | 13 public static int birth = 3;
field in class:Person 23 birth = birthYear;
31 return year - birth;
|
/external/chromium_org/base/ |
tracked_objects_unittest.cc | 44 // Simulate a birth on the thread named |thread_name|, at the given 52 // Do not delete |birth|. We don't own it. 53 Births* birth = ThreadData::TallyABirthIfActive(location); local 56 EXPECT_EQ(reinterpret_cast<Births*>(NULL), birth); local 58 EXPECT_NE(reinterpret_cast<Births*>(NULL), birth); local 71 EXPECT_EQ(kFile, process_data.tasks[0].birth.location.file_name); 73 process_data.tasks[0].birth.location.function_name); 74 EXPECT_EQ(kLineNumber, process_data.tasks[0].birth.location.line_number); 76 EXPECT_EQ(birth_thread, process_data.tasks[0].birth.thread_name); 155 EXPECT_EQ(1u, birth_map.size()); // 1 birth location 437 Births* birth = ThreadData::TallyABirthIfActive(location); local 438 EXPECT_NE(reinterpret_cast<Births*>(NULL), birth); local [all...] |
tracked_objects.h | 30 // that are tracked. Tracking means their birth, death, duration, birth thread, 31 // death thread, and birth place are recorded. This data is carefully spread 49 // to specify the birth place (file, line, function) where the instance was 60 // as well as a pointer specifying the thread on which the birth takes place. 68 // be handled carefully, and stats are updated exclusively on the birth thread). 74 // addition, the birth time is also recorded and used to later evaluate the 76 // can find out a Task's location of birth, and thread of birth, without using 91 // collection of DeathData instances. For each birth place Location that i 342 BirthOnThreadSnapshot birth; member in struct:tracked_objects::TaskSnapshot [all...] |
tracked_objects.cc | 208 const tracked_objects::BirthOnThread& birth) 209 : location(birth.location()), 210 thread_name(birth.birth_thread()->thread_name()) { 394 // Add births that are still active -- i.e. objects that have tallied a birth, 435 void ThreadData::TallyADeath(const Births& birth, 442 random_number_ ^= static_cast<int32>(&birth - reinterpret_cast<Births*>(0)); 450 DeathMap::iterator it = death_map_.find(&birth); 456 death_data = &death_map_[&birth]; 463 DCHECK_EQ(parent_stack_.top(), &birth); 492 const Births* birth = completed_task.birth_tally local [all...] |
/external/chromium/base/ |
tracked_objects.h | 19 // that are tracked. Tracking means their birth, death, duration, birth thread, 20 // death thread, and birth place are recorded. This data is carefully spread 40 // to specify the birth place (file, line, function) where the instance was 51 // as well as a pointer specifying the thread on which the birth takes place. 58 // be handled carefully, and it is ONLY read or written by the birth thread). 64 // addition, the birth time is also embedded in the base class Tracked (see 67 // out its location of birth, and thread of birth, without using any locks, as 80 // collection of DeathData instances. For each birth place Location that i 264 const BirthOnThread& birth() const { return *birth_; } function in class:tracked_objects::Snapshot [all...] |