diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2022-07-27 17:28:11 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-27 17:28:11 (GMT) |
commit | a0a1959c58973095194f2d9ac5f9b13bb7b14fb4 (patch) | |
tree | 3f36cbd14d9ede9f00c4c26affb9ecab5d1a860f /src/H5VLnative_file.c | |
parent | f0690f13fb914ff39a32d88801eabcef759a0163 (diff) | |
download | hdf5-a0a1959c58973095194f2d9ac5f9b13bb7b14fb4.zip hdf5-a0a1959c58973095194f2d9ac5f9b13bb7b14fb4.tar.gz hdf5-a0a1959c58973095194f2d9ac5f9b13bb7b14fb4.tar.bz2 |
clang 13 format #1933 (#1939)
Diffstat (limited to 'src/H5VLnative_file.c')
-rw-r--r-- | src/H5VLnative_file.c | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/H5VLnative_file.c b/src/H5VLnative_file.c index a2dd058..3803e6b 100644 --- a/src/H5VLnative_file.c +++ b/src/H5VLnative_file.c @@ -46,7 +46,7 @@ H5VL__native_file_create(const char *name, unsigned flags, hid_t fcpl_id, hid_t hid_t H5_ATTR_UNUSED dxpl_id, void H5_ATTR_UNUSED **req) { H5F_t *new_file = NULL; - void * ret_value = NULL; + void *ret_value = NULL; FUNC_ENTER_PACKAGE @@ -88,7 +88,7 @@ H5VL__native_file_open(const char *name, unsigned flags, hid_t fapl_id, hid_t H5 void H5_ATTR_UNUSED **req) { H5F_t *new_file = NULL; - void * ret_value = NULL; + void *ret_value = NULL; FUNC_ENTER_PACKAGE @@ -139,7 +139,7 @@ H5VL__native_file_get(void *obj, H5VL_file_get_t get_type, hid_t H5_ATTR_UNUSED /* H5Fget_access_plist */ case H5VL_FILE_GET_FAPL: { H5P_genplist_t *new_plist; /* New property list */ - hid_t * plist_id = HDva_arg(arguments, hid_t *); + hid_t *plist_id = HDva_arg(arguments, hid_t *); f = (H5F_t *)obj; @@ -155,7 +155,7 @@ H5VL__native_file_get(void *obj, H5VL_file_get_t get_type, hid_t H5_ATTR_UNUSED /* H5Fget_create_plist */ case H5VL_FILE_GET_FCPL: { H5P_genplist_t *plist; /* Property list */ - hid_t * plist_id = HDva_arg(arguments, hid_t *); + hid_t *plist_id = HDva_arg(arguments, hid_t *); f = (H5F_t *)obj; if (NULL == (plist = (H5P_genplist_t *)H5I_object(f->shared->fcpl_id))) @@ -212,8 +212,8 @@ H5VL__native_file_get(void *obj, H5VL_file_get_t get_type, hid_t H5_ATTR_UNUSED case H5VL_FILE_GET_NAME: { H5I_type_t type = (H5I_type_t)HDva_arg(arguments, int); /* enum work-around */ size_t size = HDva_arg(arguments, size_t); - char * name = HDva_arg(arguments, char *); - ssize_t * ret = HDva_arg(arguments, ssize_t *); + char *name = HDva_arg(arguments, char *); + ssize_t *ret = HDva_arg(arguments, ssize_t *); size_t len; if (H5VL_native_get_file_struct(obj, type, &f) < 0) @@ -252,7 +252,7 @@ H5VL__native_file_get(void *obj, H5VL_file_get_t get_type, hid_t H5_ATTR_UNUSED case H5VL_FILE_GET_OBJ_IDS: { unsigned types = HDva_arg(arguments, unsigned); size_t max_objs = HDva_arg(arguments, size_t); - hid_t * oid_list = HDva_arg(arguments, hid_t *); + hid_t *oid_list = HDva_arg(arguments, hid_t *); ssize_t *ret = HDva_arg(arguments, ssize_t *); size_t obj_count = 0; /* Number of opened objects */ @@ -296,7 +296,7 @@ H5VL__native_file_specific(void *obj, H5VL_file_specific_t specific_type, hid_t case H5VL_FILE_FLUSH: { H5I_type_t type = (H5I_type_t)HDva_arg(arguments, int); /* enum work-around */ H5F_scope_t scope = (H5F_scope_t)HDva_arg(arguments, int); /* enum work-around */ - H5F_t * f = NULL; /* File to flush */ + H5F_t *f = NULL; /* File to flush */ /* Get the file for the object */ if (H5VL_native_get_file_struct(obj, type, &f) < 0) @@ -343,7 +343,7 @@ H5VL__native_file_specific(void *obj, H5VL_file_specific_t specific_type, hid_t case H5VL_FILE_MOUNT: { H5I_type_t type = (H5I_type_t)HDva_arg(arguments, int); /* enum work-around */ const char *name = HDva_arg(arguments, const char *); - H5F_t * child = HDva_arg(arguments, H5F_t *); + H5F_t *child = HDva_arg(arguments, H5F_t *); hid_t fmpl_id = HDva_arg(arguments, hid_t); H5G_loc_t loc; @@ -377,7 +377,7 @@ H5VL__native_file_specific(void *obj, H5VL_file_specific_t specific_type, hid_t case H5VL_FILE_IS_ACCESSIBLE: { hid_t fapl_id = HDva_arg(arguments, hid_t); const char *name = HDva_arg(arguments, const char *); - htri_t * result = HDva_arg(arguments, htri_t *); + htri_t *result = HDva_arg(arguments, htri_t *); /* Call private routine */ if ((*result = H5F__is_hdf5(name, fapl_id)) < 0) @@ -394,7 +394,7 @@ H5VL__native_file_specific(void *obj, H5VL_file_specific_t specific_type, hid_t /* Check if two files are the same */ case H5VL_FILE_IS_EQUAL: { - H5F_t * file2 = (H5F_t *)HDva_arg(arguments, void *); + H5F_t *file2 = (H5F_t *)HDva_arg(arguments, void *); hbool_t *is_equal = HDva_arg(arguments, hbool_t *); if (!obj || !file2) @@ -453,7 +453,7 @@ H5VL__native_file_optional(void *obj, H5VL_file_optional_t optional_type, hid_t /* H5Fget_file_image */ case H5VL_NATIVE_FILE_GET_FILE_IMAGE: { - void * buf_ptr = HDva_arg(arguments, void *); + void *buf_ptr = HDva_arg(arguments, void *); ssize_t *ret = HDva_arg(arguments, ssize_t *); size_t buf_len = HDva_arg(arguments, size_t); @@ -478,7 +478,7 @@ H5VL__native_file_optional(void *obj, H5VL_file_optional_t optional_type, hid_t /* H5Fget_free_sections */ case H5VL_NATIVE_FILE_GET_FREE_SECTIONS: { H5F_sect_info_t *sect_info = HDva_arg(arguments, H5F_sect_info_t *); - ssize_t * ret = HDva_arg(arguments, ssize_t *); + ssize_t *ret = HDva_arg(arguments, ssize_t *); H5F_mem_t type = (H5F_mem_t)HDva_arg(arguments, int); /* enum work-around */ size_t nsects = HDva_arg(arguments, size_t); @@ -528,10 +528,10 @@ H5VL__native_file_optional(void *obj, H5VL_file_optional_t optional_type, hid_t /* H5Fget_mdc_size */ case H5VL_NATIVE_FILE_GET_MDC_SIZE: { - size_t * max_size_ptr = HDva_arg(arguments, size_t *); - size_t * min_clean_size_ptr = HDva_arg(arguments, size_t *); - size_t * cur_size_ptr = HDva_arg(arguments, size_t *); - int * cur_num_entries_ptr = HDva_arg(arguments, int *); + size_t *max_size_ptr = HDva_arg(arguments, size_t *); + size_t *min_clean_size_ptr = HDva_arg(arguments, size_t *); + size_t *cur_size_ptr = HDva_arg(arguments, size_t *); + int *cur_num_entries_ptr = HDva_arg(arguments, int *); uint32_t cur_num_entries; /* Go get the size data */ |