Searched refs:expected_offset (Results 1 – 3 of 3) sorted by relevance
| /freebsd/contrib/libarchive/libarchive/test/ |
| H A D | test_sparse_basic.c | 335 int64_t offset, expected_offset, last_offset; in verify_sparse_file() local 343 expected_offset = 0; in verify_sparse_file() 355 while (expected_offset + (int64_t)sparse->size < offset) { in verify_sparse_file() 357 …fprintf(stderr, " skipping expected_offset=%d, size=%d\n", (int)expected_offset, (int)sparse->s… in verify_sparse_file() 361 expected_offset += sparse->size; in verify_sparse_file() 365 if (expected_offset < offset in verify_sparse_file() 366 && expected_offset + (int64_t)sparse->size <= offset + (int64_t)bytes_read) { in verify_sparse_file() 367 const char *end = (const char *)buff + (expected_offset - offset) + (size_t)sparse->size; in verify_sparse_file() 369 …fprintf(stderr, " overlapping hole expected_offset=%d, size=%d\n", (int)expected_offset, (int)s… in verify_sparse_file() 377 expected_offset += sparse->size; in verify_sparse_file() [all …]
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/file/ |
| H A D | file_append.c | 32 static int expected_offset = -1; variable 89 expected_offset = atoi(optarg); in parse_options() 124 if (blocksize < 512 || expected_offset < 0 || filename == NULL || in parse_options() 195 } else if (off != expected_offset) { in main() 198 "to %ld\n", execname, expected_offset, filename, in main()
|
| /freebsd/crypto/krb5/src/ccapi/test/ |
| H A D | test_ccapi_ccache.c | 1691 cc_time_t expected_offset; in check_once_cc_ccache_get_kdc_time_offset() local 1710 expected_offset = *time_offset; in check_once_cc_ccache_get_kdc_time_offset() 1719 check_if(*time_offset != expected_offset, "kdc time offset doesn't match expected value"); in check_once_cc_ccache_get_kdc_time_offset()
|