Home | History | Annotate | Download | only in tests

Lines Matching full:filedata

169   scoped_array<ProfileDataSlot> filedata(new ProfileDataSlot[num_slots]);
170 size_t expected_bytes = num_slots * sizeof filedata[0];
171 ssize_t bytes_read = ReadPersistent(fd.get(), filedata.get(), expected_bytes);
181 if (slots[i] != filedata[i])
199 scoped_array<char> filedata(new char[filesize]);
200 if (ReadPersistent(fd.get(), filedata.get(), filesize) != filesize)
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)
226 reinterpret_cast<ProfileDataSlot*>(filedata.get() + cur_offset);
252 if (filedata[filesize - 1] != '\n')
256 char* line_start = filedata.get() + cur_offset;