BackupHelpers.cpp | 857 compare_file(const char* path, const unsigned char* data, int len) function in namespace:android 864 fprintf(stderr, "compare_file error (%s) opening %s\n", strerror(errno), path); 877 fprintf(stderr, "compare_file file length should be %d, was %d\n", len, amt); 885 fprintf(stderr, "compare_file read expected %d bytes but got %d\n", len, amt); 892 fprintf(stderr, "compare_file contents are different: (index, expected, actual)\n"); 935 err = compare_file(filename, correct_data, sizeof(correct_data)); [all...] |