summaryrefslogtreecommitdiffstats
path: root/src/H5Pdcpl.c
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2022-07-26 21:45:46 (GMT)
committerGitHub <noreply@github.com>2022-07-26 21:45:46 (GMT)
commitae414872f50187e64cbd6cc8f076c22cf5df2d53 (patch)
treeb616f33f5daa89f213e7c64e04c63afde906e939 /src/H5Pdcpl.c
parent213eac2588369f75a11df6bb1788dde33c4b82e2 (diff)
downloadhdf5-ae414872f50187e64cbd6cc8f076c22cf5df2d53.zip
hdf5-ae414872f50187e64cbd6cc8f076c22cf5df2d53.tar.gz
hdf5-ae414872f50187e64cbd6cc8f076c22cf5df2d53.tar.bz2
Develop clang 13 format (#1933)
* Update format source to clang 13 * More format changes
Diffstat (limited to 'src/H5Pdcpl.c')
-rw-r--r--src/H5Pdcpl.c34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/H5Pdcpl.c b/src/H5Pdcpl.c
index 3561c65..fc9dd47 100644
--- a/src/H5Pdcpl.c
+++ b/src/H5Pdcpl.c
@@ -435,8 +435,8 @@ static herr_t
H5P__dcrt_layout_enc(const void *value, void **_pp, size_t *size)
{
const H5O_layout_t *layout = (const H5O_layout_t *)value; /* Create local aliases for values */
- uint8_t ** pp = (uint8_t **)_pp;
- uint8_t * tmp_p;
+ uint8_t **pp = (uint8_t **)_pp;
+ uint8_t *tmp_p;
size_t tmp_size;
size_t u; /* Local index variable */
herr_t ret_value = SUCCEED; /* Return value */
@@ -572,7 +572,7 @@ H5P__dcrt_layout_dec(const void **_pp, void *value)
const H5O_layout_t *layout; /* Storage layout */
H5O_layout_t tmp_layout; /* Temporary local layout structure */
H5D_layout_t type; /* Layout type */
- const uint8_t ** pp = (const uint8_t **)_pp;
+ const uint8_t **pp = (const uint8_t **)_pp;
herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_PACKAGE
@@ -1076,7 +1076,7 @@ H5P__dcrt_fill_value_enc(const void *value, void **_pp, size_t *size)
const H5O_fill_t *fill = (const H5O_fill_t *)value; /* Create local aliases for values */
size_t dt_size = 0; /* Size of encoded datatype */
herr_t ret_value = SUCCEED; /* Return value */
- uint8_t ** pp = (uint8_t **)_pp;
+ uint8_t **pp = (uint8_t **)_pp;
uint64_t enc_value;
unsigned enc_size = 0;
@@ -1167,7 +1167,7 @@ done:
static herr_t
H5P__dcrt_fill_value_dec(const void **_pp, void *_value)
{
- H5O_fill_t * fill = (H5O_fill_t *)_value; /* Fill value */
+ H5O_fill_t *fill = (H5O_fill_t *)_value; /* Fill value */
const uint8_t **pp = (const uint8_t **)_pp;
herr_t ret_value = SUCCEED; /* Return value */
@@ -1478,7 +1478,7 @@ H5P__dcrt_ext_file_list_enc(const void *value, void **_pp, size_t *size)
const H5O_efl_t *efl = (const H5O_efl_t *)value; /* Create local aliases for values */
size_t len = 0; /* String length of slot name */
size_t u; /* Local index variable */
- uint8_t ** pp = (uint8_t **)_pp;
+ uint8_t **pp = (uint8_t **)_pp;
unsigned enc_size;
uint64_t enc_value;
@@ -1560,7 +1560,7 @@ H5P__dcrt_ext_file_list_enc(const void *value, void **_pp, size_t *size)
static herr_t
H5P__dcrt_ext_file_list_dec(const void **_pp, void *_value)
{
- H5O_efl_t * efl = (H5O_efl_t *)_value; /* External file list */
+ H5O_efl_t *efl = (H5O_efl_t *)_value; /* External file list */
const uint8_t **pp = (const uint8_t **)_pp;
size_t u, nused;
unsigned enc_size;
@@ -1894,7 +1894,7 @@ done:
herr_t
H5Pset_layout(hid_t plist_id, H5D_layout_t layout_type)
{
- H5P_genplist_t * plist; /* Property list pointer */
+ H5P_genplist_t *plist; /* Property list pointer */
const H5O_layout_t *layout; /* Pointer to default layout information for type specified */
herr_t ret_value = SUCCEED; /* Return value */
@@ -2121,10 +2121,10 @@ herr_t
H5Pset_virtual(hid_t dcpl_id, hid_t vspace_id, const char *src_file_name, const char *src_dset_name,
hid_t src_space_id)
{
- H5P_genplist_t * plist = NULL; /* Property list pointer */
+ H5P_genplist_t *plist = NULL; /* Property list pointer */
H5O_layout_t virtual_layout; /* Layout information for setting virtual info */
- H5S_t * vspace; /* Virtual dataset space selection */
- H5S_t * src_space; /* Source dataset space selection */
+ H5S_t *vspace; /* Virtual dataset space selection */
+ H5S_t *src_space; /* Source dataset space selection */
H5O_storage_virtual_ent_t *old_list = NULL; /* List pointer previously on property list */
H5O_storage_virtual_ent_t *ent = NULL; /* Convenience pointer to new VDS entry */
hbool_t retrieved_layout = FALSE; /* Whether the layout has been retrieved */
@@ -2341,7 +2341,7 @@ H5Pget_virtual_vspace(hid_t dcpl_id, size_t idx)
{
H5P_genplist_t *plist; /* Property list pointer */
H5O_layout_t layout; /* Layout information */
- H5S_t * space = NULL; /* Dataspace pointer */
+ H5S_t *space = NULL; /* Dataspace pointer */
hid_t ret_value; /* Return value */
FUNC_ENTER_API(FAIL)
@@ -2398,7 +2398,7 @@ H5Pget_virtual_srcspace(hid_t dcpl_id, size_t idx)
{
H5P_genplist_t *plist; /* Property list pointer */
H5O_layout_t layout; /* Layout information */
- H5S_t * space = NULL; /* Dataspace pointer */
+ H5S_t *space = NULL; /* Dataspace pointer */
hid_t ret_value = FAIL; /* Return value */
FUNC_ENTER_API(FAIL)
@@ -3151,7 +3151,7 @@ H5Pset_fill_value(hid_t plist_id, hid_t type_id, const void *value)
H5O_fill_reset_dyn(&fill);
if (value) {
- H5T_t * type; /* Datatype for fill value */
+ H5T_t *type; /* Datatype for fill value */
H5T_path_t *tpath; /* Conversion information */
/* Retrieve pointer to datatype */
@@ -3224,8 +3224,8 @@ H5P_get_fill_value(H5P_genplist_t *plist, const H5T_t *type, void *value /*out*/
{
H5O_fill_t fill; /* Fill value to retrieve */
H5T_path_t *tpath; /*type conversion info */
- void * buf = NULL; /*conversion buffer */
- void * bkg = NULL; /*conversion buffer */
+ void *buf = NULL; /*conversion buffer */
+ void *bkg = NULL; /*conversion buffer */
hid_t src_id = -1; /*source datatype id */
hid_t dst_id = -1; /*destination datatype id */
herr_t ret_value = SUCCEED; /* Return value */
@@ -3316,7 +3316,7 @@ herr_t
H5Pget_fill_value(hid_t plist_id, hid_t type_id, void *value /*out*/)
{
H5P_genplist_t *plist; /* Property list pointer */
- H5T_t * type; /* Datatype */
+ H5T_t *type; /* Datatype */
herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_API(FAIL)