Lines Matching refs:dataStream

208 write_delete_file(BackupDataWriter* dataStream, const String8& key)  in write_delete_file()  argument
211 return dataStream->WriteEntityHeader(key, -1); in write_delete_file()
215 write_update_file(BackupDataWriter* dataStream, int fd, int mode, const String8& key, in write_update_file() argument
237 err = dataStream->WriteEntityHeader(key, bytesLeft); in write_update_file()
247 err = dataStream->WriteEntityData(&metadata, sizeof(metadata)); in write_update_file()
260 err = dataStream->WriteEntityData(buf, amt); in write_update_file()
274 err = dataStream->WriteEntityData(buf, amt); in write_update_file()
290 write_update_file(BackupDataWriter* dataStream, const String8& key, char const* realFilename) in write_update_file() argument
305 err = write_update_file(dataStream, fd, st.st_mode, key, realFilename); in write_update_file()
337 back_up_files(int oldSnapshotFD, BackupDataWriter* dataStream, int newSnapshotFD, in back_up_files() argument
398 write_delete_file(dataStream, p); in back_up_files()
403 write_update_file(dataStream, q, g.file.string()); in back_up_files()
420 write_update_file(dataStream, fd, g.s.mode, p, g.file.string()); in back_up_files()
431 write_delete_file(dataStream, oldSnapshot.keyAt(n)); in back_up_files()
439 write_update_file(dataStream, q, g.file.string()); in back_up_files()
1408 BackupDataWriter dataStream(dataStreamFD); in backup_helper_test_files() local
1410 err = back_up_files(-1, &dataStream, newSnapshotFD, files_before, keys_before, 5); in backup_helper_test_files()
1477 BackupDataWriter dataStream(dataStreamFD); in backup_helper_test_files() local
1479 err = back_up_files(oldSnapshotFD, &dataStream, newSnapshotFD, files_after, keys_after, 6); in backup_helper_test_files()
1527 BackupDataWriter dataStream(dataStreamFD); in backup_helper_test_null_base() local
1529 err = back_up_files(-1, &dataStream, newSnapshotFD, files, keys, 1); in backup_helper_test_null_base()
1580 BackupDataWriter dataStream(dataStreamFD); in backup_helper_test_missing_file() local
1582 err = back_up_files(-1, &dataStream, newSnapshotFD, files, keys, 1); in backup_helper_test_missing_file()