summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2022-07-28 15:05:11 (GMT)
committerGitHub <noreply@github.com>2022-07-28 15:05:11 (GMT)
commit762c111350cc31137a80e24126b00d9aacf3b2a9 (patch)
tree8d21ed8a877bc60b9c517b7505ce80e2cf8031a9 /test
parentc1c4db3c4a0cbef6eceaab2f069e895936fbbe34 (diff)
downloadhdf5-762c111350cc31137a80e24126b00d9aacf3b2a9.zip
hdf5-762c111350cc31137a80e24126b00d9aacf3b2a9.tar.gz
hdf5-762c111350cc31137a80e24126b00d9aacf3b2a9.tar.bz2
clang 13 format #1933 (#1941)
Diffstat (limited to 'test')
-rw-r--r--test/accum.c4
-rw-r--r--test/big.c8
-rw-r--r--test/btree2.c172
-rw-r--r--test/cache.c214
-rw-r--r--test/cache_api.c14
-rw-r--r--test/cache_common.c48
-rw-r--r--test/cache_common.h2
-rw-r--r--test/cmpd_dset.c2
-rw-r--r--test/dsets.c26
-rw-r--r--test/dt_arith.c34
-rw-r--r--test/dtransform.c4
-rw-r--r--test/dtypes.c40
-rw-r--r--test/dynlib1.c2
-rw-r--r--test/dynlib2.c2
-rw-r--r--test/dynlib3.c2
-rw-r--r--test/dynlib4.c2
-rw-r--r--test/err_compat.c14
-rw-r--r--test/error_test.c12
-rw-r--r--test/fheap.c494
-rw-r--r--test/file_image.c26
-rw-r--r--test/fillval.c18
-rw-r--r--test/filter_fail.c2
-rw-r--r--test/freespace.c38
-rw-r--r--test/gen_deflate.c2
-rw-r--r--test/gen_file_image.c2
-rw-r--r--test/gheap.c12
-rw-r--r--test/h5test.c14
-rw-r--r--test/h5test.h10
-rw-r--r--test/hdfs.c10
-rw-r--r--test/hyperslab.c10
-rw-r--r--test/lheap.c4
-rw-r--r--test/links.c16
-rw-r--r--test/mf.c56
-rw-r--r--test/mtime.c2
-rw-r--r--test/ntypes.c54
-rw-r--r--test/objcopy.c18
-rw-r--r--test/ohdr.c12
-rw-r--r--test/plugin.c4
-rw-r--r--test/pool.c20
-rw-r--r--test/ros3.c10
-rw-r--r--test/s3comms.c50
-rw-r--r--test/set_extent.c4
-rw-r--r--test/stab.c4
-rw-r--r--test/tarray.c12
-rw-r--r--test/tattr.c14
-rw-r--r--test/testframe.c2
-rw-r--r--test/tfile.c4
-rw-r--r--test/tgenprop.c6
-rw-r--r--test/theap.c22
-rw-r--r--test/tid.c12
-rw-r--r--test/titerate.c8
-rw-r--r--test/tmisc.c26
-rw-r--r--test/trefer.c16
-rw-r--r--test/trefstr.c2
-rw-r--r--test/tselect.c44
-rw-r--r--test/tskiplist.c66
-rw-r--r--test/tsohm.c2
-rw-r--r--test/ttsafe.c2
-rw-r--r--test/ttsafe_acreate.c6
-rw-r--r--test/ttsafe_attr_vlen.c4
-rw-r--r--test/ttsafe_cancel.c2
-rw-r--r--test/ttsafe_error.c4
-rw-r--r--test/ttst.c6
-rw-r--r--test/tunicode.c6
-rw-r--r--test/tvlstr.c22
-rw-r--r--test/tvltypes.c32
-rw-r--r--test/unlink.c4
-rw-r--r--test/vfd.c28
68 files changed, 923 insertions, 923 deletions
diff --git a/test/accum.c b/test/accum.c
index d8674eb..6614dcd 100644
--- a/test/accum.c
+++ b/test/accum.c
@@ -1917,8 +1917,8 @@ test_random_write(const H5F_io_info_t *fio_info)
{
uint8_t *wbuf, *rbuf; /* Buffers for reading & writing */
unsigned seed = 0; /* Random # seed */
- size_t * off; /* Offset of buffer segments to write */
- size_t * len; /* Size of buffer segments to write */
+ size_t *off; /* Offset of buffer segments to write */
+ size_t *len; /* Size of buffer segments to write */
size_t cur_off; /* Current offset */
size_t nsegments; /* Number of segments to write */
size_t swap; /* Position to swap with */
diff --git a/test/big.c b/test/big.c
index 9da3db9..55fcd8f 100644
--- a/test/big.c
+++ b/test/big.c
@@ -347,9 +347,9 @@ writer(char *filename, hid_t fapl, fsizes_t testsize, int wrt_n)
hsize_t hs_start[1];
hsize_t hs_size[1];
hid_t file = -1, space1 = -1, space2 = -1, mem_space = -1, d1 = -1, d2 = -1;
- int * buf = (int *)HDmalloc(sizeof(int) * WRT_SIZE);
+ int *buf = (int *)HDmalloc(sizeof(int) * WRT_SIZE);
int i, j;
- FILE * out = HDfopen(DNAME, "w");
+ FILE *out = HDfopen(DNAME, "w");
hid_t dcpl;
switch (testsize) {
@@ -493,12 +493,12 @@ error:
static int
reader(char *filename, hid_t fapl)
{
- FILE * script = NULL;
+ FILE *script = NULL;
hid_t file = -1, mspace = -1, fspace = -1, d2 = -1;
char ln[128], *s;
hsize_t hs_offset[1];
hsize_t hs_size[1] = {WRT_SIZE};
- int * buf = (int *)HDmalloc(sizeof(int) * WRT_SIZE);
+ int *buf = (int *)HDmalloc(sizeof(int) * WRT_SIZE);
int i, j, zero, wrong, nerrors = 0;
/* Open script file */
diff --git a/test/btree2.c b/test/btree2.c
index dfc81ea..c71be22 100644
--- a/test/btree2.c
+++ b/test/btree2.c
@@ -285,7 +285,7 @@ static int
iter_cb(const void *_record, void *_op_data)
{
const hsize_t *record = (const hsize_t *)_record;
- hsize_t * idx = (hsize_t *)_op_data;
+ hsize_t *idx = (hsize_t *)_op_data;
if (*record != *idx)
return (H5_ITER_ERROR);
@@ -312,7 +312,7 @@ static int
find_cb(const void *_record, void *_op_data)
{
const hsize_t *record = (const hsize_t *)_record;
- hsize_t * search = (hsize_t *)_op_data;
+ hsize_t *search = (hsize_t *)_op_data;
if (*record != *search)
return (FALSE);
@@ -339,7 +339,7 @@ static int
find_dec_cb(const void *_record, void *_op_data)
{
const hsize_t *record = (const hsize_t *)_record;
- hsize_t * search = (hsize_t *)_op_data;
+ hsize_t *search = (hsize_t *)_op_data;
if (*record != (INSERT_MANY - (*search + 1)))
return (-1);
@@ -365,7 +365,7 @@ static int
neighbor_cb(const void *_record, void *_op_data)
{
const hsize_t *record = (const hsize_t *)_record;
- hsize_t * search = (hsize_t *)_op_data;
+ hsize_t *search = (hsize_t *)_op_data;
*search = *record;
@@ -416,7 +416,7 @@ static int
remove_cb(const void *_record, void *_op_data)
{
const hsize_t *record = (const hsize_t *)_record;
- hsize_t * rrecord = (hsize_t *)_op_data;
+ hsize_t *rrecord = (hsize_t *)_op_data;
*rrecord = *record;
@@ -440,7 +440,7 @@ static unsigned
test_insert_basic(hid_t fapl, const H5B2_create_t *cparam, const bt2_test_param_t *tparam)
{
hid_t file = -1; /* File ID */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
H5B2_t *bt2 = NULL; /* v2 B-tree wrapper */
haddr_t bt2_addr; /* Address of B-tree created */
@@ -660,9 +660,9 @@ static unsigned
test_insert_split_root(hid_t fapl, const H5B2_create_t *cparam, const bt2_test_param_t *tparam)
{
hid_t file = -1; /* File ID */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
- H5B2_t * bt2 = NULL; /* v2 B-tree wrapper */
+ H5B2_t *bt2 = NULL; /* v2 B-tree wrapper */
haddr_t bt2_addr; /* Address of B-tree created */
hsize_t record; /* Record to insert into tree */
hsize_t idx; /* Index within B-tree, for iterator */
@@ -834,9 +834,9 @@ static unsigned
test_insert_level1_2leaf_redistrib(hid_t fapl, const H5B2_create_t *cparam, const bt2_test_param_t *tparam)
{
hid_t file = -1; /* File ID */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
- H5B2_t * bt2 = NULL; /* v2 B-tree wrapper */
+ H5B2_t *bt2 = NULL; /* v2 B-tree wrapper */
haddr_t bt2_addr; /* Address of B-tree created */
hsize_t record; /* Record to insert into tree */
H5B2_stat_t bt2_stat; /* Statistics about B-tree created */
@@ -988,9 +988,9 @@ static unsigned
test_insert_level1_side_split(hid_t fapl, const H5B2_create_t *cparam, const bt2_test_param_t *tparam)
{
hid_t file = -1; /* File ID */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
- H5B2_t * bt2 = NULL; /* v2 B-tree wrapper */
+ H5B2_t *bt2 = NULL; /* v2 B-tree wrapper */
haddr_t bt2_addr; /* Address of B-tree created */
hsize_t record; /* Record to insert into tree */
H5B2_stat_t bt2_stat; /* Statistics about B-tree created */
@@ -1148,9 +1148,9 @@ static unsigned
test_insert_level1_3leaf_redistrib(hid_t fapl, const H5B2_create_t *cparam, const bt2_test_param_t *tparam)
{
hid_t file = -1; /* File ID */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
- H5B2_t * bt2 = NULL; /* v2 B-tree wrapper */
+ H5B2_t *bt2 = NULL; /* v2 B-tree wrapper */
haddr_t bt2_addr; /* Address of B-tree created */
hsize_t record; /* Record to insert into tree */
H5B2_stat_t bt2_stat; /* Statistics about B-tree created */
@@ -1289,9 +1289,9 @@ static unsigned
test_insert_level1_middle_split(hid_t fapl, const H5B2_create_t *cparam, const bt2_test_param_t *tparam)
{
hid_t file = -1; /* File ID */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
- H5B2_t * bt2 = NULL; /* v2 B-tree wrapper */
+ H5B2_t *bt2 = NULL; /* v2 B-tree wrapper */
haddr_t bt2_addr; /* Address of B-tree created */
hsize_t record; /* Record to insert into tree */
H5B2_stat_t bt2_stat; /* Statistics about B-tree created */
@@ -1405,9 +1405,9 @@ static unsigned
test_insert_make_level2(hid_t fapl, const H5B2_create_t *cparam, const bt2_test_param_t *tparam)
{
hid_t file = -1; /* File ID */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
- H5B2_t * bt2 = NULL; /* v2 B-tree wrapper */
+ H5B2_t *bt2 = NULL; /* v2 B-tree wrapper */
haddr_t bt2_addr; /* Address of B-tree created */
hsize_t record; /* Record to insert into tree */
H5B2_stat_t bt2_stat; /* Statistics about B-tree created */
@@ -1584,9 +1584,9 @@ static unsigned
test_insert_level2_leaf_redistrib(hid_t fapl, const H5B2_create_t *cparam, const bt2_test_param_t *tparam)
{
hid_t file = -1; /* File ID */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
- H5B2_t * bt2 = NULL; /* v2 B-tree wrapper */
+ H5B2_t *bt2 = NULL; /* v2 B-tree wrapper */
haddr_t bt2_addr; /* Address of B-tree created */
hsize_t record; /* Record to insert into tree */
H5B2_stat_t bt2_stat; /* Statistics about B-tree created */
@@ -1799,9 +1799,9 @@ static unsigned
test_insert_level2_leaf_split(hid_t fapl, const H5B2_create_t *cparam, const bt2_test_param_t *tparam)
{
hid_t file = -1; /* File ID */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
- H5B2_t * bt2 = NULL; /* v2 B-tree wrapper */
+ H5B2_t *bt2 = NULL; /* v2 B-tree wrapper */
haddr_t bt2_addr; /* Address of B-tree created */
hsize_t record; /* Record to insert into tree */
H5B2_stat_t bt2_stat; /* Statistics about B-tree created */
@@ -2034,9 +2034,9 @@ test_insert_level2_2internal_redistrib(hid_t fapl, const H5B2_create_t *cparam,
const bt2_test_param_t *tparam)
{
hid_t file = -1; /* File ID */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
- H5B2_t * bt2 = NULL; /* v2 B-tree wrapper */
+ H5B2_t *bt2 = NULL; /* v2 B-tree wrapper */
haddr_t bt2_addr; /* Address of B-tree created */
hsize_t record; /* Record to insert into tree */
H5B2_stat_t bt2_stat; /* Statistics about B-tree created */
@@ -2206,9 +2206,9 @@ static unsigned
test_insert_level2_2internal_split(hid_t fapl, const H5B2_create_t *cparam, const bt2_test_param_t *tparam)
{
hid_t file = -1; /* File ID */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
- H5B2_t * bt2 = NULL; /* v2 B-tree wrapper */
+ H5B2_t *bt2 = NULL; /* v2 B-tree wrapper */
haddr_t bt2_addr; /* Address of B-tree created */
hsize_t record; /* Record to insert into tree */
H5B2_stat_t bt2_stat; /* Statistics about B-tree created */
@@ -2386,9 +2386,9 @@ test_insert_level2_3internal_redistrib(hid_t fapl, const H5B2_create_t *cparam,
const bt2_test_param_t *tparam)
{
hid_t file = -1; /* File ID */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
- H5B2_t * bt2 = NULL; /* v2 B-tree wrapper */
+ H5B2_t *bt2 = NULL; /* v2 B-tree wrapper */
haddr_t bt2_addr; /* Address of B-tree created */
hsize_t record; /* Record to insert into tree */
H5B2_stat_t bt2_stat; /* Statistics about B-tree created */
@@ -2564,9 +2564,9 @@ static unsigned
test_insert_level2_3internal_split(hid_t fapl, const H5B2_create_t *cparam, const bt2_test_param_t *tparam)
{
hid_t file = -1; /* File ID */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
- H5B2_t * bt2 = NULL; /* v2 B-tree wrapper */
+ H5B2_t *bt2 = NULL; /* v2 B-tree wrapper */
haddr_t bt2_addr; /* Address of B-tree created */
hsize_t record; /* Record to insert into tree */
H5B2_stat_t bt2_stat; /* Statistics about B-tree created */
@@ -2744,14 +2744,14 @@ test_insert_lots(hid_t fapl, const H5B2_create_t *cparam, const bt2_test_param_t
{
hid_t file = -1; /* File ID */
char filename[1024]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
- H5B2_t * bt2 = NULL; /* v2 B-tree wrapper */
+ H5B2_t *bt2 = NULL; /* v2 B-tree wrapper */
haddr_t bt2_addr; /* Address of B-tree created */
hsize_t record; /* Record to insert into tree */
hsize_t idx; /* Index within B-tree, for iterator */
time_t curr_time; /* Current time, for seeding random number generator */
- hsize_t * records; /* Record #'s for random insertion */
+ hsize_t *records; /* Record #'s for random insertion */
unsigned u; /* Local index variable */
unsigned swap_idx; /* Location to swap with when shuffling */
hsize_t temp_rec; /* Temporary record */
@@ -2972,7 +2972,7 @@ static unsigned
test_remove_basic(hid_t fapl, const H5B2_create_t *cparam, const bt2_test_param_t *tparam)
{
hid_t file = -1; /* File ID */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
H5B2_t *bt2 = NULL; /* v2 B-tree wrapper */
haddr_t bt2_addr; /* Address of B-tree created */
@@ -3286,9 +3286,9 @@ static unsigned
test_remove_level1_noredistrib(hid_t fapl, const H5B2_create_t *cparam, const bt2_test_param_t *tparam)
{
hid_t file = -1; /* File ID */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
- H5B2_t * bt2 = NULL; /* v2 B-tree wrapper */
+ H5B2_t *bt2 = NULL; /* v2 B-tree wrapper */
haddr_t bt2_addr; /* Address of B-tree created */
hsize_t record; /* Record to insert into tree */
hsize_t rrecord; /* Record to remove from tree */
@@ -3511,9 +3511,9 @@ static unsigned
test_remove_level1_redistrib(hid_t fapl, const H5B2_create_t *cparam, const bt2_test_param_t *tparam)
{
hid_t file = -1; /* File ID */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
- H5B2_t * bt2 = NULL; /* v2 B-tree wrapper */
+ H5B2_t *bt2 = NULL; /* v2 B-tree wrapper */
haddr_t bt2_addr; /* Address of B-tree created */
hsize_t record; /* Record to insert into tree */
hsize_t rrecord; /* Record to remove from tree */
@@ -3708,9 +3708,9 @@ static unsigned
test_remove_level1_2leaf_merge(hid_t fapl, const H5B2_create_t *cparam, const bt2_test_param_t *tparam)
{
hid_t file = -1; /* File ID */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
- H5B2_t * bt2 = NULL; /* v2 B-tree wrapper */
+ H5B2_t *bt2 = NULL; /* v2 B-tree wrapper */
haddr_t bt2_addr; /* Address of B-tree created */
hsize_t record; /* Record to insert into tree */
hsize_t rrecord; /* Record to remove from tree */
@@ -3887,9 +3887,9 @@ static unsigned
test_remove_level1_3leaf_merge(hid_t fapl, const H5B2_create_t *cparam, const bt2_test_param_t *tparam)
{
hid_t file = -1; /* File ID */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
- H5B2_t * bt2 = NULL; /* v2 B-tree wrapper */
+ H5B2_t *bt2 = NULL; /* v2 B-tree wrapper */
haddr_t bt2_addr; /* Address of B-tree created */
hsize_t record; /* Record to insert into tree */
hsize_t rrecord; /* Record to remove from tree */
@@ -4013,9 +4013,9 @@ static unsigned
test_remove_level1_promote(hid_t fapl, const H5B2_create_t *cparam, const bt2_test_param_t *tparam)
{
hid_t file = -1; /* File ID */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
- H5B2_t * bt2 = NULL; /* v2 B-tree wrapper */
+ H5B2_t *bt2 = NULL; /* v2 B-tree wrapper */
haddr_t bt2_addr; /* Address of B-tree created */
hsize_t record; /* Record to insert into tree */
hsize_t rrecord; /* Record to remove from tree */
@@ -4241,9 +4241,9 @@ test_remove_level1_promote_2leaf_redistrib(hid_t fapl, const H5B2_create_t *cpar
const bt2_test_param_t *tparam)
{
hid_t file = -1; /* File ID */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
- H5B2_t * bt2 = NULL; /* v2 B-tree wrapper */
+ H5B2_t *bt2 = NULL; /* v2 B-tree wrapper */
haddr_t bt2_addr; /* Address of B-tree created */
hsize_t record; /* Record to insert into tree */
hsize_t rrecord; /* Record to remove from tree */
@@ -4390,9 +4390,9 @@ test_remove_level1_promote_3leaf_redistrib(hid_t fapl, const H5B2_create_t *cpar
const bt2_test_param_t *tparam)
{
hid_t file = -1; /* File ID */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
- H5B2_t * bt2 = NULL; /* v2 B-tree wrapper */
+ H5B2_t *bt2 = NULL; /* v2 B-tree wrapper */
haddr_t bt2_addr; /* Address of B-tree created */
hsize_t record; /* Record to insert into tree */
hsize_t rrecord; /* Record to remove from tree */
@@ -4539,9 +4539,9 @@ test_remove_level1_promote_2leaf_merge(hid_t fapl, const H5B2_create_t *cparam,
const bt2_test_param_t *tparam)
{
hid_t file = -1; /* File ID */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
- H5B2_t * bt2 = NULL; /* v2 B-tree wrapper */
+ H5B2_t *bt2 = NULL; /* v2 B-tree wrapper */
haddr_t bt2_addr; /* Address of B-tree created */
hsize_t record; /* Record to insert into tree */
hsize_t rrecord; /* Record to remove from tree */
@@ -4685,9 +4685,9 @@ test_remove_level1_promote_3leaf_merge(hid_t fapl, const H5B2_create_t *cparam,
const bt2_test_param_t *tparam)
{
hid_t file = -1; /* File ID */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
- H5B2_t * bt2 = NULL; /* v2 B-tree wrapper */
+ H5B2_t *bt2 = NULL; /* v2 B-tree wrapper */
haddr_t bt2_addr; /* Address of B-tree created */
hsize_t record; /* Record to insert into tree */
hsize_t rrecord; /* Record to remove from tree */
@@ -4830,9 +4830,9 @@ static unsigned
test_remove_level1_collapse(hid_t fapl, const H5B2_create_t *cparam, const bt2_test_param_t *tparam)
{
hid_t file = -1; /* File ID */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
- H5B2_t * bt2 = NULL; /* v2 B-tree wrapper */
+ H5B2_t *bt2 = NULL; /* v2 B-tree wrapper */
haddr_t bt2_addr; /* Address of B-tree created */
hsize_t record; /* Record to insert into tree */
hsize_t rrecord; /* Record to remove from tree */
@@ -4969,9 +4969,9 @@ static unsigned
test_remove_level2_promote(hid_t fapl, const H5B2_create_t *cparam, const bt2_test_param_t *tparam)
{
hid_t file = -1; /* File ID */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
- H5B2_t * bt2 = NULL; /* v2 B-tree wrapper */
+ H5B2_t *bt2 = NULL; /* v2 B-tree wrapper */
haddr_t bt2_addr; /* Address of B-tree created */
hsize_t record; /* Record to insert into tree */
hsize_t rrecord; /* Record to remove from tree */
@@ -5256,9 +5256,9 @@ test_remove_level2_promote_2internal_redistrib(hid_t fapl, const H5B2_create_t *
const bt2_test_param_t *tparam)
{
hid_t file = -1; /* File ID */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
- H5B2_t * bt2 = NULL; /* v2 B-tree wrapper */
+ H5B2_t *bt2 = NULL; /* v2 B-tree wrapper */
haddr_t bt2_addr; /* Address of B-tree created */
hsize_t record; /* Record to insert into tree */
hsize_t rrecord; /* Record to remove from tree */
@@ -5408,9 +5408,9 @@ test_remove_level2_promote_3internal_redistrib(hid_t fapl, const H5B2_create_t *
const bt2_test_param_t *tparam)
{
hid_t file = -1; /* File ID */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
- H5B2_t * bt2 = NULL; /* v2 B-tree wrapper */
+ H5B2_t *bt2 = NULL; /* v2 B-tree wrapper */
haddr_t bt2_addr; /* Address of B-tree created */
hsize_t record; /* Record to insert into tree */
hsize_t rrecord; /* Record to remove from tree */
@@ -5560,9 +5560,9 @@ test_remove_level2_promote_2internal_merge(hid_t fapl, const H5B2_create_t *cpar
const bt2_test_param_t *tparam)
{
hid_t file = -1; /* File ID */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
- H5B2_t * bt2 = NULL; /* v2 B-tree wrapper */
+ H5B2_t *bt2 = NULL; /* v2 B-tree wrapper */
haddr_t bt2_addr; /* Address of B-tree created */
hsize_t record; /* Record to insert into tree */
hsize_t rrecord; /* Record to remove from tree */
@@ -5713,9 +5713,9 @@ test_remove_level2_promote_3internal_merge(hid_t fapl, const H5B2_create_t *cpar
const bt2_test_param_t *tparam)
{
hid_t file = -1; /* File ID */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
- H5B2_t * bt2 = NULL; /* v2 B-tree wrapper */
+ H5B2_t *bt2 = NULL; /* v2 B-tree wrapper */
haddr_t bt2_addr; /* Address of B-tree created */
hsize_t record; /* Record to insert into tree */
hsize_t rrecord; /* Record to remove from tree */
@@ -5866,9 +5866,9 @@ test_remove_level2_2internal_merge_left(hid_t fapl, const H5B2_create_t *cparam,
const bt2_test_param_t *tparam)
{
hid_t file = -1; /* File ID */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
- H5B2_t * bt2 = NULL; /* v2 B-tree wrapper */
+ H5B2_t *bt2 = NULL; /* v2 B-tree wrapper */
haddr_t bt2_addr; /* Address of B-tree created */
hsize_t record; /* Record to insert into tree */
hsize_t rrecord; /* Record to remove from tree */
@@ -5993,9 +5993,9 @@ test_remove_level2_2internal_merge_right(hid_t fapl, const H5B2_create_t *cparam
const bt2_test_param_t *tparam)
{
hid_t file = -1; /* File ID */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
- H5B2_t * bt2 = NULL; /* v2 B-tree wrapper */
+ H5B2_t *bt2 = NULL; /* v2 B-tree wrapper */
haddr_t bt2_addr; /* Address of B-tree created */
hsize_t record; /* Record to insert into tree */
hsize_t rrecord; /* Record to remove from tree */
@@ -6119,9 +6119,9 @@ static unsigned
test_remove_level2_3internal_merge(hid_t fapl, const H5B2_create_t *cparam, const bt2_test_param_t *tparam)
{
hid_t file = -1; /* File ID */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
- H5B2_t * bt2 = NULL; /* v2 B-tree wrapper */
+ H5B2_t *bt2 = NULL; /* v2 B-tree wrapper */
haddr_t bt2_addr; /* Address of B-tree created */
hsize_t record; /* Record to insert into tree */
hsize_t rrecord; /* Record to remove from tree */
@@ -6246,9 +6246,9 @@ static unsigned
test_remove_level2_collapse_right(hid_t fapl, const H5B2_create_t *cparam, const bt2_test_param_t *tparam)
{
hid_t file = -1; /* File ID */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
- H5B2_t * bt2 = NULL; /* v2 B-tree wrapper */
+ H5B2_t *bt2 = NULL; /* v2 B-tree wrapper */
haddr_t bt2_addr; /* Address of B-tree created */
hsize_t record; /* Record to insert into tree */
hsize_t rrecord; /* Record to remove from tree */
@@ -6373,9 +6373,9 @@ gen_l4_btree2(const char *filename, hid_t fapl, const H5B2_create_t *cparam, had
const hsize_t *records)
{
hid_t file = -1; /* File ID */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
- H5B2_t * bt2 = NULL; /* v2 B-tree wrapper */
+ H5B2_t *bt2 = NULL; /* v2 B-tree wrapper */
hsize_t record; /* Record to insert into tree */
unsigned u; /* Local index variable */
H5B2_stat_t bt2_stat; /* Statistics about B-tree created */
@@ -6448,18 +6448,18 @@ test_remove_lots(const char *env_h5_drvr, hid_t fapl, const H5B2_create_t *cpara
{
hid_t file = -1; /* File ID */
char filename[1024]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
int fd = -1; /* File descriptor */
h5_stat_t sb; /* Stat buffer for file */
- void * file_data = NULL; /* Copy of file data */
+ void *file_data = NULL; /* Copy of file data */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
- H5B2_t * bt2 = NULL; /* v2 B-tree wrapper */
+ H5B2_t *bt2 = NULL; /* v2 B-tree wrapper */
haddr_t bt2_addr; /* Address of B-tree created */
hsize_t record; /* Record to insert into tree */
hsize_t rrecord; /* Record to remove from tree */
haddr_t root_addr; /* Address of root of B-tree created */
time_t curr_time; /* Current time, for seeding random number generator */
- hsize_t * records; /* Record #'s for random insertion */
+ hsize_t *records; /* Record #'s for random insertion */
unsigned u; /* Local index variable */
unsigned rem_idx; /* Location to remove */
hsize_t nrec; /* Number of records in B-tree */
@@ -6875,13 +6875,13 @@ static unsigned
test_find_neighbor(hid_t fapl, const H5B2_create_t *cparam, const bt2_test_param_t *tparam)
{
hid_t file = -1; /* File ID */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
- H5B2_t * bt2 = NULL; /* v2 B-tree wrapper */
+ H5B2_t *bt2 = NULL; /* v2 B-tree wrapper */
haddr_t bt2_addr; /* Address of B-tree created */
hsize_t record; /* Record to insert into tree */
hsize_t search; /* Search value */
- hsize_t * records; /* Record #'s for random insertion */
+ hsize_t *records; /* Record #'s for random insertion */
unsigned u; /* Local index variable */
H5B2_node_info_test_t ninfo; /* B-tree node info */
herr_t ret; /* Generic error return value */
@@ -7102,11 +7102,11 @@ test_delete(hid_t fapl, const H5B2_create_t *cparam)
{
hid_t file = -1; /* File ID */
char filename[1024]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
h5_stat_size_t empty_size; /* Size of an empty file */
h5_stat_size_t file_size; /* Size of each file created */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
- H5B2_t * bt2 = NULL; /* v2 B-tree wrapper */
+ H5B2_t *bt2 = NULL; /* v2 B-tree wrapper */
haddr_t bt2_addr; /* Address of B-tree created */
hsize_t record; /* Record to insert into tree */
H5B2_stat_t bt2_stat; /* Statistics about B-tree created */
@@ -7358,9 +7358,9 @@ static unsigned
test_modify(hid_t fapl, const H5B2_create_t *cparam, const bt2_test_param_t *tparam)
{
hid_t file = -1; /* File ID */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
- H5B2_t * bt2 = NULL; /* v2 B-tree wrapper */
+ H5B2_t *bt2 = NULL; /* v2 B-tree wrapper */
haddr_t bt2_addr; /* Address of B-tree created */
hsize_t record; /* Record to insert into tree */
hsize_t modify; /* Modified value */
@@ -7599,7 +7599,7 @@ main(void)
unsigned nerrors = 0; /* Cumulative error count */
hbool_t reopen; /* Whether to reopen B-tree during tests */
int ExpressMode;
- const char * envval = NULL;
+ const char *envval = NULL;
envval = HDgetenv("HDF5_DRIVER");
if (envval == NULL)
diff --git a/test/cache.c b/test/cache.c
index 52bcf3f..2c16060 100644
--- a/test/cache.c
+++ b/test/cache.c
@@ -242,7 +242,7 @@ smoke_check_1(void)
hbool_t display_stats = FALSE;
int32_t lag = 10;
int mile_stone = 1;
- H5F_t * file_ptr = NULL;
+ H5F_t *file_ptr = NULL;
TESTING("smoke check #1 -- all clean, ins, dest, ren, 4/2 MB cache");
@@ -418,7 +418,7 @@ smoke_check_2(void)
hbool_t display_stats = FALSE;
int32_t lag = 10;
int mile_stone = 1;
- H5F_t * file_ptr = NULL;
+ H5F_t *file_ptr = NULL;
TESTING("smoke check #2 -- ~1/2 dirty, ins, dest, ren, 4/2 MB cache");
@@ -593,7 +593,7 @@ smoke_check_3(void)
hbool_t display_stats = FALSE;
int32_t lag = 10;
int mile_stone = 1;
- H5F_t * file_ptr = NULL;
+ H5F_t *file_ptr = NULL;
TESTING("smoke check #3 -- all clean, ins, dest, ren, 2/1 KB cache");
@@ -769,7 +769,7 @@ smoke_check_4(void)
hbool_t display_stats = FALSE;
int32_t lag = 10;
int mile_stone = 1;
- H5F_t * file_ptr = NULL;
+ H5F_t *file_ptr = NULL;
TESTING("smoke check #4 -- ~1/2 dirty, ins, dest, ren, 2/1 KB cache");
@@ -938,15 +938,15 @@ smoke_check_4(void)
static unsigned
smoke_check_5(void)
{
- const char * fcn_name = "smoke_check_5";
+ const char *fcn_name = "smoke_check_5";
herr_t result;
hbool_t show_progress = FALSE;
int dirty_unprotects = FALSE;
hbool_t display_stats = FALSE;
int32_t max_index = 1024;
int mile_stone = 1;
- H5F_t * file_ptr = NULL;
- H5C_t * cache_ptr = NULL;
+ H5F_t *file_ptr = NULL;
+ H5C_t *cache_ptr = NULL;
H5C_auto_size_ctl_t auto_size_ctl = {
/* int32_t version = */ H5C__CURR_AUTO_SIZE_CTL_VER,
#if 1
@@ -1162,15 +1162,15 @@ smoke_check_5(void)
static unsigned
smoke_check_6(void)
{
- const char * fcn_name = "smoke_check_6";
+ const char *fcn_name = "smoke_check_6";
herr_t result;
hbool_t show_progress = FALSE;
int dirty_unprotects = FALSE;
hbool_t display_stats = FALSE;
int mile_stone = 1;
int32_t max_index = 1024;
- H5F_t * file_ptr = NULL;
- H5C_t * cache_ptr = NULL;
+ H5F_t *file_ptr = NULL;
+ H5C_t *cache_ptr = NULL;
H5C_auto_size_ctl_t auto_size_ctl = {
/* int32_t version = */ H5C__CURR_AUTO_SIZE_CTL_VER,
#if 1
@@ -1383,15 +1383,15 @@ smoke_check_6(void)
static unsigned
smoke_check_7(void)
{
- const char * fcn_name = "smoke_check_7";
+ const char *fcn_name = "smoke_check_7";
herr_t result;
hbool_t show_progress = FALSE;
int dirty_unprotects = FALSE;
hbool_t display_stats = FALSE;
int mile_stone = 1;
int32_t max_index = 1024;
- H5F_t * file_ptr = NULL;
- H5C_t * cache_ptr = NULL;
+ H5F_t *file_ptr = NULL;
+ H5C_t *cache_ptr = NULL;
H5C_auto_size_ctl_t auto_size_ctl = {
/* int32_t version = */ H5C__CURR_AUTO_SIZE_CTL_VER,
#if 1
@@ -1605,15 +1605,15 @@ smoke_check_7(void)
static unsigned
smoke_check_8(void)
{
- const char * fcn_name = "smoke_check_8";
+ const char *fcn_name = "smoke_check_8";
herr_t result;
hbool_t show_progress = FALSE;
int dirty_unprotects = FALSE;
hbool_t display_stats = FALSE;
int mile_stone = 1;
int32_t max_index = 1024;
- H5F_t * file_ptr = NULL;
- H5C_t * cache_ptr = NULL;
+ H5F_t *file_ptr = NULL;
+ H5C_t *cache_ptr = NULL;
H5C_auto_size_ctl_t auto_size_ctl = {
/* int32_t version = */ H5C__CURR_AUTO_SIZE_CTL_VER,
#if 1
@@ -1837,8 +1837,8 @@ smoke_check_9(void)
hbool_t display_detailed_stats = FALSE;
int32_t lag = 10;
int mile_stone = 1;
- H5F_t * file_ptr = NULL;
- H5C_t * cache_ptr = NULL;
+ H5F_t *file_ptr = NULL;
+ H5C_t *cache_ptr = NULL;
TESTING("smoke check #9 -- all clean, ins, dest, ren, 4/2 MB, corked");
@@ -2127,8 +2127,8 @@ smoke_check_10(void)
hbool_t display_detailed_stats = FALSE;
int32_t lag = 10;
int mile_stone = 1;
- H5F_t * file_ptr = NULL;
- H5C_t * cache_ptr = NULL;
+ H5F_t *file_ptr = NULL;
+ H5C_t *cache_ptr = NULL;
TESTING("smoke check #10 -- ~1/2 dirty, ins, dest, ren, 4/2 MB, corked");
@@ -2409,7 +2409,7 @@ write_permitted_check(void)
hbool_t display_stats = FALSE;
int32_t lag = 10;
int mile_stone = 1;
- H5F_t * file_ptr = NULL;
+ H5F_t *file_ptr = NULL;
#endif /* H5C_MAINTAIN_CLEAN_AND_DIRTY_LRU_LISTS */
@@ -2581,7 +2581,7 @@ write_permitted_check(void)
static unsigned
check_insert_entry(void)
{
- const char * fcn_name = "check_insert_entry";
+ const char *fcn_name = "check_insert_entry";
int entry_type = PICO_ENTRY_TYPE;
int i;
herr_t result;
@@ -2590,10 +2590,10 @@ check_insert_entry(void)
hbool_t is_protected;
hbool_t is_pinned;
size_t entry_size;
- H5F_t * file_ptr = NULL;
- H5C_t * cache_ptr = NULL;
- test_entry_t * base_addr;
- test_entry_t * entry_ptr;
+ H5F_t *file_ptr = NULL;
+ H5C_t *cache_ptr = NULL;
+ test_entry_t *base_addr;
+ test_entry_t *entry_ptr;
struct H5C_cache_entry_t *search_ptr;
TESTING("H5C_insert_entry() functionality");
@@ -2854,7 +2854,7 @@ check_flush_cache(void)
{
const char *fcn_name = "check_flush_cache";
hbool_t show_progress = FALSE;
- H5F_t * file_ptr = NULL;
+ H5F_t *file_ptr = NULL;
TESTING("H5C_flush_cache() functionality");
@@ -4375,7 +4375,7 @@ check_flush_cache__multi_entry_test(H5F_t *file_ptr, int test_num, unsigned int
struct flush_cache_test_spec spec[])
{
/* const char * fcn_name = "check_flush_cache__multi_entry_test"; */
- H5C_t * cache_ptr = file_ptr->shared->cache;
+ H5C_t *cache_ptr = file_ptr->shared->cache;
static char msg[128];
herr_t result;
int i;
@@ -4560,7 +4560,7 @@ check_flush_cache__pe_multi_entry_test(H5F_t *file_ptr, int test_num, unsigned i
struct pe_flush_cache_test_spec spec[])
{
/* const char * fcn_name = "check_flush_cache__pe_multi_entry_test"; */
- H5C_t * cache_ptr = file_ptr->shared->cache;
+ H5C_t *cache_ptr = file_ptr->shared->cache;
static char msg[128];
herr_t result;
int i;
@@ -8048,8 +8048,8 @@ check_flush_cache__flush_op_test(H5F_t *file_ptr, int test_num, unsigned int flu
size_t expected_index_size, int check_size,
struct fo_flush_entry_check check[])
{
- const char * fcn_name = "check_flush_cache__flush_op_test";
- H5C_t * cache_ptr = file_ptr->shared->cache;
+ const char *fcn_name = "check_flush_cache__flush_op_test";
+ H5C_t *cache_ptr = file_ptr->shared->cache;
static char msg[128];
hbool_t show_progress = FALSE;
hbool_t verbose = FALSE;
@@ -8503,14 +8503,14 @@ static void
check_flush_cache__flush_op_eviction_test(H5F_t *file_ptr)
{
/* const char * fcn_name = "check_flush_cache__flush_op_eviction_test"; */
- H5C_t * cache_ptr = file_ptr->shared->cache;
+ H5C_t *cache_ptr = file_ptr->shared->cache;
int i;
int num_variable_entries = 8;
int num_monster_entries = 31;
int num_large_entries = 0;
herr_t result;
- test_entry_t * entry_ptr;
- test_entry_t * base_addr;
+ test_entry_t *entry_ptr;
+ test_entry_t *base_addr;
struct expected_entry_status expected[8 + 31 + 14] = {
/* the expected array is used to maintain a table of the expected status of every
* entry used in this test. Note that since the function that processes this
@@ -9570,7 +9570,7 @@ check_flush_cache__single_entry(H5F_t *file_ptr)
{
const char *fcn_name = "check_flush_cache__single_entry";
hbool_t show_progress = FALSE;
- H5C_t * cache_ptr = file_ptr->shared->cache;
+ H5C_t *cache_ptr = file_ptr->shared->cache;
if (cache_ptr == NULL) {
@@ -11804,7 +11804,7 @@ check_flush_cache__single_entry_test(H5F_t *file_ptr, int test_num, int entry_ty
hbool_t expected_flushed, hbool_t expected_destroyed)
{
/* const char * fcn_name = "check_flush_cache__single_entry_test"; */
- H5C_t * cache_ptr = file_ptr->shared->cache;
+ H5C_t *cache_ptr = file_ptr->shared->cache;
static char msg[128];
herr_t result;
test_entry_t *base_addr;
@@ -11955,7 +11955,7 @@ check_flush_cache__pinned_single_entry_test(H5F_t *file_ptr, int test_num, int e
hbool_t expected_destroyed)
{
/* const char *fcn_name = "check_flush_cache__pinned_single_entry_test"; */
- H5C_t * cache_ptr = file_ptr->shared->cache;
+ H5C_t *cache_ptr = file_ptr->shared->cache;
static char msg[128];
hbool_t expected_loaded = TRUE;
herr_t result;
@@ -12116,7 +12116,7 @@ check_flush_cache__pinned_single_entry_test(H5F_t *file_ptr, int test_num, int e
static unsigned
check_get_entry_status(void)
{
- const char * fcn_name = "check_get_entry_status";
+ const char *fcn_name = "check_get_entry_status";
static char msg[128];
herr_t result;
hbool_t in_cache;
@@ -12124,7 +12124,7 @@ check_get_entry_status(void)
hbool_t is_protected;
hbool_t is_pinned;
size_t entry_size;
- H5F_t * file_ptr = NULL;
+ H5F_t *file_ptr = NULL;
test_entry_t *base_addr = NULL;
test_entry_t *entry_ptr = NULL;
@@ -12336,7 +12336,7 @@ check_get_entry_status(void)
static unsigned
check_expunge_entry(void)
{
- const char * fcn_name = "check_expunge_entry";
+ const char *fcn_name = "check_expunge_entry";
static char msg[128];
herr_t result;
hbool_t in_cache;
@@ -12344,7 +12344,7 @@ check_expunge_entry(void)
hbool_t is_protected;
hbool_t is_pinned;
size_t entry_size;
- H5F_t * file_ptr = NULL;
+ H5F_t *file_ptr = NULL;
test_entry_t *base_addr;
test_entry_t *entry_ptr;
@@ -12623,7 +12623,7 @@ static unsigned
check_multiple_read_protect(void)
{
const char *fcn_name = "check_multiple_read_protect()";
- H5F_t * file_ptr = NULL;
+ H5F_t *file_ptr = NULL;
#if H5C_COLLECT_CACHE_STATS
H5C_t *cache_ptr = NULL;
#endif /* H5C_COLLECT_CACHE_STATS */
@@ -13011,9 +13011,9 @@ check_multiple_read_protect(void)
static unsigned
check_move_entry(void)
{
- const char * fcn_name = "check_move_entry";
+ const char *fcn_name = "check_move_entry";
int i;
- H5F_t * file_ptr = NULL;
+ H5F_t *file_ptr = NULL;
struct move_entry_test_spec test_specs[4] = {{/* int entry_type = */ PICO_ENTRY_TYPE,
/* int entry_index = */ 10,
/* hbool_t is_dirty = */ FALSE,
@@ -13117,11 +13117,11 @@ static void
check_move_entry__run_test(H5F_t *file_ptr, int test_num, struct move_entry_test_spec *spec_ptr)
{
/* const char * fcn_name = "check_move_entry__run_test"; */
- H5C_t * cache_ptr = file_ptr->shared->cache;
+ H5C_t *cache_ptr = file_ptr->shared->cache;
static char msg[128];
unsigned int flags = H5C__NO_FLAGS_SET;
- test_entry_t * base_addr;
- test_entry_t * entry_ptr = NULL;
+ test_entry_t *base_addr;
+ test_entry_t *entry_ptr = NULL;
H5C_cache_entry_t *test_ptr = NULL;
assert(cache_ptr);
@@ -13235,10 +13235,10 @@ check_move_entry__run_test(H5F_t *file_ptr, int test_num, struct move_entry_test
static unsigned
check_pin_protected_entry(void)
{
- const char * fcn_name = "check_pin_protected_entry";
+ const char *fcn_name = "check_pin_protected_entry";
static char msg[128];
herr_t result;
- H5F_t * file_ptr = NULL;
+ H5F_t *file_ptr = NULL;
test_entry_t *base_addr;
test_entry_t *entry_ptr;
@@ -13334,7 +13334,7 @@ check_pin_protected_entry(void)
static unsigned
check_resize_entry(void)
{
- const char * fcn_name = "check_resize_entry";
+ const char *fcn_name = "check_resize_entry";
static char msg[128];
herr_t result;
hbool_t in_cache;
@@ -13343,8 +13343,8 @@ check_resize_entry(void)
hbool_t is_pinned;
size_t entry_size;
size_t reported_entry_size;
- H5F_t * file_ptr = NULL;
- H5C_t * cache_ptr = NULL;
+ H5F_t *file_ptr = NULL;
+ H5C_t *cache_ptr = NULL;
test_entry_t *base_addr;
test_entry_t *entry_ptr;
@@ -14204,7 +14204,7 @@ check_resize_entry(void)
static unsigned
check_evictions_enabled(void)
{
- const char * fcn_name = "check_evictions_enabled";
+ const char *fcn_name = "check_evictions_enabled";
static char msg[128];
herr_t result;
hbool_t show_progress = FALSE;
@@ -14212,8 +14212,8 @@ check_evictions_enabled(void)
hbool_t in_cache;
int i;
int mile_stone = 1;
- H5F_t * file_ptr = NULL;
- H5C_t * cache_ptr = NULL;
+ H5F_t *file_ptr = NULL;
+ H5C_t *cache_ptr = NULL;
test_entry_t *base_addr = NULL;
test_entry_t *entry_ptr;
@@ -14839,7 +14839,7 @@ static unsigned
check_flush_protected_err(void)
{
const char *fcn_name = "check_flush_protected_err";
- H5F_t * file_ptr = NULL;
+ H5F_t *file_ptr = NULL;
TESTING("flush cache with protected entry error");
@@ -14918,7 +14918,7 @@ static unsigned
check_destroy_pinned_err(void)
{
const char *fcn_name = "check_destroy_pinned_err()";
- H5F_t * file_ptr = NULL;
+ H5F_t *file_ptr = NULL;
TESTING("destroy cache with permanently pinned entry error");
@@ -15006,7 +15006,7 @@ static unsigned
check_destroy_protected_err(void)
{
const char *fcn_name = "check_destroy_protected_err";
- H5F_t * file_ptr = NULL;
+ H5F_t *file_ptr = NULL;
TESTING("destroy cache with protected entry error");
@@ -15092,9 +15092,9 @@ check_destroy_protected_err(void)
static unsigned
check_duplicate_insert_err(void)
{
- const char * fcn_name = "check_duplicate_insert_err";
+ const char *fcn_name = "check_duplicate_insert_err";
herr_t result = -1;
- H5F_t * file_ptr = NULL;
+ H5F_t *file_ptr = NULL;
test_entry_t *base_addr;
test_entry_t *entry_ptr;
@@ -15172,10 +15172,10 @@ check_duplicate_insert_err(void)
static unsigned
check_move_err(void)
{
- const char * fcn_name = "check_move_err()";
+ const char *fcn_name = "check_move_err()";
herr_t result;
- H5F_t * file_ptr = NULL;
- H5C_t * cache_ptr = NULL;
+ H5F_t *file_ptr = NULL;
+ H5C_t *cache_ptr = NULL;
test_entry_t *entry_0_0_ptr;
test_entry_t *entry_0_1_ptr;
test_entry_t *entry_1_0_ptr;
@@ -15269,9 +15269,9 @@ check_move_err(void)
static unsigned
check_double_pin_err(void)
{
- const char * fcn_name = "check_double_pin_err()";
+ const char *fcn_name = "check_double_pin_err()";
herr_t result;
- H5F_t * file_ptr = NULL;
+ H5F_t *file_ptr = NULL;
test_entry_t *entry_ptr;
TESTING("pin a pinned entry error");
@@ -15357,9 +15357,9 @@ check_double_pin_err(void)
static unsigned
check_double_unpin_err(void)
{
- const char * fcn_name = "check_double_unpin_err()";
+ const char *fcn_name = "check_double_unpin_err()";
herr_t result;
- H5F_t * file_ptr = NULL;
+ H5F_t *file_ptr = NULL;
test_entry_t *entry_ptr;
TESTING("unpin an unpinned entry error");
@@ -15454,9 +15454,9 @@ check_double_unpin_err(void)
static unsigned
check_pin_entry_errs(void)
{
- const char * fcn_name = "check_pin_entry_errs()";
+ const char *fcn_name = "check_pin_entry_errs()";
herr_t result;
- H5F_t * file_ptr = NULL;
+ H5F_t *file_ptr = NULL;
test_entry_t *entry_ptr;
TESTING("pin entry related errors");
@@ -15560,9 +15560,9 @@ check_pin_entry_errs(void)
static unsigned
check_double_protect_err(void)
{
- const char * fcn_name = "check_double_protect_err()";
- H5F_t * file_ptr = NULL;
- test_entry_t * entry_ptr;
+ const char *fcn_name = "check_double_protect_err()";
+ H5F_t *file_ptr = NULL;
+ test_entry_t *entry_ptr;
H5C_cache_entry_t *cache_entry_ptr;
TESTING("protect a protected entry error");
@@ -15641,9 +15641,9 @@ check_double_protect_err(void)
static unsigned
check_double_unprotect_err(void)
{
- const char * fcn_name = "check_double_unprotect_err()";
+ const char *fcn_name = "check_double_unprotect_err()";
herr_t result;
- H5F_t * file_ptr = NULL;
+ H5F_t *file_ptr = NULL;
test_entry_t *entry_ptr;
TESTING("unprotect an unprotected entry error");
@@ -15721,9 +15721,9 @@ check_double_unprotect_err(void)
static unsigned
check_mark_entry_dirty_errs(void)
{
- const char * fcn_name = "check_mark_entry_dirty_errs()";
+ const char *fcn_name = "check_mark_entry_dirty_errs()";
herr_t result;
- H5F_t * file_ptr = NULL;
+ H5F_t *file_ptr = NULL;
test_entry_t *entry_ptr;
TESTING("mark entry dirty related errors");
@@ -15802,9 +15802,9 @@ check_mark_entry_dirty_errs(void)
static unsigned
check_expunge_entry_errs(void)
{
- const char * fcn_name = "check_expunge_entry_errs()";
+ const char *fcn_name = "check_expunge_entry_errs()";
herr_t result;
- H5F_t * file_ptr = NULL;
+ H5F_t *file_ptr = NULL;
test_entry_t *entry_ptr;
TESTING("expunge entry related errors");
@@ -15916,9 +15916,9 @@ check_expunge_entry_errs(void)
static unsigned
check_resize_entry_errs(void)
{
- const char * fcn_name = "check_resize_entry_errs()";
+ const char *fcn_name = "check_resize_entry_errs()";
herr_t result;
- H5F_t * file_ptr = NULL;
+ H5F_t *file_ptr = NULL;
test_entry_t *entry_ptr;
TESTING("resize entry related errors");
@@ -16015,9 +16015,9 @@ check_resize_entry_errs(void)
static unsigned
check_unprotect_ro_dirty_err(void)
{
- const char * fcn_name = "check_unprotect_ro_dirty_err()";
+ const char *fcn_name = "check_unprotect_ro_dirty_err()";
herr_t result;
- H5F_t * file_ptr = NULL;
+ H5F_t *file_ptr = NULL;
test_entry_t *entry_ptr;
TESTING("unprotect a read only entry dirty error");
@@ -16140,10 +16140,10 @@ check_unprotect_ro_dirty_err(void)
static unsigned
check_protect_ro_rw_err(void)
{
- const char * fcn_name = "check_protect_ro_rw_err()";
- H5F_t * file_ptr = NULL;
+ const char *fcn_name = "check_protect_ro_rw_err()";
+ H5F_t *file_ptr = NULL;
test_entry_t *entry_ptr;
- void * thing_ptr = NULL;
+ void *thing_ptr = NULL;
TESTING("protect a read only entry rw error");
@@ -16229,8 +16229,8 @@ check_check_evictions_enabled_err(void)
const char *fcn_name = "check_evictions_enabled_err()";
herr_t result;
hbool_t evictions_enabled;
- H5F_t * file_ptr = NULL;
- H5C_t * cache_ptr = NULL;
+ H5F_t *file_ptr = NULL;
+ H5C_t *cache_ptr = NULL;
TESTING("get/set evictions enabled errors");
@@ -16381,13 +16381,13 @@ test_rpt_fcn(H5_ATTR_UNUSED H5C_t *cache_ptr, H5_ATTR_UNUSED int32_t version, H5
static unsigned
check_auto_cache_resize(void)
{
- const char * fcn_name = "check_auto_cache_resize()";
+ const char *fcn_name = "check_auto_cache_resize()";
hbool_t show_progress = FALSE;
herr_t result;
int32_t i;
int32_t checkpoint = 0;
- H5F_t * file_ptr = NULL;
- H5C_t * cache_ptr = NULL;
+ H5F_t *file_ptr = NULL;
+ H5C_t *cache_ptr = NULL;
H5C_auto_size_ctl_t auto_size_ctl = {
/* int32_t version = */ H5C__CURR_AUTO_SIZE_CTL_VER,
/* H5C_auto_resize_report_fcn rpt_fcn = */ test_rpt_fcn,
@@ -20363,13 +20363,13 @@ check_auto_cache_resize(void)
static unsigned
check_auto_cache_resize_disable(void)
{
- const char * fcn_name = "check_auto_cache_resize_disable()";
+ const char *fcn_name = "check_auto_cache_resize_disable()";
hbool_t show_progress = FALSE;
herr_t result;
int32_t i;
int32_t checkpoint = 0;
- H5F_t * file_ptr = NULL;
- H5C_t * cache_ptr = NULL;
+ H5F_t *file_ptr = NULL;
+ H5C_t *cache_ptr = NULL;
H5C_auto_size_ctl_t auto_size_ctl = {
/* int32_t version = */ H5C__CURR_AUTO_SIZE_CTL_VER,
/* H5C_auto_resize_report_fcn rpt_fcn = */ test_rpt_fcn,
@@ -22959,14 +22959,14 @@ check_auto_cache_resize_disable(void)
static unsigned
check_auto_cache_resize_epoch_markers(void)
{
- const char * fcn_name = "check_auto_cache_resize_epoch_markers()";
+ const char *fcn_name = "check_auto_cache_resize_epoch_markers()";
hbool_t show_progress = FALSE;
herr_t result;
int32_t i;
int32_t j;
int32_t checkpoint = 0;
- H5F_t * file_ptr = NULL;
- H5C_t * cache_ptr = NULL;
+ H5F_t *file_ptr = NULL;
+ H5C_t *cache_ptr = NULL;
H5C_auto_size_ctl_t auto_size_ctl = {
/* int32_t version = */ H5C__CURR_AUTO_SIZE_CTL_VER,
/* H5C_auto_resize_report_fcn rpt_fcn = */ test_rpt_fcn,
@@ -23649,10 +23649,10 @@ check_auto_cache_resize_epoch_markers(void)
static unsigned
check_auto_cache_resize_input_errs(void)
{
- const char * fcn_name = "check_auto_cache_resize_input_errs()";
+ const char *fcn_name = "check_auto_cache_resize_input_errs()";
herr_t result;
- H5F_t * file_ptr = NULL;
- H5C_t * cache_ptr = NULL;
+ H5F_t *file_ptr = NULL;
+ H5C_t *cache_ptr = NULL;
H5C_auto_size_ctl_t ref_auto_size_ctl = {
/* int32_t version = */ H5C__CURR_AUTO_SIZE_CTL_VER,
/* H5C_auto_resize_report_fcn rpt_fcn = */ test_rpt_fcn,
@@ -25879,11 +25879,11 @@ check_auto_cache_resize_input_errs(void)
static unsigned
check_auto_cache_resize_aux_fcns(void)
{
- const char * fcn_name = "check_auto_cache_resize_aux_fcns()";
+ const char *fcn_name = "check_auto_cache_resize_aux_fcns()";
herr_t result;
int32_t i;
- H5F_t * file_ptr = NULL;
- H5C_t * cache_ptr = NULL;
+ H5F_t *file_ptr = NULL;
+ H5C_t *cache_ptr = NULL;
double hit_rate;
size_t max_size;
size_t min_clean_size;
@@ -26383,8 +26383,8 @@ check_metadata_blizzard_absence(hbool_t fill_via_insertion)
const char *fcn_name = "check_metadata_blizzard_absence";
int entry_type = HUGE_ENTRY_TYPE;
size_t entry_size = HUGE_ENTRY_SIZE; /* 16 KB */
- H5F_t * file_ptr = NULL;
- H5C_t * cache_ptr = NULL;
+ H5F_t *file_ptr = NULL;
+ H5C_t *cache_ptr = NULL;
hbool_t show_progress = FALSE;
int32_t checkpoint = 0;
int32_t entry_idx = 0;
@@ -27261,9 +27261,9 @@ setup_cache(size_t max_cache_size, size_t min_clean_size)
hbool_t verbose = TRUE;
int mile_stone = 1;
hid_t fid = -1;
- H5F_t * file_ptr = NULL;
- H5C_t * cache_ptr = NULL;
- H5F_t * ret_val = NULL;
+ H5F_t *file_ptr = NULL;
+ H5C_t *cache_ptr = NULL;
+ H5F_t *ret_val = NULL;
haddr_t actual_base_addr;
hid_t fapl_id = H5P_DEFAULT;
diff --git a/test/cache_api.c b/test/cache_api.c
index a9b2a83..e42cf38 100644
--- a/test/cache_api.c
+++ b/test/cache_api.c
@@ -63,14 +63,14 @@ static void check_file_mdc_api_errs(void);
static void
check_fapl_mdc_api_calls(void)
{
- const char * fcn_name = "check_fapl_mdc_api_calls()";
+ const char *fcn_name = "check_fapl_mdc_api_calls()";
char filename[512];
herr_t result;
hid_t fapl_id = -1;
hid_t test_fapl_id = -1;
hid_t file_id = -1;
- H5F_t * file_ptr = NULL;
- H5C_t * cache_ptr = NULL;
+ H5F_t *file_ptr = NULL;
+ H5C_t *cache_ptr = NULL;
H5AC_cache_config_t default_config = H5AC__DEFAULT_CACHE_CONFIG;
H5AC_cache_config_t mod_config = {
/* int version = */ H5AC__CURR_CACHE_CONFIG_VERSION,
@@ -501,7 +501,7 @@ check_fapl_mdc_api_calls(void)
static void
check_file_mdc_api_calls(void)
{
- const char * fcn_name = "check_file_mdc_api_calls()";
+ const char *fcn_name = "check_file_mdc_api_calls()";
char filename[512];
hid_t file_id = -1;
size_t max_size;
@@ -837,7 +837,7 @@ check_file_mdc_api_calls(void)
static void
mdc_api_call_smoke_check(int express_test)
{
- const char * fcn_name = "mdc_api_call_smoke_check()";
+ const char *fcn_name = "mdc_api_call_smoke_check()";
char filename[512];
hbool_t valid_chunk;
hbool_t dump_hit_rate = FALSE;
@@ -2856,7 +2856,7 @@ H5AC_cache_config_t invalid_configs[NUM_INVALID_CONFIGS] = {
static void
check_fapl_mdc_api_errs(void)
{
- const char * fcn_name = "check_fapl_mdc_api_errs()";
+ const char *fcn_name = "check_fapl_mdc_api_errs()";
static char msg[128];
int i;
herr_t result;
@@ -3034,7 +3034,7 @@ check_fapl_mdc_api_errs(void)
static void
check_file_mdc_api_errs(void)
{
- const char * fcn_name = "check_file_mdc_api_errs()";
+ const char *fcn_name = "check_file_mdc_api_errs()";
char filename[512];
static char msg[128];
hbool_t show_progress = FALSE;
diff --git a/test/cache_common.c b/test/cache_common.c
index 2f64ba8..9e82028 100644
--- a/test/cache_common.c
+++ b/test/cache_common.c
@@ -162,7 +162,7 @@ static herr_t clear(H5F_t *f, void *thing, hbool_t dest);
static herr_t destroy(H5F_t *f, void *thing);
static herr_t flush(H5F_t *f, hid_t dxpl_id, hbool_t dest, haddr_t addr, void *thing,
unsigned H5_ATTR_UNUSED *flags_ptr);
-static void * load(H5F_t *f, hid_t dxpl_id, haddr_t addr, void *udata);
+static void *load(H5F_t *f, hid_t dxpl_id, haddr_t addr, void *udata);
static herr_t size(H5F_t *f, void *thing, size_t *size_ptr);
static void execute_flush_op(H5F_t *file_ptr, struct test_entry_t *entry_ptr, struct flush_op *op_ptr,
unsigned *flags_ptr);
@@ -1246,8 +1246,8 @@ hbool_t
entry_in_cache(H5C_t *cache_ptr, int32_t type, int32_t idx)
{
hbool_t in_cache = FALSE; /* will set to TRUE if necessary */
- test_entry_t * base_addr;
- test_entry_t * entry_ptr;
+ test_entry_t *base_addr;
+ test_entry_t *entry_ptr;
H5C_cache_entry_t *test_ptr = NULL;
HDassert(cache_ptr);
@@ -1924,7 +1924,7 @@ flush_cache(H5F_t *file_ptr, hbool_t destroy_entries, hbool_t dump_stats, hbool_
void
insert_entry(H5F_t *file_ptr, int32_t type, int32_t idx, unsigned int flags)
{
- H5C_t * cache_ptr;
+ H5C_t *cache_ptr;
herr_t result;
hbool_t insert_pinned;
test_entry_t *base_addr;
@@ -2165,9 +2165,9 @@ move_entry(H5C_t *cache_ptr, int32_t type, int32_t idx, hbool_t main_addr)
void
protect_entry(H5F_t *file_ptr, int32_t type, int32_t idx)
{
- H5C_t * cache_ptr;
- test_entry_t * base_addr;
- test_entry_t * entry_ptr;
+ H5C_t *cache_ptr;
+ test_entry_t *base_addr;
+ test_entry_t *entry_ptr;
H5C_cache_entry_t *cache_entry_ptr;
if (pass) {
@@ -2253,9 +2253,9 @@ protect_entry(H5F_t *file_ptr, int32_t type, int32_t idx)
void
protect_entry_ro(H5F_t *file_ptr, int32_t type, int32_t idx)
{
- H5C_t * cache_ptr;
- test_entry_t * base_addr;
- test_entry_t * entry_ptr;
+ H5C_t *cache_ptr;
+ test_entry_t *base_addr;
+ test_entry_t *entry_ptr;
H5C_cache_entry_t *cache_entry_ptr;
if (pass) {
@@ -2484,7 +2484,7 @@ row_major_scan_forward(H5F_t *file_ptr, int32_t lag, hbool_t verbose, hbool_t re
hbool_t do_mult_ro_protects, int dirty_destroys, int dirty_unprotects)
{
const char *fcn_name = "row_major_scan_forward";
- H5C_t * cache_ptr;
+ H5C_t *cache_ptr;
int32_t type = 0;
int32_t idx;
@@ -2741,7 +2741,7 @@ hl_row_major_scan_forward(H5F_t *file_ptr, int32_t max_index, hbool_t verbose, h
hbool_t display_stats, hbool_t display_detailed_stats, hbool_t do_inserts)
{
const char *fcn_name = "hl_row_major_scan_forward";
- H5C_t * cache_ptr;
+ H5C_t *cache_ptr;
int32_t type = 0;
int32_t idx;
int32_t i;
@@ -2838,7 +2838,7 @@ row_major_scan_backward(H5F_t *file_ptr, int32_t lag, hbool_t verbose, hbool_t r
hbool_t do_mult_ro_protects, int dirty_destroys, int dirty_unprotects)
{
const char *fcn_name = "row_major_scan_backward";
- H5C_t * cache_ptr;
+ H5C_t *cache_ptr;
int32_t type = NUMBER_OF_ENTRY_TYPES - 1;
int32_t idx;
@@ -3089,7 +3089,7 @@ hl_row_major_scan_backward(H5F_t *file_ptr, int32_t max_index, hbool_t verbose,
hbool_t display_stats, hbool_t display_detailed_stats, hbool_t do_inserts)
{
const char *fcn_name = "hl_row_major_scan_backward";
- H5C_t * cache_ptr;
+ H5C_t *cache_ptr;
int32_t type = NUMBER_OF_ENTRY_TYPES - 1;
int32_t idx;
int32_t i;
@@ -3185,7 +3185,7 @@ col_major_scan_forward(H5F_t *file_ptr, int32_t lag, hbool_t verbose, hbool_t re
int dirty_unprotects)
{
const char *fcn_name = "col_major_scan_forward()";
- H5C_t * cache_ptr;
+ H5C_t *cache_ptr;
int32_t type = 0;
int32_t idx;
@@ -3275,7 +3275,7 @@ hl_col_major_scan_forward(H5F_t *file_ptr, int32_t max_index, hbool_t verbose, h
int dirty_unprotects)
{
const char *fcn_name = "hl_col_major_scan_forward()";
- H5C_t * cache_ptr;
+ H5C_t *cache_ptr;
int32_t type = 0;
int32_t idx;
int32_t lag = 200;
@@ -3381,7 +3381,7 @@ col_major_scan_backward(H5F_t *file_ptr, int32_t lag, hbool_t verbose, hbool_t r
int dirty_unprotects)
{
const char *fcn_name = "col_major_scan_backward()";
- H5C_t * cache_ptr;
+ H5C_t *cache_ptr;
int mile_stone = 1;
int32_t type;
int32_t idx;
@@ -3483,7 +3483,7 @@ hl_col_major_scan_backward(H5F_t *file_ptr, int32_t max_index, hbool_t verbose,
int dirty_unprotects)
{
const char *fcn_name = "hl_col_major_scan_backward()";
- H5C_t * cache_ptr;
+ H5C_t *cache_ptr;
int32_t type = 0;
int32_t idx;
int32_t lag = 50;
@@ -3606,8 +3606,8 @@ check_and_validate_cache_hit_rate(hid_t file_id, double *hit_rate_ptr, hbool_t d
int64_t cache_accesses = 0;
double expected_hit_rate;
double hit_rate;
- H5F_t * file_ptr = NULL;
- H5C_t * cache_ptr = NULL;
+ H5F_t *file_ptr = NULL;
+ H5C_t *cache_ptr = NULL;
/* get a pointer to the files internal data structure */
if (pass) {
@@ -3734,8 +3734,8 @@ check_and_validate_cache_size(hid_t file_id, size_t *max_size_ptr, size_t *min_c
size_t cur_size;
int32_t expected_cur_num_entries;
int cur_num_entries;
- H5F_t * file_ptr = NULL;
- H5C_t * cache_ptr = NULL;
+ H5F_t *file_ptr = NULL;
+ H5C_t *cache_ptr = NULL;
/* get a pointer to the files internal data structure */
if (pass) {
@@ -3896,8 +3896,8 @@ validate_mdc_config(hid_t file_id, H5AC_cache_config_t *ext_config_ptr, hbool_t
{
/* const char * fcn_name = "validate_mdc_config()"; */
static char msg[256];
- H5F_t * file_ptr = NULL;
- H5C_t * cache_ptr = NULL;
+ H5F_t *file_ptr = NULL;
+ H5C_t *cache_ptr = NULL;
H5AC_cache_config_t scratch;
H5C_auto_size_ctl_t int_config;
diff --git a/test/cache_common.h b/test/cache_common.h
index 0f8cf42..09cfc3e 100644
--- a/test/cache_common.h
+++ b/test/cache_common.h
@@ -429,7 +429,7 @@ H5TEST_DLLVAR const int32_t max_indices[NUMBER_OF_ENTRY_TYPES];
H5TEST_DLLVAR const size_t entry_sizes[NUMBER_OF_ENTRY_TYPES];
H5TEST_DLLVAR const haddr_t base_addrs[NUMBER_OF_ENTRY_TYPES];
H5TEST_DLLVAR const haddr_t alt_base_addrs[NUMBER_OF_ENTRY_TYPES];
-H5TEST_DLLVAR const char * entry_type_names[NUMBER_OF_ENTRY_TYPES];
+H5TEST_DLLVAR const char *entry_type_names[NUMBER_OF_ENTRY_TYPES];
/* call back function declarations: */
diff --git a/test/cmpd_dset.c b/test/cmpd_dset.c
index b9583a7..d074de3 100644
--- a/test/cmpd_dset.c
+++ b/test/cmpd_dset.c
@@ -1709,7 +1709,7 @@ static unsigned
test_pack_ooo(void)
{
hid_t cmpd, sub_cmpd; /* Datatype IDs */
- H5T_t * dt; /* Datatype pointer */
+ H5T_t *dt; /* Datatype pointer */
unsigned order[PACK_NMEMBS]; /* Order of insertion */
unsigned free_order[PACK_NMEMBS]; /* Index of remaining free slots in order */
unsigned num_free; /* Number of free slots in order */
diff --git a/test/dsets.c b/test/dsets.c
index 21057ef..36260a2 100644
--- a/test/dsets.c
+++ b/test/dsets.c
@@ -392,7 +392,7 @@ test_simple_io(const char *env_h5_drvr, hid_t fapl)
hid_t file = -1, dataset = -1, space = -1, xfer = -1;
int i, j, n;
hsize_t dims[2];
- void * tconv_buf = NULL;
+ void *tconv_buf = NULL;
int f = -1;
haddr_t offset;
int rdata[DSET_DIM1][DSET_DIM2];
@@ -772,8 +772,8 @@ test_max_compact(hid_t fapl)
hid_t plist = -1;
hsize_t dims[1];
size_t compact_size;
- int * wbuf = NULL;
- int * rbuf = NULL;
+ int *wbuf = NULL;
+ int *rbuf = NULL;
char filename[FILENAME_BUF_SIZE];
int n;
size_t u;
@@ -1083,7 +1083,7 @@ test_conv_buffer(hid_t fid)
herr_t status = -1;
int j, k, l;
- CmpField * cf = NULL;
+ CmpField *cf = NULL;
CmpFieldR *cfrR = NULL;
hid_t dataset = H5I_INVALID_HID; /* dataset ID */
@@ -1251,7 +1251,7 @@ error:
static herr_t
test_tconv(hid_t file)
{
- char * out = NULL, *in = NULL;
+ char *out = NULL, *in = NULL;
hsize_t dims[1];
hid_t space = -1, dataset = -1;
int i;
@@ -1454,7 +1454,7 @@ filter_bogus2(unsigned int flags, size_t cd_nelmts, const unsigned int *cd_value
/* "Compressing" */
else {
unsigned add_on = cd_values[3]; /* Get "add on" value */
- int * int_ptr = (int *)*buf; /* Pointer to the data values */
+ int *int_ptr = (int *)*buf; /* Pointer to the data values */
size_t buf_left = *buf_size; /* Amount of data buffer left to process */
/* Add the "add on" value to all the data values */
@@ -1514,7 +1514,7 @@ static size_t
filter_corrupt(unsigned int flags, size_t cd_nelmts, const unsigned int *cd_values, size_t nbytes,
size_t *buf_size, void **buf)
{
- void * data = NULL;
+ void *data = NULL;
unsigned char *dst = (unsigned char *)(*buf);
unsigned int offset;
unsigned int length;
@@ -1615,7 +1615,7 @@ test_filter_internal(hid_t fid, const char *name, hid_t dcpl, int if_fletcher32,
const hsize_t size[2] = {DSET_DIM1, DSET_DIM2}; /* Dataspace dimensions */
const hsize_t hs_offset[2] = {FILTER_HS_OFFSET1, FILTER_HS_OFFSET2}; /* Hyperslab offset */
const hsize_t hs_size[2] = {FILTER_HS_SIZE1, FILTER_HS_SIZE2}; /* Hyperslab size */
- void * tconv_buf = NULL; /* Temporary conversion buffer */
+ void *tconv_buf = NULL; /* Temporary conversion buffer */
size_t i, j, n; /* Local index variables */
herr_t status; /* Error status */
@@ -2559,7 +2559,7 @@ test_missing_filter(hid_t file)
size_t i, j; /* Local index variables */
herr_t ret; /* Generic return value */
char testfile[512] = ""; /* Buffer to hold name of existing test file */
- char * srcdir =
+ char *srcdir =
HDgetenv("srcdir"); /* The source directory, if we are using the --srcdir configure option */
TESTING("dataset access with missing filter");
@@ -3977,7 +3977,7 @@ test_nbit_compound_3(hid_t file)
typedef struct { /* Struct with some no-op type fields */
int i; /* integer field, NOT a no-op type */
char str[30]; /* fixed-length string, no-op type */
- char * vl_str; /* varible-length string, no-op type */
+ char *vl_str; /* varible-length string, no-op type */
hvl_t v; /* VL datatype field, no-op type */
hobj_ref_t r; /* Object reference field, no-op type */
unsigned char o[5]; /* Opaque field, no-op type */
@@ -6758,7 +6758,7 @@ auxread_fdata(hid_t fid, const char *name)
hid_t ftype_id = -1; /* file data type ID */
hid_t mtype_id = -1; /* memory data type ID */
size_t msize; /* memory size of memory type */
- void * buf = NULL; /* data buffer */
+ void *buf = NULL; /* data buffer */
hsize_t nelmts; /* number of elements in dataset */
int rank; /* rank of dataset */
hsize_t dims[H5S_MAX_RANK]; /* dimensions of dataset */
@@ -8904,7 +8904,7 @@ error:
*-------------------------------------------------------------------------
*/
typedef struct scatter_info_t {
- int * src_buf; /* Source data buffer */
+ int *src_buf; /* Source data buffer */
size_t block; /* Maximum number of elements to return to H5Dscatter() */
size_t size; /* Remaining number of elements to return */
} scatter_info_t;
@@ -9216,7 +9216,7 @@ error:
*-------------------------------------------------------------------------
*/
typedef struct gather_info_t {
- int * expect_dst_buf; /* Expected destination data buffer */
+ int *expect_dst_buf; /* Expected destination data buffer */
size_t max_nelmts; /* Maximum number of elements passed to callback */
hbool_t last_call; /* Whether this should be the last time the callback is called */
} gather_info_t;
diff --git a/test/dt_arith.c b/test/dt_arith.c
index a82486d..26466d7 100644
--- a/test/dt_arith.c
+++ b/test/dt_arith.c
@@ -911,7 +911,7 @@ test_derived_flt(void)
size_t spos, epos, esize, mpos, msize, size;
size_t src_size, dst_size;
unsigned char *buf = NULL, *saved_buf = NULL;
- int * aligned = NULL;
+ int *aligned = NULL;
int endian; /*endianess */
size_t nelmts = NTESTELEM;
unsigned int fails_this_test = 0;
@@ -1683,21 +1683,21 @@ test_conv_int_1(const char *name, hid_t src, hid_t dst)
size_t fails_this_test; /*fails for this test */
char str[256]; /*hello string */
dtype_t src_type, dst_type; /*data types */
- const char * src_type_name = NULL; /*source type name */
- const char * dst_type_name = NULL; /*destination type name */
+ const char *src_type_name = NULL; /*source type name */
+ const char *dst_type_name = NULL; /*destination type name */
int endian; /*machine endianess */
size_t src_size, dst_size; /*type sizes */
- unsigned char * buf = NULL; /*buffer for conversion */
- unsigned char * saved = NULL; /*original values */
+ unsigned char *buf = NULL; /*buffer for conversion */
+ unsigned char *saved = NULL; /*original values */
size_t j, k; /*counters */
- unsigned char * hw = NULL; /*hardware conv result */
+ unsigned char *hw = NULL; /*hardware conv result */
unsigned char src_bits[32]; /*src value in LE order */
unsigned char dst_bits[32]; /*dest value in LE order*/
size_t src_nbits; /*source length in bits */
size_t dst_nbits; /*dst length in bits */
H5T_sign_t src_sign; /*source sign type */
H5T_sign_t dst_sign; /*dst sign type */
- void * aligned = NULL; /*aligned temp buffer */
+ void *aligned = NULL; /*aligned temp buffer */
signed char hw_char;
unsigned char hw_uchar;
short hw_short;
@@ -2907,13 +2907,13 @@ test_conv_flt_1(const char *name, int run_test, hid_t src, hid_t dst)
const size_t max_fails = 8; /*max number of failures*/
size_t fails_all_tests = 0; /*number of failures */
size_t fails_this_test; /*fails for this test */
- const char * src_type_name = NULL; /*source type name */
- const char * dst_type_name = NULL; /*destination type name */
+ const char *src_type_name = NULL; /*source type name */
+ const char *dst_type_name = NULL; /*destination type name */
size_t src_size, dst_size; /*type sizes */
unsigned char *buf = NULL; /*buffer for conversion */
unsigned char *saved = NULL; /*original values */
char str[256]; /*hello string */
- void * aligned = NULL; /*aligned buffer */
+ void *aligned = NULL; /*aligned buffer */
float hw_f; /*hardware-converted */
double hw_d; /*hardware-converted */
#if H5_SIZEOF_LONG_DOUBLE != H5_SIZEOF_DOUBLE
@@ -3510,7 +3510,7 @@ test_conv_int_fp(const char *name, int run_test, hid_t src, hid_t dst)
hid_t dxpl_id; /*dataset transfer property list*/
int fill_value = 9; /*fill value for conversion exception*/
H5T_conv_except_func_t op; /*returned callback function for conversion exception*/
- void * user_data; /*returned pointer to user data passed in to the callback*/
+ void *user_data; /*returned pointer to user data passed in to the callback*/
hbool_t except_set = FALSE; /*whether user's exception handling is set*/
size_t nelmts = 0; /*num values per test */
const size_t max_fails = 40; /*max number of failures*/
@@ -3519,20 +3519,20 @@ test_conv_int_fp(const char *name, int run_test, hid_t src, hid_t dst)
char str[256]; /*hello string */
dtype_t src_type; /*data types */
dtype_t dst_type; /*data types */
- const char * src_type_name = NULL; /*source type name */
- const char * dst_type_name = NULL; /*destination type name */
+ const char *src_type_name = NULL; /*source type name */
+ const char *dst_type_name = NULL; /*destination type name */
int sendian; /*source endianess */
int dendian; /*destination endianess */
size_t src_size, dst_size; /*type sizes */
- unsigned char * buf = NULL; /*buffer for conversion */
- unsigned char * saved = NULL; /*original values */
+ unsigned char *buf = NULL; /*buffer for conversion */
+ unsigned char *saved = NULL; /*original values */
size_t j, k; /*counters */
- unsigned char * hw = NULL; /*hardware conv result */
+ unsigned char *hw = NULL; /*hardware conv result */
unsigned char src_bits[32]; /*src value in LE order */
unsigned char dst_bits[32]; /*dest value in LE order*/
size_t src_nbits; /*source length in bits */
size_t dst_nbits; /*dst length in bits */
- void * aligned = NULL; /*aligned temp buffer */
+ void *aligned = NULL; /*aligned temp buffer */
float hw_float = 0;
double hw_double = 0;
long double hw_ldouble = 0;
diff --git a/test/dtransform.c b/test/dtransform.c
index cf1e02f..b505c55 100644
--- a/test/dtransform.c
+++ b/test/dtransform.c
@@ -791,7 +791,7 @@ test_getset(const hid_t dxpl_id_c_to_f)
float windchillFfloatread[ROWS][COLS];
const char *simple = "(4/2) * ( (2 + 4)/(5 - 2.5))"; /* this equals 4.8 */
const char *c_to_f = "(9/5.0)*x + 32";
- char * ptrgetTest = NULL;
+ char *ptrgetTest = NULL;
TESTING("H5Pget_data_transform")
@@ -853,7 +853,7 @@ test_set(void)
hid_t dxpl_id = -1;
H5E_auto2_t func;
const char *str = "(9/5.0)*x + 32";
- char * ptrgetTest = NULL;
+ char *ptrgetTest = NULL;
TESTING("H5Pget_data_transform (get before set)")
diff --git a/test/dtypes.c b/test/dtypes.c
index e324369..d99ef2c 100644
--- a/test/dtypes.c
+++ b/test/dtypes.c
@@ -587,7 +587,7 @@ test_compound_1(void)
H5T_str_t strpad;
H5T_order_t order;
H5T_sign_t sign;
- char * tag = NULL;
+ char *tag = NULL;
int offset;
herr_t ret;
int retval = 1;
@@ -1160,8 +1160,8 @@ test_compound_5(void)
src_type_t src[2] = {{"one", 102, {104, 105, 106, 107}}, {"two", 202, {204, 205, 206, 207}}};
dst_type_t *dst;
- void * buf = HDcalloc((size_t)2, sizeof(dst_type_t));
- void * bkg = HDcalloc((size_t)2, sizeof(dst_type_t));
+ void *buf = HDcalloc((size_t)2, sizeof(dst_type_t));
+ void *bkg = HDcalloc((size_t)2, sizeof(dst_type_t));
int retval = 1;
TESTING("optimized struct converter");
@@ -2040,7 +2040,7 @@ test_compound_10(void)
hid_t dset_id;
hsize_t arr_dim[1] = {ARRAY_DIM}; /* Array dimensions */
hsize_t dim1[1];
- void * t1, *t2;
+ void *t1, *t2;
char filename[1024];
size_t len;
int i;
@@ -2242,7 +2242,7 @@ test_compound_11(void)
typedef struct {
double d1;
int i1;
- char * s1;
+ char *s1;
int i2;
double d2;
double d3;
@@ -2251,7 +2251,7 @@ test_compound_11(void)
typedef struct {
double d1;
int i1;
- char * s1;
+ char *s1;
} little_t;
hid_t var_string_tid; /* Datatype IDs for type conversion */
@@ -2260,9 +2260,9 @@ test_compound_11(void)
hid_t opaq_src_tid, opaq_dst_tid; /* Datatype IDs for type conversion */
hid_t space_id; /* Dataspace for buffer elements */
hsize_t dim[1]; /* Dimensions for dataspace */
- void * buf = NULL; /* Conversion buffer */
- void * buf_orig = NULL; /* Copy of original conversion buffer */
- void * bkg = NULL; /* Background buffer */
+ void *buf = NULL; /* Conversion buffer */
+ void *buf_orig = NULL; /* Copy of original conversion buffer */
+ void *bkg = NULL; /* Background buffer */
size_t u; /* Local index variable */
int retval = 1;
@@ -4940,7 +4940,7 @@ error:
static int
test_conv_str_2(void)
{
- char * buf = NULL, s[80];
+ char *buf = NULL, s[80];
hid_t c_type = -1;
hid_t f_type = -1;
const size_t nelmts = NTESTELEM;
@@ -5012,7 +5012,7 @@ error:
static int
test_conv_str_3(void)
{
- char * buf = NULL;
+ char *buf = NULL;
hid_t type = -1;
hid_t super = -1;
const size_t nelmts = NTESTELEM;
@@ -5021,7 +5021,7 @@ test_conv_str_3(void)
size_t size;
H5T_pad_t inpad;
H5T_sign_t sign;
- char * tag = NULL;
+ char *tag = NULL;
herr_t ret;
TESTING("some type functions for string");
@@ -5231,7 +5231,7 @@ static int
test_conv_enum_2(void)
{
hid_t srctype = -1, dsttype = -1, oddsize = -1;
- int * data = NULL, i, nerrors = 0;
+ int *data = NULL, i, nerrors = 0;
const char *mname[] = {"RED", "GREEN", "BLUE", "YELLOW", "PINK", "PURPLE", "ORANGE", "WHITE"};
TESTING("non-native enumeration type conversion");
@@ -5412,7 +5412,7 @@ test_bitfield_funcs(void)
{
hid_t type = -1, ntype = -1, super = -1;
size_t size;
- char * tag = 0;
+ char *tag = 0;
H5T_pad_t inpad;
H5T_cset_t cset;
H5T_str_t strpad;
@@ -5706,7 +5706,7 @@ error:
static int
opaque_long(void)
{
- char * long_tag = NULL;
+ char *long_tag = NULL;
hid_t dt = -1;
herr_t ret;
@@ -6705,7 +6705,7 @@ test_int_float_except(void)
(float)4.5f};
int buf_int[CONVERT_SIZE] = {INT_MIN, INT_MAX, INT_MAX - 127, 4};
float buf_float[CONVERT_SIZE] = {(float)INT_MIN, (float)INT_MAX + 1.0f, (float)INT_MAX - 127.0f, 4};
- int * intp; /* Pointer to buffer, as integers */
+ int *intp; /* Pointer to buffer, as integers */
int buf2[CONVERT_SIZE] = {INT_MIN, INT_MAX, INT_MAX - 72, 0};
float buf2_float[CONVERT_SIZE] = {(float)INT_MIN, (float)INT_MAX, (float)INT_MAX - 127.0f, (float)0.0f};
int buf2_int[CONVERT_SIZE] = {INT_MIN, INT_MAX, INT_MAX - 127, 0};
@@ -7271,8 +7271,8 @@ test_named_indirect_reopen(hid_t fapl)
static hsize_t dims[1] = {3};
size_t dt_size;
int enum_value;
- const char * tag = "opaque_tag";
- char * tag_ret = NULL;
+ const char *tag = "opaque_tag";
+ char *tag_ret = NULL;
char filename[1024];
TESTING("indirectly reopening committed datatypes");
@@ -8285,9 +8285,9 @@ test_utf_ascii_conv(void)
hid_t ascii_tid = -1;
hid_t sid = -1;
const char *utf8_w = "foo!";
- char * ascii_r = NULL;
+ char *ascii_r = NULL;
const char *ascii_w = "bar!";
- char * utf8_r = NULL;
+ char *utf8_r = NULL;
char filename[1024];
char ascii2[4], utf8_2[4];
herr_t status;
diff --git a/test/dynlib1.c b/test/dynlib1.c
index bc72a4b..ca7213a 100644
--- a/test/dynlib1.c
+++ b/test/dynlib1.c
@@ -68,7 +68,7 @@ static size_t
H5Z_filter_dynlib1(unsigned int flags, size_t cd_nelmts, const unsigned int *cd_values, size_t nbytes,
size_t *buf_size, void **buf)
{
- int * int_ptr = (int *)*buf; /* Pointer to the data values */
+ int *int_ptr = (int *)*buf; /* Pointer to the data values */
size_t buf_left = *buf_size; /* Amount of data buffer left to process */
int add_on = 0;
diff --git a/test/dynlib2.c b/test/dynlib2.c
index da37e1d..683f693 100644
--- a/test/dynlib2.c
+++ b/test/dynlib2.c
@@ -69,7 +69,7 @@ static size_t
H5Z_filter_dynlib2(unsigned int flags, size_t cd_nelmts, const unsigned int *cd_values, size_t nbytes,
size_t *buf_size, void **buf)
{
- int * int_ptr = (int *)*buf; /* Pointer to the data values */
+ int *int_ptr = (int *)*buf; /* Pointer to the data values */
size_t buf_left = *buf_size; /* Amount of data buffer left to process */
/* Check for the correct number of parameters */
diff --git a/test/dynlib3.c b/test/dynlib3.c
index 6102d21..71da204 100644
--- a/test/dynlib3.c
+++ b/test/dynlib3.c
@@ -83,7 +83,7 @@ H5Z_filter_dynlib3(unsigned int flags, size_t cd_nelmts, const unsigned int *cd_
ret_value = *buf_size = nbytes - SUFFIX_LEN;
} /* end if */
else { /*write*/
- void * outbuf = NULL; /* Pointer to new buffer */
+ void *outbuf = NULL; /* Pointer to new buffer */
unsigned char *dst; /* Temporary pointer to destination buffer */
dst = (unsigned char *)(outbuf = malloc(nbytes + SUFFIX_LEN));
diff --git a/test/dynlib4.c b/test/dynlib4.c
index 2db97da..812ecdb 100644
--- a/test/dynlib4.c
+++ b/test/dynlib4.c
@@ -65,7 +65,7 @@ static size_t
H5Z_filter_dynlib4(unsigned int flags, size_t cd_nelmts, const unsigned int *cd_values, size_t nbytes,
size_t *buf_size, void **buf)
{
- int * int_ptr = (int *)*buf; /* Pointer to the data values */
+ int *int_ptr = (int *)*buf; /* Pointer to the data values */
size_t buf_left = *buf_size; /* Amount of data buffer left to process */
int add_on = 0;
unsigned ver_info[3];
diff --git a/test/err_compat.c b/test/err_compat.c
index fa1ecbd..d3be2fd 100644
--- a/test/err_compat.c
+++ b/test/err_compat.c
@@ -117,9 +117,9 @@ error:
herr_t
custom_print_cb1(int n, H5E_error1_t *err_desc, void *client_data)
{
- FILE * stream = (FILE *)client_data;
- char * maj = NULL;
- char * min = NULL;
+ FILE *stream = (FILE *)client_data;
+ char *maj = NULL;
+ char *min = NULL;
const int indent = 4;
if (NULL == (min = H5Eget_minor(err_desc->min_num)))
@@ -168,9 +168,9 @@ error:
herr_t
custom_print_cb2(int n, H5E_error2_t *err_desc, void *client_data)
{
- FILE * stream = (FILE *)client_data;
- char * maj = NULL;
- char * min = NULL;
+ FILE *stream = (FILE *)client_data;
+ char *maj = NULL;
+ char *min = NULL;
const int indent = 4;
if (NULL == (min = H5Eget_minor(err_desc->min_num)))
@@ -223,7 +223,7 @@ test_error1(void)
hsize_t dims[2];
H5E_auto1_t old_func1;
H5E_auto2_t old_func2;
- void * old_data;
+ void *old_data;
herr_t ret;
TESTING("error API H5Eset/get_auto");
diff --git a/test/error_test.c b/test/error_test.c
index 11e4a9b..3be2415 100644
--- a/test/error_test.c
+++ b/test/error_test.c
@@ -96,7 +96,7 @@ test_error(hid_t file)
hsize_t dims[2];
const char *FUNC_test_error = "test_error";
H5E_auto2_t old_func;
- void * old_data = NULL;
+ void *old_data = NULL;
HDfprintf(stderr, "\nTesting error API based on data I/O\n");
@@ -183,8 +183,8 @@ init_error(void)
{
ssize_t cls_size = (ssize_t)HDstrlen(ERR_CLS_NAME) + 1;
ssize_t msg_size = (ssize_t)HDstrlen(ERR_MIN_SUBROUTINE_MSG) + 1;
- char * cls_name = NULL;
- char * msg = NULL;
+ char *cls_name = NULL;
+ char *msg = NULL;
H5E_type_t msg_type;
if (NULL == (cls_name = (char *)HDmalloc(HDstrlen(ERR_CLS_NAME) + 1)))
@@ -326,8 +326,8 @@ static herr_t
test_long_desc(void)
{
const char *format = "Testing very long description string, %s";
- char * long_desc = NULL;
- char * full_desc = NULL;
+ char *long_desc = NULL;
+ char *full_desc = NULL;
size_t u;
const char *test_FUNC = "test_long_desc";
@@ -421,7 +421,7 @@ error:
static herr_t
custom_print_cb(unsigned n, const H5E_error2_t *err_desc, void *client_data)
{
- FILE * stream = (FILE *)client_data;
+ FILE *stream = (FILE *)client_data;
char maj[MSG_SIZE];
char min[MSG_SIZE];
char cls[MSG_SIZE];
diff --git a/test/fheap.c b/test/fheap.c
index 54ccca6..f197f4a 100644
--- a/test/fheap.c
+++ b/test/fheap.c
@@ -145,8 +145,8 @@ typedef struct fheap_heap_ids_t {
size_t num_ids; /* # of heap IDs in array */
size_t alloc_ids; /* # of heap IDs allocated in array */
unsigned char *ids; /* Array of object heap IDs */
- size_t * lens; /* Array of object lengths */
- size_t * offs; /* Array of object offsets (in global shared write buffer) */
+ size_t *lens; /* Array of object lengths */
+ size_t *offs; /* Array of object offsets (in global shared write buffer) */
} fheap_heap_ids_t;
/* Local variables */
@@ -154,8 +154,8 @@ unsigned char *shared_wobj_g; /* Pointer to shared write buffer for
unsigned char *shared_robj_g; /* Pointer to shared read buffer for objects */
size_t shared_obj_size_g; /* Size of shared objects */
unsigned char *shared_ids_g = NULL; /* Array of shared object heap IDs */
-size_t * shared_lens_g = NULL; /* Array of shared object lengths */
-size_t * shared_offs_g = NULL; /* Array of shared object offsets */
+size_t *shared_lens_g = NULL; /* Array of shared object lengths */
+size_t *shared_offs_g = NULL; /* Array of shared object offsets */
size_t shared_alloc_ids_g = 0; /* # of shared heap IDs allocated in array */
/* Local routines */
@@ -421,8 +421,8 @@ add_obj(H5HF_t *fh, hid_t dxpl, size_t obj_off, size_t obj_size, fheap_heap_stat
/* Check for needing to increase size of heap ID array */
if (keep_ids->num_ids + 1 > keep_ids->alloc_ids) {
unsigned char *tmp_ids;
- size_t * tmp_lens;
- size_t * tmp_offs;
+ size_t *tmp_lens;
+ size_t *tmp_offs;
keep_ids->alloc_ids = MAX(1024, (keep_ids->alloc_ids * 2));
if (NULL ==
@@ -1032,8 +1032,8 @@ fill_heap(H5HF_t *fh, hid_t dxpl, unsigned block_row, size_t obj_size, fheap_hea
{
unsigned char *wobj; /* Buffer for object to insert */
unsigned char *curr_id_ptr; /* Pointer into shared ID array */
- size_t * curr_len_ptr; /* Pointer into shared length array */
- size_t * curr_off_ptr; /* Pointer into shared offset array */
+ size_t *curr_len_ptr; /* Pointer into shared length array */
+ size_t *curr_off_ptr; /* Pointer into shared offset array */
size_t num_ids = 0; /* # of heap IDs in array */
size_t data_size; /* Size of data portion of heap block */
size_t last_obj_len; /* Size of last object inserted into heap */
@@ -1810,9 +1810,9 @@ test_create(hid_t fapl, H5HF_create_t *cparam, fheap_test_param_t H5_ATTR_UNUSED
{
hid_t file = -1; /* File ID */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
H5HF_create_t test_cparam; /* Creation parameters for heap */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Heap address in file */
h5_stat_size_t empty_size; /* File size, w/o heap */
h5_stat_size_t file_size; /* File size, after deleting heap */
@@ -1925,9 +1925,9 @@ test_reopen(hid_t fapl, H5HF_create_t *cparam, fheap_test_param_t H5_ATTR_UNUSED
{
hid_t file = -1; /* File ID */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
H5HF_create_t test_cparam; /* Creation parameters for heap */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
size_t id_len; /* Size of fractal heap IDs */
fheap_heap_state_t state; /* State of fractal heap */
@@ -2024,11 +2024,11 @@ test_open_twice(hid_t fapl, H5HF_create_t *cparam, fheap_test_param_t H5_ATTR_UN
hid_t file = -1; /* File ID */
hid_t file2 = -1; /* File ID */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5F_t * f2 = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5F_t *f2 = NULL; /* Internal file object pointer */
H5HF_create_t test_cparam; /* Creation parameters for heap */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
- H5HF_t * fh2 = NULL; /* 2nd fractal heap wrapper */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
+ H5HF_t *fh2 = NULL; /* 2nd fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
size_t id_len; /* Size of fractal heap IDs */
fheap_heap_state_t state; /* State of fractal heap */
@@ -2159,10 +2159,10 @@ test_delete_open(hid_t fapl, H5HF_create_t *cparam, fheap_test_param_t H5_ATTR_U
{
hid_t file = -1; /* File ID */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
H5HF_create_t test_cparam; /* Creation parameters for heap */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
- H5HF_t * fh2 = NULL; /* 2nd fractal heap wrapper */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
+ H5HF_t *fh2 = NULL; /* 2nd fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
size_t id_len; /* Size of fractal heap IDs */
h5_stat_size_t empty_size; /* Size of a file with an empty heap */
@@ -2299,8 +2299,8 @@ test_id_limits(hid_t fapl, H5HF_create_t *cparam)
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
H5HF_create_t tmp_cparam; /* Local heap creation parameters */
unsigned deflate_level; /* Deflation level */
size_t id_len; /* Size of fractal heap IDs */
@@ -2634,8 +2634,8 @@ test_filtered_create(hid_t fapl, H5HF_create_t *cparam)
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
H5HF_create_t tmp_cparam; /* Local heap creation parameters */
H5HF_create_t test_cparam; /* Temporary local heap creation parameters */
@@ -2749,7 +2749,7 @@ test_size(hid_t fapl, H5HF_create_t *cparam)
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
hsize_t empty_heap_size; /* Total size of empty heap on disk */
@@ -2885,7 +2885,7 @@ test_reopen_hdr(hid_t fapl, H5HF_create_t *cparam)
hid_t file2 = -2; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
hsize_t heap_size; /* Total size of heap on disk */
@@ -3011,8 +3011,8 @@ test_man_insert_weird(hid_t fapl, H5HF_create_t *cparam, fheap_test_param_t *tpa
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
unsigned char heap_id[HEAP_ID_LEN]; /* Heap ID for object */
size_t id_len; /* Size of fractal heap IDs */
@@ -3123,8 +3123,8 @@ test_man_insert_first(hid_t fapl, H5HF_create_t *cparam, fheap_test_param_t *tpa
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
size_t id_len; /* Size of fractal heap IDs */
fheap_heap_state_t state; /* State of fractal heap */
@@ -3221,8 +3221,8 @@ test_man_insert_second(hid_t fapl, H5HF_create_t *cparam, fheap_test_param_t *tp
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
size_t id_len; /* Size of fractal heap IDs */
fheap_heap_state_t state; /* State of fractal heap */
@@ -3314,8 +3314,8 @@ test_man_insert_root_mult(hid_t fapl, H5HF_create_t *cparam, fheap_test_param_t
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
size_t id_len; /* Size of fractal heap IDs */
size_t fill_size; /* Size of objects for "bulk" filled blocks */
@@ -3410,8 +3410,8 @@ test_man_insert_force_indirect(hid_t fapl, H5HF_create_t *cparam, fheap_test_par
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
size_t id_len; /* Size of fractal heap IDs */
size_t fill_size; /* Size of objects for "bulk" filled blocks */
@@ -3513,8 +3513,8 @@ test_man_insert_fill_second(hid_t fapl, H5HF_create_t *cparam, fheap_test_param_
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
size_t id_len; /* Size of fractal heap IDs */
size_t fill_size; /* Size of objects for "bulk" filled blocks */
@@ -3617,8 +3617,8 @@ test_man_insert_third_direct(hid_t fapl, H5HF_create_t *cparam, fheap_test_param
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
size_t id_len; /* Size of fractal heap IDs */
size_t fill_size; /* Size of objects for "bulk" filled blocks */
@@ -3725,8 +3725,8 @@ test_man_fill_first_row(hid_t fapl, H5HF_create_t *cparam, fheap_test_param_t *t
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
size_t id_len; /* Size of fractal heap IDs */
size_t fill_size; /* Size of objects for "bulk" filled blocks */
@@ -3818,8 +3818,8 @@ test_man_start_second_row(hid_t fapl, H5HF_create_t *cparam, fheap_test_param_t
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
size_t id_len; /* Size of fractal heap IDs */
size_t fill_size; /* Size of objects for "bulk" filled blocks */
@@ -3918,8 +3918,8 @@ test_man_fill_second_row(hid_t fapl, H5HF_create_t *cparam, fheap_test_param_t *
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
size_t id_len; /* Size of fractal heap IDs */
size_t fill_size; /* Size of objects for "bulk" filled blocks */
@@ -4016,8 +4016,8 @@ test_man_start_third_row(hid_t fapl, H5HF_create_t *cparam, fheap_test_param_t *
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
size_t id_len; /* Size of fractal heap IDs */
size_t fill_size; /* Size of objects for "bulk" filled blocks */
@@ -4123,8 +4123,8 @@ test_man_fill_fourth_row(hid_t fapl, H5HF_create_t *cparam, fheap_test_param_t *
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
size_t id_len; /* Size of fractal heap IDs */
size_t fill_size; /* Size of objects for "bulk" filled blocks */
@@ -4218,8 +4218,8 @@ test_man_fill_all_root_direct(hid_t fapl, H5HF_create_t *cparam, fheap_test_para
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
size_t id_len; /* Size of fractal heap IDs */
size_t fill_size; /* Size of objects for "bulk" filled blocks */
@@ -4311,8 +4311,8 @@ test_man_first_recursive_indirect(hid_t fapl, H5HF_create_t *cparam, fheap_test_
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
size_t id_len; /* Size of fractal heap IDs */
size_t fill_size; /* Size of objects for "bulk" filled blocks */
@@ -4410,8 +4410,8 @@ test_man_second_direct_recursive_indirect(hid_t fapl, H5HF_create_t *cparam, fhe
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
size_t id_len; /* Size of fractal heap IDs */
size_t fill_size; /* Size of objects for "bulk" filled blocks */
@@ -4517,8 +4517,8 @@ test_man_fill_first_recursive_indirect(hid_t fapl, H5HF_create_t *cparam, fheap_
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
size_t id_len; /* Size of fractal heap IDs */
size_t fill_size; /* Size of objects for "bulk" filled blocks */
@@ -4617,8 +4617,8 @@ test_man_second_recursive_indirect(hid_t fapl, H5HF_create_t *cparam, fheap_test
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
size_t id_len; /* Size of fractal heap IDs */
size_t fill_size; /* Size of objects for "bulk" filled blocks */
@@ -4725,8 +4725,8 @@ test_man_fill_second_recursive_indirect(hid_t fapl, H5HF_create_t *cparam, fheap
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
size_t id_len; /* Size of fractal heap IDs */
size_t fill_size; /* Size of objects for "bulk" filled blocks */
@@ -4830,8 +4830,8 @@ test_man_fill_recursive_indirect_row(hid_t fapl, H5HF_create_t *cparam, fheap_te
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
size_t id_len; /* Size of fractal heap IDs */
size_t fill_size; /* Size of objects for "bulk" filled blocks */
@@ -4929,8 +4929,8 @@ test_man_start_2nd_recursive_indirect(hid_t fapl, H5HF_create_t *cparam, fheap_t
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
size_t id_len; /* Size of fractal heap IDs */
size_t fill_size; /* Size of objects for "bulk" filled blocks */
@@ -5035,8 +5035,8 @@ test_man_recursive_indirect_two_deep(hid_t fapl, H5HF_create_t *cparam, fheap_te
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
size_t id_len; /* Size of fractal heap IDs */
size_t fill_size; /* Size of objects for "bulk" filled blocks */
@@ -5135,8 +5135,8 @@ test_man_start_3rd_recursive_indirect(hid_t fapl, H5HF_create_t *cparam, fheap_t
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
size_t id_len; /* Size of fractal heap IDs */
size_t fill_size; /* Size of objects for "bulk" filled blocks */
@@ -5242,8 +5242,8 @@ test_man_fill_first_3rd_recursive_indirect(hid_t fapl, H5HF_create_t *cparam, fh
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
size_t id_len; /* Size of fractal heap IDs */
size_t fill_size; /* Size of objects for "bulk" filled blocks */
@@ -5350,8 +5350,8 @@ test_man_fill_3rd_recursive_indirect_row(hid_t fapl, H5HF_create_t *cparam, fhea
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
size_t id_len; /* Size of fractal heap IDs */
size_t fill_size; /* Size of objects for "bulk" filled blocks */
@@ -5455,8 +5455,8 @@ test_man_fill_all_3rd_recursive_indirect(hid_t fapl, H5HF_create_t *cparam, fhea
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
size_t id_len; /* Size of fractal heap IDs */
size_t fill_size; /* Size of objects for "bulk" filled blocks */
@@ -5561,8 +5561,8 @@ test_man_start_4th_recursive_indirect(hid_t fapl, H5HF_create_t *cparam, fheap_t
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
size_t id_len; /* Size of fractal heap IDs */
size_t fill_size; /* Size of objects for "bulk" filled blocks */
@@ -5673,8 +5673,8 @@ test_man_fill_first_4th_recursive_indirect(hid_t fapl, H5HF_create_t *cparam, fh
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
size_t id_len; /* Size of fractal heap IDs */
size_t fill_size; /* Size of objects for "bulk" filled blocks */
@@ -5791,8 +5791,8 @@ test_man_fill_4th_recursive_indirect_row(hid_t fapl, H5HF_create_t *cparam, fhea
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
size_t id_len; /* Size of fractal heap IDs */
size_t fill_size; /* Size of objects for "bulk" filled blocks */
@@ -5900,8 +5900,8 @@ test_man_fill_all_4th_recursive_indirect(hid_t fapl, H5HF_create_t *cparam, fhea
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
size_t id_len; /* Size of fractal heap IDs */
size_t fill_size; /* Size of objects for "bulk" filled blocks */
@@ -6013,8 +6013,8 @@ test_man_start_5th_recursive_indirect(hid_t fapl, H5HF_create_t *cparam, fheap_t
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
size_t id_len; /* Size of fractal heap IDs */
size_t fill_size; /* Size of objects for "bulk" filled blocks */
@@ -6140,8 +6140,8 @@ test_man_remove_bogus(hid_t fapl, H5HF_create_t *cparam, fheap_test_param_t *tpa
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
unsigned char heap_id[HEAP_ID_LEN]; /* Heap ID for object */
unsigned long seed = 0; /* Random # seed */
@@ -6297,8 +6297,8 @@ test_man_remove_one(hid_t fapl, H5HF_create_t *cparam, fheap_test_param_t *tpara
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
unsigned char heap_id[HEAP_ID_LEN]; /* Heap ID for object */
unsigned char obj[SMALL_OBJ_SIZE1]; /* Buffer for object to insert */
@@ -6454,8 +6454,8 @@ test_man_remove_two(hid_t fapl, H5HF_create_t *cparam, fheap_test_param_t *tpara
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
unsigned char heap_id1[HEAP_ID_LEN]; /* Heap ID for first object */
unsigned char heap_id2[HEAP_ID_LEN]; /* Heap ID for second object */
@@ -6641,11 +6641,11 @@ test_man_remove_one_larger(hid_t fapl, H5HF_create_t *cparam, fheap_test_param_t
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
unsigned char heap_id[HEAP_ID_LEN]; /* Heap ID for object */
- unsigned char * obj; /* Buffer for object to insert */
+ unsigned char *obj; /* Buffer for object to insert */
size_t obj_len; /* Length of object to insert */
size_t id_len; /* Size of fractal heap IDs */
h5_stat_size_t empty_size; /* Size of a file with an empty heap */
@@ -6803,12 +6803,12 @@ test_man_remove_two_larger(hid_t fapl, H5HF_create_t *cparam, fheap_test_param_t
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
unsigned char heap_id1[HEAP_ID_LEN]; /* Heap ID for first object */
unsigned char heap_id2[HEAP_ID_LEN]; /* Heap ID for second object */
- unsigned char * obj; /* Buffer for object to insert */
+ unsigned char *obj; /* Buffer for object to insert */
size_t obj_len; /* Length of object to insert */
size_t id_len; /* Size of fractal heap IDs */
h5_stat_size_t empty_size; /* Size of a file with an empty heap */
@@ -7040,13 +7040,13 @@ test_man_remove_three_larger(hid_t fapl, H5HF_create_t *cparam, fheap_test_param
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
unsigned char heap_id1[HEAP_ID_LEN]; /* Heap ID for first object */
unsigned char heap_id2[HEAP_ID_LEN]; /* Heap ID for second object */
unsigned char heap_id3[HEAP_ID_LEN]; /* Heap ID for third object */
- unsigned char * obj; /* Buffer for object to insert */
+ unsigned char *obj; /* Buffer for object to insert */
size_t obj_len; /* Length of object to insert */
size_t id_len; /* Size of fractal heap IDs */
h5_stat_size_t empty_size; /* Size of a file with an empty heap */
@@ -7335,8 +7335,8 @@ test_man_incr_insert_remove(hid_t fapl, H5HF_create_t *cparam, fheap_test_param_
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
unsigned char heap_id[100][MAX_HEAP_ID_LEN]; /* Heap ID for object inserted */
struct a_type_t1 {
@@ -7449,8 +7449,8 @@ test_man_remove_root_direct(hid_t fapl, H5HF_create_t *cparam, fheap_test_param_
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
fheap_heap_ids_t keep_ids; /* Structure to retain heap IDs */
h5_stat_size_t empty_size; /* Size of a file with an empty heap */
@@ -7523,8 +7523,8 @@ test_man_remove_two_direct(hid_t fapl, H5HF_create_t *cparam, fheap_test_param_t
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
fheap_heap_ids_t keep_ids; /* Structure to retain heap IDs */
h5_stat_size_t empty_size; /* Size of a file with an empty heap */
@@ -7612,8 +7612,8 @@ test_man_remove_first_row(hid_t fapl, H5HF_create_t *cparam, fheap_test_param_t
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
fheap_heap_ids_t keep_ids; /* Structure to retain heap IDs */
h5_stat_size_t empty_size; /* Size of a file with an empty heap */
@@ -7683,8 +7683,8 @@ test_man_remove_first_two_rows(hid_t fapl, H5HF_create_t *cparam, fheap_test_par
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
fheap_heap_ids_t keep_ids; /* Structure to retain heap IDs */
h5_stat_size_t empty_size; /* Size of a file with an empty heap */
@@ -7756,8 +7756,8 @@ test_man_remove_first_four_rows(hid_t fapl, H5HF_create_t *cparam, fheap_test_pa
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
fheap_heap_ids_t keep_ids; /* Structure to retain heap IDs */
h5_stat_size_t empty_size; /* Size of a file with an empty heap */
@@ -7833,8 +7833,8 @@ test_man_remove_all_root_direct(hid_t fapl, H5HF_create_t *cparam, fheap_test_pa
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
fheap_heap_ids_t keep_ids; /* Structure to retain heap IDs */
h5_stat_size_t empty_size; /* Size of a file with an empty heap */
@@ -7904,8 +7904,8 @@ test_man_remove_2nd_indirect(hid_t fapl, H5HF_create_t *cparam, fheap_test_param
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
fheap_heap_ids_t keep_ids; /* Structure to retain heap IDs */
h5_stat_size_t empty_size; /* Size of a file with an empty heap */
@@ -7979,8 +7979,8 @@ test_man_remove_3rd_indirect(hid_t fapl, H5HF_create_t *cparam, fheap_test_param
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
fheap_heap_ids_t keep_ids; /* Structure to retain heap IDs */
h5_stat_size_t empty_size; /* Size of a file with an empty heap */
@@ -8064,8 +8064,8 @@ test_man_skip_start_block(hid_t fapl, H5HF_create_t *cparam, fheap_test_param_t
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
fheap_heap_ids_t keep_ids; /* Structure to retain heap IDs */
h5_stat_size_t empty_size; /* Size of a file with an empty heap */
@@ -8144,8 +8144,8 @@ test_man_skip_start_block_add_back(hid_t fapl, H5HF_create_t *cparam, fheap_test
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
fheap_heap_ids_t keep_ids; /* Structure to retain heap IDs */
h5_stat_size_t empty_size; /* Size of a file with an empty heap */
@@ -8244,8 +8244,8 @@ test_man_skip_start_block_add_skipped(hid_t fapl, H5HF_create_t *cparam, fheap_t
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
fheap_heap_ids_t keep_ids; /* Structure to retain heap IDs */
h5_stat_size_t empty_size; /* Size of a file with an empty heap */
@@ -8355,8 +8355,8 @@ test_man_skip_2nd_block(hid_t fapl, H5HF_create_t *cparam, fheap_test_param_t *t
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
fheap_heap_ids_t keep_ids; /* Structure to retain heap IDs */
h5_stat_size_t empty_size; /* Size of a file with an empty heap */
@@ -8453,8 +8453,8 @@ test_man_skip_2nd_block_add_skipped(hid_t fapl, H5HF_create_t *cparam, fheap_tes
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
fheap_heap_ids_t keep_ids; /* Structure to retain heap IDs */
h5_stat_size_t empty_size; /* Size of a file with an empty heap */
@@ -8600,8 +8600,8 @@ test_man_fill_one_partial_skip_2nd_block_add_skipped(hid_t fapl, H5HF_create_t *
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
fheap_heap_ids_t keep_ids; /* Structure to retain heap IDs */
h5_stat_size_t empty_size; /* Size of a file with an empty heap */
@@ -8767,8 +8767,8 @@ test_man_fill_row_skip_add_skipped(hid_t fapl, H5HF_create_t *cparam, fheap_test
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
fheap_heap_ids_t keep_ids; /* Structure to retain heap IDs */
h5_stat_size_t empty_size; /* Size of a file with an empty heap */
@@ -8896,8 +8896,8 @@ test_man_skip_direct_skip_indirect_two_rows_add_skipped(hid_t fapl, H5HF_create_
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
fheap_heap_ids_t keep_ids; /* Structure to retain heap IDs */
unsigned num_direct_rows; /* Number of rows (of direct blocks) in root indirect block */
@@ -9025,8 +9025,8 @@ test_man_fill_direct_skip_indirect_start_block_add_skipped(hid_t fapl, H5HF_crea
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
fheap_heap_ids_t keep_ids; /* Structure to retain heap IDs */
h5_stat_size_t empty_size; /* Size of a file with an empty heap */
@@ -9151,13 +9151,13 @@ test_man_fill_direct_skip_2nd_indirect_start_block_add_skipped(hid_t fapl, H5HF_
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
fheap_heap_ids_t keep_ids; /* Structure to retain heap IDs */
unsigned
- num_first_indirect_rows; /* Number of rows (of direct blocks) in each of the first indirect blocks */
- unsigned row; /* Current row in indirect block */
+ num_first_indirect_rows; /* Number of rows (of direct blocks) in each of the first indirect blocks */
+ unsigned row; /* Current row in indirect block */
h5_stat_size_t empty_size; /* Size of a file with an empty heap */
size_t obj_size; /* Size of object */
size_t fill_size; /* Size of objects for "bulk" filled blocks */
@@ -9284,12 +9284,12 @@ test_man_fill_2nd_direct_less_one_wrap_start_block_add_skipped(hid_t fapl, H5HF_
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
fheap_heap_ids_t keep_ids; /* Structure to retain heap IDs */
unsigned
- num_first_indirect_rows; /* Number of rows (of direct blocks) in each of the first indirect blocks */
+ num_first_indirect_rows; /* Number of rows (of direct blocks) in each of the first indirect blocks */
h5_stat_size_t empty_size; /* Size of a file with an empty heap */
size_t obj_size; /* Size of object */
size_t fill_size; /* Size of objects for "bulk" filled blocks */
@@ -9434,13 +9434,13 @@ test_man_fill_direct_skip_2nd_indirect_skip_2nd_block_add_skipped(hid_t fapl, H5
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
fheap_heap_ids_t keep_ids; /* Structure to retain heap IDs */
unsigned
- num_first_indirect_rows; /* Number of rows (of direct blocks) in each of the first indirect blocks */
- unsigned row; /* Current row in indirect block */
+ num_first_indirect_rows; /* Number of rows (of direct blocks) in each of the first indirect blocks */
+ unsigned row; /* Current row in indirect block */
h5_stat_size_t empty_size; /* Size of a file with an empty heap */
size_t obj_size; /* Size of object */
size_t fill_size; /* Size of objects for "bulk" filled blocks */
@@ -9607,12 +9607,12 @@ test_man_fill_direct_skip_indirect_two_rows_add_skipped(hid_t fapl, H5HF_create_
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
fheap_heap_ids_t keep_ids; /* Structure to retain heap IDs */
unsigned
- num_first_indirect_rows; /* Number of rows (of direct blocks) in each of the first indirect blocks */
+ num_first_indirect_rows; /* Number of rows (of direct blocks) in each of the first indirect blocks */
unsigned max_dblock_rows; /* Max. # of rows (of direct blocks) in the root indirect block */
h5_stat_size_t empty_size; /* Size of a file with an empty heap */
size_t obj_size; /* Size of object */
@@ -9764,12 +9764,12 @@ test_man_fill_direct_skip_indirect_two_rows_skip_indirect_row_add_skipped(hid_t
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
fheap_heap_ids_t keep_ids; /* Structure to retain heap IDs */
unsigned
- num_first_indirect_rows; /* Number of rows (of direct blocks) in each of the first indirect blocks */
+ num_first_indirect_rows; /* Number of rows (of direct blocks) in each of the first indirect blocks */
unsigned max_dblock_rows; /* Max. # of rows (of direct blocks) in the root indirect block */
h5_stat_size_t empty_size; /* Size of a file with an empty heap */
size_t obj_size; /* Size of object */
@@ -9949,8 +9949,8 @@ test_man_fill_2nd_direct_skip_start_block_add_skipped(hid_t fapl, H5HF_create_t
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
fheap_heap_ids_t keep_ids; /* Structure to retain heap IDs */
h5_stat_size_t empty_size; /* Size of a file with an empty heap */
@@ -10081,8 +10081,8 @@ test_man_fill_2nd_direct_skip_2nd_indirect_start_block_add_skipped(hid_t fapl, H
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
fheap_heap_ids_t keep_ids; /* Structure to retain heap IDs */
h5_stat_size_t empty_size; /* Size of a file with an empty heap */
@@ -10218,18 +10218,18 @@ error:
*/
static int
test_man_fill_2nd_direct_fill_direct_skip_3rd_indirect_start_block_add_skipped(hid_t fapl,
- H5HF_create_t * cparam,
+ H5HF_create_t *cparam,
fheap_test_param_t *tparam)
{
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
fheap_heap_ids_t keep_ids; /* Structure to retain heap IDs */
unsigned
- num_first_indirect_rows; /* Number of rows (of direct blocks) in each of the first indirect blocks */
+ num_first_indirect_rows; /* Number of rows (of direct blocks) in each of the first indirect blocks */
h5_stat_size_t empty_size; /* Size of a file with an empty heap */
size_t obj_size; /* Size of object */
size_t fill_size; /* Size of objects for "bulk" filled blocks */
@@ -10375,18 +10375,18 @@ error:
*/
static int
test_man_fill_2nd_direct_fill_direct_skip2_3rd_indirect_start_block_add_skipped(hid_t fapl,
- H5HF_create_t * cparam,
+ H5HF_create_t *cparam,
fheap_test_param_t *tparam)
{
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
fheap_heap_ids_t keep_ids; /* Structure to retain heap IDs */
unsigned
- num_first_indirect_rows; /* Number of rows (of direct blocks) in each of the first indirect blocks */
+ num_first_indirect_rows; /* Number of rows (of direct blocks) in each of the first indirect blocks */
h5_stat_size_t empty_size; /* Size of a file with an empty heap */
size_t obj_size; /* Size of object */
size_t fill_size; /* Size of objects for "bulk" filled blocks */
@@ -10548,12 +10548,12 @@ test_man_fill_3rd_direct_less_one_fill_direct_wrap_start_block_add_skipped(hid_t
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
fheap_heap_ids_t keep_ids; /* Structure to retain heap IDs */
unsigned
- num_first_indirect_rows; /* Number of rows (of direct blocks) in each of the first indirect blocks */
+ num_first_indirect_rows; /* Number of rows (of direct blocks) in each of the first indirect blocks */
h5_stat_size_t empty_size; /* Size of a file with an empty heap */
size_t obj_size; /* Size of object */
size_t fill_size; /* Size of objects for "bulk" filled blocks */
@@ -10716,18 +10716,18 @@ test_man_fill_1st_row_3rd_direct_fill_2nd_direct_less_one_wrap_start_block_add_s
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
fheap_heap_ids_t keep_ids; /* Structure to retain heap IDs */
unsigned
- num_first_indirect_rows; /* Number of rows (of direct blocks) in each of the first indirect blocks */
+ num_first_indirect_rows; /* Number of rows (of direct blocks) in each of the first indirect blocks */
h5_stat_size_t empty_size; /* Size of a file with an empty heap */
size_t obj_size; /* Size of object */
size_t fill_size; /* Size of objects for "bulk" filled blocks */
fheap_heap_state_t state; /* State of fractal heap */
unsigned u; /* Local index variables */ /* Test description */
- const char * base_desc =
+ const char *base_desc =
"filling direct blocks, filling 2nd level indirect blocks, filling first row of 3rd level indirect "
"blocks, fill all direct blocks in next 3rd level indirect block, fill all 1st row of 2nd level "
"indirect blocks, except last one, and insert object too large for 2nd level indirect block, then "
@@ -10888,12 +10888,12 @@ test_man_fill_3rd_direct_fill_direct_skip_start_block_add_skipped(hid_t fapl, H5
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
fheap_heap_ids_t keep_ids; /* Structure to retain heap IDs */
unsigned
- num_first_indirect_rows; /* Number of rows (of direct blocks) in each of the first indirect blocks */
+ num_first_indirect_rows; /* Number of rows (of direct blocks) in each of the first indirect blocks */
h5_stat_size_t empty_size; /* Size of a file with an empty heap */
size_t obj_size; /* Size of object */
size_t fill_size; /* Size of objects for "bulk" filled blocks */
@@ -11055,12 +11055,12 @@ test_man_fill_3rd_direct_fill_2nd_direct_fill_direct_skip_3rd_indirect_start_blo
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
fheap_heap_ids_t keep_ids; /* Structure to retain heap IDs */
unsigned
- num_first_indirect_rows; /* Number of rows (of direct blocks) in each of the first indirect blocks */
+ num_first_indirect_rows; /* Number of rows (of direct blocks) in each of the first indirect blocks */
h5_stat_size_t empty_size; /* Size of a file with an empty heap */
size_t obj_size; /* Size of object */
size_t fill_size; /* Size of objects for "bulk" filled blocks */
@@ -11242,12 +11242,12 @@ test_man_fill_3rd_direct_fill_2nd_direct_fill_direct_skip_3rd_indirect_two_rows_
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
fheap_heap_ids_t keep_ids; /* Structure to retain heap IDs */
unsigned
- num_first_indirect_rows; /* Number of rows (of direct blocks) in each of the first indirect blocks */
+ num_first_indirect_rows; /* Number of rows (of direct blocks) in each of the first indirect blocks */
h5_stat_size_t empty_size; /* Size of a file with an empty heap */
size_t obj_size; /* Size of object */
size_t fill_size; /* Size of objects for "bulk" filled blocks */
@@ -11466,12 +11466,12 @@ test_man_fill_3rd_direct_fill_2nd_direct_fill_direct_skip_3rd_indirect_wrap_star
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
fheap_heap_ids_t keep_ids; /* Structure to retain heap IDs */
unsigned
- num_first_indirect_rows; /* Number of rows (of direct blocks) in each of the first indirect blocks */
+ num_first_indirect_rows; /* Number of rows (of direct blocks) in each of the first indirect blocks */
h5_stat_size_t empty_size; /* Size of a file with an empty heap */
size_t obj_size; /* Size of object */
size_t fill_size; /* Size of objects for "bulk" filled blocks */
@@ -11670,12 +11670,12 @@ test_man_fill_4th_direct_less_one_fill_2nd_direct_fill_direct_skip_3rd_indirect_
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
fheap_heap_ids_t keep_ids; /* Structure to retain heap IDs */
unsigned
- num_first_indirect_rows; /* Number of rows (of direct blocks) in each of the first indirect blocks */
+ num_first_indirect_rows; /* Number of rows (of direct blocks) in each of the first indirect blocks */
h5_stat_size_t empty_size; /* Size of a file with an empty heap */
size_t obj_size; /* Size of object */
size_t fill_size; /* Size of objects for "bulk" filled blocks */
@@ -11906,8 +11906,8 @@ test_man_frag_simple(hid_t fapl, H5HF_create_t *cparam, fheap_test_param_t *tpar
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
fheap_heap_ids_t keep_ids; /* Structure to retain heap IDs */
h5_stat_size_t empty_size; /* Size of a file with an empty heap */
@@ -12038,8 +12038,8 @@ test_man_frag_direct(hid_t fapl, H5HF_create_t *cparam, fheap_test_param_t *tpar
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
fheap_heap_ids_t keep_ids; /* Structure to retain heap IDs */
unsigned root_direct_rows; /* Number of rows in root indirect block */
@@ -12210,12 +12210,12 @@ test_man_frag_2nd_direct(hid_t fapl, H5HF_create_t *cparam, fheap_test_param_t *
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
fheap_heap_ids_t keep_ids; /* Structure to retain heap IDs */
unsigned
- num_first_indirect_rows; /* Number of rows (of direct blocks) in each of the first indirect blocks */
+ num_first_indirect_rows; /* Number of rows (of direct blocks) in each of the first indirect blocks */
h5_stat_size_t empty_size; /* Size of a file with an empty heap */
size_t obj_size; /* Size of object */
size_t fill_size; /* Size of objects for "bulk" filled blocks */
@@ -12326,8 +12326,8 @@ test_man_frag_3rd_direct(hid_t fapl, H5HF_create_t *cparam, fheap_test_param_t *
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
fheap_heap_ids_t keep_ids; /* Structure to retain heap IDs */
unsigned root_direct_rows; /* Number of rows in root indirect block */
@@ -12444,14 +12444,14 @@ test_huge_insert_one(hid_t fapl, H5HF_create_t *cparam, fheap_test_param_t *tpar
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
fheap_heap_ids_t keep_ids; /* Structure to retain heap IDs */
size_t id_len; /* Size of fractal heap IDs */
h5_stat_size_t empty_size; /* Size of a file with an empty heap */
h5_stat_size_t file_size; /* Size of file currently */
- unsigned char * heap_id = NULL; /* Heap ID for object */
+ unsigned char *heap_id = NULL; /* Heap ID for object */
size_t obj_size; /* Size of object */
size_t robj_size; /* Size of object read */
unsigned char obj_type; /* Type of storage for object */
@@ -12598,15 +12598,15 @@ test_huge_insert_two(hid_t fapl, H5HF_create_t *cparam, fheap_test_param_t *tpar
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
fheap_heap_ids_t keep_ids; /* Structure to retain heap IDs */
size_t id_len; /* Size of fractal heap IDs */
h5_stat_size_t empty_size; /* Size of a file with an empty heap */
h5_stat_size_t file_size; /* Size of file currently */
- unsigned char * heap_id = NULL; /* Heap ID for first object */
- unsigned char * heap_id2 = NULL; /* Heap ID for second object */
+ unsigned char *heap_id = NULL; /* Heap ID for first object */
+ unsigned char *heap_id2 = NULL; /* Heap ID for second object */
size_t obj_size; /* Size of object */
size_t robj_size; /* Size of object read */
unsigned char obj_type; /* Type of storage for object */
@@ -12832,16 +12832,16 @@ test_huge_insert_three(hid_t fapl, H5HF_create_t *cparam, fheap_test_param_t *tp
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
fheap_heap_ids_t keep_ids; /* Structure to retain heap IDs */
size_t id_len; /* Size of fractal heap IDs */
h5_stat_size_t empty_size; /* Size of a file with an empty heap */
h5_stat_size_t file_size; /* Size of file currently */
- unsigned char * heap_id = NULL; /* Heap ID for first object */
- unsigned char * heap_id2 = NULL; /* Heap ID for second object */
- unsigned char * heap_id3 = NULL; /* Heap ID for third object */
+ unsigned char *heap_id = NULL; /* Heap ID for first object */
+ unsigned char *heap_id2 = NULL; /* Heap ID for second object */
+ unsigned char *heap_id3 = NULL; /* Heap ID for third object */
size_t obj_size; /* Size of object */
size_t robj_size; /* Size of object read */
unsigned char obj_type; /* Type of storage for object */
@@ -13141,18 +13141,18 @@ test_huge_insert_mix(hid_t fapl, H5HF_create_t *cparam, fheap_test_param_t *tpar
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
fheap_heap_ids_t keep_ids; /* Structure to retain heap IDs */
size_t id_len; /* Size of fractal heap IDs */
h5_stat_size_t empty_size; /* Size of a file with an empty heap */
h5_stat_size_t file_size; /* Size of file currently */
- unsigned char * heap_id = NULL; /* Heap ID for first object */
- unsigned char * heap_id2 = NULL; /* Heap ID for second object */
- unsigned char * heap_id3 = NULL; /* Heap ID for third object */
- unsigned char * heap_id4 = NULL; /* Heap ID for fourth object */
- unsigned char * heap_id5 = NULL; /* Heap ID for fifth object */
+ unsigned char *heap_id = NULL; /* Heap ID for first object */
+ unsigned char *heap_id2 = NULL; /* Heap ID for second object */
+ unsigned char *heap_id3 = NULL; /* Heap ID for third object */
+ unsigned char *heap_id4 = NULL; /* Heap ID for fourth object */
+ unsigned char *heap_id5 = NULL; /* Heap ID for fifth object */
size_t obj_size; /* Size of object */
size_t robj_size; /* Size of object read */
unsigned char obj_type; /* Type of storage for object */
@@ -13568,15 +13568,15 @@ test_filtered_huge(hid_t fapl, H5HF_create_t *cparam, fheap_test_param_t *tparam
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
H5HF_create_t tmp_cparam; /* Local heap creation parameters */
fheap_heap_ids_t keep_ids; /* Structure to retain heap IDs */
size_t id_len; /* Size of fractal heap IDs */
h5_stat_size_t empty_size; /* Size of a file with an empty heap */
h5_stat_size_t file_size; /* Size of file currently */
- unsigned char * heap_id = NULL; /* Heap ID for object */
+ unsigned char *heap_id = NULL; /* Heap ID for object */
size_t obj_size; /* Size of object */
size_t robj_size; /* Size of object read */
unsigned char obj_type; /* Type of storage for object */
@@ -13784,14 +13784,14 @@ test_tiny_insert_one(hid_t fapl, H5HF_create_t *cparam, fheap_test_param_t *tpar
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
fheap_heap_ids_t keep_ids; /* Structure to retain heap IDs */
size_t id_len; /* Size of fractal heap IDs */
h5_stat_size_t empty_size; /* Size of a file with an empty heap */
h5_stat_size_t file_size; /* Size of file currently */
- unsigned char * heap_id = NULL; /* Heap ID for object */
+ unsigned char *heap_id = NULL; /* Heap ID for object */
size_t obj_size; /* Size of object */
size_t robj_size; /* Size of object read */
unsigned char obj_type; /* Type of storage for object */
@@ -13938,15 +13938,15 @@ test_tiny_insert_two(hid_t fapl, H5HF_create_t *cparam, fheap_test_param_t *tpar
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
fheap_heap_ids_t keep_ids; /* Structure to retain heap IDs */
size_t id_len; /* Size of fractal heap IDs */
h5_stat_size_t empty_size; /* Size of a file with an empty heap */
h5_stat_size_t file_size; /* Size of file currently */
- unsigned char * heap_id = NULL; /* Heap ID for first object */
- unsigned char * heap_id2 = NULL; /* Heap ID for second object */
+ unsigned char *heap_id = NULL; /* Heap ID for first object */
+ unsigned char *heap_id2 = NULL; /* Heap ID for second object */
size_t obj_size; /* Size of object */
size_t robj_size; /* Size of object read */
unsigned char obj_type; /* Type of storage for object */
@@ -14173,20 +14173,20 @@ test_tiny_insert_mix(hid_t fapl, H5HF_create_t *cparam, fheap_test_param_t *tpar
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
fheap_heap_ids_t keep_ids; /* Structure to retain heap IDs */
size_t id_len; /* Size of fractal heap IDs */
h5_stat_size_t empty_size; /* Size of a file with an empty heap */
h5_stat_size_t file_size; /* Size of file currently */
- unsigned char * heap_id = NULL; /* Heap ID for first object */
- unsigned char * heap_id2 = NULL; /* Heap ID for second object */
- unsigned char * heap_id3 = NULL; /* Heap ID for third object */
- unsigned char * heap_id4 = NULL; /* Heap ID for fourth object */
- unsigned char * heap_id5 = NULL; /* Heap ID for fifth object */
- unsigned char * heap_id6 = NULL; /* Heap ID for sixth object */
- unsigned char * heap_id7 = NULL; /* Heap ID for seventh object */
+ unsigned char *heap_id = NULL; /* Heap ID for first object */
+ unsigned char *heap_id2 = NULL; /* Heap ID for second object */
+ unsigned char *heap_id3 = NULL; /* Heap ID for third object */
+ unsigned char *heap_id4 = NULL; /* Heap ID for fourth object */
+ unsigned char *heap_id5 = NULL; /* Heap ID for fifth object */
+ unsigned char *heap_id6 = NULL; /* Heap ID for sixth object */
+ unsigned char *heap_id7 = NULL; /* Heap ID for seventh object */
size_t obj_size; /* Size of object */
size_t robj_size; /* Size of object read */
unsigned char obj_type; /* Type of storage for object */
@@ -14785,8 +14785,8 @@ test_filtered_man_root_direct(hid_t fapl, H5HF_create_t *cparam, fheap_test_para
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
H5HF_create_t tmp_cparam; /* Local heap creation parameters */
fheap_heap_ids_t keep_ids; /* Structure to retain heap IDs */
@@ -14960,8 +14960,8 @@ test_filtered_man_root_indirect(hid_t fapl, H5HF_create_t *cparam, fheap_test_pa
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
H5HF_create_t tmp_cparam; /* Local heap creation parameters */
fheap_heap_ids_t keep_ids; /* Structure to retain heap IDs */
@@ -15279,8 +15279,8 @@ test_random(hsize_t size_limit, hid_t fapl, H5HF_create_t *cparam, fheap_test_pa
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
H5HF_create_t tmp_cparam; /* Local heap creation parameters */
size_t id_len; /* Size of fractal heap IDs */
@@ -15489,8 +15489,8 @@ test_random_pow2(hsize_t size_limit, hid_t fapl, H5HF_create_t *cparam, fheap_te
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
H5HF_create_t tmp_cparam; /* Local heap creation parameters */
size_t id_len; /* Size of fractal heap IDs */
@@ -15725,15 +15725,15 @@ test_write(hid_t fapl, H5HF_create_t *cparam, fheap_test_param_t *tparam)
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
H5HF_create_t tmp_cparam; /* Local heap creation parameters */
size_t id_len; /* Size of fractal heap IDs */
unsigned char tiny_heap_id[HEAP_ID_LEN]; /* Heap ID for 'tiny' object */
unsigned char huge_heap_id[HEAP_ID_LEN]; /* Heap ID for 'huge' object */
hbool_t id_changed = FALSE; /* Whether the heap ID changed */
- unsigned char * rewrite_obj = NULL; /* Pointer to re-write buffer for objects */
+ unsigned char *rewrite_obj = NULL; /* Pointer to re-write buffer for objects */
fheap_heap_ids_t keep_ids; /* Structure to retain heap IDs */
h5_stat_size_t empty_size; /* Size of a file with an empty heap */
size_t obj_size; /* Size of object */
@@ -16002,8 +16002,8 @@ test_bug1(hid_t fapl, H5HF_create_t *cparam, fheap_test_param_t *tparam)
hid_t file = -1; /* File ID */
hid_t dxpl = H5P_DATASET_XFER_DEFAULT; /* DXPL to use */
char filename[FHEAP_FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5HF_t * fh = NULL; /* Fractal heap wrapper */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5HF_t *fh = NULL; /* Fractal heap wrapper */
haddr_t fh_addr; /* Address of fractal heap */
size_t id_len; /* Size of fractal heap IDs */
fheap_heap_ids_t keep_ids; /* Structure to retain heap IDs */
diff --git a/test/file_image.c b/test/file_image.c
index 6c1747b..259fe4c 100644
--- a/test/file_image.c
+++ b/test/file_image.c
@@ -83,10 +83,10 @@ test_properties(void)
{
hid_t fapl_1 = -1;
hid_t fapl_2 = -1;
- char * buffer = 0;
+ char *buffer = 0;
int count = 10;
- void * temp = 0;
- char * temp2 = 0;
+ void *temp = 0;
+ char *temp2 = 0;
int i;
size_t size;
size_t temp_size;
@@ -336,9 +336,9 @@ test_callbacks(void)
H5FD_file_image_callbacks_t callbacks;
hid_t fapl_1;
hid_t fapl_2;
- udata_t * udata;
- char * file_image;
- char * temp_file_image;
+ udata_t *udata;
+ char *file_image;
+ char *temp_file_image;
int count = 10;
int i;
size_t size;
@@ -548,11 +548,11 @@ test_core(void)
hid_t file;
hid_t dset;
hid_t space;
- udata_t * udata;
- unsigned char * file_image;
+ udata_t *udata;
+ unsigned char *file_image;
char filename[1024];
char copied_filename[1024];
- const char * tmp = NULL;
+ const char *tmp = NULL;
size_t size;
hsize_t dims[2];
int fd;
@@ -704,9 +704,9 @@ static int
test_get_file_image(const char *test_banner, const int file_name_num, hid_t fapl)
{
char file_name[1024] = "\0";
- void * insertion_ptr = NULL;
- void * image_ptr = NULL;
- void * file_image_ptr = NULL;
+ void *insertion_ptr = NULL;
+ void *image_ptr = NULL;
+ void *file_image_ptr = NULL;
hbool_t is_family_file = FALSE;
hbool_t identical;
int data[100];
@@ -958,7 +958,7 @@ test_get_file_image_error_rejection(void)
{
const char *memb_name[H5FD_MEM_NTYPES];
char file_name[1024] = "\0";
- void * image_ptr = NULL;
+ void *image_ptr = NULL;
int data[100];
int i;
hid_t fapl_id = -1;
diff --git a/test/fillval.c b/test/fillval.c
index 8e1f7a0..0ff0657 100644
--- a/test/fillval.c
+++ b/test/fillval.c
@@ -298,8 +298,8 @@ test_getset_vl(hid_t fapl)
hid_t fileid = (-1), spaceid = (-1), dtypeid = (-1), datasetid = (-1), plistid = (-1);
char fill_value[] = "aaaa";
char orig_fill_value[] = "aaaa";
- char * f1 = fill_value;
- char * f2;
+ char *f1 = fill_value;
+ char *f2;
char filename[1024];
TESTING("property lists, with variable-length datatype");
@@ -886,7 +886,7 @@ test_rdwr_cases(hid_t file, hid_t dcpl, const char *dname, void *_fillval, H5D_f
int i, j, *buf = NULL, odd;
unsigned u;
comp_datatype rd_c, fill_c, should_be_c;
- comp_datatype * buf_c = NULL;
+ comp_datatype *buf_c = NULL;
H5D_space_status_t allocation;
if (datatype == H5T_INTEGER) {
@@ -1409,7 +1409,7 @@ error:
static int
test_extend_init_integer(void *_buf, size_t nelmts, const void *_val)
{
- int * buf = (int *)_buf; /* Buffer to initialize */
+ int *buf = (int *)_buf; /* Buffer to initialize */
const int *val = (const int *)_val; /* Value to use */
while (nelmts) {
@@ -1492,7 +1492,7 @@ test_extend_release_integer(void H5_ATTR_UNUSED *_elmt)
static int
test_extend_init_cmpd_vl(void *_buf, size_t nelmts, const void *_val)
{
- comp_vl_datatype * buf = (comp_vl_datatype *)_buf; /* Buffer to initialize */
+ comp_vl_datatype *buf = (comp_vl_datatype *)_buf; /* Buffer to initialize */
const comp_vl_datatype *val = (const comp_vl_datatype *)_val; /* Value to use */
while (nelmts) {
@@ -1604,12 +1604,12 @@ test_extend_cases(hid_t file, hid_t _dcpl, const char *dset_name, hsize_t *ch_si
int (*verify_rtn)(unsigned, const hsize_t *, const void *, const void *);
int (*release_rtn)(void *);
size_t val_size; /* Size of element */
- void * val_rd, *odd_val;
- const void * init_val, *should_be, *even_val;
+ void *val_rd, *odd_val;
+ const void *init_val, *should_be, *even_val;
int val_rd_i, init_val_i = 9999;
comp_vl_datatype init_val_c = {87, "baz", "mumble", 129};
comp_vl_datatype val_rd_c;
- void * buf = NULL;
+ void *buf = NULL;
unsigned odd; /* Whether an odd or even coord. was read */
unsigned i, j; /* Local index variables */
@@ -2212,7 +2212,7 @@ test_compatible(void)
hsize_t dims[2], one[2] = {1, 1};
hsize_t hs_offset[2] = {3, 4};
H5D_fill_value_t status;
- const char * testfile = H5_get_srcdir_filename(FILE_COMPATIBLE); /* Corrected test file name */
+ const char *testfile = H5_get_srcdir_filename(FILE_COMPATIBLE); /* Corrected test file name */
TESTING("contiguous dataset compatibility with v. 1.4");
diff --git a/test/filter_fail.c b/test/filter_fail.c
index bcad18d..2e32abe 100644
--- a/test/filter_fail.c
+++ b/test/filter_fail.c
@@ -60,7 +60,7 @@ static size_t
filter_fail(unsigned int flags, size_t H5_ATTR_UNUSED cd_nelmts, const unsigned int H5_ATTR_UNUSED *cd_values,
size_t nbytes, size_t *buf_size, void **buf)
{
- int * dst = (int *)(*buf);
+ int *dst = (int *)(*buf);
size_t ret_value = 0;
if (flags & H5Z_FLAG_REVERSE) { /* do nothing during read */
diff --git a/test/freespace.c b/test/freespace.c
index 1d74d8a..71c4ab2 100644
--- a/test/freespace.c
+++ b/test/freespace.c
@@ -282,7 +282,7 @@ TEST_sect_free(H5FS_section_info_t *sect)
static herr_t
TEST_sect_can_shrink(const H5FS_section_info_t *_sect, void *_udata)
{
- unsigned * can_shrink = (unsigned *)_udata;
+ unsigned *can_shrink = (unsigned *)_udata;
const TEST_free_section_t *sect = (const TEST_free_section_t *)_sect;
haddr_t end, eoa;
@@ -307,7 +307,7 @@ static herr_t
TEST_sect_shrinking(H5FS_section_info_t **_sect, void *_udata)
{
TEST_free_section_t **sect = (TEST_free_section_t **)_sect;
- unsigned * can_shrink = (unsigned *)_udata;
+ unsigned *can_shrink = (unsigned *)_udata;
/* address of the section is faked, so, doesn't need to do anything */
/* just free the section node */
@@ -329,7 +329,7 @@ static herr_t
TEST_sects_cb(H5FS_section_info_t *_sect, void *_udata)
{
TEST_free_section_t *sect = (TEST_free_section_t *)_sect;
- TEST_iter_ud_t * udata = (TEST_iter_ud_t *)_udata;
+ TEST_iter_ud_t *udata = (TEST_iter_ud_t *)_udata;
herr_t ret_value = SUCCEED; /* Return value */
HDassert(sect);
@@ -441,8 +441,8 @@ test_fs_create(hid_t fapl)
{
hid_t file = -1; /* File ID */
char filename[FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5FS_t * frsp = NULL; /* pointer to free space structure */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5FS_t *frsp = NULL; /* pointer to free space structure */
haddr_t fs_addr; /* address of free space */
h5_stat_size_t file_size, empty_size; /* File size */
frspace_state_t state; /* State of free space*/
@@ -579,8 +579,8 @@ test_fs_sect_add(hid_t fapl)
{
hid_t file = -1; /* File ID */
char filename[FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5FS_t * frsp = NULL; /* pointer to free space structure */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5FS_t *frsp = NULL; /* pointer to free space structure */
haddr_t fs_addr = HADDR_UNDEF; /* address of free space */
size_t nclasses;
H5FS_create_t cparam; /* creation parameters */
@@ -915,8 +915,8 @@ test_fs_sect_find(hid_t fapl)
{
hid_t file = -1; /* File ID */
char filename[FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5FS_t * frsp = NULL; /* pointer to free space structure */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5FS_t *frsp = NULL; /* pointer to free space structure */
haddr_t fs_addr = HADDR_UNDEF; /* address of free space */
size_t nclasses;
H5FS_create_t cparam; /* creation parameters */
@@ -1307,8 +1307,8 @@ test_fs_sect_merge(hid_t fapl)
{
hid_t file = -1; /* File ID */
char filename[FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5FS_t * frsp = NULL; /* pointer to free space structure */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5FS_t *frsp = NULL; /* pointer to free space structure */
haddr_t fs_addr = HADDR_UNDEF; /* address of free space */
size_t nclasses;
H5FS_create_t cparam; /* creation parameters */
@@ -1796,8 +1796,8 @@ test_fs_sect_shrink(hid_t fapl)
{
hid_t file = -1; /* File ID */
char filename[FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5FS_t * frsp = NULL; /* pointer to free space structure */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5FS_t *frsp = NULL; /* pointer to free space structure */
haddr_t fs_addr = HADDR_UNDEF; /* address of free space */
size_t nclasses;
H5FS_create_t cparam; /* creation parameters */
@@ -2146,8 +2146,8 @@ test_fs_sect_change_class(hid_t fapl)
{
hid_t file = -1; /* File ID */
char filename[FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5FS_t * frsp = NULL; /* pointer to free space structure */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5FS_t *frsp = NULL; /* pointer to free space structure */
haddr_t fs_addr = HADDR_UNDEF; /* address of free space */
size_t nclasses;
H5FS_create_t cparam; /* creation parameters */
@@ -2442,8 +2442,8 @@ test_fs_sect_extend(hid_t fapl)
{
hid_t file = -1; /* File ID */
char filename[FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5FS_t * frsp = NULL; /* pointer to free space structure */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5FS_t *frsp = NULL; /* pointer to free space structure */
haddr_t fs_addr = HADDR_UNDEF; /* address of free space */
size_t nclasses;
H5FS_create_t cparam; /* creation parameters */
@@ -2803,8 +2803,8 @@ test_fs_sect_iterate(hid_t fapl)
{
hid_t file = -1; /* File ID */
char filename[FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
- H5FS_t * frsp = NULL; /* pointer to free space structure */
+ H5F_t *f = NULL; /* Internal file object pointer */
+ H5FS_t *frsp = NULL; /* pointer to free space structure */
haddr_t fs_addr = HADDR_UNDEF; /* address of free space */
size_t nclasses;
H5FS_create_t cparam; /* creation parameters */
diff --git a/test/gen_deflate.c b/test/gen_deflate.c
index d11ed09..734c2b8 100644
--- a/test/gen_deflate.c
+++ b/test/gen_deflate.c
@@ -51,7 +51,7 @@ main(void)
hsize_t dims[SPACE_RANK] = {SPACE_DIM1, SPACE_DIM2};
hsize_t chunk_dims[SPACE_RANK] = {CHUNK_DIM1, CHUNK_DIM2};
size_t i, j; /* Local index variables */
- int * data = NULL; /* Dataset data */
+ int *data = NULL; /* Dataset data */
/* Initialize the data */
/* (Try for something easily compressible) */
diff --git a/test/gen_file_image.c b/test/gen_file_image.c
index b5e07da..b39e449 100644
--- a/test/gen_file_image.c
+++ b/test/gen_file_image.c
@@ -43,7 +43,7 @@ main(void)
hid_t fid = -1, sid = -1, did = -1;
hsize_t dims[SPACE_RANK] = {SPACE_DIM1, SPACE_DIM2};
size_t i, j; /* Local index variables */
- int * data = NULL; /* Dataset data */
+ int *data = NULL; /* Dataset data */
/* Initialize the data */
if (NULL == (data = (int *)HDmalloc(SPACE_DIM1 * SPACE_DIM2 * sizeof(int))))
diff --git a/test/gheap.c b/test/gheap.c
index f259789..ef8a0ae 100644
--- a/test/gheap.c
+++ b/test/gheap.c
@@ -67,7 +67,7 @@ static int
test_1(hid_t fapl)
{
hid_t file = H5I_INVALID_HID;
- H5F_t * f = NULL;
+ H5F_t *f = NULL;
H5HG_t *obj = NULL;
uint8_t out[GHEAP_TEST_NOBJS];
uint8_t in[GHEAP_TEST_NOBJS];
@@ -176,7 +176,7 @@ static int
test_2(hid_t fapl)
{
hid_t file = H5I_INVALID_HID;
- H5F_t * f = NULL;
+ H5F_t *f = NULL;
H5HG_t *obj = NULL;
uint8_t out[GHEAP_TEST_NOBJS];
uint8_t in[GHEAP_TEST_NOBJS];
@@ -276,7 +276,7 @@ static int
test_3(hid_t fapl)
{
hid_t file = H5I_INVALID_HID;
- H5F_t * f = NULL;
+ H5F_t *f = NULL;
H5HG_t *obj = NULL;
uint8_t out[GHEAP_TEST_NOBJS];
size_t u;
@@ -367,7 +367,7 @@ static int
test_4(hid_t fapl)
{
hid_t file = H5I_INVALID_HID;
- H5F_t * f = NULL;
+ H5F_t *f = NULL;
H5HG_t *obj = NULL;
uint8_t out[GHEAP_TEST_NOBJS];
size_t u;
@@ -464,9 +464,9 @@ static int
test_ooo_indices(hid_t fapl)
{
hid_t file = H5I_INVALID_HID;
- H5F_t * f = NULL;
+ H5F_t *f = NULL;
unsigned i, j;
- H5HG_t * obj = NULL;
+ H5HG_t *obj = NULL;
herr_t status;
int nerrors = 0;
char filename[1024];
diff --git a/test/h5test.c b/test/h5test.c
index 35cb572..7373f03 100644
--- a/test/h5test.c
+++ b/test/h5test.c
@@ -110,7 +110,7 @@ const char *LIBVER_NAMES[] = {"earliest", /* H5F_LIBVER_EARLIEST = 0 */
static H5E_auto2_t err_func = NULL;
static herr_t h5_errors(hid_t estack, void *client_data);
-static char * h5_fixname_real(const char *base_name, hid_t fapl, const char *suffix, char *fullname,
+static char *h5_fixname_real(const char *base_name, hid_t fapl, const char *suffix, char *fullname,
size_t size, hbool_t nest_printf);
/*-------------------------------------------------------------------------
@@ -535,7 +535,7 @@ h5_fixname_real(const char *base_name, hid_t fapl, const char *_suffix, char *fu
{
const char *prefix = NULL;
const char *env = NULL; /* HDF5_DRIVER environment variable */
- char * ptr, last = '\0';
+ char *ptr, last = '\0';
const char *suffix = _suffix;
size_t i, j;
hid_t driver = -1;
@@ -863,7 +863,7 @@ h5_get_vfd_fapl(hid_t fapl)
{
const char *env = NULL; /* HDF5_DRIVER environment variable */
const char *tok = NULL; /* strtok pointer */
- char * lasts = NULL; /* Context pointer for strtok_r() call */
+ char *lasts = NULL; /* Context pointer for strtok_r() call */
char buf[1024]; /* buffer for tokenizing HDF5_DRIVER */
/* Get the environment variable, if it exists */
@@ -921,7 +921,7 @@ h5_get_vfd_fapl(hid_t fapl)
H5FD_mem_t memb_map[H5FD_MEM_NTYPES];
hid_t memb_fapl[H5FD_MEM_NTYPES];
const char *memb_name[H5FD_MEM_NTYPES];
- char * sv[H5FD_MEM_NTYPES];
+ char *sv[H5FD_MEM_NTYPES];
haddr_t memb_addr[H5FD_MEM_NTYPES];
H5FD_mem_t mt;
@@ -1120,7 +1120,7 @@ h5_set_info_object(void)
do {
size_t len;
- char * key_val, *endp, *namep;
+ char *key_val, *endp, *namep;
if (*valp == ';')
valp++;
@@ -1520,7 +1520,7 @@ h5_make_local_copy(const char *origfilename, const char *local_copy_name)
{
int fd_old = (-1), fd_new = (-1); /* File descriptors for copying data */
ssize_t nread; /* Number of bytes read in */
- void * buf = NULL; /* Buffer for copying data */
+ void *buf = NULL; /* Buffer for copying data */
const char *filename = H5_get_srcdir_filename(origfilename); /* Get the test file name to copy */
/* Allocate copy buffer */
@@ -1725,7 +1725,7 @@ h5_send_message(const char *send, const char *arg1, const char *arg2)
herr_t
h5_wait_message(const char *waitfor)
{
- FILE * returnfile;
+ FILE *returnfile;
time_t t0, t1;
/* Start timer. If this function runs for too long (i.e.,
diff --git a/test/h5test.h b/test/h5test.h
index 8efa7b8..3ccdbb3 100644
--- a/test/h5test.h
+++ b/test/h5test.h
@@ -255,9 +255,9 @@ extern "C" {
/* Generally useful testing routines */
H5TEST_DLL void h5_clean_files(const char *base_name[], hid_t fapl);
H5TEST_DLL int h5_cleanup(const char *base_name[], hid_t fapl);
-H5TEST_DLL char * h5_fixname(const char *base_name, hid_t fapl, char *fullname, size_t size);
-H5TEST_DLL char * h5_fixname_no_suffix(const char *base_name, hid_t fapl, char *fullname, size_t size);
-H5TEST_DLL char * h5_fixname_printf(const char *base_name, hid_t fapl, char *fullname, size_t size);
+H5TEST_DLL char *h5_fixname(const char *base_name, hid_t fapl, char *fullname, size_t size);
+H5TEST_DLL char *h5_fixname_no_suffix(const char *base_name, hid_t fapl, char *fullname, size_t size);
+H5TEST_DLL char *h5_fixname_printf(const char *base_name, hid_t fapl, char *fullname, size_t size);
H5TEST_DLL hid_t h5_fileaccess(void);
H5TEST_DLL hid_t h5_fileaccess_flags(unsigned flags);
H5TEST_DLL void h5_no_hwconv(void);
@@ -269,8 +269,8 @@ H5TEST_DLL h5_stat_size_t h5_get_file_size(const char *filename, hid_t fapl);
H5TEST_DLL int print_func(const char *format, ...);
H5TEST_DLL int h5_make_local_copy(const char *origfilename, const char *local_copy_name);
H5TEST_DLL herr_t h5_verify_cached_stabs(const char *base_name[], hid_t fapl);
-H5TEST_DLL H5FD_class_t *h5_get_dummy_vfd_class(void);
-H5TEST_DLL char * h5_get_version_string(H5F_libver_t libver);
+H5TEST_DLL H5FD_class_t *h5_get_dummy_vfd_class(void);
+H5TEST_DLL char *h5_get_version_string(H5F_libver_t libver);
/* Functions that will replace components of a FAPL */
H5TEST_DLL herr_t h5_get_vfd_fapl(hid_t fapl_id);
diff --git a/test/hdfs.c b/test/hdfs.c
index a9e0dea..d8d0afc 100644
--- a/test/hdfs.c
+++ b/test/hdfs.c
@@ -419,7 +419,7 @@ test_fapl_config_validation(void)
*************************/
struct testcase {
- const char * msg;
+ const char *msg;
herr_t expected;
H5FD_hdfs_fapl_t config;
};
@@ -794,7 +794,7 @@ test_vfd_open(void)
};
unsigned i = 0;
unsigned failing_conditions_count = 10;
- H5FD_t * fd = NULL;
+ H5FD_t *fd = NULL;
hid_t fapl_hdfs = -1;
hid_t fapl_unconfigured = -1;
@@ -1030,7 +1030,7 @@ test_H5FDread_without_eoa_set_fails(void)
{
char buffer[HDFS_TEST_MAX_BUF_SIZE];
unsigned int i = 0;
- H5FD_t * file_shakespeare = NULL;
+ H5FD_t *file_shakespeare = NULL;
hid_t fapl_id = -1;
TESTING("HDFS VFD read-eoa temporal coupling library limitation");
@@ -1194,7 +1194,7 @@ test_read(void)
herr_t open_return = FAIL;
char buffer[HDFS_TEST_MAX_BUF_SIZE];
unsigned int i = 0;
- H5FD_t * file_raven = NULL;
+ H5FD_t *file_raven = NULL;
hid_t fapl_id = -1;
TESTING("HDFS VFD read/range-gets");
@@ -1326,7 +1326,7 @@ test_noops_and_autofails(void)
************************/
hid_t fapl_id = -1;
- H5FD_t * file = NULL;
+ H5FD_t *file = NULL;
const char data[36] = "The Force shall be with you, always";
TESTING("HDFS VFD always-fail and no-op routines");
diff --git a/test/hyperslab.c b/test/hyperslab.c
index 4427e0b..18b15ae 100644
--- a/test/hyperslab.c
+++ b/test/hyperslab.c
@@ -299,8 +299,8 @@ static herr_t
test_copy(int mode, size_t nx, size_t ny, size_t nz, size_t di, size_t dj, size_t dk, size_t ddx, size_t ddy,
size_t ddz)
{
- uint8_t * src = NULL; /*source array */
- uint8_t * dst = NULL; /*destination array */
+ uint8_t *src = NULL; /*source array */
+ uint8_t *dst = NULL; /*destination array */
hsize_t hs_size[3]; /*hyperslab size */
hsize_t dst_size[3]; /*destination total size */
hsize_t src_size[3]; /*source total size */
@@ -764,8 +764,8 @@ error:
static herr_t
test_transpose(size_t nx, size_t ny)
{
- int * src = NULL;
- int * dst = NULL;
+ int *src = NULL;
+ int *dst = NULL;
hsize_t src_stride[2], dst_stride[2];
hsize_t size[2];
char s[256];
@@ -1012,7 +1012,7 @@ error:
static herr_t
test_array_fill(size_t lo, size_t hi)
{
- int * dst = NULL; /* Destination */
+ int *dst = NULL; /* Destination */
int src[ARRAY_FILL_SIZE]; /* Source to duplicate */
size_t u, v, w; /* Local index variables */
char s[256];
diff --git a/test/lheap.c b/test/lheap.c
index 38bc0d8..22b1f69 100644
--- a/test/lheap.c
+++ b/test/lheap.c
@@ -48,10 +48,10 @@ main(void)
{
hid_t fapl = H5P_DEFAULT; /* file access properties */
hid_t file = -1; /* hdf5 file */
- H5F_t * f = NULL; /* hdf5 file pointer */
+ H5F_t *f = NULL; /* hdf5 file pointer */
char filename[1024]; /* file name */
haddr_t heap_addr; /* local heap address */
- H5HL_t * heap = NULL; /* local heap */
+ H5HL_t *heap = NULL; /* local heap */
size_t obj[NOBJS]; /* offsets within the heap */
int i, j; /* miscellaneous counters */
char buf[1024]; /* the value to store */
diff --git a/test/links.c b/test/links.c
index b28b1c2..676f5cb 100644
--- a/test/links.c
+++ b/test/links.c
@@ -152,7 +152,7 @@ typedef struct {
int stop; /* # of iterations to stop after */
int64_t curr; /* Current creation order value */
size_t max_visit; /* Size of "visited link" flag array */
- hbool_t * visited; /* Pointer to array of "visited link" flags */
+ hbool_t *visited; /* Pointer to array of "visited link" flags */
} link_iter_info_t;
/* Link visit structs */
@@ -746,7 +746,7 @@ long_links(hid_t fapl, hbool_t new_format)
hid_t fid = -1; /* File ID */
hid_t gid = -1; /* Group ID */
hid_t gid2 = -1; /* Datatype ID */
- char * objname = NULL; /* Name of object [Long] */
+ char *objname = NULL; /* Name of object [Long] */
size_t u; /* Local index variable */
char filename[NAME_BUF_SIZE];
@@ -4659,8 +4659,8 @@ external_set_elink_cb(hid_t fapl, hbool_t new_format)
base_driver == H5FD_MPIO || base_driver == H5FD_CORE)
? H5P_DEFAULT
: fapl;
- op_data.fam_size = ELINK_CB_FAM_SIZE;
- op_data.code = 0;
+ op_data.fam_size = ELINK_CB_FAM_SIZE;
+ op_data.code = 0;
/* Create family fapl */
if ((fam_fapl = H5Pcopy(fapl)) < 0)
@@ -14207,7 +14207,7 @@ link_iterate(hid_t fapl)
char objname[NAME_BUF_SIZE]; /* Object name */
char filename[NAME_BUF_SIZE]; /* File name */
link_iter_info_t iter_info; /* Iterator info */
- hbool_t * visited = NULL; /* Array of flags for visiting links */
+ hbool_t *visited = NULL; /* Array of flags for visiting links */
hsize_t skip; /* # of links to skip in group */
unsigned u; /* Local index variable */
herr_t ret; /* Generic return value */
@@ -14710,7 +14710,7 @@ link_iterate_old(hid_t fapl)
char objname[NAME_BUF_SIZE]; /* Object name */
char filename[NAME_BUF_SIZE]; /* File name */
link_iter_info_t iter_info; /* Iterator info */
- hbool_t * visited = NULL; /* Array of flags for visiting links */
+ hbool_t *visited = NULL; /* Array of flags for visiting links */
hsize_t skip; /* # of links to skip in group */
unsigned u; /* Local index variable */
herr_t ret; /* Generic return value */
@@ -14954,7 +14954,7 @@ open_by_idx(hid_t fapl)
char filename[NAME_BUF_SIZE]; /* File name */
char objname[NAME_BUF_SIZE]; /* Object name */
char valname[2 * NAME_BUF_SIZE]; /* Link value */
- haddr_t * objno = NULL; /* Addresses of the objects created */
+ haddr_t *objno = NULL; /* Addresses of the objects created */
unsigned u; /* Local index variable */
hid_t ret; /* Generic return value */
@@ -15451,7 +15451,7 @@ object_info(hid_t fapl)
char objname[NAME_BUF_SIZE]; /* Object name */
char valname[2 * NAME_BUF_SIZE]; /* Link value */
char attrname[NAME_BUF_SIZE]; /* Attribute name */
- haddr_t * objno = NULL; /* Addresses of the objects created */
+ haddr_t *objno = NULL; /* Addresses of the objects created */
herr_t ret; /* Generic return value */
unsigned u, v; /* Local index variables */
diff --git a/test/mf.c b/test/mf.c
index 46ad331..88ae63b 100644
--- a/test/mf.c
+++ b/test/mf.c
@@ -166,7 +166,7 @@ test_mf_eoa(const char *env_h5_drvr, hid_t fapl)
hid_t file = -1; /* File ID */
hid_t fapl_new = -1; /* copy of fapl */
char filename[FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
h5_stat_size_t file_size, new_file_size; /* file size */
H5FD_mem_t type;
haddr_t addr1, addr2;
@@ -314,7 +314,7 @@ test_mf_eoa_shrink(const char *env_h5_drvr, hid_t fapl)
hid_t file = -1; /* File ID */
hid_t fapl_new = -1; /* copy of fapl */
char filename[FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
h5_stat_size_t file_size = 0, new_file_size; /* file size */
H5FD_mem_t type;
haddr_t addr = 0;
@@ -601,7 +601,7 @@ test_mf_eoa_extend(const char *env_h5_drvr, hid_t fapl)
hid_t file = -1; /* File ID */
hid_t fapl_new = -1; /* copy of fapl */
char filename[FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
h5_stat_size_t file_size, new_file_size; /* File size */
H5FD_mem_t type;
haddr_t addr;
@@ -819,7 +819,7 @@ test_mf_tmp(const char *env_h5_drvr, hid_t fapl)
/* Can't run this test with multi-file VFDs */
if (HDstrcmp(env_h5_drvr, "split") && HDstrcmp(env_h5_drvr, "multi") && HDstrcmp(env_h5_drvr, "family")) {
char filename[FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
h5_stat_size_t file_size, new_file_size; /* file size */
haddr_t maxaddr; /* File's max. address */
haddr_t tmp_addr; /* Temporary space file address */
@@ -991,7 +991,7 @@ test_mf_fs_start(hid_t fapl)
hid_t file = -1; /* File ID */
hid_t fapl_new = -1; /* copy of fapl */
char filename[FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
h5_stat_size_t file_size, new_file_size; /* file size */
H5FD_mem_t type;
frspace_state_t state;
@@ -1105,7 +1105,7 @@ test_mf_fs_alloc_free(hid_t fapl)
hid_t file = -1; /* File ID */
hid_t fapl_new = -1; /* copy of fapl */
char filename[FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
h5_stat_size_t file_size, new_file_size; /* file size */
H5FD_mem_t type;
H5MF_free_section_t *sect_node = NULL;
@@ -1465,7 +1465,7 @@ test_mf_fs_extend(hid_t fapl)
hid_t file = -1; /* File ID */
hid_t fapl_new = -1; /* copy of fapl */
char filename[FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
h5_stat_size_t file_size, new_file_size; /* file size */
H5FD_mem_t type;
H5MF_free_section_t *sect_node1 = NULL, *sect_node2 = NULL;
@@ -2021,7 +2021,7 @@ test_mf_fs_absorb(const char *env_h5_drvr, hid_t fapl)
{
hid_t file = -1; /* File ID */
char filename[FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
H5FD_mem_t type, stype;
haddr_t addr, saddr;
haddr_t ma_addr = HADDR_UNDEF;
@@ -2228,7 +2228,7 @@ test_mf_aggr_alloc1(const char *env_h5_drvr, hid_t fapl)
{
hid_t file = -1; /* File ID */
char filename[FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
h5_stat_size_t file_size, new_file_size; /* file size */
H5FD_mem_t type;
haddr_t addr1, addr2;
@@ -2363,7 +2363,7 @@ test_mf_aggr_alloc2(const char *env_h5_drvr, hid_t fapl)
{
hid_t file = -1; /* File ID */
char filename[FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
h5_stat_size_t file_size, new_file_size; /* file size */
H5FD_mem_t type;
haddr_t addr1, addr2, addr3;
@@ -2518,7 +2518,7 @@ test_mf_aggr_alloc3(const char *env_h5_drvr, hid_t fapl)
{
hid_t file = -1; /* File ID */
char filename[FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
h5_stat_size_t file_size, new_file_size; /* file size */
H5FD_mem_t type, stype;
haddr_t addr1, addr2, addr3, addr4, saddr1;
@@ -2686,7 +2686,7 @@ test_mf_aggr_alloc4(const char *env_h5_drvr, hid_t fapl)
{
hid_t file = -1; /* File ID */
char filename[FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
h5_stat_size_t file_size, new_file_size; /* File size */
H5FD_mem_t type, stype;
haddr_t addr1, addr2, saddr1, saddr2, saddr3;
@@ -2835,7 +2835,7 @@ test_mf_aggr_alloc5(const char *env_h5_drvr, hid_t fapl)
{
hid_t file = -1; /* File ID */
char filename[FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
h5_stat_size_t file_size, new_file_size; /* File size */
H5FD_mem_t type;
haddr_t addr1, addr2, addr3;
@@ -2970,7 +2970,7 @@ test_mf_aggr_alloc6(const char *env_h5_drvr, hid_t fapl)
{
hid_t file = -1; /* File ID */
char filename[FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
h5_stat_size_t file_size, new_file_size; /* file size */
H5FD_mem_t type, stype;
haddr_t addr1, addr2, addr3, saddr1;
@@ -3142,7 +3142,7 @@ test_mf_aggr_alloc7(const char *env_h5_drvr, hid_t fapl)
{
hid_t file = -1; /* File ID */
char filename[FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
h5_stat_size_t empty_size, file_size;
H5FD_mem_t type, stype;
haddr_t addr1, addr2, addr3, saddr1, saddr2, saddr3;
@@ -3313,7 +3313,7 @@ test_mf_aggr_extend(const char *env_h5_drvr, hid_t fapl)
{
hid_t file = -1; /* File ID */
char filename[FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
h5_stat_size_t empty_size, file_size;
H5FD_mem_t type, stype;
haddr_t new_addr, addr, saddr;
@@ -3617,7 +3617,7 @@ test_mf_aggr_absorb(const char *env_h5_drvr, hid_t fapl)
{
hid_t file = -1; /* File ID */
char filename[FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
h5_stat_size_t empty_size, file_size;
H5FD_mem_t type, stype;
haddr_t addr1, addr2, addr3, saddr1;
@@ -3868,7 +3868,7 @@ test_mf_align_eoa(const char *env_h5_drvr, hid_t fapl, hid_t new_fapl)
hid_t file = -1; /* File ID */
hid_t fapl1;
char filename[FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
h5_stat_size_t file_size, new_file_size;
H5FD_mem_t type;
haddr_t addr1, addr2;
@@ -4161,7 +4161,7 @@ test_mf_align_fs(const char *env_h5_drvr, hid_t fapl, hid_t new_fapl)
hid_t file = -1; /* File ID */
char filename[FILENAME_LEN]; /* Filename to use */
h5_stat_size_t file_size;
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
H5FD_mem_t type;
H5MF_free_section_t *sect_node = NULL;
haddr_t addr;
@@ -4544,7 +4544,7 @@ test_mf_align_alloc1(const char *env_h5_drvr, hid_t fapl, hid_t new_fapl)
{
hid_t file = -1; /* File ID */
char filename[FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
h5_stat_size_t file_size; /* File size */
H5FD_mem_t type;
@@ -4809,7 +4809,7 @@ test_mf_align_alloc2(const char *env_h5_drvr, hid_t fapl, hid_t new_fapl)
{
hid_t file = -1; /* File ID */
char filename[FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
h5_stat_size_t file_size; /* File size */
H5FD_mem_t type, stype;
haddr_t addr1, addr2, addr3, saddr1;
@@ -5156,7 +5156,7 @@ test_mf_align_alloc3(const char *env_h5_drvr, hid_t fapl, hid_t new_fapl)
{
hid_t file = -1; /* File ID */
char filename[FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
h5_stat_size_t file_size;
H5FD_mem_t type, stype;
haddr_t addr1, addr2, addr3;
@@ -5468,7 +5468,7 @@ test_mf_align_alloc4(const char *env_h5_drvr, hid_t fapl, hid_t new_fapl)
{
hid_t file = -1; /* File ID */
char filename[FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
h5_stat_size_t file_size;
H5FD_mem_t type;
haddr_t addr1, addr2, addr3;
@@ -5687,7 +5687,7 @@ test_mf_align_alloc5(const char *env_h5_drvr, hid_t fapl, hid_t new_fapl)
{
hid_t file = -1; /* File ID */
char filename[FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
h5_stat_size_t file_size;
H5FD_mem_t type, stype;
haddr_t addr1, addr2, saddr1;
@@ -5959,7 +5959,7 @@ test_mf_align_alloc6(const char *env_h5_drvr, hid_t fapl, hid_t new_fapl)
{
hid_t file = -1; /* File ID */
char filename[FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
h5_stat_size_t file_size;
H5FD_mem_t type, stype;
haddr_t addr1, addr2;
@@ -6169,7 +6169,7 @@ test_mf_bug1(const char *env_h5_drvr, hid_t fapl)
hid_t file = -1; /* File ID */
hid_t copied_fapl = -1; /* FAPL to use for this test */
char filename[FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
H5FD_mem_t type;
haddr_t addr1, addr2;
hsize_t block_size;
@@ -6221,7 +6221,7 @@ test_mf_bug1(const char *env_h5_drvr, hid_t fapl)
else {
H5FD_mem_t memb_map[H5FD_MEM_NTYPES];
hid_t memb_fapl_arr[H5FD_MEM_NTYPES];
- char * memb_name[H5FD_MEM_NTYPES];
+ char *memb_name[H5FD_MEM_NTYPES];
haddr_t memb_addr[H5FD_MEM_NTYPES];
hbool_t relax;
H5FD_mem_t mt;
@@ -6356,7 +6356,7 @@ test_dichotomy(const char *env_h5_drvr, hid_t fapl)
{
hid_t file = -1; /* File ID */
char filename[FILENAME_LEN]; /* Filename to use */
- H5F_t * f = NULL; /* Internal file object pointer */
+ H5F_t *f = NULL; /* Internal file object pointer */
H5FD_mem_t type, stype;
haddr_t addr1, addr3, saddr1, saddr2;
hbool_t contig_addr_vfd; /* Whether VFD used has a contigous address space */
diff --git a/test/mtime.c b/test/mtime.c
index a4c931b..5e41f23 100644
--- a/test/mtime.c
+++ b/test/mtime.c
@@ -57,7 +57,7 @@ main(void)
hid_t fapl, file, space, dset;
hsize_t size[1] = {2};
time_t now;
- struct tm * tm;
+ struct tm *tm;
H5O_info_t oi1, oi2;
signed char buf1[32], buf2[32];
char filename[1024];
diff --git a/test/ntypes.c b/test/ntypes.c
index 77a1416..43fe6eb 100644
--- a/test/ntypes.c
+++ b/test/ntypes.c
@@ -79,7 +79,7 @@ test_atomic_dtype(hid_t file)
hid_t dtype = -1, native_type = -1;
int i, j, n;
hsize_t dims[2];
- void * tmp = NULL;
+ void *tmp = NULL;
TESTING("atomic datatype");
@@ -325,9 +325,9 @@ test_compound_dtype2(hid_t file)
nest_mem_id = -1;
int i, j, n;
hsize_t dims[2];
- s1 * temp_point = NULL, *temp_check = NULL;
- s1 * points = NULL, *check = NULL;
- void * tmp = NULL, *bkg = NULL;
+ s1 *temp_point = NULL, *temp_check = NULL;
+ s1 *points = NULL, *check = NULL;
+ void *tmp = NULL, *bkg = NULL;
TESTING("nested compound datatype");
@@ -648,12 +648,12 @@ test_compound_dtype(hid_t file)
hid_t dtype = -1, native_type = -1, tid = -1, tid2 = -1, mem_id = -1;
int i, j, n;
hsize_t dims[2];
- s1 * temp_point = NULL;
- s1 * temp_check = NULL;
- s1 * points = NULL;
- s1 * check = NULL;
- void * tmp = NULL;
- void * bkg = NULL;
+ s1 *temp_point = NULL;
+ s1 *temp_check = NULL;
+ s1 *points = NULL;
+ s1 *check = NULL;
+ void *tmp = NULL;
+ void *bkg = NULL;
TESTING("compound datatype");
@@ -863,9 +863,9 @@ test_compound_dtype3(hid_t file)
hsize_t array_dims[1] = {5};
int i, j, k, n;
hsize_t dims[2];
- s1 * temp_point = NULL, *temp_check = NULL;
- s1 * points = NULL, *check = NULL;
- void * tmp = NULL, *bkg = NULL;
+ s1 *temp_point = NULL, *temp_check = NULL;
+ s1 *points = NULL, *check = NULL;
+ void *tmp = NULL, *bkg = NULL;
TESTING("compound datatype with array as field");
@@ -1102,9 +1102,9 @@ test_compound_opaque(hid_t file)
hid_t dtype = -1, native_type = -1, tid = -1, tid2 = -1, tid_m = -1, mem_id = -1;
int i, j, k, n;
hsize_t dims[2];
- s1 * temp_point = NULL, *temp_check = NULL;
- s1 * points = NULL, *check = NULL;
- void * tmp = NULL, *bkg = NULL;
+ s1 *temp_point = NULL, *temp_check = NULL;
+ s1 *points = NULL, *check = NULL;
+ void *tmp = NULL, *bkg = NULL;
TESTING("compound datatype with opaque field");
@@ -1324,10 +1324,10 @@ test_enum_dtype(hid_t file)
hid_t tid = -1, tid_m = -1, dtype = -1, native_type = -1;
int i, j, n;
hsize_t dims[2];
- void * tmp = NULL;
+ void *tmp = NULL;
short colors[8];
unsigned char sub_colors[16];
- const char * mname[] = {"RED", "GREEN", "BLUE", "YELLOW", "PINK", "PURPLE", "ORANGE", "WHITE"};
+ const char *mname[] = {"RED", "GREEN", "BLUE", "YELLOW", "PINK", "PURPLE", "ORANGE", "WHITE"};
TESTING("enum datatype");
@@ -1473,9 +1473,9 @@ test_array_dtype(hid_t file)
hid_t dtype = -1, native_type = -1, tid = -1, tid2 = -1, tid3 = -1, tid_m = -1;
int i, j, k, n;
hsize_t space_dims[2], array_dims[1] = {5};
- s1 * temp_point = NULL, *temp_check = NULL;
- s1 * points = NULL, *check = NULL;
- void * tmp = NULL;
+ s1 *temp_point = NULL, *temp_check = NULL;
+ s1 *points = NULL, *check = NULL;
+ void *tmp = NULL;
TESTING("array of compound datatype");
@@ -1656,7 +1656,7 @@ test_array_dtype2(hid_t file)
hid_t dtype = -1, native_type = -1, tid = -1, tid_m = -1;
int i, j, k, n;
hsize_t space_dims[2], array_dims[1] = {5};
- void * tmp = NULL;
+ void *tmp = NULL;
TESTING("array of atomic datatype");
@@ -1789,12 +1789,12 @@ test_vl_dtype(hid_t file)
{
hvl_t wdata[SPACE1_DIM1]; /* Information to write */
hvl_t rdata[SPACE1_DIM1]; /* Information read in */
- hvl_t * t1, *t2; /* Temporary pointer to VL information */
+ hvl_t *t1, *t2; /* Temporary pointer to VL information */
hsize_t dims1[] = {SPACE1_DIM1};
hid_t dataset = -1, space = -1;
hid_t dtype = -1, native_type = -1, nat_super_type = -1, tid = -1, tid2 = -1, tid_m = -1, tid_m2 = -1;
size_t i, j, k;
- void ** tmp = NULL;
+ void **tmp = NULL;
TESTING("variable length datatype");
@@ -1999,7 +1999,7 @@ test_vlstr_dtype(hid_t file)
"conceived in liberty and dedicated to the proposition that all men are created equal.",
"Now we are engaged in a great civil war,",
"testing whether that nation or any nation so conceived and so dedicated can long endure."};
- char * rdata[SPACE1_DIM1]; /* Information read in */
+ char *rdata[SPACE1_DIM1]; /* Information read in */
hbool_t rdata_alloc = FALSE; /* Whether the read data is allocated */
hid_t dataset = -1; /* Dataset ID */
hid_t sid1 = -1; /* Dataspace ID */
@@ -2442,7 +2442,7 @@ test_refer_dtype2(hid_t file)
rbuf; /* buffer read from disk */
uint8_t *dwbuf = NULL, /* Buffer for writing numeric data to disk */
*drbuf = NULL; /* Buffer for reading numeric data from disk */
- uint8_t * tu8 = NULL; /* Temporary pointer to uint8 data */
+ uint8_t *tu8 = NULL; /* Temporary pointer to uint8 data */
H5O_type_t obj_type; /* Object type */
int i; /* counting variables */
@@ -2749,7 +2749,7 @@ test_bitfield_dtype(hid_t file)
size_t ntype_size, i;
unsigned char wbuf[BITFIELD_ENUMB * sizeof(int)];
unsigned char *p = NULL;
- void * rbuf = NULL;
+ void *rbuf = NULL;
unsigned int intw[BITFIELD_ENUMB], intr[BITFIELD_ENUMB];
hsize_t nelmts;
diff --git a/test/objcopy.c b/test/objcopy.c
index 2de533b..b9d1343 100644
--- a/test/objcopy.c
+++ b/test/objcopy.c
@@ -744,8 +744,8 @@ compare_attribute(hid_t aid, hid_t aid2, hid_t pid, const void *wbuf, hid_t obj_
H5A_info_t ainfo; /* Attribute info */
H5A_info_t ainfo2; /* Attribute info */
hssize_t nelmts; /* # of elements in dataspace */
- void * rbuf = NULL; /* Buffer for reading raw data */
- void * rbuf2 = NULL; /* Buffer for reading raw data */
+ void *rbuf = NULL; /* Buffer for reading raw data */
+ void *rbuf2 = NULL; /* Buffer for reading raw data */
/* Check the character sets are equal */
if (H5Aget_info(aid, &ainfo) < 0)
@@ -1304,8 +1304,8 @@ compare_datasets(hid_t did, hid_t did2, hid_t pid, const void *wbuf)
int ext_count; /* Number of external files in plist */
int nfilters; /* Number of filters applied to dataset */
hssize_t nelmts; /* # of elements in dataspace */
- void * rbuf = NULL; /* Buffer for reading raw data */
- void * rbuf2 = NULL; /* Buffer for reading raw data */
+ void *rbuf = NULL; /* Buffer for reading raw data */
+ void *rbuf2 = NULL; /* Buffer for reading raw data */
H5D_space_status_t space_status; /* Dataset's raw dataspace status */
H5D_space_status_t space_status2; /* Dataset's raw dataspace status */
@@ -4521,7 +4521,7 @@ test_copy_dataset_multi_ohdr_chunks(hid_t fcpl_src, hid_t fcpl_dst, hid_t src_fa
else
/* open the group for copy */
if ((gid = H5Gopen2(fid_src, NAME_GROUP_TOP, H5P_DEFAULT)) < 0)
- FAIL_STACK_ERROR
+ FAIL_STACK_ERROR
/* open the destination group */
if ((gid2 = H5Gopen2(fid_dst, NAME_GROUP_TOP, H5P_DEFAULT)) < 0)
@@ -8623,7 +8623,7 @@ test_copy_dataset_compact_vl_vl(hid_t fcpl_src, hid_t fcpl_dst, hid_t src_fapl,
unsigned int i, j, k; /* Local index variables */
hsize_t dim1d[1]; /* Dataset dimensions */
hvl_t buf[DIM_SIZE_1]; /* Buffer for writing data */
- hvl_t * tvl; /* Temporary pointer to VL information */
+ hvl_t *tvl; /* Temporary pointer to VL information */
char src_filename[NAME_BUF_SIZE];
char dst_filename[NAME_BUF_SIZE];
@@ -8811,7 +8811,7 @@ test_copy_dataset_contig_vl_vl(hid_t fcpl_src, hid_t fcpl_dst, hid_t src_fapl, h
unsigned int i, j, k; /* Local index variables */
hsize_t dim1d[1]; /* Dataset dimensions */
hvl_t buf[DIM_SIZE_1]; /* Buffer for writing data */
- hvl_t * tvl; /* Temporary pointer to VL information */
+ hvl_t *tvl; /* Temporary pointer to VL information */
char src_filename[NAME_BUF_SIZE];
char dst_filename[NAME_BUF_SIZE];
@@ -9002,7 +9002,7 @@ test_copy_dataset_chunked_vl_vl(hid_t fcpl_src, hid_t fcpl_dst, hid_t src_fapl,
unsigned int i, j, k; /* Local index variables */
hsize_t dim1d[1]; /* Dataset dimensions */
hvl_t buf[DIM_SIZE_1]; /* Buffer for writing data */
- hvl_t * tvl; /* Temporary pointer to VL information */
+ hvl_t *tvl; /* Temporary pointer to VL information */
hsize_t chunk_dim1d[1] = {CHUNK_SIZE_1}; /* Chunk dimensions */
char src_filename[NAME_BUF_SIZE];
char dst_filename[NAME_BUF_SIZE];
@@ -9189,7 +9189,7 @@ test_copy_dataset_compressed_vl_vl(hid_t fcpl_src, hid_t fcpl_dst, hid_t src_fap
unsigned int i, j, k; /* Local index variables */
hsize_t dim1d[1]; /* Dataset dimensions */
hvl_t buf[DIM_SIZE_1]; /* Buffer for writing data */
- hvl_t * tvl; /* Temporary pointer to VL information */
+ hvl_t *tvl; /* Temporary pointer to VL information */
hsize_t chunk_dim1d[1] = {CHUNK_SIZE_1}; /* Chunk dimensions */
char src_filename[NAME_BUF_SIZE];
char dst_filename[NAME_BUF_SIZE];
diff --git a/test/ohdr.c b/test/ohdr.c
index e821593..b8f0c20 100644
--- a/test/ohdr.c
+++ b/test/ohdr.c
@@ -53,12 +53,12 @@ static herr_t
test_cont(char *filename, hid_t fapl)
{
hid_t file = -1;
- H5F_t * f = NULL;
+ H5F_t *f = NULL;
H5O_hdr_info_t hdr_info;
H5O_loc_t oh_locA, oh_locB;
time_t time_new;
- const char * short_name = "T";
- const char * long_name = "This is the message";
+ const char *short_name = "T";
+ const char *long_name = "This is the message";
size_t nchunks;
TESTING("object header continuation block");
@@ -162,8 +162,8 @@ test_ohdr_cache(char *filename, hid_t fapl)
hid_t my_fapl; /* FAPL ID */
hid_t my_dxpl; /* DXPL ID */
H5AC_cache_config_t mdc_config; /* Metadata cache configuration info */
- H5F_t * f = NULL; /* File handle */
- H5HL_t * lheap, *lheap2, *lheap3; /* Pointer to local heaps */
+ H5F_t *f = NULL; /* File handle */
+ H5HL_t *lheap, *lheap2, *lheap3; /* Pointer to local heaps */
haddr_t lheap_addr, lheap_addr2, lheap_addr3; /* Local heap addresses */
H5O_loc_t oh_loc; /* Object header location */
time_t time_new; /* Time value for modification time message */
@@ -601,7 +601,7 @@ main(void)
{
hid_t fapl = -1, file = -1;
hid_t dset = -1;
- H5F_t * f = NULL;
+ H5F_t *f = NULL;
char filename[1024];
H5O_hdr_info_t hdr_info; /* Object info */
H5O_loc_t oh_loc, oh_loc2; /* Object header locations */
diff --git a/test/plugin.c b/test/plugin.c
index e73e87a..858a904 100644
--- a/test/plugin.c
+++ b/test/plugin.c
@@ -83,7 +83,7 @@ test_filter_internal(hid_t fid, const char *name, hid_t dcpl)
const hsize_t size[2] = {DSET_DIM1, DSET_DIM2}; /* Dataspace dimensions */
const hsize_t hs_offset[2] = {FILTER_HS_OFFSET1, FILTER_HS_OFFSET2}; /* Hyperslab offset */
const hsize_t hs_size[2] = {FILTER_HS_SIZE1, FILTER_HS_SIZE2}; /* Hyperslab size */
- void * tconv_buf = NULL; /* Temporary conversion buffer */
+ void *tconv_buf = NULL; /* Temporary conversion buffer */
int points[DSET_DIM1][DSET_DIM2], check[DSET_DIM1][DSET_DIM2];
size_t i, j; /* Local index variables */
int n = 0;
@@ -456,7 +456,7 @@ test_read_data(hid_t dataset, int *origin_data)
herr_t ret_value = -1;
int check[DSET_DIM1][DSET_DIM2];
const hsize_t size[2] = {DSET_DIM1, DSET_DIM2}; /* Dataspace dimensions */
- int * data_p = origin_data;
+ int *data_p = origin_data;
size_t i, j; /* Local index variables */
/* Read the dataset back */
diff --git a/test/pool.c b/test/pool.c
index eee16d8..d5dfdcf 100644
--- a/test/pool.c
+++ b/test/pool.c
@@ -166,7 +166,7 @@ test_allocate_first(void)
H5MP_pool_t *mp; /* Memory pool */
H5MP_page_t *page; /* Memory pool page */
size_t free_size; /* Free size in pool */
- void * spc; /* Pointer to space allocated */
+ void *spc; /* Pointer to space allocated */
/*
* Test memory pool allocation
@@ -321,8 +321,8 @@ test_allocate_split(void)
{
H5MP_pool_t *mp; /* Memory pool */
size_t free_size; /* Free size in pool */
- void * spc1; /* Pointer to space allocated */
- void * spc2; /* Pointer to space allocated */
+ void *spc1; /* Pointer to space allocated */
+ void *spc2; /* Pointer to space allocated */
/*
* Test memory pool allocation
@@ -431,7 +431,7 @@ test_allocate_many_small(void)
{
H5MP_pool_t *mp; /* Memory pool */
size_t free_size; /* Free size in pool */
- void * spc[MPOOL_NUM_SMALL_BLOCKS]; /* Pointers to space allocated */
+ void *spc[MPOOL_NUM_SMALL_BLOCKS]; /* Pointers to space allocated */
int i; /* Local index variable */
/*
@@ -515,9 +515,9 @@ test_allocate_new_page(void)
H5MP_pool_t *mp; /* Memory pool */
size_t free_size; /* Free size in pool */
size_t u; /* Local index variable */
- void * spc[MPOOL_NUM_NORMAL_BLOCKS]; /* Pointer to space allocated */
- void * spc1; /* Pointer to space allocated */
- void * spc2; /* Pointer to space allocated */
+ void *spc[MPOOL_NUM_NORMAL_BLOCKS]; /* Pointer to space allocated */
+ void *spc1; /* Pointer to space allocated */
+ void *spc2; /* Pointer to space allocated */
/*
* Test memory pool allocation
@@ -648,10 +648,10 @@ test_allocate_random(void)
H5MP_pool_t *mp; /* Memory pool */
size_t u; /* Local index variable */
time_t curr_time; /* Current time, for seeding random number generator */
- size_t * blk_size = NULL; /* Pointer to block sizes */
- void ** spc = NULL; /* Pointer to space allocated */
+ size_t *blk_size = NULL; /* Pointer to block sizes */
+ void **spc = NULL; /* Pointer to space allocated */
size_t swap_idx; /* Location to swap with when shuffling */
- void * swap_ptr; /* Pointer to swap when shuffling */
+ void *swap_ptr; /* Pointer to swap when shuffling */
/*
* Test memory pool allocation
diff --git a/test/ros3.c b/test/ros3.c
index 5f1b73d..5f0bf90 100644
--- a/test/ros3.c
+++ b/test/ros3.c
@@ -430,7 +430,7 @@ test_fapl_config_validation(void)
*************************/
struct testcase {
- const char * msg;
+ const char *msg;
herr_t expected;
H5FD_ros3_fapl_t config;
};
@@ -818,7 +818,7 @@ test_vfd_open(void)
0,
},
};
- H5FD_t * fd = NULL;
+ H5FD_t *fd = NULL;
hbool_t curl_ready = FALSE;
hid_t fapl_id = -1;
hid_t fapl_file_access = -1;
@@ -1074,7 +1074,7 @@ test_H5FDread_without_eoa_set_fails(void)
{
char buffer[256];
unsigned int i = 0;
- H5FD_t * file_shakespeare = NULL;
+ H5FD_t *file_shakespeare = NULL;
hid_t fapl_id = -1;
TESTING("ROS3 VFD read-eoa temporal coupling library limitation ");
@@ -1248,7 +1248,7 @@ test_read(void)
herr_t open_return = FAIL;
char buffer[S3_TEST_MAX_URL_SIZE];
unsigned int i = 0;
- H5FD_t * file_raven = NULL;
+ H5FD_t *file_raven = NULL;
hid_t fapl_id = -1;
TESTING("ROS3 VFD read/range-gets");
@@ -1392,7 +1392,7 @@ test_noops_and_autofails(void)
hbool_t curl_ready = FALSE;
hid_t fapl_id = -1;
- H5FD_t * file = NULL;
+ H5FD_t *file = NULL;
const char data[36] = "The Force shall be with you, always";
TESTING("ROS3 VFD always-fail and no-op routines");
diff --git a/test/s3comms.c b/test/s3comms.c
index 239e3ed..f90278b 100644
--- a/test/s3comms.c
+++ b/test/s3comms.c
@@ -447,10 +447,10 @@ test_aws_canonical_request(void)
};
struct testcase {
- const char * exp_request;
- const char * exp_headers;
- const char * verb;
- const char * resource;
+ const char *exp_request;
+ const char *exp_headers;
+ const char *verb;
+ const char *resource;
unsigned int listsize;
struct header list[5];
};
@@ -500,10 +500,10 @@ test_aws_canonical_request(void)
}; /* struct testcase cases[] */
struct testcase *C = NULL;
char cr_dest[512]; /* canonical request */
- hrb_t * hrb = NULL; /* http request buffer object */
+ hrb_t *hrb = NULL; /* http request buffer object */
unsigned int i = 0; /* looping/indexing */
unsigned int j = 0; /* looping/indexing */
- hrb_node_t * node = NULL; /* http headers list pointer */
+ hrb_node_t *node = NULL; /* http headers list pointer */
unsigned int n_cases = 3;
char sh_dest[64]; /* signed headers */
@@ -753,7 +753,7 @@ test_hrb_init_request(void)
struct testcase *C = NULL;
unsigned int i = 0;
unsigned int ncases = 5;
- hrb_t * req = NULL;
+ hrb_t *req = NULL;
TESTING("hrb_init_request");
@@ -1123,7 +1123,7 @@ test_hrb_node_set(void)
for (test_i = 0; test_i < testcases_count; test_i++) {
const hrb_node_t *node = NULL;
- const testcase * test = &(cases[test_i]);
+ const testcase *test = &(cases[test_i]);
unsigned mock_i = 0;
/*********
@@ -1208,9 +1208,9 @@ test_HMAC_SHA256(void)
herr_t ret; /* SUCCEED/FAIL expected from call */
const unsigned char key[SHA256_DIGEST_LENGTH];
size_t key_len;
- const char * msg;
+ const char *msg;
size_t msg_len;
- const char * exp; /* not used if ret == FAIL */
+ const char *exp; /* not used if ret == FAIL */
size_t dest_size; /* if 0, `dest` is not malloc'd */
};
@@ -1406,14 +1406,14 @@ test_parse_url(void)
herr_t exp_ret; /* expected return; */
/* if FAIL, `expected` is unused */
const_purl_t expected;
- const char * msg;
+ const char *msg;
};
/************************
* test-local variables *
************************/
- parsed_url_t * purl = NULL;
+ parsed_url_t *purl = NULL;
unsigned int i = 0;
unsigned int ncases = 15;
struct testcase cases[] = {
@@ -1818,9 +1818,9 @@ test_s3r_open(void)
char url_raven_badport[S3_TEST_MAX_URL_SIZE];
char url_shakespeare[S3_TEST_MAX_URL_SIZE];
unsigned char signing_key[SHA256_DIGEST_LENGTH];
- struct tm * now = NULL;
+ struct tm *now = NULL;
char iso8601now[ISO8601_SIZE];
- s3r_t * handle = NULL;
+ s3r_t *handle = NULL;
hbool_t curl_ready = FALSE;
parsed_url_t *purl = NULL;
@@ -2021,7 +2021,7 @@ test_s3r_read(void)
char url_raven[S3_TEST_MAX_URL_SIZE];
char buffer[S3COMMS_TEST_BUFFER_SIZE];
- s3r_t * handle = NULL;
+ s3r_t *handle = NULL;
hbool_t curl_ready = FALSE;
unsigned int i = 0;
@@ -2182,9 +2182,9 @@ test_signing_key(void)
*************************/
struct testcase {
- const char * region;
- const char * secret_key;
- const char * when;
+ const char *region;
+ const char *secret_key;
+ const char *when;
unsigned char exp[SHA256_DIGEST_LENGTH];
};
@@ -2286,11 +2286,11 @@ test_tostringtosign(void)
* test-local variables *
************************/
- const char canonreq[] = "GET\n/"
- "test.txt\n\nhost:examplebucket.s3.amazonaws.com\nrange:bytes=0-9\nx-amz-content-"
- "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\nx-amz-"
- "date:20130524T000000Z\n\nhost;range;x-amz-content-sha256;x-amz-"
- "date\ne3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";
+ const char canonreq[] = "GET\n/"
+ "test.txt\n\nhost:examplebucket.s3.amazonaws.com\nrange:bytes=0-9\nx-amz-content-"
+ "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\nx-amz-"
+ "date:20130524T000000Z\n\nhost;range;x-amz-content-sha256;x-amz-"
+ "date\ne3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";
const char iso8601now[] = "20130524T000000Z";
const char region[] = "us-east-1";
char s2s[512];
@@ -2386,7 +2386,7 @@ test_trim(void)
size_t dest_len = 0;
int i = 0;
int n_cases = 5;
- char * str = NULL;
+ char *str = NULL;
TESTING("s3comms trim");
@@ -2496,7 +2496,7 @@ test_uriencode(void)
"",
}};
- char * dest = NULL;
+ char *dest = NULL;
size_t dest_written = 0;
int i = 0;
int ncases = 6;
diff --git a/test/set_extent.c b/test/set_extent.c
index e581741..afb87a5 100644
--- a/test/set_extent.c
+++ b/test/set_extent.c
@@ -153,7 +153,7 @@ main(void)
/* Set the "use the earliest version of the format" bounds for
* creating objects in the file */
if (H5Pset_libver_bounds(my_fapl, H5F_LIBVER_EARLIEST, H5F_LIBVER_LATEST) < 0)
- TEST_ERROR
+ TEST_ERROR
/* Tests which use chunked datasets */
nerrors += do_ranks(my_fapl) < 0 ? 1 : 0;
@@ -2127,7 +2127,7 @@ test_random_rank4(hid_t fapl, hid_t dcpl, hbool_t do_fillvalue, hbool_t do_spars
hsize_t dims[4]; /* Dataset's dimensions */
hsize_t old_dims[4]; /* Old dataset dimensions */
hsize_t min_unwritten_dims[4]; /* Minimum dimensions since last write */
- hsize_t * valid_dims = old_dims; /* Dimensions of region still containing written data */
+ hsize_t *valid_dims = old_dims; /* Dimensions of region still containing written data */
hsize_t cdims[4]; /* Chunk dimensions */
const hsize_t mdims[4] = {10, 10, 10, 10}; /* Memory buffer dimensions */
const hsize_t start[4] = {0, 0, 0, 0}; /* Start for hyperslabe operations on memory */
diff --git a/test/stab.c b/test/stab.c
index 4b27483..5396a0c 100644
--- a/test/stab.c
+++ b/test/stab.c
@@ -198,7 +198,7 @@ test_long(hid_t fapl, hbool_t new_format)
{
hid_t fid = (-1); /* File ID */
hid_t g1 = (-1), g2 = (-1);
- char * name1 = NULL, *name2 = NULL;
+ char *name1 = NULL, *name2 = NULL;
char filename[NAME_BUF_SIZE];
size_t i;
@@ -646,7 +646,7 @@ long_compact(hid_t fapl2)
hid_t fid = (-1); /* File ID */
hid_t gid = (-1); /* Group ID */
hid_t gid2 = (-1); /* Group ID */
- char * objname = NULL; /* Object name */
+ char *objname = NULL; /* Object name */
char filename[NAME_BUF_SIZE];
h5_stat_size_t empty_size; /* Size of an empty file */
h5_stat_size_t file_size; /* Size of each file created */
diff --git a/test/tarray.c b/test/tarray.c
index c885b90..697ad10 100644
--- a/test/tarray.c
+++ b/test/tarray.c
@@ -54,7 +54,7 @@
/* Struct used with test_array_bkg() test */
typedef struct {
int nsubfields;
- char * name[NMAX];
+ char *name[NMAX];
size_t offset[NMAX];
hid_t datatype[NMAX];
@@ -577,7 +577,7 @@ test_array_compound_atomic(void)
int ndims; /* Array rank for reading */
hsize_t rdims1[H5S_MAX_RANK]; /* Array dimensions for reading */
int nmemb; /* Number of compound members */
- char * mname; /* Name of compound field */
+ char *mname; /* Name of compound field */
size_t off; /* Offset of compound field */
hid_t mtid; /* Datatype ID for field */
int i, j; /* counting variables */
@@ -788,7 +788,7 @@ test_array_compound_array(void)
int ndims; /* Array rank for reading */
hsize_t rdims1[H5S_MAX_RANK]; /* Array dimensions for reading */
int nmemb; /* Number of compound members */
- char * mname; /* Name of compound field */
+ char *mname; /* Name of compound field */
size_t off; /* Offset of compound field */
hid_t mtid; /* Datatype ID for field */
H5T_class_t mclass; /* Datatype class for field */
@@ -1041,7 +1041,7 @@ test_array_compound_array(void)
void *
test_array_alloc_custom(size_t size, void *info)
{
- void * ret_value = NULL; /* Pointer to return */
+ void *ret_value = NULL; /* Pointer to return */
size_t *mem_used = (size_t *)info; /* Pointer to the memory used */
size_t extra; /* Extra space needed */
@@ -1077,7 +1077,7 @@ void
test_array_free_custom(void *_mem, void *info)
{
unsigned char *mem = NULL; /* Pointer to mem to be freed */
- size_t * mem_used = (size_t *)info; /* Pointer to the memory used */
+ size_t *mem_used = (size_t *)info; /* Pointer to the memory used */
size_t extra; /* Extra space needed */
/*
@@ -1908,7 +1908,7 @@ test_compat(void)
hsize_t rdims1[H5S_MAX_RANK]; /* Array dimensions for reading */
H5T_class_t mclass; /* Datatype class for VL */
int nmemb; /* Number of compound members */
- char * mname; /* Name of compound field */
+ char *mname; /* Name of compound field */
size_t off; /* Offset of compound field */
hid_t mtid; /* Datatype ID for field */
int i; /* Index variables */
diff --git a/test/tattr.c b/test/tattr.c
index 92e41c7..73fab20 100644
--- a/test/tattr.c
+++ b/test/tattr.c
@@ -147,7 +147,7 @@ typedef struct {
int stop; /* # of iterations to stop after */
int64_t curr; /* Current creation order value */
size_t max_visit; /* Size of "visited attribute" flag array */
- hbool_t * visited; /* Pointer to array of "visited attribute" flags */
+ hbool_t *visited; /* Pointer to array of "visited attribute" flags */
} attr_iter_info_t;
static herr_t attr_op1(hid_t loc_id, const char *name, const H5A_info_t *ainfo, void *op_data);
@@ -174,7 +174,7 @@ test_attr_basic_write(hid_t fapl)
hid_t attr, attr2; /* Attribute ID */
hsize_t attr_size; /* storage size for attribute */
ssize_t attr_name_size; /* size of attribute name */
- char * attr_name = NULL; /* name of attribute */
+ char *attr_name = NULL; /* name of attribute */
hsize_t dims1[] = {SPACE1_DIM1, SPACE1_DIM2, SPACE1_DIM3};
hsize_t dims2[] = {ATTR1_DIM1};
hsize_t dims3[] = {ATTR2_DIM1, ATTR2_DIM2};
@@ -778,7 +778,7 @@ test_attr_compound_read(hid_t fapl)
H5T_order_t order; /* Attribute datatype order */
size_t size; /* Attribute datatype size as stored in file */
int fields; /* # of Attribute datatype fields */
- char * fieldname; /* Name of a field */
+ char *fieldname; /* Name of a field */
size_t offset; /* Attribute datatype field offset */
hid_t field; /* Attribute field datatype */
struct attr4_struct read_data4[ATTR4_DIM1][ATTR4_DIM2]; /* Buffer for reading 4th attribute */
@@ -1402,7 +1402,7 @@ test_attr_mult_read(hid_t fapl)
static herr_t
attr_op1(hid_t H5_ATTR_UNUSED loc_id, const char *name, const H5A_info_t H5_ATTR_UNUSED *ainfo, void *op_data)
{
- int * count = (int *)op_data;
+ int *count = (int *)op_data;
herr_t ret = 0;
switch (*count) {
@@ -6807,10 +6807,10 @@ test_attr_iterate2(hbool_t new_format, hid_t fcpl, hid_t fapl)
H5_index_t idx_type; /* Type of index to operate on */
H5_iter_order_t order; /* Order within in the index */
attr_iter_info_t iter_info; /* Iterator info */
- hbool_t * visited = NULL; /* Array of flags for visiting links */
+ hbool_t *visited = NULL; /* Array of flags for visiting links */
hsize_t idx; /* Start index for iteration */
unsigned use_index; /* Use index on creation order values */
- const char * dsetname; /* Name of dataset for attributes */
+ const char *dsetname; /* Name of dataset for attributes */
char attrname[NAME_BUF_SIZE]; /* Name of attribute */
unsigned curr_dset; /* Current dataset to work on */
unsigned u; /* Local index variable */
@@ -8018,7 +8018,7 @@ test_attr_shared_write(hid_t fcpl, hid_t fapl)
htri_t is_shared; /* Is attributes shared? */
hsize_t shared_refcount; /* Reference count of shared attribute */
unsigned attr_value; /* Attribute value */
- unsigned * big_value; /* Data for "big" attribute */
+ unsigned *big_value; /* Data for "big" attribute */
size_t mesg_count; /* # of shared messages */
unsigned test_shared; /* Index over shared component type */
unsigned u; /* Local index variable */
diff --git a/test/testframe.c b/test/testframe.c
index e7b0e1d..b0df8fa 100644
--- a/test/testframe.c
+++ b/test/testframe.c
@@ -645,7 +645,7 @@ SetTest(const char *testname, int action)
void
TestAlarmOn(void)
{
- char * env_val = HDgetenv("HDF5_ALARM_SECONDS"); /* Alarm environment */
+ char *env_val = HDgetenv("HDF5_ALARM_SECONDS"); /* Alarm environment */
unsigned long alarm_sec = H5_ALARM_SEC; /* Number of seconds before alarm goes off */
/* Get the alarm value from the environment variable, if set */
diff --git a/test/tfile.c b/test/tfile.c
index 02a4e17..c7e77b5 100644
--- a/test/tfile.c
+++ b/test/tfile.c
@@ -995,7 +995,7 @@ test_get_obj_ids(void)
hid_t filespace;
hsize_t file_dims[F2_RANK] = {F2_DIM0, F2_DIM1};
ssize_t oid_count, ret_count;
- hid_t * oid_list = NULL;
+ hid_t *oid_list = NULL;
herr_t ret;
int i, m, n;
ssize_t oid_list_size = NDSETS;
@@ -2176,7 +2176,7 @@ CheckRead(hid_t did)
{
hid_t mtid = -1;
hid_t sid = -1;
- hvl_t * read = NULL;
+ hvl_t *read = NULL;
herr_t ret;
int ndims;
hsize_t dims[1] = {1};
diff --git a/test/tgenprop.c b/test/tgenprop.c
index 2996174..78df44c 100644
--- a/test/tgenprop.c
+++ b/test/tgenprop.c
@@ -71,7 +71,7 @@ test_genprop_basic_class(void)
hid_t cid1; /* Generic Property class ID */
hid_t cid2; /* Generic Property class ID */
hid_t cid3; /* Generic Property class ID */
- char * name; /* Name of class */
+ char *name; /* Name of class */
herr_t ret; /* Generic return value */
/* Output message about test being performed */
@@ -1796,7 +1796,7 @@ test_genprop_path(void)
hid_t cid1; /* Generic Property class ID */
hid_t cid2; /* Generic Property class ID */
hid_t cid3; /* Generic Property class ID */
- char * path; /* Class path */
+ char *path; /* Class path */
herr_t ret; /* Generic return value */
/* Output message about test being performed */
@@ -1869,7 +1869,7 @@ test_genprop_refcount(void)
{
hid_t cid1; /* Generic Property class ID */
hid_t lid1; /* Generic Property class ID */
- char * name; /* Name of class */
+ char *name; /* Name of class */
herr_t ret; /* Generic return value */
/* Output message about test being performed */
diff --git a/test/theap.c b/test/theap.c
index 0baaff8..209a03a 100644
--- a/test/theap.c
+++ b/test/theap.c
@@ -149,7 +149,7 @@ test_heap_create(void)
static void
test_heap_insert_min(void)
{
- H5HP_t * heap; /* Heap created */
+ H5HP_t *heap; /* Heap created */
ssize_t num; /* Number of elements in heap */
int val; /* Value of object on heap */
test_obj obj1, obj2, obj3; /* Test objects to insert */
@@ -223,7 +223,7 @@ test_heap_insert_min(void)
static void
test_heap_insert_max(void)
{
- H5HP_t * heap; /* Heap created */
+ H5HP_t *heap; /* Heap created */
ssize_t num; /* Number of elements in heap */
int val; /* Value of object on heap */
test_obj obj1, obj2, obj3; /* Test objects to insert */
@@ -390,10 +390,10 @@ test_heap_insert_many(void)
static void
test_heap_remove_min(void)
{
- H5HP_t * heap; /* Heap created */
+ H5HP_t *heap; /* Heap created */
ssize_t num; /* Number of elements in heap */
int val; /* Value of object on heap */
- void * ptr; /* Pointer for object on heap */
+ void *ptr; /* Pointer for object on heap */
test_obj obj1, obj2, obj3; /* Test objects to insert */
herr_t ret; /* Generic return value */
@@ -464,10 +464,10 @@ test_heap_remove_min(void)
static void
test_heap_remove_max(void)
{
- H5HP_t * heap; /* Heap created */
+ H5HP_t *heap; /* Heap created */
ssize_t num; /* Number of elements in heap */
int val; /* Value of object on heap */
- void * ptr; /* Pointer for object on heap */
+ void *ptr; /* Pointer for object on heap */
test_obj obj1, obj2, obj3; /* Test objects to insert */
herr_t ret; /* Generic return value */
@@ -555,7 +555,7 @@ test_heap_remove(void)
static void
test_heap_remove_many_core(H5HP_type_t heap_type, test_obj *arr, size_t nelem)
{
- H5HP_t * heap; /* Heap created */
+ H5HP_t *heap; /* Heap created */
ssize_t num; /* Number of elements in heap */
int last_val; /* Last value from the heap */
int val; /* Value of object on heap */
@@ -705,7 +705,7 @@ test_heap_remove_many(void)
static void
test_heap_change_min(void)
{
- H5HP_t * heap; /* Heap created */
+ H5HP_t *heap; /* Heap created */
ssize_t num; /* Number of elements in heap */
int val; /* Value of object on heap */
test_obj obj1, obj2, obj3; /* Test objects to insert */
@@ -779,7 +779,7 @@ test_heap_change_min(void)
static void
test_heap_change_max(void)
{
- H5HP_t * heap; /* Heap created */
+ H5HP_t *heap; /* Heap created */
ssize_t num; /* Number of elements in heap */
int val; /* Value of object on heap */
test_obj obj1, obj2, obj3; /* Test objects to insert */
@@ -871,7 +871,7 @@ test_heap_change(void)
static void
test_heap_incdec_min(void)
{
- H5HP_t * heap; /* Heap created */
+ H5HP_t *heap; /* Heap created */
ssize_t num; /* Number of elements in heap */
int val; /* Value of object on heap */
test_obj obj1, obj2, obj3; /* Test objects to insert */
@@ -946,7 +946,7 @@ test_heap_incdec_min(void)
static void
test_heap_incdec_max(void)
{
- H5HP_t * heap; /* Heap created */
+ H5HP_t *heap; /* Heap created */
ssize_t num; /* Number of elements in heap */
int val; /* Value of object on heap */
test_obj obj1, obj2, obj3; /* Test objects to insert */
diff --git a/test/tid.c b/test/tid.c
index 302f3be..cb51d62 100644
--- a/test/tid.c
+++ b/test/tid.c
@@ -26,8 +26,8 @@ basic_id_test(void)
{
H5I_type_t myType = H5I_BADID;
hid_t arrayID = H5I_INVALID_HID;
- void * testObj = NULL;
- void * testPtr = NULL;
+ void *testObj = NULL;
+ void *testPtr = NULL;
char nameString[10];
hid_t testID;
ssize_t testSize = -1;
@@ -244,10 +244,10 @@ test_search_func(void H5_ATTR_UNUSED *ptr1, void H5_ATTR_UNUSED *ptr2)
static int
id_predefined_test(void)
{
- void * testObj;
+ void *testObj;
hid_t testID;
hid_t typeID = H5I_INVALID_HID;
- void * testPtr;
+ void *testPtr;
herr_t testErr;
testObj = HDmalloc(sizeof(int));
@@ -574,9 +574,9 @@ static int
test_id_wrap(void)
{
H5I_type_t testType; /* ID class for testing */
- hid_t * id_array; /* Array of IDs allocated */
+ hid_t *id_array; /* Array of IDs allocated */
hid_t test_id; /* Test ID */
- void * obj; /* Object pointer returned for ID */
+ void *obj; /* Object pointer returned for ID */
unsigned u; /* Local index variable */
hsize_t nids; /* Number of IDs registered for type */
herr_t status; /* Status from routine */
diff --git a/test/titerate.c b/test/titerate.c
index 6b41fec..7bb83bb 100644
--- a/test/titerate.c
+++ b/test/titerate.c
@@ -119,7 +119,7 @@ test_iter_group(hid_t fapl, hbool_t new_format)
int i; /* counting variable */
hsize_t idx; /* Index in the group */
char name[NAMELEN]; /* temporary name buffer */
- char * lnames[NDATASETS + 2]; /* Names of the links created */
+ char *lnames[NDATASETS + 2]; /* Names of the links created */
char dataset_name[NAMELEN]; /* dataset name */
iter_info info; /* Custom iteration information */
H5G_info_t ginfo; /* Buffer for querying object's info */
@@ -401,7 +401,7 @@ test_iter_attr(hid_t fapl, hbool_t new_format)
int i; /* counting variable */
hsize_t idx; /* Index in the attribute list */
char name[NAMELEN]; /* temporary name buffer */
- char * anames[NATTR]; /* Names of the attributes created */
+ char *anames[NATTR]; /* Names of the attributes created */
iter_info info; /* Custom iteration information */
herr_t ret; /* Generic return value */
@@ -728,8 +728,8 @@ test_grp_memb_funcs(hid_t fapl)
hid_t root_group, grp; /* Root group ID */
int i; /* counting variable */
char name[NAMELEN]; /* temporary name buffer */
- char * dnames[NDATASETS + 2]; /* Names of the datasets created */
- char * obj_names[NDATASETS + 2]; /* Names of the objects in group */
+ char *dnames[NDATASETS + 2]; /* Names of the datasets created */
+ char *obj_names[NDATASETS + 2]; /* Names of the objects in group */
char dataset_name[NAMELEN]; /* dataset name */
ssize_t name_len; /* Length of object's name */
H5G_info_t ginfo; /* Buffer for querying object's info */
diff --git a/test/tmisc.c b/test/tmisc.c
index 6926e21..12a76c1 100644
--- a/test/tmisc.c
+++ b/test/tmisc.c
@@ -429,8 +429,8 @@ test_misc2_write_attribute(void)
hid_t type;
herr_t ret;
misc2_struct data, data_check;
- char * string_att1 = HDstrdup("string attribute in file one");
- char * string_att2 = HDstrdup("string attribute in file two");
+ char *string_att1 = HDstrdup("string attribute in file one");
+ char *string_att2 = HDstrdup("string attribute in file two");
type = misc2_create_type();
@@ -1237,8 +1237,8 @@ test_misc8(void)
hsize_t dims[MISC8_RANK] = {MISC8_DIM0, MISC8_DIM1};
hsize_t chunk_dims[MISC8_RANK] = {MISC8_CHUNK_DIM0, MISC8_CHUNK_DIM1};
hsize_t storage_size; /* Number of bytes of raw data storage used */
- int * wdata; /* Data to write */
- int * tdata; /* Temporary pointer to data write */
+ int *wdata; /* Data to write */
+ int *tdata; /* Temporary pointer to data write */
#ifdef VERIFY_DATA
int *rdata; /* Data to read */
int *tdata2; /* Temporary pointer to data to read */
@@ -2015,7 +2015,7 @@ test_misc12(void)
"bien germina ya! Ceso la horrible noche, La libertad sublime",
"derrama las auroras de su invencible luz.", "La humanidad entera, que entre cadenas gime, comprende",
"las palabras del que murio en la cruz."};
- char * rdata[MISC12_SPACE1_DIM1 + MISC12_APPEND_SIZE]; /* Information read in */
+ char *rdata[MISC12_SPACE1_DIM1 + MISC12_APPEND_SIZE]; /* Information read in */
hid_t fid1;
hid_t dataset;
hid_t sid1, space, memspace;
@@ -2298,10 +2298,10 @@ misc13_create_hdf_file(const char *name, const unsigned *data)
static void
misc13_insert_user_block(const char *old_name, const char *new_name, const char *str, size_t size)
{
- FILE * new_fp = NULL; /* Pointers to new & old files */
- FILE * old_fp = NULL;
- void * user_block = NULL; /* Pointer to user block to write to file */
- void * copy_buf = NULL; /* Pointer to buffer for copying data */
+ FILE *new_fp = NULL; /* Pointers to new & old files */
+ FILE *old_fp = NULL;
+ void *user_block = NULL; /* Pointer to user block to write to file */
+ void *copy_buf = NULL; /* Pointer to buffer for copying data */
size_t written; /* Amount of data written to new file */
size_t read_in; /* Amount of data read in from old file */
int ret; /* Generic status value */
@@ -3740,7 +3740,7 @@ static void
test_misc21(void)
{
hid_t fid, sid, dcpl, dsid;
- char * buf;
+ char *buf;
hsize_t dims[2] = {MISC21_SPACE_DIM0, MISC21_SPACE_DIM1},
chunk_size[2] = {MISC21_CHUNK_DIM0, MISC21_CHUNK_DIM1};
herr_t ret; /* Generic return value */
@@ -3806,7 +3806,7 @@ static void
test_misc22(void)
{
hid_t fid, sid, dcpl, dsid, dcpl2;
- char * buf;
+ char *buf;
hsize_t dims[2] = {MISC22_SPACE_DIM0, MISC22_SPACE_DIM1},
chunk_size[2] = {MISC22_CHUNK_DIM0, MISC22_CHUNK_DIM1};
herr_t ret; /* Generic return value */
@@ -5515,8 +5515,8 @@ test_misc31(void)
static void
test_misc32(void)
{
- void * buffer;
- void * resized;
+ void *buffer;
+ void *resized;
size_t size;
/* Output message about test being performed */
diff --git a/test/trefer.c b/test/trefer.c
index 8810f3a..e98a20c 100644
--- a/test/trefer.c
+++ b/test/trefer.c
@@ -74,7 +74,7 @@ test_reference_params(void)
hobj_ref_t *wbuf, /* buffer to write to disk */
*rbuf, /* buffer read from disk */
*tbuf; /* temp. buffer read from disk */
- unsigned * tu32; /* Temporary pointer to uint32 data */
+ unsigned *tu32; /* Temporary pointer to uint32 data */
int i; /* counting variables */
const char *write_comment = "Foo!"; /* Comments for group */
hid_t ret_id; /* Generic hid_t return value */
@@ -245,7 +245,7 @@ test_reference_obj(void)
*rbuf, /* buffer read from disk */
*tbuf; /* temp. buffer read from disk */
hobj_ref_t nvrbuf[3] = {0, 101, 1000000000}; /* buffer with non-valid refs */
- unsigned * tu32; /* Temporary pointer to uint32 data */
+ unsigned *tu32; /* Temporary pointer to uint32 data */
int i, j; /* counting variables */
const char *write_comment = "Foo!"; /* Comments for group */
char read_comment[10];
@@ -491,15 +491,15 @@ test_reference_region(void)
hsize_t count[SPACE2_RANK]; /* Element count of hyperslab */
hsize_t block[SPACE2_RANK]; /* Block size of hyperslab */
hsize_t coord1[POINT1_NPOINTS][SPACE2_RANK]; /* Coordinates for point selection */
- hsize_t * coords; /* Coordinate buffer */
+ hsize_t *coords; /* Coordinate buffer */
hsize_t low[SPACE2_RANK]; /* Selection bounds */
hsize_t high[SPACE2_RANK]; /* Selection bounds */
hdset_reg_ref_t *wbuf, /* buffer to write to disk */
*rbuf; /* buffer read from disk */
hdset_reg_ref_t nvrbuf[3] = {{0}, {101}, {255}}; /* buffer with non-valid refs */
- uint8_t * dwbuf, /* Buffer for writing numeric data to disk */
+ uint8_t *dwbuf, /* Buffer for writing numeric data to disk */
*drbuf; /* Buffer for reading numeric data from disk */
- uint8_t * tu8; /* Temporary pointer to uint8 data */
+ uint8_t *tu8; /* Temporary pointer to uint8 data */
H5O_type_t obj_type; /* Type of object */
int i, j; /* counting variables */
hssize_t hssize_ret; /* hssize_t return value */
@@ -862,14 +862,14 @@ test_reference_region_1D(void)
hsize_t count[SPACE3_RANK]; /* Element count of hyperslab */
hsize_t block[SPACE3_RANK]; /* Block size of hyperslab */
hsize_t coord1[POINT1_NPOINTS][SPACE3_RANK]; /* Coordinates for point selection */
- hsize_t * coords; /* Coordinate buffer */
+ hsize_t *coords; /* Coordinate buffer */
hsize_t low[SPACE3_RANK]; /* Selection bounds */
hsize_t high[SPACE3_RANK]; /* Selection bounds */
hdset_reg_ref_t *wbuf, /* buffer to write to disk */
*rbuf; /* buffer read from disk */
uint8_t *dwbuf, /* Buffer for writing numeric data to disk */
*drbuf; /* Buffer for reading numeric data from disk */
- uint8_t * tu8; /* Temporary pointer to uint8 data */
+ uint8_t *tu8; /* Temporary pointer to uint8 data */
H5O_type_t obj_type; /* Object type */
int i; /* counting variables */
herr_t ret; /* Generic return value */
@@ -1229,7 +1229,7 @@ static herr_t
test_deref_iter_op(hid_t H5_ATTR_UNUSED group, const char *name, const H5L_info_t H5_ATTR_UNUSED *info,
void *op_data)
{
- int * count = (int *)op_data; /* Pointer to name counter */
+ int *count = (int *)op_data; /* Pointer to name counter */
herr_t ret_value;
/* Simple check for correct names */
diff --git a/test/trefstr.c b/test/trefstr.c
index 049384f..bfd3842 100644
--- a/test/trefstr.c
+++ b/test/trefstr.c
@@ -289,7 +289,7 @@ static void
test_refstr_own(void)
{
H5RS_str_t *rs; /* Ref-counted string created */
- char * s; /* Pointer to string to transfer */
+ char *s; /* Pointer to string to transfer */
const char *t; /* Temporary pointers to string */
int cmp; /* Comparison value */
herr_t ret; /* Generic return value */
diff --git a/test/tselect.c b/test/tselect.c
index 464ff02..e42ef91 100644
--- a/test/tselect.c
+++ b/test/tselect.c
@@ -433,8 +433,8 @@ static herr_t
test_select_point_iter1(void *_elem, hid_t H5_ATTR_UNUSED type_id, unsigned H5_ATTR_UNUSED ndim,
const hsize_t H5_ATTR_UNUSED *point, void *_operator_data)
{
- uint8_t * elem = (uint8_t *)_elem; /* Pointer to the element to examine */
- uint8_t * tmp; /* temporary ptr to element in operator data */
+ uint8_t *elem = (uint8_t *)_elem; /* Pointer to the element to examine */
+ uint8_t *tmp; /* temporary ptr to element in operator data */
struct pnt_iter *pnt_info = (struct pnt_iter *)_operator_data;
tmp = pnt_info->buf + (pnt_info->coord[pnt_info->offset][0] * SPACE2_DIM2) +
@@ -1936,10 +1936,10 @@ test_select_hyper_contig_dr__run_test(int test_num, const uint16_t *cube_buf, co
hsize_t stride[SS_DR_MAX_RANK]; /* Shared hyperslab stride */
hsize_t count[SS_DR_MAX_RANK]; /* Shared hyperslab count */
hsize_t block[SS_DR_MAX_RANK]; /* Shared hyperslab block size */
- hsize_t * start_ptr; /* Actual hyperslab start offset */
- hsize_t * stride_ptr; /* Actual hyperslab stride */
- hsize_t * count_ptr; /* Actual hyperslab count */
- hsize_t * block_ptr; /* Actual hyperslab block size */
+ hsize_t *start_ptr; /* Actual hyperslab start offset */
+ hsize_t *stride_ptr; /* Actual hyperslab stride */
+ hsize_t *count_ptr; /* Actual hyperslab count */
+ hsize_t *block_ptr; /* Actual hyperslab block size */
size_t small_cube_size; /* Number of elements in small cube */
size_t large_cube_size; /* Number of elements in large cube */
unsigned u, v, w, x; /* Local index variables */
@@ -2789,7 +2789,7 @@ test_select_hyper_checker_board_dr__verify_data(uint16_t *buf_ptr, unsigned rank
hbool_t in_checker;
hbool_t start_in_checker[5];
uint16_t expected_value;
- uint16_t * val_ptr;
+ uint16_t *val_ptr;
unsigned i, j, k, l, m; /* to track position in n-cube */
unsigned v, w, x, y, z; /* to track position in checker */
const unsigned test_max_rank = 5; /* code changes needed if this is increased */
@@ -2914,9 +2914,9 @@ test_select_hyper_checker_board_dr__run_test(int test_num, const uint16_t *cube_
size_t start_index; /* Offset within buffer to begin inspecting */
size_t stop_index; /* Offset within buffer to end inspecting */
uint16_t expected_value;
- uint16_t * small_cube_buf_1;
- uint16_t * large_cube_buf_1;
- uint16_t * ptr_1;
+ uint16_t *small_cube_buf_1;
+ uint16_t *large_cube_buf_1;
+ uint16_t *ptr_1;
size_t small_cube_size; /* Number of elements in small cube */
size_t large_cube_size; /* Number of elements in large cube */
hsize_t dims[SS_DR_MAX_RANK];
@@ -6114,7 +6114,7 @@ test_select_hyper_union_random_5d(hid_t read_plist)
hsize_t dims2[] = {SPACE6_DIM1};
hsize_t start[SPACE5_RANK]; /* Starting location of hyperslab */
hsize_t count[SPACE5_RANK]; /* Element count of hyperslab */
- int * wbuf, /* buffer to write to disk */
+ int *wbuf, /* buffer to write to disk */
*rbuf, /* buffer read from disk */
*tbuf; /* temporary buffer pointer */
int i, j, k, l, m; /* Counters */
@@ -6256,8 +6256,8 @@ test_select_hyper_chunk(hid_t fapl_plist, hid_t xfer_plist)
{
hsize_t dimsf[3]; /* dataset dimensions */
hsize_t chunk_dimsf[3] = {CHUNK_X, CHUNK_Y, CHUNK_Z}; /* chunk sizes */
- short * data; /* data to write */
- short * tmpdata; /* data to write */
+ short *data; /* data to write */
+ short *tmpdata; /* data to write */
/*
* Data and output buffer initialization.
@@ -7215,7 +7215,7 @@ test_select_combine(void)
typedef struct {
unsigned short fill_value; /* The fill value to check */
size_t curr_coord; /* Current coordinate to examine */
- hsize_t * coords; /* Pointer to selection's coordinates */
+ hsize_t *coords; /* Pointer to selection's coordinates */
} fill_iter_info;
/****************************************************************
@@ -7227,7 +7227,7 @@ static herr_t
test_select_hyper_iter3(void *_elem, hid_t H5_ATTR_UNUSED type_id, unsigned ndim, const hsize_t *point,
void *_operator_data)
{
- unsigned * tbuf = (unsigned *)_elem; /* temporary buffer pointer */
+ unsigned *tbuf = (unsigned *)_elem; /* temporary buffer pointer */
fill_iter_info *iter_info =
(fill_iter_info *)_operator_data; /* Get the pointer to the iterator information */
hsize_t *coord_ptr; /* Pointer to the coordinate information for a point*/
@@ -7267,7 +7267,7 @@ test_select_fill_all(void)
unsigned fill_value; /* Fill value */
fill_iter_info iter_info; /* Iterator information structure */
hsize_t points[SPACE7_DIM1 * SPACE7_DIM2][SPACE7_RANK]; /* Coordinates of selection */
- unsigned * wbuf, /* buffer to write to disk */
+ unsigned *wbuf, /* buffer to write to disk */
*tbuf; /* temporary buffer pointer */
unsigned u, v; /* Counters */
herr_t ret; /* Generic return value */
@@ -7343,7 +7343,7 @@ test_select_fill_point(hssize_t *offset)
size_t num_points = 5; /* Number of points selected */
int fill_value; /* Fill value */
fill_iter_info iter_info; /* Iterator information structure */
- unsigned * wbuf, /* buffer to write to disk */
+ unsigned *wbuf, /* buffer to write to disk */
*tbuf; /* temporary buffer pointer */
unsigned u, v, w; /* Counters */
herr_t ret; /* Generic return value */
@@ -7443,7 +7443,7 @@ test_select_fill_hyper_simple(hssize_t *offset)
hsize_t points[16][SPACE7_RANK]; /* Coordinates selected */
int fill_value; /* Fill value */
fill_iter_info iter_info; /* Iterator information structure */
- unsigned * wbuf, /* buffer to write to disk */
+ unsigned *wbuf, /* buffer to write to disk */
*tbuf; /* temporary buffer pointer */
unsigned u, v; /* Counters */
herr_t ret; /* Generic return value */
@@ -7554,7 +7554,7 @@ test_select_fill_hyper_regular(hssize_t *offset)
size_t num_points = 16; /* Number of points selected */
int fill_value; /* Fill value */
fill_iter_info iter_info; /* Iterator information structure */
- unsigned * wbuf, /* buffer to write to disk */
+ unsigned *wbuf, /* buffer to write to disk */
*tbuf; /* temporary buffer pointer */
unsigned u, v, w; /* Counters */
herr_t ret; /* Generic return value */
@@ -7674,7 +7674,7 @@ test_select_fill_hyper_irregular(hssize_t *offset)
size_t num_iter_points = 28; /* Number of resulting points */
int fill_value; /* Fill value */
fill_iter_info iter_info; /* Iterator information structure */
- unsigned * wbuf, /* buffer to write to disk */
+ unsigned *wbuf, /* buffer to write to disk */
*tbuf; /* temporary buffer pointer */
unsigned u, v, w; /* Counters */
herr_t ret; /* Generic return value */
@@ -12531,8 +12531,8 @@ test_select_hyper_chunk_offset(void)
const hsize_t mem_dims[1] = {SPACE10_DIM1}; /* Dataspace dimensions for memory */
const hsize_t dims[1] = {0}; /* Dataspace initial dimensions */
const hsize_t maxdims[1] = {H5S_UNLIMITED}; /* Dataspace mam dims */
- int * wbuf; /* Buffer for writing data */
- int * rbuf; /* Buffer for reading data */
+ int *wbuf; /* Buffer for writing data */
+ int *rbuf; /* Buffer for reading data */
hid_t dcpl; /* Dataset creation property list ID */
hsize_t chunks[1] = {SPACE10_CHUNK_SIZE}; /* Chunk size */
hsize_t start[1] = {0}; /* The start of the hyperslab */
diff --git a/test/tskiplist.c b/test/tskiplist.c
index 4bf9b11..5430cb8 100644
--- a/test/tskiplist.c
+++ b/test/tskiplist.c
@@ -148,7 +148,7 @@ test_skiplist_insert(void)
int key, /* Key of item to insert */
item; /* Item to insert */
int search_key; /* Key of item to search for in skip list */
- int * found_item; /* Item found in skip list */
+ int *found_item; /* Item found in skip list */
size_t num; /* Number of elements in skip list */
herr_t ret; /* Generic return value */
@@ -211,7 +211,7 @@ test_skiplist_insert_many(void)
H5SL_t *slist; /* Skip list created */
size_t num; /* Number of elements in skip list */
size_t u; /* Local index variable */
- int * found_item; /* Item found in skip list */
+ int *found_item; /* Item found in skip list */
herr_t ret; /* Generic return value */
/* Output message about test being performed */
@@ -284,7 +284,7 @@ test_skiplist_remove(void)
key2, /* Key of 2nd item to insert */
key3; /* Key of 3rd item to insert */
int search_key; /* Key of item to search for in skip list */
- int * found_item; /* Item found in skip list */
+ int *found_item; /* Item found in skip list */
size_t num; /* Number of elements in skip list */
herr_t ret; /* Generic return value */
@@ -364,7 +364,7 @@ test_skiplist_remove_many(void)
H5SL_t *slist; /* Skip list created */
size_t num; /* Number of elements in skip list */
size_t u; /* Local index variable */
- int * found_item; /* Item found in skip list */
+ int *found_item; /* Item found in skip list */
herr_t ret; /* Generic return value */
/* Output message about test being performed */
@@ -462,11 +462,11 @@ test_skiplist_remove_many(void)
static void
test_skiplist_firstnext(void)
{
- H5SL_t * slist; /* Skip list created */
+ H5SL_t *slist; /* Skip list created */
H5SL_node_t *node; /* Skip list node */
size_t num; /* Number of elements in skip list */
size_t u; /* Local index variable */
- int * found_item; /* Item found in skip list */
+ int *found_item; /* Item found in skip list */
herr_t ret; /* Generic return value */
/* Output message about test being performed */
@@ -528,7 +528,7 @@ test_skiplist_firstnext(void)
static void
test_skiplist_string(void)
{
- H5SL_t * slist; /* Skip list created */
+ H5SL_t *slist; /* Skip list created */
H5SL_node_t *node; /* Skip list node */
size_t num; /* Number of elements in skip list */
size_t u; /* Local index variable */
@@ -646,13 +646,13 @@ test_skiplist_iterate(void)
static void
test_skiplist_hsize(void)
{
- H5SL_t * slist; /* Skip list created */
+ H5SL_t *slist; /* Skip list created */
H5SL_node_t *node; /* Skip list node */
size_t num; /* Number of elements in skip list */
size_t u; /* Local index variable */
hsize_t data[10] = {10, 20, 15, 5, 50, 30, 31, 32, 80, 90};
hsize_t sorted_data[10] = {5, 10, 15, 20, 30, 31, 32, 50, 80, 90};
- hsize_t * found_item; /* Item found in skip list */
+ hsize_t *found_item; /* Item found in skip list */
herr_t ret; /* Generic return value */
/* Output message about test being performed */
@@ -701,13 +701,13 @@ test_skiplist_hsize(void)
static void
test_skiplist_unsigned(void)
{
- H5SL_t * slist; /* Skip list created */
+ H5SL_t *slist; /* Skip list created */
H5SL_node_t *node; /* Skip list node */
size_t num; /* Number of elements in skip list */
size_t u; /* Local index variable */
unsigned data[10] = {10, 20, 15, 5, 50, 30, 31, 32, 80, 90};
unsigned sorted_data[10] = {5, 10, 15, 20, 30, 31, 32, 50, 80, 90};
- unsigned * found_item; /* Item found in skip list */
+ unsigned *found_item; /* Item found in skip list */
herr_t ret; /* Generic return value */
/* Output message about test being performed */
@@ -756,7 +756,7 @@ test_skiplist_unsigned(void)
static void
test_skiplist_obj(void)
{
- H5SL_t * slist; /* Skip list created */
+ H5SL_t *slist; /* Skip list created */
H5SL_node_t *node; /* Skip list node */
size_t num; /* Number of elements in skip list */
size_t u; /* Local index variable */
@@ -764,7 +764,7 @@ test_skiplist_obj(void)
{8, 12}, {31, 12}, {20, 11}, {31, 11}, {8, 32}};
H5_obj_t sorted_data[10] = {{8, 12}, {8, 32}, {10, 11}, {10, 12}, {10, 32},
{20, 11}, {20, 12}, {31, 11}, {31, 12}, {50, 1}};
- H5_obj_t * found_item; /* Item found in skip list */
+ H5_obj_t *found_item; /* Item found in skip list */
herr_t ret; /* Generic return value */
/* Output message about test being performed */
@@ -837,7 +837,7 @@ test_skiplist_generic_cmp(const void *_key1, const void *_key2)
static void
test_skiplist_generic(void)
{
- H5SL_t * slist; /* Skip list created */
+ H5SL_t *slist; /* Skip list created */
H5SL_node_t *node; /* Skip list node */
size_t num; /* Number of elements in skip list */
size_t u; /* Local index variable */
@@ -845,7 +845,7 @@ test_skiplist_generic(void)
{30, 100}, {31, 38}, {32, 34}, {80, 32}, {90, 0}};
generic_t sorted_data[10] = {{30, 100}, {15, 32}, {31, 38}, {32, 34}, {5, 2},
{20, 13}, {10, 1}, {50, 37}, {80, 32}, {90, 0}};
- generic_t * found_item; /* Item found in skip list */
+ generic_t *found_item; /* Item found in skip list */
herr_t ret; /* Generic return value */
/* Output message about test being performed */
@@ -895,11 +895,11 @@ test_skiplist_generic(void)
static void
test_skiplist_lastprev(void)
{
- H5SL_t * slist; /* Skip list created */
+ H5SL_t *slist; /* Skip list created */
H5SL_node_t *node; /* Skip list node */
size_t num; /* Number of elements in skip list */
size_t u; /* Local index variable */
- int * found_item; /* Item found in skip list */
+ int *found_item; /* Item found in skip list */
herr_t ret; /* Generic return value */
/* Output message about test being performed */
@@ -961,12 +961,12 @@ test_skiplist_lastprev(void)
static void
test_skiplist_find(void)
{
- H5SL_t * slist; /* Skip list created */
+ H5SL_t *slist; /* Skip list created */
H5SL_node_t *node; /* Skip list node */
size_t u; /* Local index variable */
unsigned data[10] = {10, 20, 15, 5, 50, 30, 31, 32, 80, 90};
unsigned sorted_data[10] = {5, 10, 15, 20, 30, 31, 32, 50, 80, 90};
- unsigned * found_item; /* Item found in skip list */
+ unsigned *found_item; /* Item found in skip list */
unsigned find_item; /* Item to find in skip list */
herr_t ret; /* Generic return value */
@@ -1017,12 +1017,12 @@ test_skiplist_find(void)
static void
test_skiplist_add(void)
{
- H5SL_t * slist; /* Skip list created */
+ H5SL_t *slist; /* Skip list created */
H5SL_node_t *node; /* Skip list node */
size_t u; /* Local index variable */
unsigned data[10] = {10, 20, 15, 5, 50, 30, 31, 32, 80, 90};
unsigned sorted_data[10] = {5, 10, 15, 20, 30, 31, 32, 50, 80, 90};
- unsigned * found_item; /* Item found in skip list */
+ unsigned *found_item; /* Item found in skip list */
unsigned new_item; /* Item to add to skip list */
herr_t ret; /* Generic return value */
@@ -1083,7 +1083,7 @@ test_skiplist_destroy_free(void *item, void H5_ATTR_UNUSED *key, void *op_data)
static void
test_skiplist_destroy(void)
{
- H5SL_t * slist; /* Skip list created */
+ H5SL_t *slist; /* Skip list created */
size_t u; /* Local index variable */
unsigned free_count; /* Number of items freed */
herr_t ret; /* Generic return value */
@@ -1118,7 +1118,7 @@ test_skiplist_destroy(void)
static void
test_skiplist_free(void)
{
- H5SL_t * slist; /* Skip list created */
+ H5SL_t *slist; /* Skip list created */
size_t num; /* Number of elements in skip list */
size_t u; /* Local index variable */
unsigned free_count; /* Number of items freed */
@@ -1176,7 +1176,7 @@ test_skiplist_free(void)
/* Structure to hold the list of objects */
typedef struct {
- H5SL_t * slist; /* Skiplist holding the objects */
+ H5SL_t *slist; /* Skiplist holding the objects */
struct test_tfs_obj_t *list; /* Linear list of objects */
int nobjs; /* Number of objects in list */
int nobjs_rem; /* Number of objects in list that have not been freed */
@@ -1199,7 +1199,7 @@ typedef struct test_tfs_it_ud_t {
static herr_t
test_tfs_iter(void *_obj, void *key, void *_udata)
{
- test_tfs_obj_t * obj = (test_tfs_obj_t *)_obj;
+ test_tfs_obj_t *obj = (test_tfs_obj_t *)_obj;
test_tfs_it_ud_t *udata = (test_tfs_it_ud_t *)_udata;
/* Check consistency */
@@ -1222,11 +1222,11 @@ test_tfs_iter(void *_obj, void *key, void *_udata)
static htri_t
test_tfs_free(void *_obj, void *key, void *_obj_list)
{
- test_tfs_obj_t * obj = (test_tfs_obj_t *)_obj;
+ test_tfs_obj_t *obj = (test_tfs_obj_t *)_obj;
test_tfs_list_t *obj_list = (test_tfs_list_t *)_obj_list;
test_tfs_it_ud_t iter_ud;
int nrems, rem_idx, i, j;
- test_tfs_obj_t * obj_ret;
+ test_tfs_obj_t *obj_ret;
herr_t ret; /* return value */
htri_t ret_value;
@@ -1379,7 +1379,7 @@ test_skiplist_try_free_safe(void)
static void
test_skiplist_less(void)
{
- H5SL_t * slist; /* Skip list created */
+ H5SL_t *slist; /* Skip list created */
size_t u; /* Local index variable */
unsigned data[10] = {10, 20, 15, 5, 50, 30, 31, 32, 80, 90};
/* unsigned sorted_data[10]={ 5, 10, 15, 20, 30, 31, 32, 50, 80, 90}; */
@@ -1443,7 +1443,7 @@ test_skiplist_less(void)
static void
test_skiplist_greater(void)
{
- H5SL_t * slist; /* Skip list created */
+ H5SL_t *slist; /* Skip list created */
size_t u; /* Local index variable */
unsigned data[10] = {10, 20, 15, 5, 50, 30, 31, 32, 80, 90};
/* unsigned sorted_data[10]={ 5, 10, 15, 20, 30, 31, 32, 50, 80, 90}; */
@@ -1507,7 +1507,7 @@ test_skiplist_greater(void)
static void
test_skiplist_below(void)
{
- H5SL_t * slist; /* Skip list created */
+ H5SL_t *slist; /* Skip list created */
H5SL_node_t *node; /* Skip list node */
size_t u; /* Local index variable */
unsigned data[10] = {10, 20, 15, 5, 50, 30, 31, 32, 80, 90};
@@ -1586,7 +1586,7 @@ test_skiplist_below(void)
static void
test_skiplist_above(void)
{
- H5SL_t * slist; /* Skip list created */
+ H5SL_t *slist; /* Skip list created */
H5SL_node_t *node; /* Skip list node */
size_t u; /* Local index variable */
unsigned data[10] = {10, 20, 15, 5, 50, 30, 31, 32, 80, 90};
@@ -1665,7 +1665,7 @@ test_skiplist_above(void)
static void
test_skiplist_remove_first(void)
{
- H5SL_t * slist; /* Skip list created */
+ H5SL_t *slist; /* Skip list created */
size_t u; /* Local index variable */
unsigned data[10] = {10, 20, 15, 5, 50, 30, 31, 32, 80, 90};
unsigned sorted_data[10] = {5, 10, 15, 20, 30, 31, 32, 50, 80, 90};
@@ -1712,7 +1712,7 @@ test_skiplist_remove_first_many(void)
{
H5SL_t *slist; /* Skip list created */
size_t u; /* Local index variable */
- int * found_item; /* Item found in skip list */
+ int *found_item; /* Item found in skip list */
int prev_item = INT_MIN; /* Previously found item in skip list */
herr_t ret; /* Generic return value */
diff --git a/test/tsohm.c b/test/tsohm.c
index 0170604..1892a8f 100644
--- a/test/tsohm.c
+++ b/test/tsohm.c
@@ -3804,7 +3804,7 @@ test_sohm_external_dtype(void)
int a;
int b;
} s1_t;
- s1_t * s_ptr, *orig;
+ s1_t *s_ptr, *orig;
hid_t fcpl, file1, file2;
hid_t dataset1, dataset2;
hid_t s1_tid, dset1_tid, dset2_tid, space;
diff --git a/test/ttsafe.c b/test/ttsafe.c
index c26cad7..d24c4dc 100644
--- a/test/ttsafe.c
+++ b/test/ttsafe.c
@@ -78,7 +78,7 @@ tts_is_threadsafe(void)
char *
gen_name(int value)
{
- char * temp;
+ char *temp;
unsigned length;
int i;
diff --git a/test/ttsafe_acreate.c b/test/ttsafe_acreate.c
index c2c34a0..57108a3 100644
--- a/test/ttsafe_acreate.c
+++ b/test/ttsafe_acreate.c
@@ -144,8 +144,8 @@ void *
tts_acreate_thread(void *client_data)
{
hid_t attribute = H5I_INVALID_HID;
- char * attribute_name;
- int * attribute_data; /* data for attributes */
+ char *attribute_name;
+ int *attribute_data; /* data for attributes */
herr_t status;
ttsafe_name_data_t *attrib_data;
@@ -155,7 +155,7 @@ tts_acreate_thread(void *client_data)
/* Create attribute */
attribute_name = gen_name(attrib_data->current_index);
attribute = H5Acreate2(attrib_data->dataset, attribute_name, attrib_data->datatype,
- attrib_data->dataspace, H5P_DEFAULT, H5P_DEFAULT);
+ attrib_data->dataspace, H5P_DEFAULT, H5P_DEFAULT);
CHECK(attribute, H5I_INVALID_HID, "H5Acreate2");
/* Write data to the attribute */
diff --git a/test/ttsafe_attr_vlen.c b/test/ttsafe_attr_vlen.c
index ecd0aa6..2fe140c 100644
--- a/test/ttsafe_attr_vlen.c
+++ b/test/ttsafe_attr_vlen.c
@@ -60,7 +60,7 @@ tts_attr_vlen(void)
hid_t atid = H5I_INVALID_HID; /* Datatype ID for attribute */
hid_t asid = H5I_INVALID_HID; /* Dataspace ID for attribute */
hid_t aid = H5I_INVALID_HID; /* The attribute ID */
- const char * string_attr = "2.0"; /* The attribute data */
+ const char *string_attr = "2.0"; /* The attribute data */
int ret; /* Return value */
int i; /* Local index variable */
@@ -124,7 +124,7 @@ tts_attr_vlen_thread(void H5_ATTR_UNUSED *client_data)
hid_t gid = H5I_INVALID_HID; /* Group ID */
hid_t aid = H5I_INVALID_HID; /* Attribute ID */
hid_t atid = H5I_INVALID_HID; /* Datatype ID for the attribute */
- char * string_attr_check; /* The attribute data being read */
+ char *string_attr_check; /* The attribute data being read */
const char *string_attr = "2.0"; /* The expected attribute data */
herr_t ret; /* Return value */
diff --git a/test/ttsafe_cancel.c b/test/ttsafe_cancel.c
index bfd63f4..7add96a 100644
--- a/test/ttsafe_cancel.c
+++ b/test/ttsafe_cancel.c
@@ -39,7 +39,7 @@
#define FILENAME "ttsafe_cancel.h5"
#define DATASETNAME "commonname"
-void * tts_cancel_thread(void *);
+void *tts_cancel_thread(void *);
void tts_cancel_barrier(void);
herr_t tts_cancel_callback(void *, hid_t, unsigned, const hsize_t *, void *);
void cancellation_cleanup(void *);
diff --git a/test/ttsafe_error.c b/test/ttsafe_error.c
index 63664f7..c917ee7 100644
--- a/test/ttsafe_error.c
+++ b/test/ttsafe_error.c
@@ -57,7 +57,7 @@ H5TS_mutex_simple_t error_mutex_g;
/* Prototypes */
static herr_t error_callback(hid_t, void *);
static herr_t walk_error_callback(unsigned, const H5E_error2_t *, void *);
-static void * tts_error_thread(void *);
+static void *tts_error_thread(void *);
void
tts_error(void)
@@ -146,7 +146,7 @@ tts_error_thread(void H5_ATTR_UNUSED *arg)
hid_t dataset = H5I_INVALID_HID;
hsize_t dimsf[1]; /* dataset dimensions */
H5E_auto2_t old_error_cb;
- void * old_error_client_data;
+ void *old_error_client_data;
int value;
herr_t status;
diff --git a/test/ttst.c b/test/ttst.c
index 53aab5e..87e9221 100644
--- a/test/ttst.c
+++ b/test/ttst.c
@@ -69,7 +69,7 @@ static void
test_tst_init(void)
{
time_t curr_time; /* Current time, for seeding random number generator */
- char * tmp_word; /* Temporary pointer to word in word set */
+ char *tmp_word; /* Temporary pointer to word in word set */
size_t u, v, w; /* Local index variables */
/* Compute the number of words in the test set */
@@ -176,7 +176,7 @@ test_tst_insert(void)
{
H5ST_tree_t *tree; /* TST created */
H5ST_ptr_t found; /* Pointer to TST node found */
- void * obj; /* Pointer to object located in TST */
+ void *obj; /* Pointer to object located in TST */
size_t u; /* Local index counter */
htri_t check; /* Is string in TST? */
herr_t ret; /* Generic return value */
@@ -287,7 +287,7 @@ test_tst_remove(void)
{
H5ST_tree_t *tree; /* TST created */
H5ST_ptr_t found; /* Pointer to TST node found */
- void * obj; /* Pointer to object removed from TST */
+ void *obj; /* Pointer to object removed from TST */
htri_t check; /* Is string in TST? */
size_t u; /* Local index counter */
herr_t ret; /* Generic return value */
diff --git a/test/tunicode.c b/test/tunicode.c
index f497aa3..8f09d09 100644
--- a/test/tunicode.c
+++ b/test/tunicode.c
@@ -317,7 +317,7 @@ test_vl_string(hid_t fid, const char *string)
hid_t type_id, space_id, dset_id;
hsize_t dims = 1;
hsize_t size; /* Number of bytes used */
- char * read_buf[1];
+ char *read_buf[1];
herr_t ret;
/* Create dataspace for datasets */
@@ -582,7 +582,7 @@ test_compound(hid_t fid, const char *string)
hid_t s1_tid, s2_tid;
hid_t space_id, dset_id;
hsize_t dim = 1;
- char * readbuf;
+ char *readbuf;
herr_t ret;
/* Initialize compound data */
@@ -698,7 +698,7 @@ void
test_opaque(hid_t H5_ATTR_UNUSED fid, const char *string)
{
hid_t type_id;
- char * read_buf;
+ char *read_buf;
herr_t ret;
/* Create an opaque type and give it a UTF-8 tag */
diff --git a/test/tvlstr.c b/test/tvlstr.c
index 54204b1..70b440d 100644
--- a/test/tvlstr.c
+++ b/test/tvlstr.c
@@ -35,7 +35,7 @@
/* String for testing attributes */
static const char *string_att = "This is the string for the attribute";
-static char * string_att_write = NULL;
+static char *string_att_write = NULL;
void *test_vlstr_alloc_custom(size_t size, void *info);
void test_vlstr_free_custom(void *mem, void *info);
@@ -51,7 +51,7 @@ void test_vlstr_free_custom(void *mem, void *info);
void *
test_vlstr_alloc_custom(size_t size, void *info)
{
- void * ret_value = NULL; /* Pointer to return */
+ void *ret_value = NULL; /* Pointer to return */
size_t *mem_used = (size_t *)info; /* Get the pointer to the memory used */
size_t extra; /* Extra space needed */
@@ -81,7 +81,7 @@ void
test_vlstr_free_custom(void *_mem, void *info)
{
unsigned char *mem;
- size_t * mem_used = (size_t *)info; /* Get the pointer to the memory used */
+ size_t *mem_used = (size_t *)info; /* Get the pointer to the memory used */
size_t extra; /* Extra space needed */
/*
@@ -113,8 +113,8 @@ test_vlstrings_basic(void)
"Now we are engaged in a great civil war,",
"testing whether that nation or any nation so conceived and so dedicated can long endure."};
- char * rdata[SPACE1_DIM1]; /* Information read in */
- char * wdata2;
+ char *rdata[SPACE1_DIM1]; /* Information read in */
+ char *wdata2;
hid_t dataspace, dataset2;
hid_t fid1; /* HDF5 File IDs */
hid_t dataset; /* Dataset ID */
@@ -249,8 +249,8 @@ test_vlstrings_special(void)
{
const char *wdata[SPACE1_DIM1] = {"", "two", "three", "\0"};
const char *wdata2[SPACE1_DIM1] = {NULL, NULL, NULL, NULL};
- char * rdata[SPACE1_DIM1]; /* Information read in */
- char * fill; /* Fill value */
+ char *rdata[SPACE1_DIM1]; /* Information read in */
+ char *fill; /* Fill value */
hid_t fid1; /* HDF5 File IDs */
hid_t dataset; /* Dataset ID */
hid_t sid1; /* Dataspace ID */
@@ -482,7 +482,7 @@ static void
test_compact_vlstring(void)
{
const char *wdata[SPACE1_DIM1] = {"one", "two", "three", "four"};
- char * rdata[SPACE1_DIM1]; /* Information read in */
+ char *rdata[SPACE1_DIM1]; /* Information read in */
hid_t fid1; /* HDF5 File IDs */
hid_t dataset; /* Dataset ID */
hid_t sid1; /* Dataspace ID */
@@ -579,7 +579,7 @@ test_write_vl_string_attribute(void)
hid_t file, root, dataspace, att;
hid_t type;
herr_t ret;
- char * string_att_check = NULL;
+ char *string_att_check = NULL;
/* Open the file */
file = H5Fopen(DATAFILE, H5F_ACC_RDWR, H5P_DEFAULT);
@@ -671,7 +671,7 @@ test_read_vl_string_attribute(void)
hid_t file, root, att;
hid_t type;
herr_t ret;
- char * string_att_check = NULL;
+ char *string_att_check = NULL;
/* Open file */
file = H5Fopen(DATAFILE, H5F_ACC_RDONLY, H5P_DEFAULT);
@@ -762,7 +762,7 @@ read_scalar_dset(hid_t file, hid_t type, hid_t space, char *name, char *data)
{
hid_t dset;
herr_t ret;
- char * data_read;
+ char *data_read;
dset = H5Dopen2(file, name, H5P_DEFAULT);
CHECK(dset, FAIL, "H5Dopen2");
diff --git a/test/tvltypes.c b/test/tvltypes.c
index b0926c4..ee99263 100644
--- a/test/tvltypes.c
+++ b/test/tvltypes.c
@@ -55,7 +55,7 @@ void test_vltypes_free_custom(void *mem, void *info);
void *
test_vltypes_alloc_custom(size_t size, void *mem_used)
{
- void * ret_value; /* Pointer to return */
+ void *ret_value; /* Pointer to return */
const size_t extra = MAX(sizeof(void *), sizeof(size_t)); /* Extra space needed */
/* (This weird contortion is required on the
* DEC Alpha to keep the alignment correct - QAK)
@@ -1034,15 +1034,15 @@ test_vltypes_compound_vlen_vlen(void)
float f;
hvl_t v;
} s1;
- s1 * wdata; /* data to write */
- s1 * rdata; /* data to read */
+ s1 *wdata; /* data to write */
+ s1 *rdata; /* data to read */
hid_t fid1; /* HDF5 File IDs */
hid_t dataset; /* Dataset ID */
hid_t sid1; /* Dataspace ID */
hid_t tid1, tid2, tid3; /* Datatype IDs */
hsize_t dims1[] = {SPACE3_DIM1};
unsigned i, j, k; /* counting variables */
- hvl_t * t1, *t2; /* Temporary pointer to VL information */
+ hvl_t *t1, *t2; /* Temporary pointer to VL information */
herr_t ret; /* Generic return value */
/* Output message about test being performed */
@@ -1230,7 +1230,7 @@ test_vltypes_compound_vlstr(void)
hsize_t size[] = {SPACE1_DIM1};
hsize_t offset[] = {0};
unsigned i, j; /* counting variables */
- s2 * t1, *t2; /* Temporary pointer to VL information */
+ s2 *t1, *t2; /* Temporary pointer to VL information */
int val;
herr_t ret; /* Generic return value */
@@ -1918,7 +1918,7 @@ test_vltypes_vlen_vlen_atomic(void)
{
hvl_t wdata[SPACE1_DIM1]; /* Information to write */
hvl_t rdata[SPACE1_DIM1]; /* Information read in */
- hvl_t * t1, *t2; /* Temporary pointer to VL information */
+ hvl_t *t1, *t2; /* Temporary pointer to VL information */
hid_t fid1; /* HDF5 File IDs */
hid_t dataset; /* Dataset ID */
hid_t sid1; /* Dataspace ID */
@@ -2119,7 +2119,7 @@ rewrite_longer_vltypes_vlen_vlen_atomic(void)
{
hvl_t wdata[SPACE1_DIM1]; /* Information to write */
hvl_t rdata[SPACE1_DIM1]; /* Information read in */
- hvl_t * t1, *t2; /* Temporary pointer to VL information */
+ hvl_t *t1, *t2; /* Temporary pointer to VL information */
hid_t fid1; /* HDF5 File IDs */
hid_t dataset; /* Dataset ID */
hid_t sid1; /* Dataspace ID */
@@ -2299,7 +2299,7 @@ rewrite_shorter_vltypes_vlen_vlen_atomic(void)
{
hvl_t wdata[SPACE1_DIM1]; /* Information to write */
hvl_t rdata[SPACE1_DIM1]; /* Information read in */
- hvl_t * t1, *t2; /* Temporary pointer to VL information */
+ hvl_t *t1, *t2; /* Temporary pointer to VL information */
hid_t fid1; /* HDF5 File IDs */
hid_t dataset; /* Dataset ID */
hid_t sid1; /* Dataspace ID */
@@ -2487,17 +2487,17 @@ test_vltypes_fill_value(void)
typedef struct dtype1_struct {
unsigned int gui;
unsigned int pgui;
- char * str_id;
- char * str_name;
- char * str_desc;
- char * str_orig;
- char * str_stat;
+ char *str_id;
+ char *str_name;
+ char *str_desc;
+ char *str_orig;
+ char *str_stat;
unsigned int ver;
double val;
double ma;
double mi;
- char * str_form;
- char * str_unit;
+ char *str_form;
+ char *str_unit;
} dtype1_struct;
herr_t ret;
@@ -2529,7 +2529,7 @@ test_vltypes_fill_value(void)
const dtype1_struct fill1 = {1, 2, "foobar", "", NULL, "\0", "dead",
3, 4.0F, 100.0F, 1.0F, "liquid", "meter"};
const dtype1_struct wdata = {3, 4, "", NULL, "\0", "foo", "two", 6, 8.0F, 200.0F, 2.0F, "solid", "yard"};
- dtype1_struct * rbuf = NULL; /* Buffer for reading data */
+ dtype1_struct *rbuf = NULL; /* Buffer for reading data */
size_t mem_used = 0; /* Memory used during allocation */
H5D_layout_t layout; /* Dataset storage layout */
char dset_name1[64], dset_name2[64]; /* Dataset names */
diff --git a/test/unlink.c b/test/unlink.c
index 5beeac8..b080299 100644
--- a/test/unlink.c
+++ b/test/unlink.c
@@ -565,8 +565,8 @@ test_filespace(hid_t fapl)
FILESPACE_CHUNK2}; /* Chunk dimensions */
hsize_t attr_dims[FILESPACE_ATTR_NDIMS] = {FILESPACE_ATTR_DIM0,
FILESPACE_ATTR_DIM1}; /* Attribute dimensions */
- int * data = NULL; /* Pointer to dataset buffer */
- int * tmp_data; /* Temporary pointer to dataset buffer */
+ int *data = NULL; /* Pointer to dataset buffer */
+ int *tmp_data; /* Temporary pointer to dataset buffer */
h5_stat_size_t empty_size; /* Size of an empty file */
h5_stat_size_t file_size; /* Size of each file created */
herr_t status; /* Function status return value */
diff --git a/test/vfd.c b/test/vfd.c
index ddbf29c..245acbd 100644
--- a/test/vfd.c
+++ b/test/vfd.c
@@ -95,7 +95,7 @@ test_sec2(void)
hid_t driver_id = -1; /* ID for this VFD */
unsigned long driver_flags = 0; /* VFD feature flags */
char filename[1024]; /* filename */
- void * os_file_handle = NULL; /* OS file handle */
+ void *os_file_handle = NULL; /* OS file handle */
hsize_t file_size; /* file size */
TESTING("SEC2 file driver");
@@ -207,16 +207,16 @@ test_core(void)
hid_t did = -1; /* dataset ID */
hid_t sid = -1; /* dataspace ID */
char filename[1024]; /* filename */
- void * os_file_handle = NULL; /* OS file handle */
+ void *os_file_handle = NULL; /* OS file handle */
hsize_t file_size; /* file size */
size_t increment; /* core VFD increment */
hbool_t backing_store; /* use backing store? */
hbool_t use_write_tracking; /* write tracking flag */
size_t write_tracking_page_size; /* write tracking page size */
- int * data_w = NULL; /* data written to the dataset */
- int * data_r = NULL; /* data read from the dataset */
+ int *data_w = NULL; /* data written to the dataset */
+ int *data_r = NULL; /* data read from the dataset */
int val; /* data value */
- int * pw = NULL, *pr = NULL; /* pointers for iterating over
+ int *pw = NULL, *pr = NULL; /* pointers for iterating over
data arrays (write & read) */
hsize_t dims[2]; /* dataspace dimensions */
int i, j; /* iterators */
@@ -563,13 +563,13 @@ test_direct(void)
hid_t file = -1, fapl = -1, access_fapl = -1;
hid_t dset1 = -1, dset2 = -1, space1 = -1, space2 = -1;
char filename[1024];
- int * fhandle = NULL;
+ int *fhandle = NULL;
hsize_t file_size;
hsize_t dims1[2], dims2[1];
size_t mbound;
size_t fbsize;
size_t cbsize;
- int * points = NULL, *check = NULL, *p1 = NULL, *p2 = NULL;
+ int *points = NULL, *check = NULL, *p1 = NULL, *p2 = NULL;
int wdata2[DSET2_DIM] = {11, 12, 13, 14};
int rdata2[DSET2_DIM];
int i, j, n;
@@ -878,7 +878,7 @@ test_family(void)
char filename[1024];
char dname[] = "dataset";
unsigned int i, j;
- int * fhandle = NULL, *fhandle2 = NULL;
+ int *fhandle = NULL, *fhandle2 = NULL;
int buf[FAMILY_NUMBER][FAMILY_SIZE];
hsize_t dims[2] = {FAMILY_NUMBER, FAMILY_SIZE};
hsize_t file_size;
@@ -1214,12 +1214,12 @@ test_multi(void)
hid_t driver_id = -1; /* ID for this VFD */
unsigned long driver_flags = 0; /* VFD feature flags */
char filename[1024];
- int * fhandle2 = NULL, *fhandle = NULL;
+ int *fhandle2 = NULL, *fhandle = NULL;
hsize_t file_size;
H5FD_mem_t mt, memb_map[H5FD_MEM_NTYPES];
hid_t memb_fapl[H5FD_MEM_NTYPES];
haddr_t memb_addr[H5FD_MEM_NTYPES];
- const char * memb_name[H5FD_MEM_NTYPES];
+ const char *memb_name[H5FD_MEM_NTYPES];
char sv[H5FD_MEM_NTYPES][32];
hsize_t dims[2] = {MULTI_SIZE, MULTI_SIZE};
hsize_t adims[1] = {1};
@@ -1621,7 +1621,7 @@ test_log(void)
hid_t driver_id = -1; /* ID for this VFD */
unsigned long driver_flags = 0; /* VFD feature flags */
char filename[1024];
- int * fhandle = NULL;
+ int *fhandle = NULL;
hsize_t file_size = 0;
unsigned int flags = H5FD_LOG_ALL;
size_t buf_size = 4 * KB;
@@ -1731,7 +1731,7 @@ test_stdio(void)
hid_t driver_id = -1; /* ID for this VFD */
unsigned long driver_flags = 0; /* VFD feature flags */
char filename[1024];
- FILE * fhandle = NULL;
+ FILE *fhandle = NULL;
hsize_t file_size = 0;
TESTING("STDIO file driver");
@@ -1838,7 +1838,7 @@ test_windows(void)
hid_t driver_id = -1; /* ID for this VFD */
unsigned long driver_flags = 0; /* VFD feature flags */
char filename[1024];
- int * fhandle = NULL;
+ int *fhandle = NULL;
hsize_t file_size = 0;
#endif /*H5_HAVE_WINDOWS*/
@@ -1964,7 +1964,7 @@ test_ros3(void)
hid_t driver_id = -1; /* ID for this VFD */
unsigned long driver_flags = 0; /* VFD feature flags */
char filename[1024]; /* filename */
- void * os_file_handle = NULL; /* OS file handle */
+ void *os_file_handle = NULL; /* OS file handle */
hsize_t file_size; /* file size */
H5FD_ros3_fapl_t test_ros3_fa;
H5FD_ros3_fapl_t ros3_fa_0 = {