Lines Matching refs:snapshot
86 read_snapshot_file(int fd, KeyedVector<String8,FileState>* snapshot) in read_snapshot_file() argument
121 snapshot->add(String8(filename, file.nameLen), file); in read_snapshot_file()
143 write_snapshot_file(int fd, const KeyedVector<String8,FileRec>& snapshot) in write_snapshot_file() argument
148 const int N = snapshot.size(); in write_snapshot_file()
150 const FileRec& g = snapshot.valueAt(i); in write_snapshot_file()
152 const String8& name = snapshot.keyAt(i); in write_snapshot_file()
170 FileRec r = snapshot.valueAt(i); in write_snapshot_file()
172 const String8& name = snapshot.keyAt(i); in write_snapshot_file()
908 KeyedVector<String8,FileRec> snapshot; in backup_helper_test_empty() local
921 err = write_snapshot_file(fd, snapshot); in backup_helper_test_empty()
967 KeyedVector<String8,FileRec> snapshot; in backup_helper_test_four() local
993 snapshot.add(filenames[0], r); in backup_helper_test_four()
1003 snapshot.add(filenames[1], r); in backup_helper_test_four()
1013 snapshot.add(filenames[2], r); in backup_helper_test_four()
1023 snapshot.add(filenames[3], r); in backup_helper_test_four()
1025 err = write_snapshot_file(fd, snapshot); in backup_helper_test_four()