Lines Matching refs:dataStream
205 write_delete_file(BackupDataWriter* dataStream, const String8& key) in write_delete_file() argument
208 return dataStream->WriteEntityHeader(key, -1); in write_delete_file()
212 write_update_file(BackupDataWriter* dataStream, int fd, int mode, const String8& key, in write_update_file() argument
234 err = dataStream->WriteEntityHeader(key, bytesLeft); in write_update_file()
244 err = dataStream->WriteEntityData(&metadata, sizeof(metadata)); in write_update_file()
257 err = dataStream->WriteEntityData(buf, amt); in write_update_file()
271 err = dataStream->WriteEntityData(buf, amt); in write_update_file()
287 write_update_file(BackupDataWriter* dataStream, const String8& key, char const* realFilename) in write_update_file() argument
302 err = write_update_file(dataStream, fd, st.st_mode, key, realFilename); in write_update_file()
334 back_up_files(int oldSnapshotFD, BackupDataWriter* dataStream, int newSnapshotFD, in back_up_files() argument
395 write_delete_file(dataStream, p); in back_up_files()
400 write_update_file(dataStream, q, g.file.string()); in back_up_files()
417 write_update_file(dataStream, fd, g.s.mode, p, g.file.string()); in back_up_files()
428 write_delete_file(dataStream, oldSnapshot.keyAt(n)); in back_up_files()
436 write_update_file(dataStream, q, g.file.string()); in back_up_files()
1391 BackupDataWriter dataStream(dataStreamFD); in backup_helper_test_files() local
1393 err = back_up_files(-1, &dataStream, newSnapshotFD, files_before, keys_before, 5); in backup_helper_test_files()
1460 BackupDataWriter dataStream(dataStreamFD); in backup_helper_test_files() local
1462 err = back_up_files(oldSnapshotFD, &dataStream, newSnapshotFD, files_after, keys_after, 6); in backup_helper_test_files()
1509 BackupDataWriter dataStream(dataStreamFD); in backup_helper_test_null_base() local
1511 err = back_up_files(-1, &dataStream, newSnapshotFD, files, keys, 1); in backup_helper_test_null_base()
1561 BackupDataWriter dataStream(dataStreamFD); in backup_helper_test_missing_file() local
1563 err = back_up_files(-1, &dataStream, newSnapshotFD, files, keys, 1); in backup_helper_test_missing_file()