Lines Matching refs:ProfileDataSlot
107 typedef uintptr_t ProfileDataSlot;
132 string Check(const ProfileDataSlot* slots, int num_slots) {
147 string CheckWithSkips(const ProfileDataSlot* slots, int num_slots,
162 string ProfileDataChecker::CheckWithSkips(const ProfileDataSlot* slots,
169 scoped_array<ProfileDataSlot> filedata(new ProfileDataSlot[num_slots]);
204 if (filesize < (5 + 3) * sizeof(ProfileDataSlot))
208 if (reinterpret_cast<ProfileDataSlot*>(filedata.get())[0] != 0)
210 if (reinterpret_cast<ProfileDataSlot*>(filedata.get())[1] != 3)
212 if (reinterpret_cast<ProfileDataSlot*>(filedata.get())[2] != 0)
215 if (reinterpret_cast<ProfileDataSlot*>(filedata.get())[4] != 0)
217 ssize_t cur_offset = 5 * sizeof(ProfileDataSlot);
223 if (cur_offset > filesize - 3 * sizeof(ProfileDataSlot))
225 ProfileDataSlot* sample =
226 reinterpret_cast<ProfileDataSlot*>(filedata.get() + cur_offset);
227 ProfileDataSlot slots_this_sample = 2 + sample[1];
228 ssize_t size_this_sample = slots_this_sample * sizeof(ProfileDataSlot);
404 ProfileDataSlot slots[] = {
425 ProfileDataSlot slots[] = {
447 ProfileDataSlot slots[] = {
475 ProfileDataSlot slots[] = {
493 ProfileDataSlot slots[] = {
517 ProfileDataSlot slots[] = {
543 ProfileDataSlot slots[] = {
590 ProfileDataSlot slots[] = {