Lines Matching refs:FileState
86 read_snapshot_file(int fd, KeyedVector<String8,FileState>* snapshot) in read_snapshot_file()
104 FileState file; in read_snapshot_file()
107 amt = read(fd, &file, sizeof(FileState)); in read_snapshot_file()
108 if (amt != sizeof(FileState)) { in read_snapshot_file()
153 bytesWritten += sizeof(FileState) + round_up(name.length()); in write_snapshot_file()
175 amt = write(fd, &r.s, sizeof(FileState)); in write_snapshot_file()
176 if (amt != sizeof(FileState)) { in write_snapshot_file()
337 KeyedVector<String8,FileState> oldSnapshot; in back_up_files()
403 const FileState& f = oldSnapshot.valueAt(n); in back_up_files()
947 KeyedVector<String8,FileState> readSnapshot; in backup_helper_test_empty()
981 FileState states[4]; in backup_helper_test_four()
1084 KeyedVector<String8,FileState> readSnapshot; in backup_helper_test_four()
1099 const FileState state = readSnapshot.valueAt(i); in backup_helper_test_four()