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/istore.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/istore.c')
-rw-r--r-- | test/istore.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/istore.c b/test/istore.c index 4c328e8..8dcc205 100644 --- a/test/istore.c +++ b/test/istore.c @@ -303,7 +303,7 @@ test_extend(hid_t f, const char *prefix, size_t nx, size_t ny, size_t nz) /* Fill the source array */ if (0 == nelmts) continue; - HDmemset(buf, (signed)(128 + ctr), (size_t)nelmts); + memset(buf, (signed)(128 + ctr), (size_t)nelmts); /* Create dataspace for selection in memory */ if ((mspace = H5Screate_simple(1, &nelmts, NULL)) < 0) @@ -321,13 +321,13 @@ test_extend(hid_t f, const char *prefix, size_t nx, size_t ny, size_t nz) } /* Read from disk */ - HDmemset(check, 0xff, (size_t)nelmts); + memset(check, 0xff, (size_t)nelmts); if (H5Dread(dataset, TEST_DATATYPE, mspace, fspace, H5P_DEFAULT, check) < 0) { H5_FAILED(); fprintf(stderr, " Read failed: ctr=%lu\n", (unsigned long)ctr); goto error; } - if (HDmemcmp(buf, check, (size_t)nelmts) != 0) { + if (memcmp(buf, check, (size_t)nelmts) != 0) { H5_FAILED(); fprintf(stderr, " Read check failed: ctr=%lu\n", (unsigned long)ctr); fprintf(stderr, " Wrote:\n"); @@ -351,7 +351,7 @@ test_extend(hid_t f, const char *prefix, size_t nx, size_t ny, size_t nz) } /* Now read the entire array back out and check it */ - HDmemset(buf, 0xff, nx * ny * nz); + memset(buf, 0xff, nx * ny * nz); if (H5Dread(dataset, TEST_DATATYPE, H5S_ALL, H5S_ALL, H5P_DEFAULT, buf) < 0) { H5_FAILED(); fprintf(stderr, " Read failed for whole array.\n"); @@ -454,7 +454,7 @@ test_sparse(hid_t f, const char *prefix, size_t nblocks, size_t nx, size_t ny, s return SUCCEED; } buf = (uint8_t *)malloc(nx * ny * nz); - HDmemset(buf, 128, nx * ny * nz); + memset(buf, 128, nx * ny * nz); /* Set dimensions of dataset */ for (u = 0; u < (size_t)ndims; u++) |