Home | History | Annotate | Download | only in tests

Lines Matching full:slots

128   // Checks the first 'num_slots' profile data slots in the file
129 // against the data pointed to by 'slots'. Returns kNoError if the
132 string Check(const ProfileDataSlot* slots, int num_slots) {
133 return CheckWithSkips(slots, num_slots, NULL, 0);
136 // Checks the first 'num_slots' profile data slots in the file
137 // against the data pointed to by 'slots', skipping over entries
142 // any skipped slots, i.e., the first 'num_slots' profile data slots
147 string CheckWithSkips(const ProfileDataSlot* slots, int num_slots,
162 string ProfileDataChecker::CheckWithSkips(const ProfileDataSlot* slots,
181 if (slots[i] != filedata[i])
220 // at least three slots.
404 ProfileDataSlot slots[] = {
417 EXPECT_EQ(kNoError, checker_.Check(slots, arraysize(slots)));
425 ProfileDataSlot slots[] = {
438 EXPECT_EQ(kNoError, checker_.CheckWithSkips(slots, arraysize(slots),
447 ProfileDataSlot slots[] = {
469 EXPECT_EQ(kNoError, checker_.Check(slots, arraysize(slots)));
475 ProfileDataSlot slots[] = {
488 EXPECT_EQ(kNoError, checker_.Check(slots, arraysize(slots)));
493 ProfileDataSlot slots[] = {
512 EXPECT_EQ(kNoError, checker_.Check(slots, arraysize(slots)));
517 ProfileDataSlot slots[] = {
538 EXPECT_EQ(kNoError, checker_.Check(slots, arraysize(slots)));
543 ProfileDataSlot slots[] = {
568 EXPECT_EQ(kNoError, checker_.Check(slots, arraysize(slots)));
590 ProfileDataSlot slots[] = {
601 EXPECT_EQ(kNoError, checker_.Check(slots, arraysize(slots)));