Searched refs:folder_name (Results 1 – 2 of 2) sorted by relevance
/freebsd-src/contrib/libarchive/libarchive/test/ |
H A D | test_write_format_zip_entry_size_unset.c | 38 static const char folder_name[] = "folder/"; variable 98 archive_entry_set_pathname(entry, folder_name); in write_archive() 234 assertEqualInt(i2(central_directory_folder_entry + 28), strlen(folder_name)); in verify_contents() 248 assertEqualMem(central_directory_folder_entry + 46, folder_name, strlen(folder_name)); in verify_contents() 265 assertEqualInt(i2(local_folder_header + 26), strlen(folder_name)); in verify_contents() 269 assertEqualMem(local_folder_header + 30, folder_name, strlen(folder_name)); in verify_contents() 271 const char *post_local_folder = local_folder_header + 30 + i2(local_folder_header + 28) + strlen(folder_name); in verify_contents()
|
H A D | test_write_format_zip_compression_store.c | 41 static const char folder_name[] = "folder/"; variable 98 archive_entry_set_pathname(entry, folder_name); in verify_write_uncompressed() 273 assertEqualInt(i2(p + 28), strlen(folder_name)); /* Pathname length */ in verify_uncompressed_contents() 280 assertEqualMem(p + 46, folder_name, strlen(folder_name)); /* Pathname */ in verify_uncompressed_contents() 281 p = p + 46 + strlen(folder_name); in verify_uncompressed_contents() 309 assertEqualInt(i2(q + 26), strlen(folder_name)); /* Pathname length */ in verify_uncompressed_contents() 311 assertEqualMem(q + 30, folder_name, strlen(folder_name)); /* Pathname */ in verify_uncompressed_contents() 312 extra_start = q = q + 30 + strlen(folder_name); in verify_uncompressed_contents()
|