Lines Matching refs:dataStream

204 write_delete_file(BackupDataWriter* dataStream, const String8& key)  in write_delete_file()  argument
207 return dataStream->WriteEntityHeader(key, -1); in write_delete_file()
211 write_update_file(BackupDataWriter* dataStream, int fd, int mode, const String8& key, in write_update_file() argument
233 err = dataStream->WriteEntityHeader(key, bytesLeft); in write_update_file()
243 err = dataStream->WriteEntityData(&metadata, sizeof(metadata)); in write_update_file()
256 err = dataStream->WriteEntityData(buf, amt); in write_update_file()
270 err = dataStream->WriteEntityData(buf, amt); in write_update_file()
286 write_update_file(BackupDataWriter* dataStream, const String8& key, char const* realFilename) in write_update_file() argument
301 err = write_update_file(dataStream, fd, st.st_mode, key, realFilename); in write_update_file()
333 back_up_files(int oldSnapshotFD, BackupDataWriter* dataStream, int newSnapshotFD, in back_up_files() argument
394 write_delete_file(dataStream, p); in back_up_files()
399 write_update_file(dataStream, q, g.file.string()); in back_up_files()
416 write_update_file(dataStream, fd, g.s.mode, p, g.file.string()); in back_up_files()
427 write_delete_file(dataStream, oldSnapshot.keyAt(n)); in back_up_files()
435 write_update_file(dataStream, q, g.file.string()); in back_up_files()
1396 BackupDataWriter dataStream(dataStreamFD); in backup_helper_test_files() local
1398 err = back_up_files(-1, &dataStream, newSnapshotFD, files_before, keys_before, 5); in backup_helper_test_files()
1465 BackupDataWriter dataStream(dataStreamFD); in backup_helper_test_files() local
1467 err = back_up_files(oldSnapshotFD, &dataStream, newSnapshotFD, files_after, keys_after, 6); in backup_helper_test_files()
1514 BackupDataWriter dataStream(dataStreamFD); in backup_helper_test_null_base() local
1516 err = back_up_files(-1, &dataStream, newSnapshotFD, files, keys, 1); in backup_helper_test_null_base()
1566 BackupDataWriter dataStream(dataStreamFD); in backup_helper_test_missing_file() local
1568 err = back_up_files(-1, &dataStream, newSnapshotFD, files, keys, 1); in backup_helper_test_missing_file()