diff options
Diffstat (limited to 'test/ntypes.c')
-rw-r--r-- | test/ntypes.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/test/ntypes.c b/test/ntypes.c index 0812c61..99ac151 100644 --- a/test/ntypes.c +++ b/test/ntypes.c @@ -133,7 +133,7 @@ test_atomic_dtype(hid_t file) TEST_ERROR; /* Copy data from temporary buffer to destination buffer */ - HDmemcpy(icheck2, tmp, (size_t)(DIM0 * DIM1 * H5Tget_size(native_type))); + memcpy(icheck2, tmp, (size_t)(DIM0 * DIM1 * H5Tget_size(native_type))); free(tmp); tmp = NULL; @@ -537,7 +537,7 @@ test_compound_dtype2(hid_t file) if (H5Dread(dataset, native_type, H5S_ALL, H5S_ALL, H5P_DEFAULT, tmp) < 0) TEST_ERROR; - HDmemcpy(check, tmp, DIM0 * DIM1 * H5Tget_size(native_type)); + memcpy(check, tmp, DIM0 * DIM1 * H5Tget_size(native_type)); free(tmp); tmp = NULL; @@ -755,7 +755,7 @@ test_compound_dtype(hid_t file) if (H5Dread(dataset, native_type, H5S_ALL, H5S_ALL, H5P_DEFAULT, tmp) < 0) TEST_ERROR; - HDmemcpy(check, tmp, DIM0 * DIM1 * H5Tget_size(native_type)); + memcpy(check, tmp, DIM0 * DIM1 * H5Tget_size(native_type)); free(tmp); tmp = NULL; @@ -982,7 +982,7 @@ test_compound_dtype3(hid_t file) if (H5Dread(dataset, native_type, H5S_ALL, H5S_ALL, H5P_DEFAULT, tmp) < 0) TEST_ERROR; - HDmemcpy(check, tmp, DIM0 * DIM1 * H5Tget_size(native_type)); + memcpy(check, tmp, DIM0 * DIM1 * H5Tget_size(native_type)); free(tmp); tmp = NULL; @@ -1207,7 +1207,7 @@ test_compound_opaque(hid_t file) if (H5Dread(dataset, native_type, H5S_ALL, H5S_ALL, H5P_DEFAULT, tmp) < 0) TEST_ERROR; - HDmemcpy(check, tmp, DIM0 * DIM1 * H5Tget_size(native_type)); + memcpy(check, tmp, DIM0 * DIM1 * H5Tget_size(native_type)); free(tmp); tmp = NULL; @@ -1382,7 +1382,7 @@ test_enum_dtype(hid_t file) if (H5Dread(dataset, native_type, H5S_ALL, H5S_ALL, H5P_DEFAULT, tmp) < 0) TEST_ERROR; - HDmemcpy(scheck2, tmp, DIM0 * DIM1 * H5Tget_size(native_type)); + memcpy(scheck2, tmp, DIM0 * DIM1 * H5Tget_size(native_type)); if (H5Tconvert(native_type, tid_m, (DIM0 * DIM1), scheck2, NULL, H5P_DEFAULT) < 0) TEST_ERROR; @@ -1550,7 +1550,7 @@ test_array_dtype(hid_t file) if (H5Dread(dataset, native_type, H5S_ALL, H5S_ALL, H5P_DEFAULT, tmp) < 0) TEST_ERROR; - HDmemcpy(check, tmp, DIM0 * DIM1 * H5Tget_size(native_type)); + memcpy(check, tmp, DIM0 * DIM1 * H5Tget_size(native_type)); free(tmp); tmp = NULL; @@ -1704,7 +1704,7 @@ test_array_dtype2(hid_t file) if (H5Dread(dataset, native_type, H5S_ALL, H5S_ALL, H5P_DEFAULT, tmp) < 0) TEST_ERROR; - HDmemcpy(icheck3, tmp, DIM0 * DIM1 * H5Tget_size(native_type)); + memcpy(icheck3, tmp, DIM0 * DIM1 * H5Tget_size(native_type)); free(tmp); tmp = NULL; @@ -1886,7 +1886,7 @@ test_vl_dtype(hid_t file) * platforms like Cray */ if (NULL == (tmp = (void **)malloc(t2->len * sizeof(unsigned int)))) TEST_ERROR; - HDmemcpy(tmp, t2->p, t2->len * H5Tget_size(nat_super_type)); + memcpy(tmp, t2->p, t2->len * H5Tget_size(nat_super_type)); if (H5Tconvert(nat_super_type, H5T_NATIVE_UINT, t2->len, tmp, NULL, H5P_DEFAULT) < 0) TEST_ERROR; @@ -2940,7 +2940,7 @@ test_ninteger(void) /* get rank */ if ((rank = H5Sget_simple_extent_ndims(sid1)) < 0) FAIL_STACK_ERROR; - HDmemset(dims, 0, sizeof dims); + memset(dims, 0, sizeof dims); /* get dimension */ if (H5Sget_simple_extent_dims(sid1, dims, NULL) < 0) |