Lines Matching defs:num_slots
128 // Checks the first 'num_slots' profile data slots in the file
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
141 // skipped, of length 'num_skips'. Note that 'num_slots' includes
142 // any skipped slots, i.e., the first 'num_slots' profile data slots
147 string CheckWithSkips(const ProfileDataSlot* slots, int num_slots,
163 int num_slots, const int* skips,
169 scoped_array<ProfileDataSlot> filedata(new ProfileDataSlot[num_slots]);
170 size_t expected_bytes = num_slots * sizeof filedata[0];
175 for (int i = 0; i < num_slots; i++) {
211 return "error in header: num_slots != 3";