diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2023-06-29 19:33:46 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-29 19:33:46 (GMT) |
commit | 39e6bf48c92dda00057e2e19cdeed93f5a07b3c8 (patch) | |
tree | 7596e876fd008f38830d04591d49a0328208b0d1 /test/external.c | |
parent | fd933f30b1f8cd487ad790ac0b054bb779280a62 (diff) | |
download | hdf5-39e6bf48c92dda00057e2e19cdeed93f5a07b3c8.zip hdf5-39e6bf48c92dda00057e2e19cdeed93f5a07b3c8.tar.gz hdf5-39e6bf48c92dda00057e2e19cdeed93f5a07b3c8.tar.bz2 |
Remove HD from HDmem* calls (#3211)
Diffstat (limited to 'test/external.c')
-rw-r--r-- | test/external.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/test/external.c b/test/external.c index 9bb2da3..cc0d262 100644 --- a/test/external.c +++ b/test/external.c @@ -47,8 +47,8 @@ files_have_same_contents(const char *name1, const char *name2) /* Loop until files are empty or we encounter a problem */ while (1) { - HDmemset(buf1, 0, sizeof(buf1)); - HDmemset(buf2, 0, sizeof(buf2)); + memset(buf1, 0, sizeof(buf1)); + memset(buf2, 0, sizeof(buf2)); n1 = HDread(fd1, buf1, sizeof(buf1)); if (n1 < 0 || (size_t)n1 > sizeof(buf1)) @@ -65,7 +65,7 @@ files_have_same_contents(const char *name1, const char *name2) break; } - if (HDmemcmp(buf1, buf2, (size_t)n1) != 0) + if (memcmp(buf1, buf2, (size_t)n1) != 0) break; } /* end while */ @@ -720,7 +720,7 @@ test_read_file_set(hid_t fapl) FAIL_STACK_ERROR; /* Read the entire dataset */ - HDmemset(whole, 0, sizeof(whole)); + memset(whole, 0, sizeof(whole)); if (H5Dread(dset, H5T_NATIVE_INT, space, space, H5P_DEFAULT, whole) < 0) FAIL_STACK_ERROR; @@ -738,7 +738,7 @@ test_read_file_set(hid_t fapl) FAIL_STACK_ERROR; /* Read */ - HDmemset(whole, 0, sizeof(whole)); + memset(whole, 0, sizeof(whole)); if (H5Dread(dset, H5T_NATIVE_INT, hs_space, hs_space, H5P_DEFAULT, whole) < 0) FAIL_STACK_ERROR; @@ -962,7 +962,7 @@ test_path_absolute(hid_t fapl) FAIL_STACK_ERROR; /* Read the entire dataset and compare with the original */ - HDmemset(whole, 0, sizeof(whole)); + memset(whole, 0, sizeof(whole)); if (H5Dread(dset, H5T_NATIVE_INT, space, space, H5P_DEFAULT, whole) < 0) FAIL_STACK_ERROR; for (i = 0; i < TOTAL_SIZE; i++) @@ -1049,7 +1049,7 @@ test_path_relative(hid_t fapl) FAIL_STACK_ERROR; /* Read the entire dataset and compare with the original */ - HDmemset(whole, 0, sizeof(whole)); + memset(whole, 0, sizeof(whole)); if (H5Dread(dset, H5T_NATIVE_INT, space, space, H5P_DEFAULT, whole) < 0) FAIL_STACK_ERROR; for (i = 0; i < TOTAL_SIZE; i++) @@ -1170,7 +1170,7 @@ test_path_relative_cwd(hid_t fapl) FAIL_PUTS_ERROR("reopening the dataset with a different efile_prefix succeeded"); /* Read the entire dataset and compare with the original */ - HDmemset(whole, 0, sizeof(whole)); + memset(whole, 0, sizeof(whole)); if (H5Dread(dset, H5T_NATIVE_INT, space, space, H5P_DEFAULT, whole) < 0) FAIL_STACK_ERROR; for (i = 0; i < TOTAL_SIZE; i++) @@ -1207,7 +1207,7 @@ test_path_relative_cwd(hid_t fapl) FAIL_PUTS_ERROR("reopening the dataset with a different efile_prefix succeeded"); /* Read the entire dataset and compare with the original */ - HDmemset(whole, 0, sizeof(whole)); + memset(whole, 0, sizeof(whole)); if (H5Dread(dset, H5T_NATIVE_INT, space, space, H5P_DEFAULT, whole) < 0) FAIL_STACK_ERROR; for (i = 0; i < TOTAL_SIZE; i++) |