summaryrefslogtreecommitdiffstats
path: root/src/H5HLcache.c
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2022-07-27 17:28:11 (GMT)
committerGitHub <noreply@github.com>2022-07-27 17:28:11 (GMT)
commita0a1959c58973095194f2d9ac5f9b13bb7b14fb4 (patch)
tree3f36cbd14d9ede9f00c4c26affb9ecab5d1a860f /src/H5HLcache.c
parentf0690f13fb914ff39a32d88801eabcef759a0163 (diff)
downloadhdf5-a0a1959c58973095194f2d9ac5f9b13bb7b14fb4.zip
hdf5-a0a1959c58973095194f2d9ac5f9b13bb7b14fb4.tar.gz
hdf5-a0a1959c58973095194f2d9ac5f9b13bb7b14fb4.tar.bz2
clang 13 format #1933 (#1939)
Diffstat (limited to 'src/H5HLcache.c')
-rw-r--r--src/H5HLcache.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/H5HLcache.c b/src/H5HLcache.c
index 9eb390b..8db1011 100644
--- a/src/H5HLcache.c
+++ b/src/H5HLcache.c
@@ -68,14 +68,14 @@
static herr_t H5HL__cache_prefix_get_initial_load_size(void *udata, size_t *image_len);
static herr_t H5HL__cache_prefix_get_final_load_size(const void *_image, size_t image_len, void *udata,
size_t *actual_len);
-static void * H5HL__cache_prefix_deserialize(const void *image, size_t len, void *udata, hbool_t *dirty);
+static void *H5HL__cache_prefix_deserialize(const void *image, size_t len, void *udata, hbool_t *dirty);
static herr_t H5HL__cache_prefix_image_len(const void *thing, size_t *image_len);
static herr_t H5HL__cache_prefix_serialize(const H5F_t *f, void *image, size_t len, void *thing);
static herr_t H5HL__cache_prefix_free_icr(void *thing);
/* Local heap data block */
static herr_t H5HL__cache_datablock_get_initial_load_size(void *udata, size_t *image_len);
-static void * H5HL__cache_datablock_deserialize(const void *image, size_t len, void *udata, hbool_t *dirty);
+static void *H5HL__cache_datablock_deserialize(const void *image, size_t len, void *udata, hbool_t *dirty);
static herr_t H5HL__cache_datablock_image_len(const void *thing, size_t *image_len);
static herr_t H5HL__cache_datablock_serialize(const H5F_t *f, void *image, size_t len, void *thing);
static herr_t H5HL__cache_datablock_notify(H5C_notify_action_t action, void *_thing);
@@ -348,7 +348,7 @@ static herr_t
H5HL__cache_prefix_get_final_load_size(const void *_image, size_t H5_ATTR_NDEBUG_UNUSED image_len,
void *_udata, size_t *actual_len)
{
- const uint8_t * image = (const uint8_t *)_image; /* Pointer into raw data buffer */
+ const uint8_t *image = (const uint8_t *)_image; /* Pointer into raw data buffer */
H5HL_cache_prfx_ud_t *udata = (H5HL_cache_prfx_ud_t *)_udata; /* User data for callback */
H5HL_t heap; /* Local heap */
herr_t ret_value = SUCCEED; /* Return value */
@@ -398,11 +398,11 @@ static void *
H5HL__cache_prefix_deserialize(const void *_image, size_t H5_ATTR_NDEBUG_UNUSED len, void *_udata,
hbool_t H5_ATTR_UNUSED *dirty)
{
- H5HL_t * heap = NULL; /* Local heap */
- H5HL_prfx_t * prfx = NULL; /* Heap prefix deserialized */
- const uint8_t * image = (const uint8_t *)_image; /* Pointer into decoding buffer */
+ H5HL_t *heap = NULL; /* Local heap */
+ H5HL_prfx_t *prfx = NULL; /* Heap prefix deserialized */
+ const uint8_t *image = (const uint8_t *)_image; /* Pointer into decoding buffer */
H5HL_cache_prfx_ud_t *udata = (H5HL_cache_prfx_ud_t *)_udata; /* User data for callback */
- void * ret_value = NULL; /* Return value */
+ void *ret_value = NULL; /* Return value */
FUNC_ENTER_STATIC
@@ -537,8 +537,8 @@ H5HL__cache_prefix_serialize(const H5_ATTR_NDEBUG_UNUSED H5F_t *f, void *_image,
size_t H5_ATTR_NDEBUG_UNUSED len, void *_thing)
{
H5HL_prfx_t *prfx = (H5HL_prfx_t *)_thing; /* Pointer to local heap prefix to query */
- H5HL_t * heap; /* Pointer to the local heap */
- uint8_t * image = (uint8_t *)_image; /* Pointer into image buffer */
+ H5HL_t *heap; /* Pointer to the local heap */
+ uint8_t *image = (uint8_t *)_image; /* Pointer into image buffer */
size_t buf_size; /* expected size of the image buffer */
FUNC_ENTER_STATIC_NOERR
@@ -706,8 +706,8 @@ static void *
H5HL__cache_datablock_deserialize(const void *image, size_t len, void *_udata, hbool_t H5_ATTR_UNUSED *dirty)
{
H5HL_dblk_t *dblk = NULL; /* Local heap data block deserialized */
- H5HL_t * heap = (H5HL_t *)_udata; /* User data for callback */
- void * ret_value = NULL; /* Return value */
+ H5HL_t *heap = (H5HL_t *)_udata; /* User data for callback */
+ void *ret_value = NULL; /* Return value */
FUNC_ENTER_STATIC
@@ -801,7 +801,7 @@ static herr_t
H5HL__cache_datablock_serialize(const H5F_t H5_ATTR_NDEBUG_UNUSED *f, void *image,
size_t H5_ATTR_NDEBUG_UNUSED len, void *_thing)
{
- H5HL_t * heap; /* Pointer to the local heap */
+ H5HL_t *heap; /* Pointer to the local heap */
H5HL_dblk_t *dblk = (H5HL_dblk_t *)_thing; /* Pointer to the local heap data block */
FUNC_ENTER_STATIC_NOERR