mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-19 16:50:46 +08:00
[svn-r27133] - Add a new attribute function characterstic for format:
* H5_ATTR_FORMAT(X,Y,Z) __attribute__((format(X, Y, Z))) - Rename UNUSED attribute characterstic to H5_ATTR_UNUSED. - Rename NORETURN attribute characterstic to H5_ATTR_NORETURN tested with h5committest.
This commit is contained in:
parent
92e3188ff3
commit
fc45d5fcb0
c++/test
fortran
hl/test
src
H5.cH5A.cH5AC.cH5Abtree2.cH5Adense.cH5Aint.cH5B2cache.cH5B2int.cH5B2test.cH5Bcache.cH5C.cH5Dbtree.cH5Dchunk.cH5Dcompact.cH5Dcontig.cH5Defl.cH5Dint.cH5Dmpio.cH5EAcache.cH5EAdbg.cH5EAtest.cH5FAcache.cH5FAtest.cH5FDcore.cH5FDdirect.cH5FDfamily.cH5FDlog.cH5FDmpio.cH5FDsec2.cH5FDstdio.cH5FLprivate.hH5FS.cH5FScache.cH5FSdbg.cH5FSsection.cH5Faccum.cH5Fmount.cH5Fsuper_cache.cH5Gbtree2.cH5Gcache.cH5Gcompact.cH5Gdense.cH5Gdeprec.cH5Gint.cH5Gloc.cH5Gnode.cH5Gobj.cH5Goh.cH5Gtest.cH5Gtraverse.cH5HF.cH5HFbtree2.cH5HFcache.cH5HFsection.cH5HFspace.cH5HGcache.cH5HLcache.cH5I.cH5L.cH5Lexternal.cH5MFaggr.cH5MFsection.cH5O.cH5Oainfo.cH5Oattr.cH5Oattribute.cH5Obogus.cH5Obtreek.cH5Ocache.cH5Ocont.cH5Ocopy.cH5Odrvinfo.cH5Odtype.cH5Oefl.cH5Ofill.cH5Ofsinfo.cH5Oginfo.cH5Olayout.cH5Olinfo.cH5Olink.cH5Omtime.cH5Oname.cH5Opline.cH5Orefcount.cH5Osdspace.cH5Oshared.cH5Oshmesg.cH5Ostab.cH5Pdcpl.cH5Pdxpl.cH5Pfapl.cH5Pint.cH5Plapl.c
@ -61,7 +61,7 @@ const int H5Z_FILTER_BOGUS = 305;
|
||||
|
||||
static size_t filter_bogus(unsigned int flags, size_t cd_nelmts,
|
||||
const unsigned int *cd_values, size_t nbytes, size_t *buf_size, void **buf);
|
||||
// UNUSED variables caused warning, but taking them out caused failure.
|
||||
// H5_ATTR_UNUSED variables caused warning, but taking them out caused failure.
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
* Function: test_create
|
||||
@ -462,7 +462,7 @@ static size_t
|
||||
filter_bogus(unsigned int flags, size_t cd_nelmts,
|
||||
const unsigned int cd_values[], size_t nbytes,
|
||||
size_t *buf_size, void **buf)
|
||||
// UNUSED variables caused warning, but taking them out caused failure.
|
||||
// H5_ATTR_UNUSED variables caused warning, but taking them out caused failure.
|
||||
{
|
||||
return nbytes;
|
||||
}
|
||||
|
@ -59,7 +59,7 @@ static herr_t test_filter_internal(hid_t fid, const char *name, hid_t dcpl,
|
||||
/* Temporary filter IDs used for testing */
|
||||
const int H5Z_FILTER_BOGUS = 305;
|
||||
|
||||
#if 0 // UNUSED variables caused warning, so duplicated below with NULL instead
|
||||
#if 0 // H5_ATTR_UNUSED variables caused warning, so duplicated below with NULL instead
|
||||
static size_t filter_bogus(unsigned int flags, size_t cd_nelmts,
|
||||
const unsigned int *cd_values, size_t nbytes, size_t *buf_size, void **buf);
|
||||
#endif
|
||||
@ -92,10 +92,10 @@ const H5Z_class2_t H5Z_BOGUS[1] = {{
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static size_t
|
||||
#if 0 // UNUSED variables caused warning, so duplicated below with NULL instead
|
||||
filter_bogus(unsigned int UNUSED flags, size_t UNUSED cd_nelmts,
|
||||
const unsigned int UNUSED *cd_values, size_t nbytes,
|
||||
size_t UNUSED *buf_size, void UNUSED **buf)
|
||||
#if 0 // H5_ATTR_UNUSED variables caused warning, so duplicated below with NULL instead
|
||||
filter_bogus(unsigned int H5_ATTR_UNUSED flags, size_t H5_ATTR_UNUSED cd_nelmts,
|
||||
const unsigned int H5_ATTR_UNUSED *cd_values, size_t nbytes,
|
||||
size_t H5_ATTR_UNUSED *buf_size, void H5_ATTR_UNUSED **buf)
|
||||
#endif
|
||||
filter_bogus(size_t nbytes)
|
||||
{
|
||||
|
@ -256,7 +256,7 @@ nh5awritec_7_c (hid_t_f *attr_id, hid_t_f *mem_type_id, _fcd buf, void *dims)
|
||||
* SOURCE
|
||||
*/
|
||||
int_f
|
||||
nh5awrite_integer_s_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSED *dims)
|
||||
nh5awrite_integer_s_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void H5_ATTR_UNUSED *dims)
|
||||
/******/
|
||||
{
|
||||
/*
|
||||
@ -266,7 +266,7 @@ nh5awrite_integer_s_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void U
|
||||
}
|
||||
|
||||
int_f
|
||||
nh5awrite_integer_1_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSED *dims)
|
||||
nh5awrite_integer_1_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void H5_ATTR_UNUSED *dims)
|
||||
/******/
|
||||
{
|
||||
/*
|
||||
@ -276,7 +276,7 @@ nh5awrite_integer_1_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void U
|
||||
}
|
||||
|
||||
int_f
|
||||
nh5awrite_integer_2_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSED *dims)
|
||||
nh5awrite_integer_2_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void H5_ATTR_UNUSED *dims)
|
||||
/******/
|
||||
{
|
||||
/*
|
||||
@ -286,7 +286,7 @@ nh5awrite_integer_2_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void U
|
||||
}
|
||||
|
||||
int_f
|
||||
nh5awrite_integer_3_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSED *dims)
|
||||
nh5awrite_integer_3_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void H5_ATTR_UNUSED *dims)
|
||||
/******/
|
||||
{
|
||||
/*
|
||||
@ -296,7 +296,7 @@ nh5awrite_integer_3_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void U
|
||||
}
|
||||
|
||||
int_f
|
||||
nh5awrite_integer_4_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSED *dims)
|
||||
nh5awrite_integer_4_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void H5_ATTR_UNUSED *dims)
|
||||
/******/
|
||||
{
|
||||
/*
|
||||
@ -306,7 +306,7 @@ nh5awrite_integer_4_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void U
|
||||
}
|
||||
|
||||
int_f
|
||||
nh5awrite_integer_5_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSED *dims)
|
||||
nh5awrite_integer_5_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void H5_ATTR_UNUSED *dims)
|
||||
/******/
|
||||
{
|
||||
/*
|
||||
@ -316,7 +316,7 @@ nh5awrite_integer_5_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void U
|
||||
}
|
||||
|
||||
int_f
|
||||
nh5awrite_integer_6_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSED *dims)
|
||||
nh5awrite_integer_6_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void H5_ATTR_UNUSED *dims)
|
||||
/******/
|
||||
{
|
||||
/*
|
||||
@ -326,7 +326,7 @@ nh5awrite_integer_6_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void U
|
||||
}
|
||||
|
||||
int_f
|
||||
nh5awrite_integer_7_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSED *dims)
|
||||
nh5awrite_integer_7_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void H5_ATTR_UNUSED *dims)
|
||||
/******/
|
||||
{
|
||||
/*
|
||||
@ -336,7 +336,7 @@ nh5awrite_integer_7_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void U
|
||||
}
|
||||
|
||||
int_f
|
||||
nh5awrite_real_s_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSED *dims)
|
||||
nh5awrite_real_s_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void H5_ATTR_UNUSED *dims)
|
||||
/******/
|
||||
{
|
||||
/*
|
||||
@ -346,7 +346,7 @@ nh5awrite_real_s_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUS
|
||||
}
|
||||
|
||||
int_f
|
||||
nh5awrite_real_1_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSED *dims)
|
||||
nh5awrite_real_1_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void H5_ATTR_UNUSED *dims)
|
||||
/******/
|
||||
{
|
||||
/*
|
||||
@ -356,7 +356,7 @@ nh5awrite_real_1_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUS
|
||||
}
|
||||
|
||||
int_f
|
||||
nh5awrite_real_2_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSED *dims)
|
||||
nh5awrite_real_2_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void H5_ATTR_UNUSED *dims)
|
||||
/******/
|
||||
{
|
||||
/*
|
||||
@ -366,7 +366,7 @@ nh5awrite_real_2_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUS
|
||||
}
|
||||
|
||||
int_f
|
||||
nh5awrite_real_3_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSED *dims)
|
||||
nh5awrite_real_3_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void H5_ATTR_UNUSED *dims)
|
||||
/******/
|
||||
{
|
||||
/*
|
||||
@ -376,7 +376,7 @@ nh5awrite_real_3_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUS
|
||||
}
|
||||
|
||||
int_f
|
||||
nh5awrite_real_4_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSED *dims)
|
||||
nh5awrite_real_4_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void H5_ATTR_UNUSED *dims)
|
||||
/******/
|
||||
{
|
||||
/*
|
||||
@ -386,7 +386,7 @@ nh5awrite_real_4_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUS
|
||||
}
|
||||
|
||||
int_f
|
||||
nh5awrite_real_5_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSED *dims)
|
||||
nh5awrite_real_5_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void H5_ATTR_UNUSED *dims)
|
||||
/******/
|
||||
{
|
||||
/*
|
||||
@ -396,7 +396,7 @@ nh5awrite_real_5_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUS
|
||||
}
|
||||
|
||||
int_f
|
||||
nh5awrite_real_6_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSED *dims)
|
||||
nh5awrite_real_6_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void H5_ATTR_UNUSED *dims)
|
||||
/******/
|
||||
{
|
||||
/*
|
||||
@ -406,7 +406,7 @@ nh5awrite_real_6_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUS
|
||||
}
|
||||
|
||||
int_f
|
||||
nh5awrite_real_7_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSED *dims)
|
||||
nh5awrite_real_7_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void H5_ATTR_UNUSED *dims)
|
||||
/******/
|
||||
{
|
||||
/*
|
||||
@ -416,7 +416,7 @@ nh5awrite_real_7_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUS
|
||||
}
|
||||
|
||||
int_f
|
||||
nh5awrite_double_s_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSED *dims)
|
||||
nh5awrite_double_s_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void H5_ATTR_UNUSED *dims)
|
||||
/******/
|
||||
{
|
||||
/*
|
||||
@ -426,7 +426,7 @@ nh5awrite_double_s_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UN
|
||||
}
|
||||
|
||||
int_f
|
||||
nh5awrite_double_1_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSED *dims)
|
||||
nh5awrite_double_1_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void H5_ATTR_UNUSED *dims)
|
||||
/******/
|
||||
{
|
||||
/*
|
||||
@ -436,7 +436,7 @@ nh5awrite_double_1_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UN
|
||||
}
|
||||
|
||||
int_f
|
||||
nh5awrite_double_2_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSED *dims)
|
||||
nh5awrite_double_2_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void H5_ATTR_UNUSED *dims)
|
||||
/******/
|
||||
{
|
||||
/*
|
||||
@ -446,7 +446,7 @@ nh5awrite_double_2_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UN
|
||||
}
|
||||
|
||||
int_f
|
||||
nh5awrite_double_3_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSED *dims)
|
||||
nh5awrite_double_3_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void H5_ATTR_UNUSED *dims)
|
||||
/******/
|
||||
{
|
||||
/*
|
||||
@ -456,7 +456,7 @@ nh5awrite_double_3_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UN
|
||||
}
|
||||
|
||||
int_f
|
||||
nh5awrite_double_4_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSED *dims)
|
||||
nh5awrite_double_4_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void H5_ATTR_UNUSED *dims)
|
||||
/******/
|
||||
{
|
||||
/*
|
||||
@ -466,7 +466,7 @@ nh5awrite_double_4_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UN
|
||||
}
|
||||
|
||||
int_f
|
||||
nh5awrite_double_5_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSED *dims)
|
||||
nh5awrite_double_5_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void H5_ATTR_UNUSED *dims)
|
||||
/******/
|
||||
{
|
||||
/*
|
||||
@ -476,7 +476,7 @@ nh5awrite_double_5_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UN
|
||||
}
|
||||
|
||||
int_f
|
||||
nh5awrite_double_6_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSED *dims)
|
||||
nh5awrite_double_6_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void H5_ATTR_UNUSED *dims)
|
||||
/******/
|
||||
{
|
||||
/*
|
||||
@ -486,7 +486,7 @@ nh5awrite_double_6_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UN
|
||||
}
|
||||
|
||||
int_f
|
||||
nh5awrite_double_7_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSED *dims)
|
||||
nh5awrite_double_7_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void H5_ATTR_UNUSED *dims)
|
||||
/******/
|
||||
{
|
||||
/*
|
||||
@ -496,7 +496,7 @@ nh5awrite_double_7_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UN
|
||||
}
|
||||
|
||||
int_f
|
||||
nh5awrite_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSED *dims)
|
||||
nh5awrite_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void H5_ATTR_UNUSED *dims)
|
||||
/******/
|
||||
{
|
||||
int_f ret_value=0; /* Return value */
|
||||
@ -655,7 +655,7 @@ nh5areadc_7_c (hid_t_f *attr_id, hid_t_f *mem_type_id, _fcd buf, void *dims)
|
||||
* SOURCE
|
||||
*/
|
||||
int_f
|
||||
nh5aread_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSED * dims)
|
||||
nh5aread_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void H5_ATTR_UNUSED * dims)
|
||||
/******/
|
||||
{
|
||||
int_f ret_value=0; /* Return value */
|
||||
@ -671,7 +671,7 @@ done:
|
||||
}
|
||||
|
||||
int_f
|
||||
nh5aread_integer_s_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSED * dims)
|
||||
nh5aread_integer_s_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void H5_ATTR_UNUSED * dims)
|
||||
/******/
|
||||
{
|
||||
/*
|
||||
@ -681,7 +681,7 @@ nh5aread_integer_s_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UN
|
||||
}
|
||||
|
||||
int_f
|
||||
nh5aread_integer_1_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSED * dims)
|
||||
nh5aread_integer_1_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void H5_ATTR_UNUSED * dims)
|
||||
/******/
|
||||
{
|
||||
/*
|
||||
@ -691,7 +691,7 @@ nh5aread_integer_1_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UN
|
||||
}
|
||||
|
||||
int_f
|
||||
nh5aread_integer_2_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSED * dims)
|
||||
nh5aread_integer_2_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void H5_ATTR_UNUSED * dims)
|
||||
/******/
|
||||
{
|
||||
/*
|
||||
@ -701,7 +701,7 @@ nh5aread_integer_2_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UN
|
||||
}
|
||||
|
||||
int_f
|
||||
nh5aread_integer_3_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSED * dims)
|
||||
nh5aread_integer_3_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void H5_ATTR_UNUSED * dims)
|
||||
/******/
|
||||
{
|
||||
/*
|
||||
@ -711,7 +711,7 @@ nh5aread_integer_3_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UN
|
||||
}
|
||||
|
||||
int_f
|
||||
nh5aread_integer_4_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSED * dims)
|
||||
nh5aread_integer_4_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void H5_ATTR_UNUSED * dims)
|
||||
/******/
|
||||
{
|
||||
/*
|
||||
@ -721,7 +721,7 @@ nh5aread_integer_4_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UN
|
||||
}
|
||||
|
||||
int_f
|
||||
nh5aread_integer_5_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSED * dims)
|
||||
nh5aread_integer_5_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void H5_ATTR_UNUSED * dims)
|
||||
/******/
|
||||
{
|
||||
/*
|
||||
@ -731,7 +731,7 @@ nh5aread_integer_5_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UN
|
||||
}
|
||||
|
||||
int_f
|
||||
nh5aread_integer_6_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSED * dims)
|
||||
nh5aread_integer_6_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void H5_ATTR_UNUSED * dims)
|
||||
/******/
|
||||
{
|
||||
/*
|
||||
@ -741,7 +741,7 @@ nh5aread_integer_6_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UN
|
||||
}
|
||||
|
||||
int_f
|
||||
nh5aread_integer_7_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSED * dims)
|
||||
nh5aread_integer_7_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void H5_ATTR_UNUSED * dims)
|
||||
/******/
|
||||
{
|
||||
/*
|
||||
@ -751,7 +751,7 @@ nh5aread_integer_7_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UN
|
||||
}
|
||||
|
||||
int_f
|
||||
nh5aread_real_s_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSED * dims)
|
||||
nh5aread_real_s_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void H5_ATTR_UNUSED * dims)
|
||||
/******/
|
||||
{
|
||||
/*
|
||||
@ -761,7 +761,7 @@ nh5aread_real_s_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSE
|
||||
}
|
||||
|
||||
int_f
|
||||
nh5aread_real_1_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSED * dims)
|
||||
nh5aread_real_1_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void H5_ATTR_UNUSED * dims)
|
||||
/******/
|
||||
{
|
||||
/*
|
||||
@ -771,7 +771,7 @@ nh5aread_real_1_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSE
|
||||
}
|
||||
|
||||
int_f
|
||||
nh5aread_real_2_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSED * dims)
|
||||
nh5aread_real_2_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void H5_ATTR_UNUSED * dims)
|
||||
/******/
|
||||
{
|
||||
/*
|
||||
@ -781,7 +781,7 @@ nh5aread_real_2_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSE
|
||||
}
|
||||
|
||||
int_f
|
||||
nh5aread_real_3_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSED * dims)
|
||||
nh5aread_real_3_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void H5_ATTR_UNUSED * dims)
|
||||
/******/
|
||||
{
|
||||
/*
|
||||
@ -791,7 +791,7 @@ nh5aread_real_3_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSE
|
||||
}
|
||||
|
||||
int_f
|
||||
nh5aread_real_4_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSED * dims)
|
||||
nh5aread_real_4_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void H5_ATTR_UNUSED * dims)
|
||||
/******/
|
||||
{
|
||||
/*
|
||||
@ -801,7 +801,7 @@ nh5aread_real_4_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSE
|
||||
}
|
||||
|
||||
int_f
|
||||
nh5aread_real_5_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSED * dims)
|
||||
nh5aread_real_5_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void H5_ATTR_UNUSED * dims)
|
||||
/******/
|
||||
{
|
||||
/*
|
||||
@ -811,7 +811,7 @@ nh5aread_real_5_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSE
|
||||
}
|
||||
|
||||
int_f
|
||||
nh5aread_real_6_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSED * dims)
|
||||
nh5aread_real_6_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void H5_ATTR_UNUSED * dims)
|
||||
/******/
|
||||
{
|
||||
/*
|
||||
@ -821,7 +821,7 @@ nh5aread_real_6_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSE
|
||||
}
|
||||
|
||||
int_f
|
||||
nh5aread_real_7_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSED * dims)
|
||||
nh5aread_real_7_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void H5_ATTR_UNUSED * dims)
|
||||
/******/
|
||||
{
|
||||
/*
|
||||
@ -831,7 +831,7 @@ nh5aread_real_7_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSE
|
||||
}
|
||||
|
||||
int_f
|
||||
nh5aread_double_s_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSED * dims)
|
||||
nh5aread_double_s_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void H5_ATTR_UNUSED * dims)
|
||||
/******/
|
||||
{
|
||||
/*
|
||||
@ -841,7 +841,7 @@ nh5aread_double_s_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNU
|
||||
}
|
||||
|
||||
int_f
|
||||
nh5aread_double_1_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSED * dims)
|
||||
nh5aread_double_1_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void H5_ATTR_UNUSED * dims)
|
||||
/******/
|
||||
{
|
||||
/*
|
||||
@ -851,7 +851,7 @@ nh5aread_double_1_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNU
|
||||
}
|
||||
|
||||
int_f
|
||||
nh5aread_double_2_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSED * dims)
|
||||
nh5aread_double_2_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void H5_ATTR_UNUSED * dims)
|
||||
/******/
|
||||
{
|
||||
/*
|
||||
@ -861,7 +861,7 @@ nh5aread_double_2_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNU
|
||||
}
|
||||
|
||||
int_f
|
||||
nh5aread_double_3_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSED * dims)
|
||||
nh5aread_double_3_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void H5_ATTR_UNUSED * dims)
|
||||
/******/
|
||||
{
|
||||
/*
|
||||
@ -871,7 +871,7 @@ nh5aread_double_3_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNU
|
||||
}
|
||||
|
||||
int_f
|
||||
nh5aread_double_4_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSED * dims)
|
||||
nh5aread_double_4_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void H5_ATTR_UNUSED * dims)
|
||||
/******/
|
||||
{
|
||||
/*
|
||||
@ -881,7 +881,7 @@ nh5aread_double_4_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNU
|
||||
}
|
||||
|
||||
int_f
|
||||
nh5aread_double_5_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSED * dims)
|
||||
nh5aread_double_5_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void H5_ATTR_UNUSED * dims)
|
||||
/******/
|
||||
{
|
||||
/*
|
||||
@ -891,7 +891,7 @@ nh5aread_double_5_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNU
|
||||
}
|
||||
|
||||
int_f
|
||||
nh5aread_double_6_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSED * dims)
|
||||
nh5aread_double_6_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void H5_ATTR_UNUSED * dims)
|
||||
/******/
|
||||
{
|
||||
/*
|
||||
@ -901,7 +901,7 @@ nh5aread_double_6_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNU
|
||||
}
|
||||
|
||||
int_f
|
||||
nh5aread_double_7_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void UNUSED * dims)
|
||||
nh5aread_double_7_c (hid_t_f *attr_id, hid_t_f *mem_type_id, void *buf, void H5_ATTR_UNUSED * dims)
|
||||
/******/
|
||||
{
|
||||
/*
|
||||
|
@ -307,7 +307,7 @@ nh5dwritec_7_c (hid_t_f *dset_id, hid_t_f *mem_type_id, hid_t_f *mem_space_id, h
|
||||
* SOURCE
|
||||
*/
|
||||
int_f
|
||||
nh5dwrite_c (hid_t_f *dset_id, hid_t_f *mem_type_id, hid_t_f *mem_space_id, hid_t_f *file_space_id, hid_t_f *xfer_prp, void *buf, hsize_t_f UNUSED *dims)
|
||||
nh5dwrite_c (hid_t_f *dset_id, hid_t_f *mem_type_id, hid_t_f *mem_space_id, hid_t_f *file_space_id, hid_t_f *xfer_prp, void *buf, hsize_t_f H5_ATTR_UNUSED *dims)
|
||||
/******/
|
||||
{
|
||||
int ret_value = -1;
|
||||
@ -904,7 +904,7 @@ nh5dreadc_7_c (hid_t_f *dset_id, hid_t_f *mem_type_id, hid_t_f *mem_space_id, hi
|
||||
* SOURCE
|
||||
*/
|
||||
int_f
|
||||
nh5dread_c (hid_t_f *dset_id, hid_t_f *mem_type_id, hid_t_f *mem_space_id, hid_t_f *file_space_id, hid_t_f *xfer_prp, void *buf, hsize_t_f UNUSED *dims)
|
||||
nh5dread_c (hid_t_f *dset_id, hid_t_f *mem_type_id, hid_t_f *mem_space_id, hid_t_f *file_space_id, hid_t_f *xfer_prp, void *buf, hsize_t_f H5_ATTR_UNUSED *dims)
|
||||
/******/
|
||||
{
|
||||
int ret_value = -1;
|
||||
|
@ -2836,7 +2836,7 @@ DONE:
|
||||
* SOURCE
|
||||
*/
|
||||
int_f
|
||||
nh5pregisterc_c(hid_t_f *cls, _fcd name, int_f *name_len, size_t_f *size, _fcd value, int_f UNUSED *value_len)
|
||||
nh5pregisterc_c(hid_t_f *cls, _fcd name, int_f *name_len, size_t_f *size, _fcd value, int_f H5_ATTR_UNUSED *value_len)
|
||||
/******/
|
||||
{
|
||||
int ret_value = -1;
|
||||
@ -2869,7 +2869,7 @@ nh5pregisterc_c(hid_t_f *cls, _fcd name, int_f *name_len, size_t_f *size, _fcd v
|
||||
* SOURCE
|
||||
*/
|
||||
int_f
|
||||
h5pregister_c(hid_t_f *cls, _fcd name, int_f *name_len, size_t_f *size, void UNUSED *value)
|
||||
h5pregister_c(hid_t_f *cls, _fcd name, int_f *name_len, size_t_f *size, void H5_ATTR_UNUSED *value)
|
||||
/******/
|
||||
{
|
||||
char* c_name = NULL;
|
||||
@ -2939,7 +2939,7 @@ nh5pregister_double_c(hid_t_f *cls, _fcd name, int_f *name_len, size_t_f *size,
|
||||
* SOURCE
|
||||
*/
|
||||
int_f
|
||||
nh5pinsertc_c(hid_t_f *plist, _fcd name, int_f *name_len, size_t_f *size, _fcd value, int_f UNUSED *value_len)
|
||||
nh5pinsertc_c(hid_t_f *plist, _fcd name, int_f *name_len, size_t_f *size, _fcd value, int_f H5_ATTR_UNUSED *value_len)
|
||||
/******/
|
||||
{
|
||||
int_f ret_value = -1;
|
||||
@ -2972,7 +2972,7 @@ nh5pinsertc_c(hid_t_f *plist, _fcd name, int_f *name_len, size_t_f *size, _fcd v
|
||||
* SOURCE
|
||||
*/
|
||||
int_f
|
||||
h5pinsert_c(hid_t_f *plist, _fcd name, int_f *name_len, size_t_f *size, void UNUSED *value)
|
||||
h5pinsert_c(hid_t_f *plist, _fcd name, int_f *name_len, size_t_f *size, void H5_ATTR_UNUSED *value)
|
||||
/******/
|
||||
{
|
||||
char* c_name = NULL;
|
||||
@ -3437,7 +3437,7 @@ DONE:
|
||||
* SOURCE
|
||||
*/
|
||||
int_f
|
||||
nh5psetc_c(hid_t_f *plist, _fcd name, int_f *name_len, _fcd value, int_f UNUSED *value_len)
|
||||
nh5psetc_c(hid_t_f *plist, _fcd name, int_f *name_len, _fcd value, int_f H5_ATTR_UNUSED *value_len)
|
||||
/******/
|
||||
{
|
||||
int_f ret_value = -1;
|
||||
@ -3535,7 +3535,7 @@ nh5pset_double_c(hid_t_f *plist, _fcd name, int_f *name_len, void *value)
|
||||
* SOURCE
|
||||
*/
|
||||
int_f
|
||||
nh5pgetc_c(hid_t_f *plist, _fcd name, int_f *name_len, _fcd value, int_f UNUSED *value_len)
|
||||
nh5pgetc_c(hid_t_f *plist, _fcd name, int_f *name_len, _fcd value, int_f H5_ATTR_UNUSED *value_len)
|
||||
/******/
|
||||
{
|
||||
int_f ret_value = -1;
|
||||
@ -5215,7 +5215,7 @@ nh5pset_link_phase_change_c(hid_t_f *gcpl_id, int_f *max_compact, int_f *min_den
|
||||
* SOURCE
|
||||
*/
|
||||
int_f
|
||||
nh5pset_fapl_direct_c(hid_t_f UNUSED *fapl_id, size_t_f UNUSED *alignment, size_t_f UNUSED *block_size, size_t_f UNUSED *cbuf_size)
|
||||
nh5pset_fapl_direct_c(hid_t_f H5_ATTR_UNUSED *fapl_id, size_t_f H5_ATTR_UNUSED *alignment, size_t_f H5_ATTR_UNUSED *block_size, size_t_f H5_ATTR_UNUSED *cbuf_size)
|
||||
/******/
|
||||
{
|
||||
int ret_value = -1;
|
||||
@ -5258,7 +5258,7 @@ nh5pset_fapl_direct_c(hid_t_f UNUSED *fapl_id, size_t_f UNUSED *alignment, size_
|
||||
* SOURCE
|
||||
*/
|
||||
int_f
|
||||
nh5pget_fapl_direct_c(hid_t_f UNUSED *fapl_id, size_t_f UNUSED *alignment, size_t_f UNUSED *block_size, size_t_f UNUSED *cbuf_size)
|
||||
nh5pget_fapl_direct_c(hid_t_f H5_ATTR_UNUSED *fapl_id, size_t_f H5_ATTR_UNUSED *alignment, size_t_f H5_ATTR_UNUSED *block_size, size_t_f H5_ATTR_UNUSED *cbuf_size)
|
||||
/******/
|
||||
{
|
||||
int ret_value = -1;
|
||||
|
@ -34,7 +34,7 @@ H5_FCTESTDLL int_f nh5_fixname_c
|
||||
H5_FCTESTDLL int_f nh5_cleanup_c
|
||||
(_fcd base_name, size_t_f *base_namelen, hid_t_f *fapl);
|
||||
|
||||
H5_FCTESTDLL NORETURN void nh5_exit_c
|
||||
H5_FCTESTDLL H5_ATTR_NORETURN void nh5_exit_c
|
||||
(int_f *status);
|
||||
|
||||
H5_FCTESTDLL void nh5_env_nocleanup_c
|
||||
|
@ -496,8 +496,8 @@ error:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static size_t
|
||||
filter_bogus1(unsigned int flags, size_t UNUSED cd_nelmts,
|
||||
const unsigned int UNUSED *cd_values, size_t nbytes,
|
||||
filter_bogus1(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 *int_ptr=(int *)*buf; /* Pointer to the data values */
|
||||
@ -533,8 +533,8 @@ filter_bogus1(unsigned int flags, size_t UNUSED cd_nelmts,
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static size_t
|
||||
filter_bogus2(unsigned int flags, size_t UNUSED cd_nelmts,
|
||||
const unsigned int UNUSED *cd_values, size_t nbytes,
|
||||
filter_bogus2(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 *int_ptr=(int *)*buf; /* Pointer to the data values */
|
||||
|
2
src/H5.c
2
src/H5.c
@ -615,7 +615,7 @@ H5_debug_mask(const char *s)
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static int H5_mpi_delete_cb(MPI_Comm UNUSED comm, int UNUSED keyval, void UNUSED *attr_val, int UNUSED *flag)
|
||||
static int H5_mpi_delete_cb(MPI_Comm H5_ATTR_UNUSED comm, int H5_ATTR_UNUSED keyval, void H5_ATTR_UNUSED *attr_val, int H5_ATTR_UNUSED *flag)
|
||||
{
|
||||
H5_term_library();
|
||||
return MPI_SUCCESS;
|
||||
|
10
src/H5A.c
10
src/H5A.c
@ -229,7 +229,7 @@ H5A_term_interface(void)
|
||||
/* ARGSUSED */
|
||||
hid_t
|
||||
H5Acreate2(hid_t loc_id, const char *attr_name, hid_t type_id, hid_t space_id,
|
||||
hid_t acpl_id, hid_t UNUSED aapl_id)
|
||||
hid_t acpl_id, hid_t H5_ATTR_UNUSED aapl_id)
|
||||
{
|
||||
H5A_t *attr = NULL; /* Attribute created */
|
||||
H5G_loc_t loc; /* Object location */
|
||||
@ -304,7 +304,7 @@ done:
|
||||
/* ARGSUSED */
|
||||
hid_t
|
||||
H5Acreate_by_name(hid_t loc_id, const char *obj_name, const char *attr_name,
|
||||
hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t UNUSED aapl_id,
|
||||
hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t H5_ATTR_UNUSED aapl_id,
|
||||
hid_t lapl_id)
|
||||
{
|
||||
H5A_t *attr = NULL; /* Attribute created */
|
||||
@ -385,7 +385,7 @@ done:
|
||||
H5Aclose or resource leaks will develop.
|
||||
--------------------------------------------------------------------------*/
|
||||
hid_t
|
||||
H5Aopen(hid_t loc_id, const char *attr_name, hid_t UNUSED aapl_id)
|
||||
H5Aopen(hid_t loc_id, const char *attr_name, hid_t H5_ATTR_UNUSED aapl_id)
|
||||
{
|
||||
H5G_loc_t loc; /* Object location */
|
||||
H5A_t *attr = NULL; /* Attribute opened */
|
||||
@ -447,7 +447,7 @@ done:
|
||||
--------------------------------------------------------------------------*/
|
||||
hid_t
|
||||
H5Aopen_by_name(hid_t loc_id, const char *obj_name, const char *attr_name,
|
||||
hid_t UNUSED aapl_id, hid_t lapl_id)
|
||||
hid_t H5_ATTR_UNUSED aapl_id, hid_t lapl_id)
|
||||
{
|
||||
H5G_loc_t loc; /* Object location */
|
||||
H5A_t *attr = NULL; /* Attribute opened */
|
||||
@ -515,7 +515,7 @@ done:
|
||||
--------------------------------------------------------------------------*/
|
||||
hid_t
|
||||
H5Aopen_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type,
|
||||
H5_iter_order_t order, hsize_t n, hid_t UNUSED aapl_id, hid_t lapl_id)
|
||||
H5_iter_order_t order, hsize_t n, hid_t H5_ATTR_UNUSED aapl_id, hid_t lapl_id)
|
||||
{
|
||||
H5A_t *attr = NULL; /* Attribute opened */
|
||||
H5G_loc_t loc; /* Object location */
|
||||
|
@ -2988,12 +2988,12 @@ done:
|
||||
#ifdef H5_HAVE_PARALLEL
|
||||
static herr_t
|
||||
H5AC_check_if_write_permitted(const H5F_t *f,
|
||||
hid_t UNUSED dxpl_id,
|
||||
hid_t H5_ATTR_UNUSED dxpl_id,
|
||||
hbool_t * write_permitted_ptr)
|
||||
#else /* H5_HAVE_PARALLEL */
|
||||
static herr_t
|
||||
H5AC_check_if_write_permitted(const H5F_t UNUSED * f,
|
||||
hid_t UNUSED dxpl_id,
|
||||
H5AC_check_if_write_permitted(const H5F_t H5_ATTR_UNUSED * f,
|
||||
hid_t H5_ATTR_UNUSED dxpl_id,
|
||||
hbool_t * write_permitted_ptr)
|
||||
#endif /* H5_HAVE_PARALLEL */
|
||||
{
|
||||
@ -3561,7 +3561,7 @@ H5AC_log_flushed_entry(H5C_t * cache_ptr,
|
||||
haddr_t addr,
|
||||
hbool_t was_dirty,
|
||||
unsigned flags,
|
||||
int UNUSED type_id)
|
||||
int H5_ATTR_UNUSED type_id)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
hbool_t cleared;
|
||||
|
@ -164,7 +164,7 @@ const H5B2_class_t H5A_BT2_CORDER[1]={{ /* B-tree class information */
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5A__dense_fh_name_cmp(const void *obj, size_t UNUSED obj_len, void *_udata)
|
||||
H5A__dense_fh_name_cmp(const void *obj, size_t H5_ATTR_UNUSED obj_len, void *_udata)
|
||||
{
|
||||
H5A_fh_ud_cmp_t *udata = (H5A_fh_ud_cmp_t *)_udata; /* User data for 'op' callback */
|
||||
H5A_t *attr = NULL; /* Pointer to attribute created from heap object */
|
||||
@ -319,7 +319,7 @@ H5A__dense_btree2_name_compare(const void *_bt2_udata, const void *_bt2_rec)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5A__dense_btree2_name_encode(uint8_t *raw, const void *_nrecord, void UNUSED *ctx)
|
||||
H5A__dense_btree2_name_encode(uint8_t *raw, const void *_nrecord, void H5_ATTR_UNUSED *ctx)
|
||||
{
|
||||
const H5A_dense_bt2_name_rec_t *nrecord = (const H5A_dense_bt2_name_rec_t *)_nrecord;
|
||||
|
||||
@ -350,7 +350,7 @@ H5A__dense_btree2_name_encode(uint8_t *raw, const void *_nrecord, void UNUSED *c
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5A__dense_btree2_name_decode(const uint8_t *raw, void *_nrecord, void UNUSED *ctx)
|
||||
H5A__dense_btree2_name_decode(const uint8_t *raw, void *_nrecord, void H5_ATTR_UNUSED *ctx)
|
||||
{
|
||||
H5A_dense_bt2_name_rec_t *nrecord = (H5A_dense_bt2_name_rec_t *)_nrecord;
|
||||
|
||||
@ -381,8 +381,8 @@ H5A__dense_btree2_name_decode(const uint8_t *raw, void *_nrecord, void UNUSED *c
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5A__dense_btree2_name_debug(FILE *stream, const H5F_t UNUSED *f, hid_t UNUSED dxpl_id,
|
||||
int indent, int fwidth, const void *_nrecord, const void UNUSED *_udata)
|
||||
H5A__dense_btree2_name_debug(FILE *stream, const H5F_t H5_ATTR_UNUSED *f, hid_t H5_ATTR_UNUSED dxpl_id,
|
||||
int indent, int fwidth, const void *_nrecord, const void H5_ATTR_UNUSED *_udata)
|
||||
{
|
||||
const H5A_dense_bt2_name_rec_t *nrecord = (const H5A_dense_bt2_name_rec_t *)_nrecord;
|
||||
|
||||
@ -479,7 +479,7 @@ H5A__dense_btree2_corder_compare(const void *_bt2_udata, const void *_bt2_rec)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5A__dense_btree2_corder_encode(uint8_t *raw, const void *_nrecord, void UNUSED *ctx)
|
||||
H5A__dense_btree2_corder_encode(uint8_t *raw, const void *_nrecord, void H5_ATTR_UNUSED *ctx)
|
||||
{
|
||||
const H5A_dense_bt2_corder_rec_t *nrecord = (const H5A_dense_bt2_corder_rec_t *)_nrecord;
|
||||
|
||||
@ -509,7 +509,7 @@ H5A__dense_btree2_corder_encode(uint8_t *raw, const void *_nrecord, void UNUSED
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5A__dense_btree2_corder_decode(const uint8_t *raw, void *_nrecord, void UNUSED *ctx)
|
||||
H5A__dense_btree2_corder_decode(const uint8_t *raw, void *_nrecord, void H5_ATTR_UNUSED *ctx)
|
||||
{
|
||||
H5A_dense_bt2_corder_rec_t *nrecord = (H5A_dense_bt2_corder_rec_t *)_nrecord;
|
||||
|
||||
@ -539,8 +539,8 @@ H5A__dense_btree2_corder_decode(const uint8_t *raw, void *_nrecord, void UNUSED
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5A__dense_btree2_corder_debug(FILE *stream, const H5F_t UNUSED *f, hid_t UNUSED dxpl_id,
|
||||
int indent, int fwidth, const void *_nrecord, const void UNUSED *_udata)
|
||||
H5A__dense_btree2_corder_debug(FILE *stream, const H5F_t H5_ATTR_UNUSED *f, hid_t H5_ATTR_UNUSED dxpl_id,
|
||||
int indent, int fwidth, const void *_nrecord, const void H5_ATTR_UNUSED *_udata)
|
||||
{
|
||||
const H5A_dense_bt2_corder_rec_t *nrecord = (const H5A_dense_bt2_corder_rec_t *)_nrecord;
|
||||
|
||||
|
@ -845,7 +845,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5A__dense_copy_fh_cb(const void *obj, size_t UNUSED obj_len, void *_udata)
|
||||
H5A__dense_copy_fh_cb(const void *obj, size_t H5_ATTR_UNUSED obj_len, void *_udata)
|
||||
{
|
||||
H5A_fh_ud_cp_t *udata = (H5A_fh_ud_cp_t *)_udata; /* User data for fractal heap 'op' callback */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
@ -1239,8 +1239,8 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5A__compact_build_table_cb(H5O_t UNUSED *oh, H5O_mesg_t *mesg/*in,out*/,
|
||||
unsigned sequence, unsigned UNUSED *oh_modified, void *_udata/*in,out*/)
|
||||
H5A__compact_build_table_cb(H5O_t H5_ATTR_UNUSED *oh, H5O_mesg_t *mesg/*in,out*/,
|
||||
unsigned sequence, unsigned H5_ATTR_UNUSED *oh_modified, void *_udata/*in,out*/)
|
||||
{
|
||||
H5A_compact_bt_ud_t *udata = (H5A_compact_bt_ud_t *)_udata; /* Operator user data */
|
||||
herr_t ret_value = H5_ITER_CONT; /* Return value */
|
||||
|
@ -70,17 +70,17 @@
|
||||
|
||||
/* Metadata cache callbacks */
|
||||
static H5B2_hdr_t *H5B2__cache_hdr_load(H5F_t *f, hid_t dxpl_id, haddr_t addr, void *udata);
|
||||
static herr_t H5B2__cache_hdr_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr, H5B2_hdr_t *hdr, unsigned UNUSED * flags_ptr);
|
||||
static herr_t H5B2__cache_hdr_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr, H5B2_hdr_t *hdr, unsigned H5_ATTR_UNUSED * flags_ptr);
|
||||
static herr_t H5B2__cache_hdr_dest(H5F_t *f, H5B2_hdr_t *hdr);
|
||||
static herr_t H5B2__cache_hdr_clear(H5F_t *f, H5B2_hdr_t *hdr, hbool_t destroy);
|
||||
static herr_t H5B2__cache_hdr_size(const H5F_t *f, const H5B2_hdr_t *hdr, size_t *size_ptr);
|
||||
static H5B2_internal_t *H5B2__cache_internal_load(H5F_t *f, hid_t dxpl_id, haddr_t addr, void *udata);
|
||||
static herr_t H5B2__cache_internal_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr, H5B2_internal_t *i, unsigned UNUSED * flags_ptr);
|
||||
static herr_t H5B2__cache_internal_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr, H5B2_internal_t *i, unsigned H5_ATTR_UNUSED * flags_ptr);
|
||||
static herr_t H5B2__cache_internal_dest(H5F_t *f, H5B2_internal_t *internal);
|
||||
static herr_t H5B2__cache_internal_clear(H5F_t *f, H5B2_internal_t *i, hbool_t destroy);
|
||||
static herr_t H5B2__cache_internal_size(const H5F_t *f, const H5B2_internal_t *i, size_t *size_ptr);
|
||||
static H5B2_leaf_t *H5B2__cache_leaf_load(H5F_t *f, hid_t dxpl_id, haddr_t addr, void *udata);
|
||||
static herr_t H5B2__cache_leaf_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr, H5B2_leaf_t *l, unsigned UNUSED * flags_ptr);
|
||||
static herr_t H5B2__cache_leaf_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr, H5B2_leaf_t *l, unsigned H5_ATTR_UNUSED * flags_ptr);
|
||||
static herr_t H5B2__cache_leaf_dest(H5F_t *f, H5B2_leaf_t *leaf);
|
||||
static herr_t H5B2__cache_leaf_clear(H5F_t *f, H5B2_leaf_t *l, hbool_t destroy);
|
||||
static herr_t H5B2__cache_leaf_size(const H5F_t *f, const H5B2_leaf_t *l, size_t *size_ptr);
|
||||
@ -274,7 +274,7 @@ done:
|
||||
*/
|
||||
static herr_t
|
||||
H5B2__cache_hdr_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr,
|
||||
H5B2_hdr_t *hdr, unsigned UNUSED * flags_ptr)
|
||||
H5B2_hdr_t *hdr, unsigned H5_ATTR_UNUSED * flags_ptr)
|
||||
{
|
||||
H5WB_t *wb = NULL; /* Wrapped buffer for header data */
|
||||
uint8_t hdr_buf[H5B2_HDR_BUF_SIZE]; /* Buffer for header */
|
||||
@ -460,7 +460,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5B2__cache_hdr_size(const H5F_t UNUSED *f, const H5B2_hdr_t *hdr, size_t *size_ptr)
|
||||
H5B2__cache_hdr_size(const H5F_t H5_ATTR_UNUSED *f, const H5B2_hdr_t *hdr, size_t *size_ptr)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
|
||||
@ -622,7 +622,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5B2__cache_internal_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr, H5B2_internal_t *internal, unsigned UNUSED * flags_ptr)
|
||||
H5B2__cache_internal_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr, H5B2_internal_t *internal, unsigned H5_ATTR_UNUSED * flags_ptr)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
@ -803,7 +803,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5B2__cache_internal_size(const H5F_t UNUSED *f, const H5B2_internal_t *internal, size_t *size_ptr)
|
||||
H5B2__cache_internal_size(const H5F_t H5_ATTR_UNUSED *f, const H5B2_internal_t *internal, size_t *size_ptr)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
|
||||
@ -834,7 +834,7 @@ H5B2__cache_internal_size(const H5F_t UNUSED *f, const H5B2_internal_t *internal
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static H5B2_leaf_t *
|
||||
H5B2__cache_leaf_load(H5F_t UNUSED *f, hid_t dxpl_id, haddr_t addr, void *_udata)
|
||||
H5B2__cache_leaf_load(H5F_t H5_ATTR_UNUSED *f, hid_t dxpl_id, haddr_t addr, void *_udata)
|
||||
{
|
||||
H5B2_leaf_cache_ud_t *udata = (H5B2_leaf_cache_ud_t *)_udata;
|
||||
H5B2_leaf_t *leaf = NULL; /* Pointer to lead node loaded */
|
||||
@ -944,7 +944,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5B2__cache_leaf_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr, H5B2_leaf_t *leaf, unsigned UNUSED * flags_ptr)
|
||||
H5B2__cache_leaf_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr, H5B2_leaf_t *leaf, unsigned H5_ATTR_UNUSED * flags_ptr)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
@ -1111,7 +1111,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5B2__cache_leaf_size(const H5F_t UNUSED *f, const H5B2_leaf_t *leaf, size_t *size_ptr)
|
||||
H5B2__cache_leaf_size(const H5F_t H5_ATTR_UNUSED *f, const H5B2_leaf_t *leaf, size_t *size_ptr)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
|
||||
|
@ -3213,7 +3213,7 @@ H5B2__assert_leaf(const H5B2_hdr_t *hdr, const H5B2_leaf_t *leaf)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5B2__assert_leaf2(const H5B2_hdr_t *hdr, const H5B2_leaf_t *leaf, const H5B2_leaf_t UNUSED *leaf2)
|
||||
H5B2__assert_leaf2(const H5B2_hdr_t *hdr, const H5B2_leaf_t *leaf, const H5B2_leaf_t H5_ATTR_UNUSED *leaf2)
|
||||
{
|
||||
/* General sanity checking on node */
|
||||
HDassert(leaf->nrec <= hdr->node_info->split_nrec);
|
||||
|
@ -295,9 +295,9 @@ H5B2__test_decode(const uint8_t *raw, void *nrecord, void *_ctx)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5B2__test_debug(FILE *stream, const H5F_t UNUSED *f, hid_t UNUSED dxpl_id,
|
||||
H5B2__test_debug(FILE *stream, const H5F_t H5_ATTR_UNUSED *f, hid_t H5_ATTR_UNUSED dxpl_id,
|
||||
int indent, int fwidth, const void *record,
|
||||
const void UNUSED *_udata)
|
||||
const void H5_ATTR_UNUSED *_udata)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
|
||||
@ -324,7 +324,7 @@ H5B2__test_debug(FILE *stream, const H5F_t UNUSED *f, hid_t UNUSED dxpl_id,
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static void *
|
||||
H5B2__test_crt_dbg_context(H5F_t *f, hid_t UNUSED dxpl_id, haddr_t UNUSED addr)
|
||||
H5B2__test_crt_dbg_context(H5F_t *f, hid_t H5_ATTR_UNUSED dxpl_id, haddr_t H5_ATTR_UNUSED addr)
|
||||
{
|
||||
H5B2_test_ctx_t *ctx; /* Callback context structure */
|
||||
void *ret_value; /* Return value */
|
||||
|
@ -56,7 +56,7 @@
|
||||
|
||||
/* Metadata cache callbacks */
|
||||
static H5B_t *H5B__load(H5F_t *f, hid_t dxpl_id, haddr_t addr, void *udata);
|
||||
static herr_t H5B__flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr, H5B_t *b, unsigned UNUSED * flags_ptr);
|
||||
static herr_t H5B__flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr, H5B_t *b, unsigned H5_ATTR_UNUSED * flags_ptr);
|
||||
static herr_t H5B__dest(H5F_t *f, H5B_t *bt);
|
||||
static herr_t H5B__clear(H5F_t *f, H5B_t *b, hbool_t destroy);
|
||||
static herr_t H5B__compute_size(const H5F_t *f, const H5B_t *bt, size_t *size_ptr);
|
||||
@ -207,7 +207,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5B__flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr, H5B_t *bt, unsigned UNUSED * flags_ptr)
|
||||
H5B__flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr, H5B_t *bt, unsigned H5_ATTR_UNUSED * flags_ptr)
|
||||
{
|
||||
H5B_shared_t *shared; /* Pointer to shared B-tree info */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
@ -389,7 +389,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5B__compute_size(const H5F_t UNUSED *f, const H5B_t *bt, size_t *size_ptr)
|
||||
H5B__compute_size(const H5F_t H5_ATTR_UNUSED *f, const H5B_t *bt, size_t *size_ptr)
|
||||
{
|
||||
H5B_shared_t *shared; /* Pointer to shared B-tree info */
|
||||
|
||||
|
48
src/H5C.c
48
src/H5C.c
@ -241,10 +241,10 @@ const H5C_class_t epoch_marker_class =
|
||||
***************************************************************************/
|
||||
|
||||
static void *
|
||||
H5C_epoch_marker_load(H5F_t UNUSED * f,
|
||||
hid_t UNUSED dxpl_id,
|
||||
haddr_t UNUSED addr,
|
||||
void UNUSED * udata)
|
||||
H5C_epoch_marker_load(H5F_t H5_ATTR_UNUSED * f,
|
||||
hid_t H5_ATTR_UNUSED dxpl_id,
|
||||
haddr_t H5_ATTR_UNUSED addr,
|
||||
void H5_ATTR_UNUSED * udata)
|
||||
{
|
||||
void * ret_value = NULL; /* Return value */
|
||||
|
||||
@ -260,12 +260,12 @@ done:
|
||||
|
||||
|
||||
static herr_t
|
||||
H5C_epoch_marker_flush(H5F_t UNUSED *f,
|
||||
hid_t UNUSED dxpl_id,
|
||||
hbool_t UNUSED dest,
|
||||
haddr_t UNUSED addr,
|
||||
void UNUSED *thing,
|
||||
unsigned UNUSED * flags_ptr)
|
||||
H5C_epoch_marker_flush(H5F_t H5_ATTR_UNUSED *f,
|
||||
hid_t H5_ATTR_UNUSED dxpl_id,
|
||||
hbool_t H5_ATTR_UNUSED dest,
|
||||
haddr_t H5_ATTR_UNUSED addr,
|
||||
void H5_ATTR_UNUSED *thing,
|
||||
unsigned H5_ATTR_UNUSED * flags_ptr)
|
||||
{
|
||||
herr_t ret_value = FAIL; /* Return value */
|
||||
|
||||
@ -281,8 +281,8 @@ done:
|
||||
|
||||
|
||||
static herr_t
|
||||
H5C_epoch_marker_dest(H5F_t UNUSED * f,
|
||||
void UNUSED * thing)
|
||||
H5C_epoch_marker_dest(H5F_t H5_ATTR_UNUSED * f,
|
||||
void H5_ATTR_UNUSED * thing)
|
||||
{
|
||||
herr_t ret_value = FAIL; /* Return value */
|
||||
|
||||
@ -296,9 +296,9 @@ done:
|
||||
}
|
||||
|
||||
static herr_t
|
||||
H5C_epoch_marker_clear(H5F_t UNUSED * f,
|
||||
void UNUSED * thing,
|
||||
hbool_t UNUSED dest)
|
||||
H5C_epoch_marker_clear(H5F_t H5_ATTR_UNUSED * f,
|
||||
void H5_ATTR_UNUSED * thing,
|
||||
hbool_t H5_ATTR_UNUSED dest)
|
||||
{
|
||||
herr_t ret_value = FAIL; /* Return value */
|
||||
|
||||
@ -312,8 +312,8 @@ done:
|
||||
}
|
||||
|
||||
static herr_t
|
||||
H5C_epoch_marker_notify(H5C_notify_action_t UNUSED action,
|
||||
void UNUSED * thing)
|
||||
H5C_epoch_marker_notify(H5C_notify_action_t H5_ATTR_UNUSED action,
|
||||
void H5_ATTR_UNUSED * thing)
|
||||
{
|
||||
herr_t ret_value = FAIL; /* Return value */
|
||||
|
||||
@ -326,9 +326,9 @@ done:
|
||||
}
|
||||
|
||||
static herr_t
|
||||
H5C_epoch_marker_size(const H5F_t UNUSED * f,
|
||||
const void UNUSED * thing,
|
||||
size_t UNUSED * size_ptr)
|
||||
H5C_epoch_marker_size(const H5F_t H5_ATTR_UNUSED * f,
|
||||
const void H5_ATTR_UNUSED * thing,
|
||||
size_t H5_ATTR_UNUSED * size_ptr)
|
||||
{
|
||||
herr_t ret_value = FAIL; /* Return value */
|
||||
|
||||
@ -1339,7 +1339,7 @@ H5C_def_auto_resize_rpt_fcn(H5C_t * cache_ptr,
|
||||
#ifndef NDEBUG
|
||||
int32_t version,
|
||||
#else /* NDEBUG */
|
||||
int32_t UNUSED version,
|
||||
int32_t H5_ATTR_UNUSED version,
|
||||
#endif /* NDEBUG */
|
||||
double hit_rate,
|
||||
enum H5C_resize_status status,
|
||||
@ -3637,7 +3637,7 @@ H5C_pin_entry_from_client(H5C_t * cache_ptr,
|
||||
H5C_cache_entry_t * entry_ptr)
|
||||
#else
|
||||
static herr_t
|
||||
H5C_pin_entry_from_client(H5C_t UNUSED * cache_ptr,
|
||||
H5C_pin_entry_from_client(H5C_t H5_ATTR_UNUSED * cache_ptr,
|
||||
H5C_cache_entry_t * entry_ptr)
|
||||
#endif
|
||||
{
|
||||
@ -4658,7 +4658,7 @@ H5C_stats(H5C_t * cache_ptr,
|
||||
const char * cache_name,
|
||||
hbool_t
|
||||
#if !H5C_COLLECT_CACHE_STATS
|
||||
UNUSED
|
||||
H5_ATTR_UNUSED
|
||||
#endif /* H5C_COLLECT_CACHE_STATS */
|
||||
display_detailed_stats)
|
||||
{
|
||||
@ -5119,7 +5119,7 @@ H5C_stats__reset(H5C_t * cache_ptr)
|
||||
#if H5C_COLLECT_CACHE_STATS
|
||||
H5C_stats__reset(H5C_t * cache_ptr)
|
||||
#else /* H5C_COLLECT_CACHE_STATS */
|
||||
H5C_stats__reset(H5C_t UNUSED * cache_ptr)
|
||||
H5C_stats__reset(H5C_t H5_ATTR_UNUSED * cache_ptr)
|
||||
#endif /* H5C_COLLECT_CACHE_STATS */
|
||||
#endif /* NDEBUG */
|
||||
{
|
||||
|
@ -220,7 +220,7 @@ H5FL_DEFINE_STATIC(H5O_layout_chunk_t);
|
||||
*/
|
||||
/* ARGSUSED */
|
||||
static H5UC_t *
|
||||
H5D__btree_get_shared(const H5F_t UNUSED *f, const void *_udata)
|
||||
H5D__btree_get_shared(const H5F_t H5_ATTR_UNUSED *f, const void *_udata)
|
||||
{
|
||||
const H5D_chunk_common_ud_t *udata = (const H5D_chunk_common_ud_t *) _udata;
|
||||
|
||||
@ -255,7 +255,7 @@ H5D__btree_get_shared(const H5F_t UNUSED *f, const void *_udata)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5D__btree_new_node(H5F_t *f, hid_t UNUSED dxpl_id, H5B_ins_t op,
|
||||
H5D__btree_new_node(H5F_t *f, hid_t H5_ATTR_UNUSED dxpl_id, H5B_ins_t op,
|
||||
void *_lt_key, void *_udata, void *_rt_key,
|
||||
haddr_t *addr_p/*out*/)
|
||||
{
|
||||
@ -441,7 +441,7 @@ H5D__btree_cmp3(void *_lt_key, void *_udata, void *_rt_key)
|
||||
*/
|
||||
/* ARGSUSED */
|
||||
static htri_t
|
||||
H5D__btree_found(H5F_t UNUSED *f, hid_t UNUSED dxpl_id, haddr_t addr, const void *_lt_key,
|
||||
H5D__btree_found(H5F_t H5_ATTR_UNUSED *f, hid_t H5_ATTR_UNUSED dxpl_id, haddr_t addr, const void *_lt_key,
|
||||
void *_udata)
|
||||
{
|
||||
H5D_chunk_ud_t *udata = (H5D_chunk_ud_t *) _udata;
|
||||
@ -541,10 +541,10 @@ done:
|
||||
*/
|
||||
/* ARGSUSED */
|
||||
static H5B_ins_t
|
||||
H5D__btree_insert(H5F_t *f, hid_t UNUSED dxpl_id, haddr_t addr, void *_lt_key,
|
||||
H5D__btree_insert(H5F_t *f, hid_t H5_ATTR_UNUSED dxpl_id, haddr_t addr, void *_lt_key,
|
||||
hbool_t *lt_key_changed,
|
||||
void *_md_key, void *_udata, void *_rt_key,
|
||||
hbool_t UNUSED *rt_key_changed,
|
||||
hbool_t H5_ATTR_UNUSED *rt_key_changed,
|
||||
haddr_t *new_node_p/*out*/)
|
||||
{
|
||||
H5D_btree_key_t *lt_key = (H5D_btree_key_t *) _lt_key;
|
||||
@ -637,8 +637,8 @@ done:
|
||||
static H5B_ins_t
|
||||
H5D__btree_remove(H5F_t *f, hid_t dxpl_id, haddr_t addr, void *_lt_key /*in,out */ ,
|
||||
hbool_t *lt_key_changed /*out */ ,
|
||||
void UNUSED * _udata /*in,out */ ,
|
||||
void UNUSED * _rt_key /*in,out */ ,
|
||||
void H5_ATTR_UNUSED * _udata /*in,out */ ,
|
||||
void H5_ATTR_UNUSED * _rt_key /*in,out */ ,
|
||||
hbool_t *rt_key_changed /*out */ )
|
||||
{
|
||||
H5D_btree_key_t *lt_key = (H5D_btree_key_t *)_lt_key;
|
||||
@ -881,7 +881,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5D__btree_idx_init(const H5D_chk_idx_info_t *idx_info, const H5S_t UNUSED *space,
|
||||
H5D__btree_idx_init(const H5D_chk_idx_info_t *idx_info, const H5S_t H5_ATTR_UNUSED *space,
|
||||
haddr_t dset_ohdr_addr)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
@ -1078,8 +1078,8 @@ done:
|
||||
*/
|
||||
/* ARGSUSED */
|
||||
static int
|
||||
H5D__btree_idx_iterate_cb(H5F_t UNUSED *f, hid_t UNUSED dxpl_id,
|
||||
const void *_lt_key, haddr_t addr, const void UNUSED *_rt_key,
|
||||
H5D__btree_idx_iterate_cb(H5F_t H5_ATTR_UNUSED *f, hid_t H5_ATTR_UNUSED dxpl_id,
|
||||
const void *_lt_key, haddr_t addr, const void H5_ATTR_UNUSED *_rt_key,
|
||||
void *_udata)
|
||||
{
|
||||
H5D_btree_it_ud_t *udata = (H5D_btree_it_ud_t *)_udata; /* User data */
|
||||
@ -1317,7 +1317,7 @@ done:
|
||||
static herr_t
|
||||
H5D__btree_idx_copy_shutdown(H5O_storage_chunk_t *storage_src,
|
||||
H5O_storage_chunk_t *storage_dst,
|
||||
hid_t UNUSED dxpl_id)
|
||||
hid_t H5_ATTR_UNUSED dxpl_id)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
|
@ -503,7 +503,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5D__chunk_construct(H5F_t UNUSED *f, H5D_t *dset)
|
||||
H5D__chunk_construct(H5F_t H5_ATTR_UNUSED *f, H5D_t *dset)
|
||||
{
|
||||
const H5T_t *type = dset->shared->type; /* Convenience pointer to dataset's datatype */
|
||||
uint64_t chunk_size; /* Size of chunk in bytes */
|
||||
@ -1102,7 +1102,7 @@ H5D__chunk_mem_realloc(void *chk, size_t size, const H5O_pline_t *pline)
|
||||
REVISION LOG
|
||||
--------------------------------------------------------------------------*/
|
||||
static herr_t
|
||||
H5D__free_chunk_info(void *item, void UNUSED *key, void UNUSED *opdata)
|
||||
H5D__free_chunk_info(void *item, void H5_ATTR_UNUSED *key, void H5_ATTR_UNUSED *opdata)
|
||||
{
|
||||
H5D_chunk_info_t *chunk_info = (H5D_chunk_info_t *)item;
|
||||
|
||||
@ -1142,7 +1142,7 @@ H5D__free_chunk_info(void *item, void UNUSED *key, void UNUSED *opdata)
|
||||
static herr_t
|
||||
H5D__create_chunk_map_single(H5D_chunk_map_t *fm, const H5D_io_info_t
|
||||
#ifndef H5_HAVE_PARALLEL
|
||||
UNUSED
|
||||
H5_ATTR_UNUSED
|
||||
#endif /* H5_HAVE_PARALLEL */
|
||||
*io_info)
|
||||
{
|
||||
@ -1224,7 +1224,7 @@ done:
|
||||
static herr_t
|
||||
H5D__create_chunk_file_map_hyper(H5D_chunk_map_t *fm, const H5D_io_info_t
|
||||
#ifndef H5_HAVE_PARALLEL
|
||||
UNUSED
|
||||
H5_ATTR_UNUSED
|
||||
#endif /* H5_HAVE_PARALLEL */
|
||||
*io_info)
|
||||
{
|
||||
@ -1521,7 +1521,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5D__chunk_file_cb(void UNUSED *elem, hid_t UNUSED type_id, unsigned ndims, const hsize_t *coords, void *_udata)
|
||||
H5D__chunk_file_cb(void H5_ATTR_UNUSED *elem, hid_t H5_ATTR_UNUSED type_id, unsigned ndims, const hsize_t *coords, void *_udata)
|
||||
{
|
||||
H5D_chunk_file_iter_ud_t *udata = (H5D_chunk_file_iter_ud_t *)_udata; /* User data for operation */
|
||||
H5D_chunk_map_t *fm = udata->fm; /* File<->memory chunk mapping info */
|
||||
@ -1638,7 +1638,7 @@ done:
|
||||
*/
|
||||
/* ARGSUSED */
|
||||
static herr_t
|
||||
H5D__chunk_mem_cb(void UNUSED *elem, hid_t UNUSED type_id, unsigned ndims, const hsize_t *coords, void *_fm)
|
||||
H5D__chunk_mem_cb(void H5_ATTR_UNUSED *elem, hid_t H5_ATTR_UNUSED type_id, unsigned ndims, const hsize_t *coords, void *_fm)
|
||||
{
|
||||
H5D_chunk_map_t *fm = (H5D_chunk_map_t *)_fm; /* File<->memory chunk mapping info */
|
||||
H5D_chunk_info_t *chunk_info; /* Chunk information for current chunk */
|
||||
@ -1790,7 +1790,7 @@ done:
|
||||
*/
|
||||
static herr_t
|
||||
H5D__chunk_read(H5D_io_info_t *io_info, const H5D_type_info_t *type_info,
|
||||
hsize_t UNUSED nelmts, const H5S_t UNUSED *file_space, const H5S_t UNUSED *mem_space,
|
||||
hsize_t H5_ATTR_UNUSED nelmts, const H5S_t H5_ATTR_UNUSED *file_space, const H5S_t H5_ATTR_UNUSED *mem_space,
|
||||
H5D_chunk_map_t *fm)
|
||||
{
|
||||
H5SL_node_t *chunk_node; /* Current node in chunk skip list */
|
||||
@ -1942,7 +1942,7 @@ done:
|
||||
*/
|
||||
static herr_t
|
||||
H5D__chunk_write(H5D_io_info_t *io_info, const H5D_type_info_t *type_info,
|
||||
hsize_t UNUSED nelmts, const H5S_t UNUSED *file_space, const H5S_t UNUSED *mem_space,
|
||||
hsize_t H5_ATTR_UNUSED nelmts, const H5S_t H5_ATTR_UNUSED *file_space, const H5S_t H5_ATTR_UNUSED *mem_space,
|
||||
H5D_chunk_map_t *fm)
|
||||
{
|
||||
H5SL_node_t *chunk_node; /* Current node in chunk skip list */
|
||||
@ -5310,7 +5310,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5D__nonexistent_readvv_cb(hsize_t UNUSED dst_off, hsize_t src_off, size_t len,
|
||||
H5D__nonexistent_readvv_cb(hsize_t H5_ATTR_UNUSED dst_off, hsize_t src_off, size_t len,
|
||||
void *_udata)
|
||||
{
|
||||
H5D_chunk_readvv_ud_t *udata = (H5D_chunk_readvv_ud_t *)_udata; /* User data for H5VM_opvv() operator */
|
||||
|
@ -224,7 +224,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static hbool_t
|
||||
H5D__compact_is_space_alloc(const H5O_storage_t UNUSED *storage)
|
||||
H5D__compact_is_space_alloc(const H5O_storage_t H5_ATTR_UNUSED *storage)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
|
||||
@ -249,9 +249,9 @@ H5D__compact_is_space_alloc(const H5O_storage_t UNUSED *storage)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5D__compact_io_init(const H5D_io_info_t *io_info, const H5D_type_info_t UNUSED *type_info,
|
||||
hsize_t UNUSED nelmts, const H5S_t UNUSED *file_space, const H5S_t UNUSED *mem_space,
|
||||
H5D_chunk_map_t UNUSED *cm)
|
||||
H5D__compact_io_init(const H5D_io_info_t *io_info, const H5D_type_info_t H5_ATTR_UNUSED *type_info,
|
||||
hsize_t H5_ATTR_UNUSED nelmts, const H5S_t H5_ATTR_UNUSED *file_space, const H5S_t H5_ATTR_UNUSED *mem_space,
|
||||
H5D_chunk_map_t H5_ATTR_UNUSED *cm)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
|
||||
|
@ -492,9 +492,9 @@ H5D__contig_is_space_alloc(const H5O_storage_t *storage)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5D__contig_io_init(const H5D_io_info_t *io_info, const H5D_type_info_t UNUSED *type_info,
|
||||
hsize_t UNUSED nelmts, const H5S_t UNUSED *file_space, const H5S_t UNUSED *mem_space,
|
||||
H5D_chunk_map_t UNUSED *cm)
|
||||
H5D__contig_io_init(const H5D_io_info_t *io_info, const H5D_type_info_t H5_ATTR_UNUSED *type_info,
|
||||
hsize_t H5_ATTR_UNUSED nelmts, const H5S_t H5_ATTR_UNUSED *file_space, const H5S_t H5_ATTR_UNUSED *mem_space,
|
||||
H5D_chunk_map_t H5_ATTR_UNUSED *cm)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
|
||||
@ -520,7 +520,7 @@ H5D__contig_io_init(const H5D_io_info_t *io_info, const H5D_type_info_t UNUSED *
|
||||
herr_t
|
||||
H5D__contig_read(H5D_io_info_t *io_info, const H5D_type_info_t *type_info,
|
||||
hsize_t nelmts, const H5S_t *file_space, const H5S_t *mem_space,
|
||||
H5D_chunk_map_t UNUSED *fm)
|
||||
H5D_chunk_map_t H5_ATTR_UNUSED *fm)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /*return value */
|
||||
|
||||
@ -557,7 +557,7 @@ done:
|
||||
herr_t
|
||||
H5D__contig_write(H5D_io_info_t *io_info, const H5D_type_info_t *type_info,
|
||||
hsize_t nelmts, const H5S_t *file_space, const H5S_t *mem_space,
|
||||
H5D_chunk_map_t UNUSED *fm)
|
||||
H5D_chunk_map_t H5_ATTR_UNUSED *fm)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /*return value */
|
||||
|
||||
|
@ -193,7 +193,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
hbool_t
|
||||
H5D__efl_is_space_alloc(const H5O_storage_t UNUSED *storage)
|
||||
H5D__efl_is_space_alloc(const H5O_storage_t H5_ATTR_UNUSED *storage)
|
||||
{
|
||||
FUNC_ENTER_PACKAGE_NOERR
|
||||
|
||||
@ -218,9 +218,9 @@ H5D__efl_is_space_alloc(const H5O_storage_t UNUSED *storage)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5D__efl_io_init(const H5D_io_info_t *io_info, const H5D_type_info_t UNUSED *type_info,
|
||||
hsize_t UNUSED nelmts, const H5S_t UNUSED *file_space, const H5S_t UNUSED *mem_space,
|
||||
H5D_chunk_map_t UNUSED *cm)
|
||||
H5D__efl_io_init(const H5D_io_info_t *io_info, const H5D_type_info_t H5_ATTR_UNUSED *type_info,
|
||||
hsize_t H5_ATTR_UNUSED nelmts, const H5S_t H5_ATTR_UNUSED *file_space, const H5S_t H5_ATTR_UNUSED *mem_space,
|
||||
H5D_chunk_map_t H5_ATTR_UNUSED *cm)
|
||||
{
|
||||
FUNC_ENTER_STATIC_NOERR
|
||||
|
||||
|
@ -2102,7 +2102,7 @@ H5D__vlen_get_buf_size_alloc(size_t size, void *info)
|
||||
*/
|
||||
/* ARGSUSED */
|
||||
herr_t
|
||||
H5D__vlen_get_buf_size(void UNUSED *elem, hid_t type_id, unsigned UNUSED ndim, const hsize_t *point, void *op_data)
|
||||
H5D__vlen_get_buf_size(void H5_ATTR_UNUSED *elem, hid_t type_id, unsigned H5_ATTR_UNUSED ndim, const hsize_t *point, void *op_data)
|
||||
{
|
||||
H5D_vlen_bufsize_t *vlen_bufsize = (H5D_vlen_bufsize_t *)op_data;
|
||||
H5T_t *dt; /* Datatype for operation */
|
||||
@ -2458,7 +2458,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
herr_t
|
||||
H5D__mark(const H5D_t *dataset, hid_t UNUSED dxpl_id, unsigned flags)
|
||||
H5D__mark(const H5D_t *dataset, hid_t H5_ATTR_UNUSED dxpl_id, unsigned flags)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
@ -2492,7 +2492,7 @@ H5D__mark(const H5D_t *dataset, hid_t UNUSED dxpl_id, unsigned flags)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static int
|
||||
H5D__flush_cb(void *_dataset, hid_t UNUSED id, void *_udata)
|
||||
H5D__flush_cb(void *_dataset, hid_t H5_ATTR_UNUSED id, void *_udata)
|
||||
{
|
||||
H5D_t *dataset = (H5D_t *)_dataset; /* Dataset pointer */
|
||||
H5D_flush_ud_t *udata = (H5D_flush_ud_t *)_udata; /* User data for callback */
|
||||
|
@ -254,8 +254,8 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
herr_t
|
||||
H5D__mpio_select_read(const H5D_io_info_t *io_info, const H5D_type_info_t UNUSED *type_info,
|
||||
hsize_t mpi_buf_count, const H5S_t UNUSED *file_space, const H5S_t UNUSED *mem_space)
|
||||
H5D__mpio_select_read(const H5D_io_info_t *io_info, const H5D_type_info_t H5_ATTR_UNUSED *type_info,
|
||||
hsize_t mpi_buf_count, const H5S_t H5_ATTR_UNUSED *file_space, const H5S_t H5_ATTR_UNUSED *mem_space)
|
||||
{
|
||||
const H5D_contig_storage_t *store_contig = &(io_info->store->contig); /* Contiguous storage info for this I/O operation */
|
||||
herr_t ret_value = SUCCEED;
|
||||
@ -283,8 +283,8 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
herr_t
|
||||
H5D__mpio_select_write(const H5D_io_info_t *io_info, const H5D_type_info_t UNUSED *type_info,
|
||||
hsize_t mpi_buf_count, const H5S_t UNUSED *file_space, const H5S_t UNUSED *mem_space)
|
||||
H5D__mpio_select_write(const H5D_io_info_t *io_info, const H5D_type_info_t H5_ATTR_UNUSED *type_info,
|
||||
hsize_t mpi_buf_count, const H5S_t H5_ATTR_UNUSED *file_space, const H5S_t H5_ATTR_UNUSED *mem_space)
|
||||
{
|
||||
const H5D_contig_storage_t *store_contig = &(io_info->store->contig); /* Contiguous storage info for this I/O operation */
|
||||
herr_t ret_value = SUCCEED;
|
||||
@ -464,8 +464,8 @@ done:
|
||||
*/
|
||||
herr_t
|
||||
H5D__contig_collective_read(H5D_io_info_t *io_info, const H5D_type_info_t *type_info,
|
||||
hsize_t UNUSED nelmts, const H5S_t *file_space, const H5S_t *mem_space,
|
||||
H5D_chunk_map_t UNUSED *fm)
|
||||
hsize_t H5_ATTR_UNUSED nelmts, const H5S_t *file_space, const H5S_t *mem_space,
|
||||
H5D_chunk_map_t H5_ATTR_UNUSED *fm)
|
||||
{
|
||||
H5D_mpio_actual_io_mode_t actual_io_mode = H5D_MPIO_CONTIGUOUS_COLLECTIVE;
|
||||
H5P_genplist_t *dx_plist; /* Pointer to DXPL */
|
||||
@ -511,8 +511,8 @@ done:
|
||||
*/
|
||||
herr_t
|
||||
H5D__contig_collective_write(H5D_io_info_t *io_info, const H5D_type_info_t *type_info,
|
||||
hsize_t UNUSED nelmts, const H5S_t *file_space, const H5S_t *mem_space,
|
||||
H5D_chunk_map_t UNUSED *fm)
|
||||
hsize_t H5_ATTR_UNUSED nelmts, const H5S_t *file_space, const H5S_t *mem_space,
|
||||
H5D_chunk_map_t H5_ATTR_UNUSED *fm)
|
||||
{
|
||||
H5D_mpio_actual_io_mode_t actual_io_mode = H5D_MPIO_CONTIGUOUS_COLLECTIVE;
|
||||
H5P_genplist_t *dx_plist; /* Pointer to DXPL */
|
||||
@ -714,7 +714,7 @@ done:
|
||||
*/
|
||||
herr_t
|
||||
H5D__chunk_collective_read(H5D_io_info_t *io_info, const H5D_type_info_t *type_info,
|
||||
hsize_t UNUSED nelmts, const H5S_t UNUSED *file_space, const H5S_t UNUSED *mem_space,
|
||||
hsize_t H5_ATTR_UNUSED nelmts, const H5S_t H5_ATTR_UNUSED *file_space, const H5S_t H5_ATTR_UNUSED *mem_space,
|
||||
H5D_chunk_map_t *fm)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
@ -745,7 +745,7 @@ done:
|
||||
*/
|
||||
herr_t
|
||||
H5D__chunk_collective_write(H5D_io_info_t *io_info, const H5D_type_info_t *type_info,
|
||||
hsize_t UNUSED nelmts, const H5S_t UNUSED *file_space, const H5S_t UNUSED *mem_space,
|
||||
hsize_t H5_ATTR_UNUSED nelmts, const H5S_t H5_ATTR_UNUSED *file_space, const H5S_t H5_ATTR_UNUSED *mem_space,
|
||||
H5D_chunk_map_t *fm)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
@ -350,7 +350,7 @@ END_FUNC(STATIC) /* end H5EA__cache_hdr_load() */
|
||||
BEGIN_FUNC(STATIC, ERR,
|
||||
herr_t, SUCCEED, FAIL,
|
||||
H5EA__cache_hdr_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr,
|
||||
H5EA_hdr_t *hdr, unsigned UNUSED * flags_ptr))
|
||||
H5EA_hdr_t *hdr, unsigned H5_ATTR_UNUSED * flags_ptr))
|
||||
|
||||
H5WB_t *wb = NULL; /* Wrapped buffer for header data */
|
||||
uint8_t hdr_buf[H5EA_HDR_BUF_SIZE]; /* Buffer for header */
|
||||
@ -486,7 +486,7 @@ END_FUNC(STATIC) /* end H5EA__cache_hdr_clear() */
|
||||
/* ARGSUSED */
|
||||
BEGIN_FUNC(STATIC, NOERR,
|
||||
herr_t, SUCCEED, -,
|
||||
H5EA__cache_hdr_size(const H5F_t UNUSED *f, const H5EA_hdr_t *hdr,
|
||||
H5EA__cache_hdr_size(const H5F_t H5_ATTR_UNUSED *f, const H5EA_hdr_t *hdr,
|
||||
size_t *size_ptr))
|
||||
|
||||
/* Sanity check */
|
||||
@ -702,7 +702,7 @@ END_FUNC(STATIC) /* end H5EA__cache_iblock_load() */
|
||||
BEGIN_FUNC(STATIC, ERR,
|
||||
herr_t, SUCCEED, FAIL,
|
||||
H5EA__cache_iblock_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr,
|
||||
H5EA_iblock_t *iblock, unsigned UNUSED * flags_ptr))
|
||||
H5EA_iblock_t *iblock, unsigned H5_ATTR_UNUSED * flags_ptr))
|
||||
|
||||
/* Local variables */
|
||||
H5WB_t *wb = NULL; /* Wrapped buffer for serializing data */
|
||||
@ -895,7 +895,7 @@ END_FUNC(STATIC) /* end H5EA__cache_iblock_notify() */
|
||||
/* ARGSUSED */
|
||||
BEGIN_FUNC(STATIC, NOERR,
|
||||
herr_t, SUCCEED, -,
|
||||
H5EA__cache_iblock_size(const H5F_t UNUSED *f, const H5EA_iblock_t *iblock,
|
||||
H5EA__cache_iblock_size(const H5F_t H5_ATTR_UNUSED *f, const H5EA_iblock_t *iblock,
|
||||
size_t *size_ptr))
|
||||
|
||||
/* Sanity check */
|
||||
@ -1104,7 +1104,7 @@ END_FUNC(STATIC) /* end H5EA__cache_sblock_load() */
|
||||
BEGIN_FUNC(STATIC, ERR,
|
||||
herr_t, SUCCEED, FAIL,
|
||||
H5EA__cache_sblock_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr,
|
||||
H5EA_sblock_t *sblock, unsigned UNUSED * flags_ptr))
|
||||
H5EA_sblock_t *sblock, unsigned H5_ATTR_UNUSED * flags_ptr))
|
||||
|
||||
/* Local variables */
|
||||
H5WB_t *wb = NULL; /* Wrapped buffer for serializing data */
|
||||
@ -1245,7 +1245,7 @@ END_FUNC(STATIC) /* end H5EA__cache_sblock_clear() */
|
||||
/* ARGSUSED */
|
||||
BEGIN_FUNC(STATIC, NOERR,
|
||||
herr_t, SUCCEED, -,
|
||||
H5EA__cache_sblock_size(const H5F_t UNUSED *f, const H5EA_sblock_t *sblock,
|
||||
H5EA__cache_sblock_size(const H5F_t H5_ATTR_UNUSED *f, const H5EA_sblock_t *sblock,
|
||||
size_t *size_ptr))
|
||||
|
||||
/* Sanity check */
|
||||
@ -1494,7 +1494,7 @@ END_FUNC(STATIC) /* end H5EA__cache_dblock_load() */
|
||||
BEGIN_FUNC(STATIC, ERR,
|
||||
herr_t, SUCCEED, FAIL,
|
||||
H5EA__cache_dblock_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr,
|
||||
H5EA_dblock_t *dblock, unsigned UNUSED * flags_ptr))
|
||||
H5EA_dblock_t *dblock, unsigned H5_ATTR_UNUSED * flags_ptr))
|
||||
|
||||
/* Local variables */
|
||||
H5WB_t *wb = NULL; /* Wrapped buffer for serializing data */
|
||||
@ -1677,7 +1677,7 @@ END_FUNC(STATIC) /* end H5EA__cache_dblock_notify() */
|
||||
/* ARGSUSED */
|
||||
BEGIN_FUNC(STATIC, NOERR,
|
||||
herr_t, SUCCEED, -,
|
||||
H5EA__cache_dblock_size(const H5F_t UNUSED *f, const H5EA_dblock_t *dblock,
|
||||
H5EA__cache_dblock_size(const H5F_t H5_ATTR_UNUSED *f, const H5EA_dblock_t *dblock,
|
||||
size_t *size_ptr))
|
||||
|
||||
/* Sanity check */
|
||||
@ -1861,7 +1861,7 @@ END_FUNC(STATIC) /* end H5EA__cache_dblk_page_load() */
|
||||
BEGIN_FUNC(STATIC, ERR,
|
||||
herr_t, SUCCEED, FAIL,
|
||||
H5EA__cache_dblk_page_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr,
|
||||
H5EA_dblk_page_t *dblk_page, unsigned UNUSED * flags_ptr))
|
||||
H5EA_dblk_page_t *dblk_page, unsigned H5_ATTR_UNUSED * flags_ptr))
|
||||
|
||||
/* Local variables */
|
||||
H5WB_t *wb = NULL; /* Wrapped buffer for serializing data */
|
||||
@ -2022,7 +2022,7 @@ END_FUNC(STATIC) /* end H5EA__cache_dblk_page_notify() */
|
||||
/* ARGSUSED */
|
||||
BEGIN_FUNC(STATIC, NOERR,
|
||||
herr_t, SUCCEED, -,
|
||||
H5EA__cache_dblk_page_size(const H5F_t UNUSED *f, const H5EA_dblk_page_t *dblk_page,
|
||||
H5EA__cache_dblk_page_size(const H5F_t H5_ATTR_UNUSED *f, const H5EA_dblk_page_t *dblk_page,
|
||||
size_t *size_ptr))
|
||||
|
||||
/* Sanity check */
|
||||
@ -2055,7 +2055,7 @@ END_FUNC(STATIC) /* end H5EA__cache_dblk_page_size() */
|
||||
/* ARGSUSED */
|
||||
BEGIN_FUNC(STATIC, ERR,
|
||||
herr_t, SUCCEED, FAIL,
|
||||
H5EA__cache_dblk_page_dest(H5F_t UNUSED *f, H5EA_dblk_page_t *dblk_page))
|
||||
H5EA__cache_dblk_page_dest(H5F_t H5_ATTR_UNUSED *f, H5EA_dblk_page_t *dblk_page))
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(f);
|
||||
|
@ -192,7 +192,7 @@ END_FUNC(PKG) /* end H5EA__hdr_debug() */
|
||||
*/
|
||||
BEGIN_FUNC(PKG, ERR,
|
||||
herr_t, SUCCEED, FAIL,
|
||||
H5EA__iblock_debug(H5F_t *f, hid_t dxpl_id, haddr_t UNUSED addr, FILE *stream, int indent,
|
||||
H5EA__iblock_debug(H5F_t *f, hid_t dxpl_id, haddr_t H5_ATTR_UNUSED addr, FILE *stream, int indent,
|
||||
int fwidth, const H5EA_class_t *cls, haddr_t hdr_addr, haddr_t obj_addr))
|
||||
|
||||
/* Local variables */
|
||||
|
@ -78,7 +78,7 @@ static herr_t H5EA__test_fill(void *nat_blk, size_t nelmts);
|
||||
static herr_t H5EA__test_encode(void *raw, const void *elmt, size_t nelmts, void *ctx);
|
||||
static herr_t H5EA__test_decode(const void *raw, void *elmt, size_t nelmts, void *ctx);
|
||||
static herr_t H5EA__test_debug(FILE *stream, int indent, int fwidth, hsize_t idx, const void *elmt);
|
||||
static void *H5EA__test_crt_dbg_context(H5F_t UNUSED *f, hid_t UNUSED dxpl_id, haddr_t UNUSED obj_addr);
|
||||
static void *H5EA__test_crt_dbg_context(H5F_t H5_ATTR_UNUSED *f, hid_t H5_ATTR_UNUSED dxpl_id, haddr_t H5_ATTR_UNUSED obj_addr);
|
||||
static herr_t H5EA__test_dst_dbg_context(void *_ctx);
|
||||
|
||||
/*********************/
|
||||
@ -358,7 +358,7 @@ END_FUNC(STATIC) /* end H5EA__test_debug() */
|
||||
*/
|
||||
BEGIN_FUNC(STATIC, ERR,
|
||||
void *, NULL, NULL,
|
||||
H5EA__test_crt_dbg_context(H5F_t UNUSED *f, hid_t UNUSED dxpl_id, haddr_t UNUSED obj_addr))
|
||||
H5EA__test_crt_dbg_context(H5F_t H5_ATTR_UNUSED *f, hid_t H5_ATTR_UNUSED dxpl_id, haddr_t H5_ATTR_UNUSED obj_addr))
|
||||
|
||||
/* Local variables */
|
||||
H5EA__ctx_cb_t *ctx; /* Context for callbacks */
|
||||
|
@ -301,7 +301,7 @@ END_FUNC(STATIC) /* end H5FA__cache_hdr_load() */
|
||||
BEGIN_FUNC(STATIC, ERR,
|
||||
herr_t, SUCCEED, FAIL,
|
||||
H5FA__cache_hdr_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr,
|
||||
H5FA_hdr_t *hdr, unsigned UNUSED * flags_ptr))
|
||||
H5FA_hdr_t *hdr, unsigned H5_ATTR_UNUSED * flags_ptr))
|
||||
|
||||
H5WB_t *wb = NULL; /* Wrapped buffer for header data */
|
||||
uint8_t hdr_buf[H5FA_HDR_BUF_SIZE]; /* Buffer for header */
|
||||
@ -426,7 +426,7 @@ END_FUNC(STATIC) /* end H5FA__cache_hdr_clear() */
|
||||
/* ARGSUSED */
|
||||
BEGIN_FUNC(STATIC, NOERR,
|
||||
herr_t, SUCCEED, -,
|
||||
H5FA__cache_hdr_size(const H5F_t UNUSED *f, const H5FA_hdr_t *hdr,
|
||||
H5FA__cache_hdr_size(const H5F_t H5_ATTR_UNUSED *f, const H5FA_hdr_t *hdr,
|
||||
size_t *size_ptr))
|
||||
|
||||
/* Sanity check */
|
||||
@ -632,7 +632,7 @@ END_FUNC(STATIC) /* end H5FA__cache_dblock_load() */
|
||||
BEGIN_FUNC(STATIC, ERR,
|
||||
herr_t, SUCCEED, FAIL,
|
||||
H5FA__cache_dblock_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr,
|
||||
H5FA_dblock_t *dblock, unsigned UNUSED * flags_ptr))
|
||||
H5FA_dblock_t *dblock, unsigned H5_ATTR_UNUSED * flags_ptr))
|
||||
|
||||
/* Local variables */
|
||||
H5WB_t *wb = NULL; /* Wrapped buffer for serializing data */
|
||||
@ -773,7 +773,7 @@ END_FUNC(STATIC) /* end H5FA__cache_dblock_clear() */
|
||||
/* ARGSUSED */
|
||||
BEGIN_FUNC(STATIC, NOERR,
|
||||
herr_t, SUCCEED, -,
|
||||
H5FA__cache_dblock_size(const H5F_t UNUSED *f, const H5FA_dblock_t *dblock,
|
||||
H5FA__cache_dblock_size(const H5F_t H5_ATTR_UNUSED *f, const H5FA_dblock_t *dblock,
|
||||
size_t *size_ptr))
|
||||
|
||||
/* Sanity check */
|
||||
@ -954,7 +954,7 @@ END_FUNC(STATIC) /* end H5FA__cache_dblk_page_load() */
|
||||
BEGIN_FUNC(STATIC, ERR,
|
||||
herr_t, SUCCEED, FAIL,
|
||||
H5FA__cache_dblk_page_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr,
|
||||
H5FA_dblk_page_t *dblk_page, unsigned UNUSED * flags_ptr))
|
||||
H5FA_dblk_page_t *dblk_page, unsigned H5_ATTR_UNUSED * flags_ptr))
|
||||
|
||||
/* Local variables */
|
||||
H5WB_t *wb = NULL; /* Wrapped buffer for serializing data */
|
||||
@ -1070,7 +1070,7 @@ END_FUNC(STATIC) /* end H5FA__cache_dblk_page_clear() */
|
||||
/* ARGSUSED */
|
||||
BEGIN_FUNC(STATIC, NOERR,
|
||||
herr_t, SUCCEED, -,
|
||||
H5FA__cache_dblk_page_size(const H5F_t UNUSED *f, const H5FA_dblk_page_t *dblk_page,
|
||||
H5FA__cache_dblk_page_size(const H5F_t H5_ATTR_UNUSED *f, const H5FA_dblk_page_t *dblk_page,
|
||||
size_t *size_ptr))
|
||||
|
||||
/* Sanity check */
|
||||
@ -1102,7 +1102,7 @@ END_FUNC(STATIC) /* end H5FA__cache_dblk_page_size() */
|
||||
/* ARGSUSED */
|
||||
BEGIN_FUNC(STATIC, ERR,
|
||||
herr_t, SUCCEED, FAIL,
|
||||
H5FA__cache_dblk_page_dest(H5F_t UNUSED *f, H5FA_dblk_page_t *dblk_page))
|
||||
H5FA__cache_dblk_page_dest(H5F_t H5_ATTR_UNUSED *f, H5FA_dblk_page_t *dblk_page))
|
||||
|
||||
/* Sanity check */
|
||||
HDassert(f);
|
||||
|
@ -133,7 +133,7 @@ H5FL_DEFINE_STATIC(H5FA__test_ctx_t);
|
||||
*/
|
||||
BEGIN_FUNC(STATIC, ERR,
|
||||
void *, NULL, NULL,
|
||||
H5FA__test_crt_context(void UNUSED *udata))
|
||||
H5FA__test_crt_context(void H5_ATTR_UNUSED *udata))
|
||||
|
||||
/* Local variables */
|
||||
H5FA__test_ctx_t *ctx; /* Context for callbacks */
|
||||
@ -226,7 +226,7 @@ END_FUNC(STATIC) /* end H5FA__test_fill() */
|
||||
*/
|
||||
BEGIN_FUNC(STATIC, NOERR,
|
||||
herr_t, SUCCEED, -,
|
||||
H5FA__test_encode(void *raw, const void *_elmt, size_t nelmts, void UNUSED *_ctx))
|
||||
H5FA__test_encode(void *raw, const void *_elmt, size_t nelmts, void H5_ATTR_UNUSED *_ctx))
|
||||
|
||||
/* Local variables */
|
||||
#ifndef NDEBUG
|
||||
@ -271,7 +271,7 @@ END_FUNC(STATIC) /* end H5FA__test_encode() */
|
||||
*/
|
||||
BEGIN_FUNC(STATIC, NOERR,
|
||||
herr_t, SUCCEED, -,
|
||||
H5FA__test_decode(const void *_raw, void *_elmt, size_t nelmts, void UNUSED *_ctx))
|
||||
H5FA__test_decode(const void *_raw, void *_elmt, size_t nelmts, void H5_ATTR_UNUSED *_ctx))
|
||||
|
||||
/* Local variables */
|
||||
#ifndef NDEBUG
|
||||
@ -350,7 +350,7 @@ END_FUNC(STATIC) /* end H5FA__test_debug() */
|
||||
*/
|
||||
BEGIN_FUNC(STATIC, ERR,
|
||||
void *, NULL, NULL,
|
||||
H5FA__test_crt_dbg_context(H5F_t UNUSED *f, hid_t UNUSED dxpl_id, haddr_t UNUSED obj_addr))
|
||||
H5FA__test_crt_dbg_context(H5F_t H5_ATTR_UNUSED *f, hid_t H5_ATTR_UNUSED dxpl_id, haddr_t H5_ATTR_UNUSED obj_addr))
|
||||
|
||||
/* Local variables */
|
||||
H5FA__test_ctx_t *ctx; /* Context for callbacks */
|
||||
|
@ -1067,7 +1067,7 @@ H5FD_core_query(const H5FD_t * _file, unsigned long *flags /* out */)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static haddr_t
|
||||
H5FD_core_get_eoa(const H5FD_t *_file, H5FD_mem_t UNUSED type)
|
||||
H5FD_core_get_eoa(const H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type)
|
||||
{
|
||||
const H5FD_core_t *file = (const H5FD_core_t*)_file;
|
||||
|
||||
@ -1092,7 +1092,7 @@ H5FD_core_get_eoa(const H5FD_t *_file, H5FD_mem_t UNUSED type)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5FD_core_set_eoa(H5FD_t *_file, H5FD_mem_t UNUSED type, haddr_t addr)
|
||||
H5FD_core_set_eoa(H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type, haddr_t addr)
|
||||
{
|
||||
H5FD_core_t *file = (H5FD_core_t*)_file;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
@ -1126,7 +1126,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static haddr_t
|
||||
H5FD_core_get_eof(const H5FD_t *_file, H5FD_mem_t UNUSED type)
|
||||
H5FD_core_get_eof(const H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type)
|
||||
{
|
||||
const H5FD_core_t *file = (const H5FD_core_t*)_file;
|
||||
|
||||
@ -1214,7 +1214,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5FD_core_read(H5FD_t *_file, H5FD_mem_t UNUSED type, hid_t UNUSED dxpl_id, haddr_t addr,
|
||||
H5FD_core_read(H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type, hid_t H5_ATTR_UNUSED dxpl_id, haddr_t addr,
|
||||
size_t size, void *buf/*out*/)
|
||||
{
|
||||
H5FD_core_t *file = (H5FD_core_t*)_file;
|
||||
@ -1274,7 +1274,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5FD_core_write(H5FD_t *_file, H5FD_mem_t UNUSED type, hid_t UNUSED dxpl_id, haddr_t addr,
|
||||
H5FD_core_write(H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type, hid_t H5_ATTR_UNUSED dxpl_id, haddr_t addr,
|
||||
size_t size, const void *buf)
|
||||
{
|
||||
H5FD_core_t *file = (H5FD_core_t*)_file;
|
||||
@ -1355,7 +1355,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5FD_core_flush(H5FD_t *_file, hid_t UNUSED dxpl_id, unsigned UNUSED closing)
|
||||
H5FD_core_flush(H5FD_t *_file, hid_t H5_ATTR_UNUSED dxpl_id, unsigned H5_ATTR_UNUSED closing)
|
||||
{
|
||||
H5FD_core_t *file = (H5FD_core_t*)_file;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
@ -1453,7 +1453,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5FD_core_truncate(H5FD_t *_file, hid_t UNUSED dxpl_id, hbool_t closing)
|
||||
H5FD_core_truncate(H5FD_t *_file, hid_t H5_ATTR_UNUSED dxpl_id, hbool_t closing)
|
||||
{
|
||||
H5FD_core_t *file = (H5FD_core_t*)_file;
|
||||
size_t new_eof; /* New size of memory buffer */
|
||||
|
@ -706,7 +706,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5FD_direct_query(const H5FD_t UNUSED * _f, unsigned long *flags /* out */)
|
||||
H5FD_direct_query(const H5FD_t H5_ATTR_UNUSED * _f, unsigned long *flags /* out */)
|
||||
{
|
||||
FUNC_ENTER_NOAPI_NOINIT_NOERR
|
||||
|
||||
@ -745,7 +745,7 @@ H5FD_direct_query(const H5FD_t UNUSED * _f, unsigned long *flags /* out */)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static haddr_t
|
||||
H5FD_direct_get_eoa(const H5FD_t *_file, H5FD_mem_t UNUSED type)
|
||||
H5FD_direct_get_eoa(const H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type)
|
||||
{
|
||||
const H5FD_direct_t *file = (const H5FD_direct_t*)_file;
|
||||
|
||||
@ -777,7 +777,7 @@ H5FD_direct_get_eoa(const H5FD_t *_file, H5FD_mem_t UNUSED type)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5FD_direct_set_eoa(H5FD_t *_file, H5FD_mem_t UNUSED type, haddr_t addr)
|
||||
H5FD_direct_set_eoa(H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type, haddr_t addr)
|
||||
{
|
||||
H5FD_direct_t *file = (H5FD_direct_t*)_file;
|
||||
|
||||
@ -810,7 +810,7 @@ H5FD_direct_set_eoa(H5FD_t *_file, H5FD_mem_t UNUSED type, haddr_t addr)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static haddr_t
|
||||
H5FD_direct_get_eof(const H5FD_t *_file, H5FD_mem_t UNUSED type)
|
||||
H5FD_direct_get_eof(const H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type)
|
||||
{
|
||||
const H5FD_direct_t *file = (const H5FD_direct_t*)_file;
|
||||
|
||||
@ -835,7 +835,7 @@ H5FD_direct_get_eof(const H5FD_t *_file, H5FD_mem_t UNUSED type)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5FD_direct_get_handle(H5FD_t *_file, hid_t UNUSED fapl, void** file_handle)
|
||||
H5FD_direct_get_handle(H5FD_t *_file, hid_t H5_ATTR_UNUSED fapl, void** file_handle)
|
||||
{
|
||||
H5FD_direct_t *file = (H5FD_direct_t *)_file;
|
||||
herr_t ret_value = SUCCEED;
|
||||
@ -871,7 +871,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5FD_direct_read(H5FD_t *_file, H5FD_mem_t UNUSED type, hid_t UNUSED dxpl_id, haddr_t addr,
|
||||
H5FD_direct_read(H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type, hid_t H5_ATTR_UNUSED dxpl_id, haddr_t addr,
|
||||
size_t size, void *buf/*out*/)
|
||||
{
|
||||
H5FD_direct_t *file = (H5FD_direct_t*)_file;
|
||||
@ -1054,7 +1054,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5FD_direct_write(H5FD_t *_file, H5FD_mem_t UNUSED type, hid_t UNUSED dxpl_id, haddr_t addr,
|
||||
H5FD_direct_write(H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type, hid_t H5_ATTR_UNUSED dxpl_id, haddr_t addr,
|
||||
size_t size, const void *buf)
|
||||
{
|
||||
H5FD_direct_t *file = (H5FD_direct_t*)_file;
|
||||
@ -1284,7 +1284,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5FD_direct_truncate(H5FD_t *_file, hid_t UNUSED dxpl_id, hbool_t UNUSED closing)
|
||||
H5FD_direct_truncate(H5FD_t *_file, hid_t H5_ATTR_UNUSED dxpl_id, hbool_t H5_ATTR_UNUSED closing)
|
||||
{
|
||||
H5FD_direct_t *file = (H5FD_direct_t*)_file;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
@ -498,7 +498,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static hsize_t
|
||||
H5FD_family_sb_size(H5FD_t UNUSED *_file)
|
||||
H5FD_family_sb_size(H5FD_t H5_ATTR_UNUSED *_file)
|
||||
{
|
||||
FUNC_ENTER_NOAPI_NOINIT_NOERR
|
||||
|
||||
@ -572,7 +572,7 @@ H5FD_family_sb_encode(H5FD_t *_file, char *name/*out*/, unsigned char *buf/*out*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5FD_family_sb_decode(H5FD_t *_file, const char UNUSED *name, const unsigned char *buf)
|
||||
H5FD_family_sb_decode(H5FD_t *_file, const char H5_ATTR_UNUSED *name, const unsigned char *buf)
|
||||
{
|
||||
H5FD_family_t *file = (H5FD_family_t*)_file;
|
||||
uint64_t msize;
|
||||
@ -934,7 +934,7 @@ H5FD_family_query(const H5FD_t * _file, unsigned long *flags /* out */)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static haddr_t
|
||||
H5FD_family_get_eoa(const H5FD_t *_file, H5FD_mem_t UNUSED type)
|
||||
H5FD_family_get_eoa(const H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type)
|
||||
{
|
||||
const H5FD_family_t *file = (const H5FD_family_t*)_file;
|
||||
|
||||
|
@ -934,7 +934,7 @@ H5FD_log_query(const H5FD_t *_file, unsigned long *flags /* out */)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static haddr_t
|
||||
H5FD_log_alloc(H5FD_t *_file, H5FD_mem_t type, hid_t UNUSED dxpl_id, hsize_t size)
|
||||
H5FD_log_alloc(H5FD_t *_file, H5FD_mem_t type, hid_t H5_ATTR_UNUSED dxpl_id, hsize_t size)
|
||||
{
|
||||
H5FD_log_t *file = (H5FD_log_t *)_file;
|
||||
haddr_t addr;
|
||||
@ -989,7 +989,7 @@ H5FD_log_alloc(H5FD_t *_file, H5FD_mem_t type, hid_t UNUSED dxpl_id, hsize_t siz
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static haddr_t
|
||||
H5FD_log_get_eoa(const H5FD_t *_file, H5FD_mem_t UNUSED type)
|
||||
H5FD_log_get_eoa(const H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type)
|
||||
{
|
||||
const H5FD_log_t *file = (const H5FD_log_t *)_file;
|
||||
|
||||
@ -1061,7 +1061,7 @@ H5FD_log_set_eoa(H5FD_t *_file, H5FD_mem_t type, haddr_t addr)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static haddr_t
|
||||
H5FD_log_get_eof(const H5FD_t *_file, H5FD_mem_t UNUSED type)
|
||||
H5FD_log_get_eof(const H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type)
|
||||
{
|
||||
const H5FD_log_t *file = (const H5FD_log_t *)_file;
|
||||
|
||||
@ -1084,7 +1084,7 @@ H5FD_log_get_eof(const H5FD_t *_file, H5FD_mem_t UNUSED type)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5FD_log_get_handle(H5FD_t *_file, hid_t UNUSED fapl, void **file_handle)
|
||||
H5FD_log_get_handle(H5FD_t *_file, hid_t H5_ATTR_UNUSED fapl, void **file_handle)
|
||||
{
|
||||
H5FD_log_t *file = (H5FD_log_t *)_file;
|
||||
herr_t ret_value = SUCCEED;
|
||||
@ -1118,7 +1118,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5FD_log_read(H5FD_t *_file, H5FD_mem_t type, hid_t UNUSED dxpl_id, haddr_t addr,
|
||||
H5FD_log_read(H5FD_t *_file, H5FD_mem_t type, hid_t H5_ATTR_UNUSED dxpl_id, haddr_t addr,
|
||||
size_t size, void *buf/*out*/)
|
||||
{
|
||||
H5FD_log_t *file = (H5FD_log_t *)_file;
|
||||
@ -1315,7 +1315,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5FD_log_write(H5FD_t *_file, H5FD_mem_t type, hid_t UNUSED dxpl_id, haddr_t addr,
|
||||
H5FD_log_write(H5FD_t *_file, H5FD_mem_t type, hid_t H5_ATTR_UNUSED dxpl_id, haddr_t addr,
|
||||
size_t size, const void *buf)
|
||||
{
|
||||
H5FD_log_t *file = (H5FD_log_t *)_file;
|
||||
@ -1515,7 +1515,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5FD_log_truncate(H5FD_t *_file, hid_t UNUSED dxpl_id, hbool_t UNUSED closing)
|
||||
H5FD_log_truncate(H5FD_t *_file, hid_t H5_ATTR_UNUSED dxpl_id, hbool_t H5_ATTR_UNUSED closing)
|
||||
{
|
||||
H5FD_log_t *file = (H5FD_log_t *)_file;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
@ -995,7 +995,7 @@ done:
|
||||
*/
|
||||
static H5FD_t *
|
||||
H5FD_mpio_open(const char *name, unsigned flags, hid_t fapl_id,
|
||||
haddr_t UNUSED maxaddr)
|
||||
haddr_t H5_ATTR_UNUSED maxaddr)
|
||||
{
|
||||
H5FD_mpio_t *file=NULL;
|
||||
MPI_File fh;
|
||||
@ -1212,7 +1212,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5FD_mpio_query(const H5FD_t UNUSED *_file, unsigned long *flags /* out */)
|
||||
H5FD_mpio_query(const H5FD_t H5_ATTR_UNUSED *_file, unsigned long *flags /* out */)
|
||||
{
|
||||
FUNC_ENTER_NOAPI_NOINIT_NOERR
|
||||
|
||||
@ -1251,7 +1251,7 @@ H5FD_mpio_query(const H5FD_t UNUSED *_file, unsigned long *flags /* out */)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static haddr_t
|
||||
H5FD_mpio_get_eoa(const H5FD_t *_file, H5FD_mem_t UNUSED type)
|
||||
H5FD_mpio_get_eoa(const H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type)
|
||||
{
|
||||
const H5FD_mpio_t *file = (const H5FD_mpio_t*)_file;
|
||||
|
||||
@ -1286,7 +1286,7 @@ H5FD_mpio_get_eoa(const H5FD_t *_file, H5FD_mem_t UNUSED type)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5FD_mpio_set_eoa(H5FD_t *_file, H5FD_mem_t UNUSED type, haddr_t addr)
|
||||
H5FD_mpio_set_eoa(H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type, haddr_t addr)
|
||||
{
|
||||
H5FD_mpio_t *file = (H5FD_mpio_t*)_file;
|
||||
|
||||
@ -1331,7 +1331,7 @@ H5FD_mpio_set_eoa(H5FD_t *_file, H5FD_mem_t UNUSED type, haddr_t addr)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static haddr_t
|
||||
H5FD_mpio_get_eof(const H5FD_t *_file, H5FD_mem_t UNUSED type)
|
||||
H5FD_mpio_get_eof(const H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type)
|
||||
{
|
||||
const H5FD_mpio_t *file = (const H5FD_mpio_t*)_file;
|
||||
|
||||
@ -1359,7 +1359,7 @@ H5FD_mpio_get_eof(const H5FD_t *_file, H5FD_mem_t UNUSED type)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5FD_mpio_get_handle(H5FD_t *_file, hid_t UNUSED fapl, void** file_handle)
|
||||
H5FD_mpio_get_handle(H5FD_t *_file, hid_t H5_ATTR_UNUSED fapl, void** file_handle)
|
||||
{
|
||||
H5FD_mpio_t *file = (H5FD_mpio_t *)_file;
|
||||
herr_t ret_value = SUCCEED;
|
||||
@ -1445,7 +1445,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5FD_mpio_read(H5FD_t *_file, H5FD_mem_t UNUSED type, hid_t dxpl_id, haddr_t addr, size_t size,
|
||||
H5FD_mpio_read(H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type, hid_t dxpl_id, haddr_t addr, size_t size,
|
||||
void *buf/*out*/)
|
||||
{
|
||||
H5FD_mpio_t *file = (H5FD_mpio_t*)_file;
|
||||
@ -1946,7 +1946,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5FD_mpio_flush(H5FD_t *_file, hid_t UNUSED dxpl_id, unsigned closing)
|
||||
H5FD_mpio_flush(H5FD_t *_file, hid_t H5_ATTR_UNUSED dxpl_id, unsigned closing)
|
||||
{
|
||||
H5FD_mpio_t *file = (H5FD_mpio_t*)_file;
|
||||
int mpi_code; /* mpi return code */
|
||||
@ -1991,7 +1991,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5FD_mpio_truncate(H5FD_t *_file, hid_t UNUSED dxpl_id, hbool_t UNUSED closing)
|
||||
H5FD_mpio_truncate(H5FD_t *_file, hid_t H5_ATTR_UNUSED dxpl_id, hbool_t H5_ATTR_UNUSED closing)
|
||||
{
|
||||
H5FD_mpio_t *file = (H5FD_mpio_t*)_file;
|
||||
herr_t ret_value = SUCCEED;
|
||||
|
@ -568,7 +568,7 @@ H5FD_sec2_query(const H5FD_t *_file, unsigned long *flags /* out */)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static haddr_t
|
||||
H5FD_sec2_get_eoa(const H5FD_t *_file, H5FD_mem_t UNUSED type)
|
||||
H5FD_sec2_get_eoa(const H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type)
|
||||
{
|
||||
const H5FD_sec2_t *file = (const H5FD_sec2_t *)_file;
|
||||
|
||||
@ -593,7 +593,7 @@ H5FD_sec2_get_eoa(const H5FD_t *_file, H5FD_mem_t UNUSED type)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5FD_sec2_set_eoa(H5FD_t *_file, H5FD_mem_t UNUSED type, haddr_t addr)
|
||||
H5FD_sec2_set_eoa(H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type, haddr_t addr)
|
||||
{
|
||||
H5FD_sec2_t *file = (H5FD_sec2_t *)_file;
|
||||
|
||||
@ -621,7 +621,7 @@ H5FD_sec2_set_eoa(H5FD_t *_file, H5FD_mem_t UNUSED type, haddr_t addr)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static haddr_t
|
||||
H5FD_sec2_get_eof(const H5FD_t *_file, H5FD_mem_t UNUSED type)
|
||||
H5FD_sec2_get_eof(const H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type)
|
||||
{
|
||||
const H5FD_sec2_t *file = (const H5FD_sec2_t *)_file;
|
||||
|
||||
@ -644,7 +644,7 @@ H5FD_sec2_get_eof(const H5FD_t *_file, H5FD_mem_t UNUSED type)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5FD_sec2_get_handle(H5FD_t *_file, hid_t UNUSED fapl, void **file_handle)
|
||||
H5FD_sec2_get_handle(H5FD_t *_file, hid_t H5_ATTR_UNUSED fapl, void **file_handle)
|
||||
{
|
||||
H5FD_sec2_t *file = (H5FD_sec2_t *)_file;
|
||||
herr_t ret_value = SUCCEED;
|
||||
@ -678,7 +678,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5FD_sec2_read(H5FD_t *_file, H5FD_mem_t UNUSED type, hid_t UNUSED dxpl_id,
|
||||
H5FD_sec2_read(H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type, hid_t H5_ATTR_UNUSED dxpl_id,
|
||||
haddr_t addr, size_t size, void *buf /*out*/)
|
||||
{
|
||||
H5FD_sec2_t *file = (H5FD_sec2_t *)_file;
|
||||
@ -773,7 +773,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5FD_sec2_write(H5FD_t *_file, H5FD_mem_t UNUSED type, hid_t UNUSED dxpl_id,
|
||||
H5FD_sec2_write(H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type, hid_t H5_ATTR_UNUSED dxpl_id,
|
||||
haddr_t addr, size_t size, const void *buf)
|
||||
{
|
||||
H5FD_sec2_t *file = (H5FD_sec2_t *)_file;
|
||||
@ -863,7 +863,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5FD_sec2_truncate(H5FD_t *_file, hid_t UNUSED dxpl_id, hbool_t UNUSED closing)
|
||||
H5FD_sec2_truncate(H5FD_t *_file, hid_t H5_ATTR_UNUSED dxpl_id, hbool_t H5_ATTR_UNUSED closing)
|
||||
{
|
||||
H5FD_sec2_t *file = (H5FD_sec2_t *)_file;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
@ -608,7 +608,7 @@ H5FD_stdio_query(const H5FD_t *_f, unsigned long *flags /* out */)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static haddr_t
|
||||
H5FD_stdio_alloc(H5FD_t *_file, H5FD_mem_t /*UNUSED*/ type, hid_t /*UNUSED*/ dxpl_id, hsize_t size)
|
||||
H5FD_stdio_alloc(H5FD_t *_file, H5FD_mem_t /*H5_ATTR_UNUSED*/ type, hid_t /*H5_ATTR_UNUSED*/ dxpl_id, hsize_t size)
|
||||
{
|
||||
H5FD_stdio_t *file = (H5FD_stdio_t*)_file;
|
||||
haddr_t addr;
|
||||
@ -653,7 +653,7 @@ H5FD_stdio_alloc(H5FD_t *_file, H5FD_mem_t /*UNUSED*/ type, hid_t /*UNUSED*/ dxp
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static haddr_t
|
||||
H5FD_stdio_get_eoa(const H5FD_t *_file, H5FD_mem_t /*UNUSED*/ type)
|
||||
H5FD_stdio_get_eoa(const H5FD_t *_file, H5FD_mem_t /*H5_ATTR_UNUSED*/ type)
|
||||
{
|
||||
const H5FD_stdio_t *file = (const H5FD_stdio_t *)_file;
|
||||
|
||||
@ -684,7 +684,7 @@ H5FD_stdio_get_eoa(const H5FD_t *_file, H5FD_mem_t /*UNUSED*/ type)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5FD_stdio_set_eoa(H5FD_t *_file, H5FD_mem_t /*UNUSED*/ type, haddr_t addr)
|
||||
H5FD_stdio_set_eoa(H5FD_t *_file, H5FD_mem_t /*H5_ATTR_UNUSED*/ type, haddr_t addr)
|
||||
{
|
||||
H5FD_stdio_t *file = (H5FD_stdio_t*)_file;
|
||||
|
||||
@ -719,7 +719,7 @@ H5FD_stdio_set_eoa(H5FD_t *_file, H5FD_mem_t /*UNUSED*/ type, haddr_t addr)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static haddr_t
|
||||
H5FD_stdio_get_eof(const H5FD_t *_file, H5FD_mem_t /*UNUSED*/ type)
|
||||
H5FD_stdio_get_eof(const H5FD_t *_file, H5FD_mem_t /*H5_ATTR_UNUSED*/ type)
|
||||
{
|
||||
const H5FD_stdio_t *file = (const H5FD_stdio_t *)_file;
|
||||
|
||||
|
@ -138,7 +138,7 @@ typedef struct H5FL_reg_head_t {
|
||||
#else /* H5_NO_REG_FREE_LISTS */
|
||||
#include "H5MMprivate.h"
|
||||
/* Common macro for H5FL_DEFINE & H5FL_DEFINE_STATIC */
|
||||
#define H5FL_DEFINE_COMMON(t) int UNUSED H5FL_REG_NAME(t)
|
||||
#define H5FL_DEFINE_COMMON(t) int H5_ATTR_UNUSED H5FL_REG_NAME(t)
|
||||
|
||||
#define H5FL_DEFINE(t) H5_DLL H5FL_DEFINE_COMMON(t)
|
||||
#define H5FL_EXTERN(t) H5_DLLVAR H5FL_DEFINE_COMMON(t)
|
||||
@ -208,7 +208,7 @@ typedef struct H5FL_blk_head_t {
|
||||
|
||||
#else /* H5_NO_BLK_FREE_LISTS */
|
||||
/* Common macro for H5FL_BLK_DEFINE & H5FL_BLK_DEFINE_STATIC */
|
||||
#define H5FL_BLK_DEFINE_COMMON(t) int UNUSED H5FL_BLK_NAME(t)
|
||||
#define H5FL_BLK_DEFINE_COMMON(t) int H5_ATTR_UNUSED H5FL_BLK_NAME(t)
|
||||
|
||||
#define H5FL_BLK_DEFINE(t) H5_DLL H5FL_BLK_DEFINE_COMMON(t)
|
||||
#define H5FL_BLK_EXTERN(t) H5_DLLVAR H5FL_BLK_DEFINE_COMMON(t)
|
||||
@ -337,7 +337,7 @@ typedef struct H5FL_seq_head_t {
|
||||
|
||||
#else /* H5_NO_SEQ_FREE_LISTS */
|
||||
/* Common macro for H5FL_SEQ_DEFINE & H5FL_SEQ_DEFINE_STATIC */
|
||||
#define H5FL_SEQ_DEFINE_COMMON(t) int UNUSED H5FL_SEQ_NAME(t)
|
||||
#define H5FL_SEQ_DEFINE_COMMON(t) int H5_ATTR_UNUSED H5FL_SEQ_NAME(t)
|
||||
|
||||
#define H5FL_SEQ_DEFINE(t) H5_DLL H5FL_SEQ_DEFINE_COMMON(t)
|
||||
#define H5FL_SEQ_EXTERN(t) H5_DLLVAR H5FL_SEQ_DEFINE_COMMON(t)
|
||||
|
@ -1064,7 +1064,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5FS_sinfo_free_sect_cb(void *_sect, void UNUSED *key, void *op_data)
|
||||
H5FS_sinfo_free_sect_cb(void *_sect, void H5_ATTR_UNUSED *key, void *op_data)
|
||||
{
|
||||
H5FS_section_info_t *sect = (H5FS_section_info_t *)_sect; /* Section to free */
|
||||
const H5FS_sinfo_t *sinfo = (const H5FS_sinfo_t *)op_data; /* Free space manager for section */
|
||||
@ -1096,7 +1096,7 @@ H5FS_sinfo_free_sect_cb(void *_sect, void UNUSED *key, void *op_data)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5FS_sinfo_free_node_cb(void *item, void UNUSED *key, void *op_data)
|
||||
H5FS_sinfo_free_node_cb(void *item, void H5_ATTR_UNUSED *key, void *op_data)
|
||||
{
|
||||
H5FS_node_t *fspace_node = (H5FS_node_t *)item; /* Temporary pointer to free space list node */
|
||||
|
||||
|
@ -75,17 +75,17 @@ typedef struct {
|
||||
/********************/
|
||||
|
||||
/* Section info routines */
|
||||
static herr_t H5FS_sinfo_serialize_sect_cb(void *_item, void UNUSED *key, void *_udata);
|
||||
static herr_t H5FS_sinfo_serialize_node_cb(void *_item, void UNUSED *key, void *_udata);
|
||||
static herr_t H5FS_sinfo_serialize_sect_cb(void *_item, void H5_ATTR_UNUSED *key, void *_udata);
|
||||
static herr_t H5FS_sinfo_serialize_node_cb(void *_item, void H5_ATTR_UNUSED *key, void *_udata);
|
||||
|
||||
/* Metadata cache callbacks */
|
||||
static H5FS_t *H5FS_cache_hdr_load(H5F_t *f, hid_t dxpl_id, haddr_t addr, void *udata);
|
||||
static herr_t H5FS_cache_hdr_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr, H5FS_t *fspace, unsigned UNUSED * flags_ptr);
|
||||
static herr_t H5FS_cache_hdr_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr, H5FS_t *fspace, unsigned H5_ATTR_UNUSED * flags_ptr);
|
||||
static herr_t H5FS_cache_hdr_dest(H5F_t *f, H5FS_t *fspace);
|
||||
static herr_t H5FS_cache_hdr_clear(H5F_t *f, H5FS_t *fspace, hbool_t destroy);
|
||||
static herr_t H5FS_cache_hdr_size(const H5F_t *f, const H5FS_t *fspace, size_t *size_ptr);
|
||||
static H5FS_sinfo_t *H5FS_cache_sinfo_load(H5F_t *f, hid_t dxpl_id, haddr_t addr, void *udata);
|
||||
static herr_t H5FS_cache_sinfo_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr, H5FS_sinfo_t *sinfo, unsigned UNUSED * flags_ptr);
|
||||
static herr_t H5FS_cache_sinfo_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr, H5FS_sinfo_t *sinfo, unsigned H5_ATTR_UNUSED * flags_ptr);
|
||||
static herr_t H5FS_cache_sinfo_dest(H5F_t *f, H5FS_sinfo_t *sinfo);
|
||||
static herr_t H5FS_cache_sinfo_clear(H5F_t *f, H5FS_sinfo_t *sinfo, hbool_t destroy);
|
||||
static herr_t H5FS_cache_sinfo_size(const H5F_t *f, const H5FS_sinfo_t *sinfo, size_t *size_ptr);
|
||||
@ -281,7 +281,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5FS_cache_hdr_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr, H5FS_t *fspace, unsigned UNUSED * flags_ptr)
|
||||
H5FS_cache_hdr_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr, H5FS_t *fspace, unsigned H5_ATTR_UNUSED * flags_ptr)
|
||||
{
|
||||
H5WB_t *wb = NULL; /* Wrapped buffer for header data */
|
||||
uint8_t hdr_buf[H5FS_HDR_BUF_SIZE]; /* Buffer for header */
|
||||
@ -524,7 +524,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5FS_cache_hdr_size(const H5F_t UNUSED *f, const H5FS_t *fspace, size_t *size_ptr)
|
||||
H5FS_cache_hdr_size(const H5F_t H5_ATTR_UNUSED *f, const H5FS_t *fspace, size_t *size_ptr)
|
||||
{
|
||||
FUNC_ENTER_NOAPI_NOINIT_NOERR
|
||||
|
||||
@ -555,7 +555,7 @@ H5FS_cache_hdr_size(const H5F_t UNUSED *f, const H5FS_t *fspace, size_t *size_pt
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static H5FS_sinfo_t *
|
||||
H5FS_cache_sinfo_load(H5F_t *f, hid_t dxpl_id, haddr_t UNUSED addr, void *_udata)
|
||||
H5FS_cache_sinfo_load(H5F_t *f, hid_t dxpl_id, haddr_t H5_ATTR_UNUSED addr, void *_udata)
|
||||
{
|
||||
H5FS_sinfo_t *sinfo = NULL; /* Free space section info */
|
||||
H5FS_sinfo_cache_ud_t *udata = (H5FS_sinfo_cache_ud_t *)_udata; /* user data for callback */
|
||||
@ -717,7 +717,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5FS_sinfo_serialize_sect_cb(void *_item, void UNUSED *key, void *_udata)
|
||||
H5FS_sinfo_serialize_sect_cb(void *_item, void H5_ATTR_UNUSED *key, void *_udata)
|
||||
{
|
||||
H5FS_section_class_t *sect_cls; /* Class of section */
|
||||
H5FS_section_info_t *sect= (H5FS_section_info_t *)_item; /* Free space section to work on */
|
||||
@ -773,7 +773,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5FS_sinfo_serialize_node_cb(void *_item, void UNUSED *key, void *_udata)
|
||||
H5FS_sinfo_serialize_node_cb(void *_item, void H5_ATTR_UNUSED *key, void *_udata)
|
||||
{
|
||||
H5FS_node_t *fspace_node = (H5FS_node_t *)_item; /* Free space size node to work on */
|
||||
H5FS_iter_ud_t *udata = (H5FS_iter_ud_t *)_udata; /* Callback info */
|
||||
@ -819,7 +819,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5FS_cache_sinfo_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr, H5FS_sinfo_t *sinfo, unsigned UNUSED * flags_ptr)
|
||||
H5FS_cache_sinfo_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr, H5FS_sinfo_t *sinfo, unsigned H5_ATTR_UNUSED * flags_ptr)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
@ -1027,7 +1027,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5FS_cache_sinfo_size(const H5F_t UNUSED *f, const H5FS_sinfo_t *sinfo, size_t *size_ptr)
|
||||
H5FS_cache_sinfo_size(const H5F_t H5_ATTR_UNUSED *f, const H5FS_sinfo_t *sinfo, size_t *size_ptr)
|
||||
{
|
||||
FUNC_ENTER_NOAPI_NOINIT_NOERR
|
||||
|
||||
|
@ -232,7 +232,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
herr_t
|
||||
H5FS_sects_debug(H5F_t *f, hid_t dxpl_id, haddr_t UNUSED addr, FILE *stream, int indent, int fwidth,
|
||||
H5FS_sects_debug(H5F_t *f, hid_t dxpl_id, haddr_t H5_ATTR_UNUSED addr, FILE *stream, int indent, int fwidth,
|
||||
haddr_t fs_addr, haddr_t client_addr)
|
||||
{
|
||||
H5FS_t *fspace = NULL; /* Free space header info */
|
||||
|
@ -1895,7 +1895,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5FS_iterate_sect_cb(void *_item, void UNUSED *key, void *_udata)
|
||||
H5FS_iterate_sect_cb(void *_item, void H5_ATTR_UNUSED *key, void *_udata)
|
||||
{
|
||||
H5FS_section_info_t *sect_info = (H5FS_section_info_t *)_item; /* Free space section to work on */
|
||||
H5FS_iter_ud_t *udata = (H5FS_iter_ud_t *)_udata; /* Callback info */
|
||||
@ -1933,7 +1933,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5FS_iterate_node_cb(void *_item, void UNUSED *key, void *_udata)
|
||||
H5FS_iterate_node_cb(void *_item, void H5_ATTR_UNUSED *key, void *_udata)
|
||||
{
|
||||
H5FS_node_t *fspace_node = (H5FS_node_t *)_item; /* Free space size node to work on */
|
||||
H5FS_iter_ud_t *udata = (H5FS_iter_ud_t *)_udata; /* Callback info */
|
||||
|
@ -845,7 +845,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
herr_t
|
||||
H5F__accum_free(const H5F_io_info_t *fio_info, H5FD_mem_t UNUSED type, haddr_t addr,
|
||||
H5F__accum_free(const H5F_io_info_t *fio_info, H5FD_mem_t H5_ATTR_UNUSED type, haddr_t addr,
|
||||
hsize_t size)
|
||||
{
|
||||
H5F_meta_accum_t *accum; /* Alias for file's metadata accumulator */
|
||||
|
@ -128,7 +128,7 @@ done:
|
||||
*/
|
||||
static herr_t
|
||||
H5F_mount(H5G_loc_t *loc, const char *name, H5F_t *child,
|
||||
hid_t UNUSED plist_id, hid_t dxpl_id)
|
||||
hid_t H5_ATTR_UNUSED plist_id, hid_t dxpl_id)
|
||||
{
|
||||
H5G_t *mount_point = NULL; /*mount point group */
|
||||
H5F_t *ancestor = NULL; /*ancestor files */
|
||||
|
@ -122,7 +122,7 @@ H5FL_EXTERN(H5F_super_t);
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static H5F_super_t *
|
||||
H5F_sblock_load(H5F_t *f, hid_t dxpl_id, haddr_t UNUSED addr, void *_udata)
|
||||
H5F_sblock_load(H5F_t *f, hid_t dxpl_id, haddr_t H5_ATTR_UNUSED addr, void *_udata)
|
||||
{
|
||||
H5F_super_t *sblock = NULL; /* File's superblock */
|
||||
haddr_t base_addr = HADDR_UNDEF; /* Base address of file */
|
||||
@ -635,7 +635,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5F_sblock_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t UNUSED addr,
|
||||
H5F_sblock_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t H5_ATTR_UNUSED addr,
|
||||
H5F_super_t *sblock)
|
||||
{
|
||||
herr_t ret_value = SUCCEED;
|
||||
@ -872,7 +872,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5F_sblock_dest(H5F_t UNUSED *f, H5F_super_t* sblock)
|
||||
H5F_sblock_dest(H5F_t H5_ATTR_UNUSED *f, H5F_super_t* sblock)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
|
@ -161,7 +161,7 @@ const H5B2_class_t H5G_BT2_CORDER[1]={{ /* B-tree class information */
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5G_dense_fh_name_cmp(const void *obj, size_t UNUSED obj_len, void *_udata)
|
||||
H5G_dense_fh_name_cmp(const void *obj, size_t H5_ATTR_UNUSED obj_len, void *_udata)
|
||||
{
|
||||
H5G_fh_ud_cmp_t *udata = (H5G_fh_ud_cmp_t *)_udata; /* User data for 'op' callback */
|
||||
H5O_link_t *lnk; /* Pointer to link created from heap object */
|
||||
@ -306,7 +306,7 @@ for(u = 0; u < H5G_DENSE_FHEAP_ID_LEN; u++)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5G_dense_btree2_name_encode(uint8_t *raw, const void *_nrecord, void UNUSED *ctx)
|
||||
H5G_dense_btree2_name_encode(uint8_t *raw, const void *_nrecord, void H5_ATTR_UNUSED *ctx)
|
||||
{
|
||||
const H5G_dense_bt2_name_rec_t *nrecord = (const H5G_dense_bt2_name_rec_t *)_nrecord;
|
||||
|
||||
@ -334,7 +334,7 @@ H5G_dense_btree2_name_encode(uint8_t *raw, const void *_nrecord, void UNUSED *ct
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5G_dense_btree2_name_decode(const uint8_t *raw, void *_nrecord, void UNUSED *ctx)
|
||||
H5G_dense_btree2_name_decode(const uint8_t *raw, void *_nrecord, void H5_ATTR_UNUSED *ctx)
|
||||
{
|
||||
H5G_dense_bt2_name_rec_t *nrecord = (H5G_dense_bt2_name_rec_t *)_nrecord;
|
||||
|
||||
@ -362,9 +362,9 @@ H5G_dense_btree2_name_decode(const uint8_t *raw, void *_nrecord, void UNUSED *ct
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5G_dense_btree2_name_debug(FILE *stream, const H5F_t UNUSED *f, hid_t UNUSED dxpl_id,
|
||||
H5G_dense_btree2_name_debug(FILE *stream, const H5F_t H5_ATTR_UNUSED *f, hid_t H5_ATTR_UNUSED dxpl_id,
|
||||
int indent, int fwidth, const void *_nrecord,
|
||||
const void UNUSED *_udata)
|
||||
const void H5_ATTR_UNUSED *_udata)
|
||||
{
|
||||
const H5G_dense_bt2_name_rec_t *nrecord = (const H5G_dense_bt2_name_rec_t *)_nrecord;
|
||||
unsigned u; /* Local index variable */
|
||||
@ -472,7 +472,7 @@ for(u = 0; u < H5G_DENSE_FHEAP_ID_LEN; u++)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5G_dense_btree2_corder_encode(uint8_t *raw, const void *_nrecord, void UNUSED *ctx)
|
||||
H5G_dense_btree2_corder_encode(uint8_t *raw, const void *_nrecord, void H5_ATTR_UNUSED *ctx)
|
||||
{
|
||||
const H5G_dense_bt2_corder_rec_t *nrecord = (const H5G_dense_bt2_corder_rec_t *)_nrecord;
|
||||
|
||||
@ -500,7 +500,7 @@ H5G_dense_btree2_corder_encode(uint8_t *raw, const void *_nrecord, void UNUSED *
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5G_dense_btree2_corder_decode(const uint8_t *raw, void *_nrecord, void UNUSED *ctx)
|
||||
H5G_dense_btree2_corder_decode(const uint8_t *raw, void *_nrecord, void H5_ATTR_UNUSED *ctx)
|
||||
{
|
||||
H5G_dense_bt2_corder_rec_t *nrecord = (H5G_dense_bt2_corder_rec_t *)_nrecord;
|
||||
|
||||
@ -528,9 +528,9 @@ H5G_dense_btree2_corder_decode(const uint8_t *raw, void *_nrecord, void UNUSED *
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5G_dense_btree2_corder_debug(FILE *stream, const H5F_t UNUSED *f, hid_t UNUSED dxpl_id,
|
||||
H5G_dense_btree2_corder_debug(FILE *stream, const H5F_t H5_ATTR_UNUSED *f, hid_t H5_ATTR_UNUSED dxpl_id,
|
||||
int indent, int fwidth, const void *_nrecord,
|
||||
const void UNUSED *_udata)
|
||||
const void H5_ATTR_UNUSED *_udata)
|
||||
{
|
||||
const H5G_dense_bt2_corder_rec_t *nrecord = (const H5G_dense_bt2_corder_rec_t *)_nrecord;
|
||||
unsigned u; /* Local index variable */
|
||||
|
@ -213,7 +213,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5G_node_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr, H5G_node_t *sym, unsigned UNUSED * flags_ptr)
|
||||
H5G_node_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr, H5G_node_t *sym, unsigned H5_ATTR_UNUSED * flags_ptr)
|
||||
{
|
||||
H5WB_t *wb = NULL; /* Wrapped buffer for node data */
|
||||
uint8_t node_buf[H5G_NODE_BUF_SIZE]; /* Buffer for node */
|
||||
@ -394,7 +394,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5G_node_size(const H5F_t UNUSED *f, const H5G_node_t *sym, size_t *size_ptr)
|
||||
H5G_node_size(const H5F_t H5_ATTR_UNUSED *f, const H5G_node_t *sym, size_t *size_ptr)
|
||||
{
|
||||
FUNC_ENTER_NOAPI_NOINIT_NOERR
|
||||
|
||||
|
@ -83,7 +83,7 @@ static herr_t H5G_compact_build_table(const H5O_loc_t *oloc, hid_t dxpl_id,
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5G_compact_build_table_cb(const void *_mesg, unsigned UNUSED idx, void *_udata)
|
||||
H5G_compact_build_table_cb(const void *_mesg, unsigned H5_ATTR_UNUSED idx, void *_udata)
|
||||
{
|
||||
const H5O_link_t *lnk = (const H5O_link_t *)_mesg; /* Pointer to link */
|
||||
H5G_iter_bt_t *udata = (H5G_iter_bt_t *)_udata; /* 'User data' passed in */
|
||||
@ -274,7 +274,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5G_compact_remove_common_cb(const void *_mesg, unsigned UNUSED idx, void *_udata)
|
||||
H5G_compact_remove_common_cb(const void *_mesg, unsigned H5_ATTR_UNUSED idx, void *_udata)
|
||||
{
|
||||
const H5O_link_t *lnk = (const H5O_link_t *)_mesg; /* Pointer to link */
|
||||
H5G_iter_rm_t *udata = (H5G_iter_rm_t *)_udata; /* 'User data' passed in */
|
||||
@ -452,7 +452,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5G_compact_lookup_cb(const void *_mesg, unsigned UNUSED idx, void *_udata)
|
||||
H5G_compact_lookup_cb(const void *_mesg, unsigned H5_ATTR_UNUSED idx, void *_udata)
|
||||
{
|
||||
const H5O_link_t *lnk = (const H5O_link_t *)_mesg; /* Pointer to link */
|
||||
H5G_iter_lkp_t *udata = (H5G_iter_lkp_t *)_udata; /* 'User data' passed in */
|
||||
|
@ -599,7 +599,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5G_dense_lookup_by_idx_fh_cb(const void *obj, size_t UNUSED obj_len, void *_udata)
|
||||
H5G_dense_lookup_by_idx_fh_cb(const void *obj, size_t H5_ATTR_UNUSED obj_len, void *_udata)
|
||||
{
|
||||
H5G_fh_ud_lbi_t *udata = (H5G_fh_ud_lbi_t *)_udata; /* User data for fractal heap 'op' callback */
|
||||
H5O_link_t *tmp_lnk = NULL; /* Temporary pointer to link */
|
||||
@ -889,7 +889,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5G_dense_iterate_fh_cb(const void *obj, size_t UNUSED obj_len, void *_udata)
|
||||
H5G_dense_iterate_fh_cb(const void *obj, size_t H5_ATTR_UNUSED obj_len, void *_udata)
|
||||
{
|
||||
H5G_fh_ud_it_t *udata = (H5G_fh_ud_it_t *)_udata; /* User data for fractal heap 'op' callback */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
@ -1101,7 +1101,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5G_dense_get_name_by_idx_fh_cb(const void *obj, size_t UNUSED obj_len, void *_udata)
|
||||
H5G_dense_get_name_by_idx_fh_cb(const void *obj, size_t H5_ATTR_UNUSED obj_len, void *_udata)
|
||||
{
|
||||
H5G_fh_ud_gnbi_t *udata = (H5G_fh_ud_gnbi_t *)_udata; /* User data for fractal heap 'op' callback */
|
||||
H5O_link_t *lnk; /* Pointer to link created from heap object */
|
||||
@ -1308,7 +1308,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5G_dense_remove_fh_cb(const void *obj, size_t UNUSED obj_len, void *_udata)
|
||||
H5G_dense_remove_fh_cb(const void *obj, size_t H5_ATTR_UNUSED obj_len, void *_udata)
|
||||
{
|
||||
H5G_fh_ud_rm_t *udata = (H5G_fh_ud_rm_t *)_udata; /* User data for fractal heap 'op' callback */
|
||||
H5O_link_t *lnk = NULL; /* Pointer to link created from heap object */
|
||||
@ -1485,7 +1485,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5G_dense_remove_by_idx_fh_cb(const void *obj, size_t UNUSED obj_len, void *_udata)
|
||||
H5G_dense_remove_by_idx_fh_cb(const void *obj, size_t H5_ATTR_UNUSED obj_len, void *_udata)
|
||||
{
|
||||
H5G_fh_ud_rmbi_t *udata = (H5G_fh_ud_rmbi_t *)_udata; /* User data for fractal heap 'op' callback */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
@ -917,7 +917,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5G_get_objinfo_cb(H5G_loc_t UNUSED *grp_loc/*in*/, const char *name, const H5O_link_t *lnk,
|
||||
H5G_get_objinfo_cb(H5G_loc_t H5_ATTR_UNUSED *grp_loc/*in*/, const char *name, const H5O_link_t *lnk,
|
||||
H5G_loc_t *obj_loc, void *_udata/*in,out*/, H5G_own_loc_t *own_loc/*out*/)
|
||||
{
|
||||
H5G_trav_goi_t *udata = (H5G_trav_goi_t *)_udata; /* User data passed in */
|
||||
|
@ -869,7 +869,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5G_free_visit_visited(void *item, void UNUSED *key, void UNUSED *operator_data/*in,out*/)
|
||||
H5G_free_visit_visited(void *item, void H5_ATTR_UNUSED *key, void H5_ATTR_UNUSED *operator_data/*in,out*/)
|
||||
{
|
||||
FUNC_ENTER_NOAPI_NOINIT_NOERR
|
||||
|
||||
|
18
src/H5Gloc.c
18
src/H5Gloc.c
@ -371,8 +371,8 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5G_loc_find_cb(H5G_loc_t UNUSED *grp_loc/*in*/, const char *name,
|
||||
const H5O_link_t UNUSED *lnk, H5G_loc_t *obj_loc, void *_udata/*in,out*/,
|
||||
H5G_loc_find_cb(H5G_loc_t H5_ATTR_UNUSED *grp_loc/*in*/, const char *name,
|
||||
const H5O_link_t H5_ATTR_UNUSED *lnk, H5G_loc_t *obj_loc, void *_udata/*in,out*/,
|
||||
H5G_own_loc_t *own_loc/*out*/)
|
||||
{
|
||||
H5G_loc_fnd_t *udata = (H5G_loc_fnd_t *)_udata; /* User data passed in */
|
||||
@ -448,8 +448,8 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5G_loc_find_by_idx_cb(H5G_loc_t UNUSED *grp_loc/*in*/, const char UNUSED *name,
|
||||
const H5O_link_t UNUSED *lnk, H5G_loc_t *obj_loc, void *_udata/*in,out*/,
|
||||
H5G_loc_find_by_idx_cb(H5G_loc_t H5_ATTR_UNUSED *grp_loc/*in*/, const char H5_ATTR_UNUSED *name,
|
||||
const H5O_link_t H5_ATTR_UNUSED *lnk, H5G_loc_t *obj_loc, void *_udata/*in,out*/,
|
||||
H5G_own_loc_t *own_loc/*out*/)
|
||||
{
|
||||
H5G_loc_fbi_t *udata = (H5G_loc_fbi_t *)_udata; /* User data passed in */
|
||||
@ -607,8 +607,8 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5G_loc_exists_cb(H5G_loc_t UNUSED *grp_loc/*in*/, const char UNUSED *name,
|
||||
const H5O_link_t UNUSED *lnk, H5G_loc_t *obj_loc, void *_udata/*in,out*/,
|
||||
H5G_loc_exists_cb(H5G_loc_t H5_ATTR_UNUSED *grp_loc/*in*/, const char H5_ATTR_UNUSED *name,
|
||||
const H5O_link_t H5_ATTR_UNUSED *lnk, H5G_loc_t *obj_loc, void *_udata/*in,out*/,
|
||||
H5G_own_loc_t *own_loc/*out*/)
|
||||
{
|
||||
H5G_loc_exists_t *udata = (H5G_loc_exists_t *)_udata; /* User data passed in */
|
||||
@ -685,7 +685,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5G_loc_info_cb(H5G_loc_t UNUSED *grp_loc/*in*/, const char UNUSED *name, const H5O_link_t UNUSED *lnk,
|
||||
H5G_loc_info_cb(H5G_loc_t H5_ATTR_UNUSED *grp_loc/*in*/, const char H5_ATTR_UNUSED *name, const H5O_link_t H5_ATTR_UNUSED *lnk,
|
||||
H5G_loc_t *obj_loc, void *_udata/*in,out*/, H5G_own_loc_t *own_loc/*out*/)
|
||||
{
|
||||
H5G_loc_info_t *udata = (H5G_loc_info_t *)_udata; /* User data passed in */
|
||||
@ -764,7 +764,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5G_loc_set_comment_cb(H5G_loc_t UNUSED *grp_loc/*in*/, const char UNUSED *name, const H5O_link_t UNUSED *lnk,
|
||||
H5G_loc_set_comment_cb(H5G_loc_t H5_ATTR_UNUSED *grp_loc/*in*/, const char H5_ATTR_UNUSED *name, const H5O_link_t H5_ATTR_UNUSED *lnk,
|
||||
H5G_loc_t *obj_loc, void *_udata/*in,out*/, H5G_own_loc_t *own_loc/*out*/)
|
||||
{
|
||||
H5G_loc_sc_t *udata = (H5G_loc_sc_t *)_udata; /* User data passed in */
|
||||
@ -856,7 +856,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5G_loc_get_comment_cb(H5G_loc_t UNUSED *grp_loc/*in*/, const char UNUSED *name, const H5O_link_t UNUSED *lnk,
|
||||
H5G_loc_get_comment_cb(H5G_loc_t H5_ATTR_UNUSED *grp_loc/*in*/, const char H5_ATTR_UNUSED *name, const H5O_link_t H5_ATTR_UNUSED *lnk,
|
||||
H5G_loc_t *obj_loc, void *_udata/*in,out*/, H5G_own_loc_t *own_loc/*out*/)
|
||||
{
|
||||
H5G_loc_gc_t *udata = (H5G_loc_gc_t *)_udata; /* User data passed in */
|
||||
|
@ -157,7 +157,7 @@ H5FL_SEQ_DEFINE(H5G_entry_t);
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static H5UC_t *
|
||||
H5G_node_get_shared(const H5F_t *f, const void UNUSED *_udata)
|
||||
H5G_node_get_shared(const H5F_t *f, const void H5_ATTR_UNUSED *_udata)
|
||||
{
|
||||
FUNC_ENTER_NOAPI_NOINIT_NOERR
|
||||
|
||||
@ -323,8 +323,8 @@ H5G__node_free(H5G_node_t *sym)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5G_node_create(H5F_t *f, hid_t dxpl_id, H5B_ins_t UNUSED op, void *_lt_key,
|
||||
void UNUSED *_udata, void *_rt_key, haddr_t *addr_p/*out*/)
|
||||
H5G_node_create(H5F_t *f, hid_t dxpl_id, H5B_ins_t H5_ATTR_UNUSED op, void *_lt_key,
|
||||
void H5_ATTR_UNUSED *_udata, void *_rt_key, haddr_t *addr_p/*out*/)
|
||||
{
|
||||
H5G_node_key_t *lt_key = (H5G_node_key_t *)_lt_key;
|
||||
H5G_node_key_t *rt_key = (H5G_node_key_t *)_rt_key;
|
||||
@ -518,7 +518,7 @@ H5G_node_cmp3(void *_lt_key, void *_udata, void *_rt_key)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static htri_t
|
||||
H5G_node_found(H5F_t *f, hid_t dxpl_id, haddr_t addr, const void UNUSED *_lt_key,
|
||||
H5G_node_found(H5F_t *f, hid_t dxpl_id, haddr_t addr, const void H5_ATTR_UNUSED *_lt_key,
|
||||
void *_udata)
|
||||
{
|
||||
H5G_bt_lkp_t *udata = (H5G_bt_lkp_t *)_udata;
|
||||
@ -614,7 +614,7 @@ done:
|
||||
*/
|
||||
static H5B_ins_t
|
||||
H5G_node_insert(H5F_t *f, hid_t dxpl_id, haddr_t addr,
|
||||
void UNUSED *_lt_key, hbool_t UNUSED *lt_key_changed,
|
||||
void H5_ATTR_UNUSED *_lt_key, hbool_t H5_ATTR_UNUSED *lt_key_changed,
|
||||
void *_md_key, void *_udata,
|
||||
void *_rt_key, hbool_t *rt_key_changed,
|
||||
haddr_t *new_node_p)
|
||||
@ -785,7 +785,7 @@ done:
|
||||
*/
|
||||
static H5B_ins_t
|
||||
H5G_node_remove(H5F_t *f, hid_t dxpl_id, haddr_t addr, void *_lt_key/*in,out*/,
|
||||
hbool_t UNUSED *lt_key_changed/*out*/,
|
||||
hbool_t H5_ATTR_UNUSED *lt_key_changed/*out*/,
|
||||
void *_udata/*in,out*/, void *_rt_key/*in,out*/,
|
||||
hbool_t *rt_key_changed/*out*/)
|
||||
{
|
||||
@ -982,8 +982,8 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
int
|
||||
H5G__node_iterate(H5F_t *f, hid_t dxpl_id, const void UNUSED *_lt_key, haddr_t addr,
|
||||
const void UNUSED *_rt_key, void *_udata)
|
||||
H5G__node_iterate(H5F_t *f, hid_t dxpl_id, const void H5_ATTR_UNUSED *_lt_key, haddr_t addr,
|
||||
const void H5_ATTR_UNUSED *_rt_key, void *_udata)
|
||||
{
|
||||
H5G_bt_it_it_t *udata = (H5G_bt_it_it_t *)_udata;
|
||||
H5G_node_t *sn = NULL;
|
||||
@ -1061,8 +1061,8 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
int
|
||||
H5G__node_sumup(H5F_t *f, hid_t dxpl_id, const void UNUSED *_lt_key, haddr_t addr,
|
||||
const void UNUSED *_rt_key, void *_udata)
|
||||
H5G__node_sumup(H5F_t *f, hid_t dxpl_id, const void H5_ATTR_UNUSED *_lt_key, haddr_t addr,
|
||||
const void H5_ATTR_UNUSED *_rt_key, void *_udata)
|
||||
{
|
||||
hsize_t *num_objs = (hsize_t *)_udata;
|
||||
H5G_node_t *sn = NULL;
|
||||
@ -1106,8 +1106,8 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
int
|
||||
H5G__node_by_idx(H5F_t *f, hid_t dxpl_id, const void UNUSED *_lt_key, haddr_t addr,
|
||||
const void UNUSED *_rt_key, void *_udata)
|
||||
H5G__node_by_idx(H5F_t *f, hid_t dxpl_id, const void H5_ATTR_UNUSED *_lt_key, haddr_t addr,
|
||||
const void H5_ATTR_UNUSED *_rt_key, void *_udata)
|
||||
{
|
||||
H5G_bt_it_idx_common_t *udata = (H5G_bt_it_idx_common_t *)_udata;
|
||||
H5G_node_t *sn = NULL;
|
||||
@ -1242,8 +1242,8 @@ H5G_node_close(const H5F_t *f)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
int
|
||||
H5G__node_copy(H5F_t *f, hid_t dxpl_id, const void UNUSED *_lt_key, haddr_t addr,
|
||||
const void UNUSED *_rt_key, void *_udata)
|
||||
H5G__node_copy(H5F_t *f, hid_t dxpl_id, const void H5_ATTR_UNUSED *_lt_key, haddr_t addr,
|
||||
const void H5_ATTR_UNUSED *_rt_key, void *_udata)
|
||||
{
|
||||
H5G_bt_it_cpy_t *udata = (H5G_bt_it_cpy_t *)_udata;
|
||||
const H5O_loc_t *src_oloc = udata->src_oloc;
|
||||
@ -1399,8 +1399,8 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
int
|
||||
H5G__node_build_table(H5F_t *f, hid_t dxpl_id, const void UNUSED *_lt_key, haddr_t addr,
|
||||
const void UNUSED *_rt_key, void *_udata)
|
||||
H5G__node_build_table(H5F_t *f, hid_t dxpl_id, const void H5_ATTR_UNUSED *_lt_key, haddr_t addr,
|
||||
const void H5_ATTR_UNUSED *_rt_key, void *_udata)
|
||||
{
|
||||
H5G_bt_it_bt_t *udata = (H5G_bt_it_bt_t *)_udata;
|
||||
H5G_node_t *sn = NULL; /* Symbol table node */
|
||||
@ -1474,8 +1474,8 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
herr_t
|
||||
H5G__node_iterate_size(H5F_t *f, hid_t UNUSED dxpl_id, const void UNUSED *_lt_key, haddr_t UNUSED addr,
|
||||
const void UNUSED *_rt_key, void *_udata)
|
||||
H5G__node_iterate_size(H5F_t *f, hid_t H5_ATTR_UNUSED dxpl_id, const void H5_ATTR_UNUSED *_lt_key, haddr_t H5_ATTR_UNUSED addr,
|
||||
const void H5_ATTR_UNUSED *_rt_key, void *_udata)
|
||||
{
|
||||
hsize_t *stab_size = (hsize_t *)_udata; /* User data */
|
||||
|
||||
|
@ -382,7 +382,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5G_obj_compact_to_dense_cb(const void *_mesg, unsigned UNUSED idx, void *_udata)
|
||||
H5G_obj_compact_to_dense_cb(const void *_mesg, unsigned H5_ATTR_UNUSED idx, void *_udata)
|
||||
{
|
||||
const H5O_link_t *lnk = (const H5O_link_t *)_mesg; /* Pointer to link */
|
||||
H5G_obj_oh_it_ud1_t *udata = (H5G_obj_oh_it_ud1_t *)_udata; /* 'User data' passed in */
|
||||
|
@ -210,7 +210,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static hid_t
|
||||
H5O_group_open(const H5G_loc_t *obj_loc, hid_t UNUSED lapl_id, hid_t dxpl_id, hbool_t app_ref)
|
||||
H5O_group_open(const H5G_loc_t *obj_loc, hid_t H5_ATTR_UNUSED lapl_id, hid_t dxpl_id, hbool_t app_ref)
|
||||
{
|
||||
H5G_t *grp = NULL; /* Group opened */
|
||||
hid_t ret_value; /* Return value */
|
||||
|
@ -666,8 +666,8 @@ done:
|
||||
*/
|
||||
static int
|
||||
H5G_verify_cached_stabs_test_cb(H5F_t *f, hid_t dxpl_id,
|
||||
const void UNUSED *_lt_key, haddr_t addr, const void UNUSED *_rt_key,
|
||||
void UNUSED *udata)
|
||||
const void H5_ATTR_UNUSED *_lt_key, haddr_t addr, const void H5_ATTR_UNUSED *_rt_key,
|
||||
void H5_ATTR_UNUSED *udata)
|
||||
{
|
||||
H5G_node_t *sn = NULL;
|
||||
H5O_loc_t targ_oloc;
|
||||
|
@ -119,8 +119,8 @@ static herr_t H5G_traverse_real(const H5G_loc_t *loc, const char *name,
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5G_traverse_slink_cb(H5G_loc_t UNUSED *grp_loc, const char UNUSED *name,
|
||||
const H5O_link_t UNUSED *lnk, H5G_loc_t *obj_loc, void *_udata/*in,out*/,
|
||||
H5G_traverse_slink_cb(H5G_loc_t H5_ATTR_UNUSED *grp_loc, const char H5_ATTR_UNUSED *name,
|
||||
const H5O_link_t H5_ATTR_UNUSED *lnk, H5G_loc_t *obj_loc, void *_udata/*in,out*/,
|
||||
H5G_own_loc_t *own_loc/*out*/)
|
||||
{
|
||||
H5G_trav_slink_t *udata = (H5G_trav_slink_t *)_udata; /* User data passed in */
|
||||
|
@ -551,7 +551,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
herr_t
|
||||
H5HF_write(H5HF_t *fh, hid_t dxpl_id, void *_id, hbool_t UNUSED *id_changed,
|
||||
H5HF_write(H5HF_t *fh, hid_t dxpl_id, void *_id, hbool_t H5_ATTR_UNUSED *id_changed,
|
||||
const void *obj)
|
||||
{
|
||||
uint8_t *id = (uint8_t *)_id; /* Object ID */
|
||||
|
@ -278,7 +278,7 @@ H5HF_huge_bt2_dst_context(void *_ctx)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static void *
|
||||
H5HF_huge_bt2_crt_dbg_context(H5F_t *f, hid_t UNUSED dxpl_id, haddr_t UNUSED addr)
|
||||
H5HF_huge_bt2_crt_dbg_context(H5F_t *f, hid_t H5_ATTR_UNUSED dxpl_id, haddr_t H5_ATTR_UNUSED addr)
|
||||
{
|
||||
H5HF_huge_bt2_ctx_t *ctx; /* Callback context structure */
|
||||
void *ret_value; /* Return value */
|
||||
@ -505,9 +505,9 @@ H5HF_huge_bt2_indir_decode(const uint8_t *raw, void *_nrecord, void *_ctx)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5HF_huge_bt2_indir_debug(FILE *stream, const H5F_t UNUSED *f, hid_t UNUSED dxpl_id,
|
||||
H5HF_huge_bt2_indir_debug(FILE *stream, const H5F_t H5_ATTR_UNUSED *f, hid_t H5_ATTR_UNUSED dxpl_id,
|
||||
int indent, int fwidth, const void *_nrecord,
|
||||
const void UNUSED *_udata)
|
||||
const void H5_ATTR_UNUSED *_udata)
|
||||
{
|
||||
const H5HF_huge_bt2_indir_rec_t *nrecord = (const H5HF_huge_bt2_indir_rec_t *)_nrecord;
|
||||
|
||||
@ -727,9 +727,9 @@ H5HF_huge_bt2_filt_indir_decode(const uint8_t *raw, void *_nrecord, void *_ctx)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5HF_huge_bt2_filt_indir_debug(FILE *stream, const H5F_t UNUSED *f, hid_t UNUSED dxpl_id,
|
||||
H5HF_huge_bt2_filt_indir_debug(FILE *stream, const H5F_t H5_ATTR_UNUSED *f, hid_t H5_ATTR_UNUSED dxpl_id,
|
||||
int indent, int fwidth, const void *_nrecord,
|
||||
const void UNUSED *_udata)
|
||||
const void H5_ATTR_UNUSED *_udata)
|
||||
{
|
||||
const H5HF_huge_bt2_filt_indir_rec_t *nrecord = (const H5HF_huge_bt2_filt_indir_rec_t *)_nrecord;
|
||||
|
||||
@ -920,9 +920,9 @@ H5HF_huge_bt2_dir_decode(const uint8_t *raw, void *_nrecord, void *_ctx)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5HF_huge_bt2_dir_debug(FILE *stream, const H5F_t UNUSED *f, hid_t UNUSED dxpl_id,
|
||||
H5HF_huge_bt2_dir_debug(FILE *stream, const H5F_t H5_ATTR_UNUSED *f, hid_t H5_ATTR_UNUSED dxpl_id,
|
||||
int indent, int fwidth, const void *_nrecord,
|
||||
const void UNUSED *_udata)
|
||||
const void H5_ATTR_UNUSED *_udata)
|
||||
{
|
||||
const H5HF_huge_bt2_dir_rec_t *nrecord = (const H5HF_huge_bt2_dir_rec_t *)_nrecord;
|
||||
|
||||
@ -1149,8 +1149,8 @@ H5HF_huge_bt2_filt_dir_decode(const uint8_t *raw, void *_nrecord, void *_ctx)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5HF_huge_bt2_filt_dir_debug(FILE *stream, const H5F_t UNUSED *f, hid_t UNUSED dxpl_id,
|
||||
int indent, int fwidth, const void *_nrecord, const void UNUSED *_udata)
|
||||
H5HF_huge_bt2_filt_dir_debug(FILE *stream, const H5F_t H5_ATTR_UNUSED *f, hid_t H5_ATTR_UNUSED dxpl_id,
|
||||
int indent, int fwidth, const void *_nrecord, const void H5_ATTR_UNUSED *_udata)
|
||||
{
|
||||
const H5HF_huge_bt2_filt_dir_rec_t *nrecord = (const H5HF_huge_bt2_filt_dir_rec_t *)_nrecord;
|
||||
|
||||
|
@ -80,18 +80,18 @@ static herr_t H5HF__dtable_decode(H5F_t *f, const uint8_t **pp, H5HF_dtable_t *d
|
||||
|
||||
/* Metadata cache (H5AC) callbacks */
|
||||
static H5HF_hdr_t *H5HF_cache_hdr_load(H5F_t *f, hid_t dxpl_id, haddr_t addr, void *udata);
|
||||
static herr_t H5HF_cache_hdr_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr, H5HF_hdr_t *hdr, unsigned UNUSED * flags_ptr);
|
||||
static herr_t H5HF_cache_hdr_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr, H5HF_hdr_t *hdr, unsigned H5_ATTR_UNUSED * flags_ptr);
|
||||
static herr_t H5HF_cache_hdr_dest(H5F_t *f, H5HF_hdr_t *hdr);
|
||||
static herr_t H5HF_cache_hdr_clear(H5F_t *f, H5HF_hdr_t *hdr, hbool_t destroy);
|
||||
static herr_t H5HF_cache_hdr_size(const H5F_t *f, const H5HF_hdr_t *hdr, size_t *size_ptr);
|
||||
static H5HF_indirect_t *H5HF_cache_iblock_load(H5F_t *f, hid_t dxpl_id, haddr_t addr, void *udata);
|
||||
static herr_t H5HF_cache_iblock_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr, H5HF_indirect_t *iblock, unsigned UNUSED * flags_ptr);
|
||||
static herr_t H5HF_cache_iblock_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr, H5HF_indirect_t *iblock, unsigned H5_ATTR_UNUSED * flags_ptr);
|
||||
static herr_t H5HF_cache_iblock_dest(H5F_t *f, H5HF_indirect_t *iblock);
|
||||
static herr_t H5HF_cache_iblock_clear(H5F_t *f, H5HF_indirect_t *iblock, hbool_t destroy);
|
||||
static herr_t H5HF_cache_iblock_notify(H5C_notify_action_t action, H5HF_indirect_t *iblock);
|
||||
static herr_t H5HF_cache_iblock_size(const H5F_t *f, const H5HF_indirect_t *iblock, size_t *size_ptr);
|
||||
static H5HF_direct_t *H5HF_cache_dblock_load(H5F_t *f, hid_t dxpl_id, haddr_t addr, void *udata);
|
||||
static herr_t H5HF_cache_dblock_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr, H5HF_direct_t *dblock, unsigned UNUSED * flags_ptr);
|
||||
static herr_t H5HF_cache_dblock_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr, H5HF_direct_t *dblock, unsigned H5_ATTR_UNUSED * flags_ptr);
|
||||
static herr_t H5HF_cache_dblock_dest(H5F_t *f, H5HF_direct_t *dblock);
|
||||
static herr_t H5HF_cache_dblock_clear(H5F_t *f, H5HF_direct_t *dblock, hbool_t destroy);
|
||||
static herr_t H5HF_cache_dblock_notify(H5C_notify_action_t action, H5HF_direct_t *dblock);
|
||||
@ -466,7 +466,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5HF_cache_hdr_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr, H5HF_hdr_t *hdr, unsigned UNUSED * flags_ptr)
|
||||
H5HF_cache_hdr_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr, H5HF_hdr_t *hdr, unsigned H5_ATTR_UNUSED * flags_ptr)
|
||||
{
|
||||
H5WB_t *wb = NULL; /* Wrapped buffer for header data */
|
||||
uint8_t hdr_buf[H5HF_HDR_BUF_SIZE]; /* Buffer for header */
|
||||
@ -709,7 +709,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5HF_cache_hdr_size(const H5F_t UNUSED *f, const H5HF_hdr_t *hdr, size_t *size_ptr)
|
||||
H5HF_cache_hdr_size(const H5F_t H5_ATTR_UNUSED *f, const H5HF_hdr_t *hdr, size_t *size_ptr)
|
||||
{
|
||||
FUNC_ENTER_NOAPI_NOINIT_NOERR
|
||||
|
||||
@ -948,7 +948,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5HF_cache_iblock_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr, H5HF_indirect_t *iblock, unsigned UNUSED * flags_ptr)
|
||||
H5HF_cache_iblock_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr, H5HF_indirect_t *iblock, unsigned H5_ATTR_UNUSED * flags_ptr)
|
||||
{
|
||||
H5WB_t *wb = NULL; /* Wrapped buffer for indirect block data */
|
||||
uint8_t iblock_buf[H5HF_IBLOCK_BUF_SIZE]; /* Buffer for indirect block */
|
||||
@ -1352,7 +1352,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5HF_cache_iblock_size(const H5F_t UNUSED *f, const H5HF_indirect_t *iblock, size_t *size_ptr)
|
||||
H5HF_cache_iblock_size(const H5F_t H5_ATTR_UNUSED *f, const H5HF_indirect_t *iblock, size_t *size_ptr)
|
||||
{
|
||||
FUNC_ENTER_NOAPI_NOINIT_NOERR
|
||||
|
||||
@ -1560,7 +1560,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5HF_cache_dblock_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr, H5HF_direct_t *dblock, unsigned UNUSED * flags_ptr)
|
||||
H5HF_cache_dblock_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr, H5HF_direct_t *dblock, unsigned H5_ATTR_UNUSED * flags_ptr)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
@ -1993,7 +1993,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5HF_cache_dblock_size(const H5F_t UNUSED *f, const H5HF_direct_t *dblock, size_t *size_ptr)
|
||||
H5HF_cache_dblock_size(const H5F_t H5_ATTR_UNUSED *f, const H5HF_direct_t *dblock, size_t *size_ptr)
|
||||
{
|
||||
FUNC_ENTER_NOAPI_NOINIT_NOERR
|
||||
|
||||
|
@ -861,9 +861,9 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static H5FS_section_info_t *
|
||||
H5HF_sect_single_deserialize(const H5FS_section_class_t UNUSED *cls,
|
||||
hid_t UNUSED dxpl_id, const uint8_t UNUSED *buf, haddr_t sect_addr,
|
||||
hsize_t sect_size, unsigned UNUSED *des_flags)
|
||||
H5HF_sect_single_deserialize(const H5FS_section_class_t H5_ATTR_UNUSED *cls,
|
||||
hid_t H5_ATTR_UNUSED dxpl_id, const uint8_t H5_ATTR_UNUSED *buf, haddr_t sect_addr,
|
||||
hsize_t sect_size, unsigned H5_ATTR_UNUSED *des_flags)
|
||||
{
|
||||
H5HF_free_section_t *new_sect; /* New section */
|
||||
H5FS_section_info_t *ret_value; /* Return value */
|
||||
@ -904,7 +904,7 @@ done:
|
||||
*/
|
||||
static htri_t
|
||||
H5HF_sect_single_can_merge(const H5FS_section_info_t *_sect1,
|
||||
const H5FS_section_info_t *_sect2, void UNUSED *_udata)
|
||||
const H5FS_section_info_t *_sect2, void H5_ATTR_UNUSED *_udata)
|
||||
{
|
||||
const H5HF_free_section_t *sect1 = (const H5HF_free_section_t *)_sect1; /* Fractal heap free section */
|
||||
const H5HF_free_section_t *sect2 = (const H5HF_free_section_t *)_sect2; /* Fractal heap free section */
|
||||
@ -1063,7 +1063,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5HF_sect_single_shrink(H5FS_section_info_t **_sect, void UNUSED *_udata)
|
||||
H5HF_sect_single_shrink(H5FS_section_info_t **_sect, void H5_ATTR_UNUSED *_udata)
|
||||
{
|
||||
H5HF_free_section_t **sect = (H5HF_free_section_t **)_sect; /* Fractal heap free section */
|
||||
H5HF_sect_add_ud_t *udata = (H5HF_sect_add_ud_t *)_udata; /* User callback data */
|
||||
@ -1171,7 +1171,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5HF_sect_single_valid(const H5FS_section_class_t UNUSED *cls, const H5FS_section_info_t *_sect)
|
||||
H5HF_sect_single_valid(const H5FS_section_class_t H5_ATTR_UNUSED *cls, const H5FS_section_info_t *_sect)
|
||||
{
|
||||
const H5HF_free_section_t *sect = (const H5HF_free_section_t *)_sect; /* Pointer to section to check */
|
||||
|
||||
@ -1714,7 +1714,7 @@ done:
|
||||
*/
|
||||
static htri_t
|
||||
H5HF_sect_row_can_merge(const H5FS_section_info_t *_sect1,
|
||||
const H5FS_section_info_t *_sect2, void UNUSED *_udata)
|
||||
const H5FS_section_info_t *_sect2, void H5_ATTR_UNUSED *_udata)
|
||||
{
|
||||
const H5HF_free_section_t *sect1 = (const H5HF_free_section_t *)_sect1; /* Fractal heap free section */
|
||||
const H5HF_free_section_t *sect2 = (const H5HF_free_section_t *)_sect2; /* Fractal heap free section */
|
||||
@ -1839,7 +1839,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static htri_t
|
||||
H5HF_sect_row_can_shrink(const H5FS_section_info_t *_sect, void UNUSED *_udata)
|
||||
H5HF_sect_row_can_shrink(const H5FS_section_info_t *_sect, void H5_ATTR_UNUSED *_udata)
|
||||
{
|
||||
const H5HF_free_section_t *sect = (const H5HF_free_section_t *)_sect; /* Fractal heap free section */
|
||||
H5HF_sect_add_ud_t *udata = (H5HF_sect_add_ud_t *)_udata; /* User callback data */
|
||||
|
@ -262,7 +262,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5HF_space_revert_root_cb(H5FS_section_info_t *_sect, void UNUSED *_udata)
|
||||
H5HF_space_revert_root_cb(H5FS_section_info_t *_sect, void H5_ATTR_UNUSED *_udata)
|
||||
{
|
||||
H5HF_free_section_t *sect = (H5HF_free_section_t *)_sect; /* Section to dump info */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
@ -64,7 +64,7 @@
|
||||
/* Metadata cache callbacks */
|
||||
static H5HG_heap_t *H5HG_load(H5F_t *f, hid_t dxpl_id, haddr_t addr, void *udata);
|
||||
static herr_t H5HG_flush(H5F_t *f, hid_t dxpl_id, hbool_t dest, haddr_t addr,
|
||||
H5HG_heap_t *heap, unsigned UNUSED * flags_ptr);
|
||||
H5HG_heap_t *heap, unsigned H5_ATTR_UNUSED * flags_ptr);
|
||||
static herr_t H5HG_dest(H5F_t *f, H5HG_heap_t *heap);
|
||||
static herr_t H5HG_clear(H5F_t *f, H5HG_heap_t *heap, hbool_t destroy);
|
||||
static herr_t H5HG_size(const H5F_t *f, const H5HG_heap_t *heap, size_t *size_ptr);
|
||||
@ -280,7 +280,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5HG_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr, H5HG_heap_t *heap, unsigned UNUSED * flags_ptr)
|
||||
H5HG_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr, H5HG_heap_t *heap, unsigned H5_ATTR_UNUSED * flags_ptr)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
@ -401,7 +401,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5HG_size(const H5F_t UNUSED *f, const H5HG_heap_t *heap, size_t *size_ptr)
|
||||
H5HG_size(const H5F_t H5_ATTR_UNUSED *f, const H5HG_heap_t *heap, size_t *size_ptr)
|
||||
{
|
||||
FUNC_ENTER_NOAPI_NOINIT_NOERR
|
||||
|
||||
|
@ -394,7 +394,7 @@ done:
|
||||
*/
|
||||
static herr_t
|
||||
H5HL_prefix_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr,
|
||||
void *thing, unsigned UNUSED *flags_ptr)
|
||||
void *thing, unsigned H5_ATTR_UNUSED *flags_ptr)
|
||||
{
|
||||
H5HL_prfx_t *prfx = (H5HL_prfx_t *)thing; /* Local heap prefix to flush */
|
||||
H5WB_t *wb = NULL; /* Wrapped buffer for heap data */
|
||||
@ -553,7 +553,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5HL_prefix_clear(H5F_t UNUSED *f, void *thing, hbool_t destroy)
|
||||
H5HL_prefix_clear(H5F_t H5_ATTR_UNUSED *f, void *thing, hbool_t destroy)
|
||||
{
|
||||
H5HL_prfx_t *prfx = (H5HL_prfx_t *)thing; /* The local heap prefix to operate on */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
@ -590,7 +590,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5HL_prefix_size(const H5F_t UNUSED *f, const void *thing, size_t *size_ptr)
|
||||
H5HL_prefix_size(const H5F_t H5_ATTR_UNUSED *f, const void *thing, size_t *size_ptr)
|
||||
{
|
||||
const H5HL_prfx_t *prfx = (const H5HL_prfx_t *)thing; /* Pointer to local heap prefix to query */
|
||||
|
||||
@ -694,7 +694,7 @@ done:
|
||||
*/
|
||||
static herr_t
|
||||
H5HL_datablock_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr,
|
||||
void *_thing, unsigned UNUSED * flags_ptr)
|
||||
void *_thing, unsigned H5_ATTR_UNUSED * flags_ptr)
|
||||
{
|
||||
H5HL_dblk_t *dblk = (H5HL_dblk_t *)_thing; /* Pointer to the local heap data block */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
@ -835,7 +835,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5HL_datablock_size(const H5F_t UNUSED *f, const void *_thing, size_t *size_ptr)
|
||||
H5HL_datablock_size(const H5F_t H5_ATTR_UNUSED *f, const void *_thing, size_t *size_ptr)
|
||||
{
|
||||
const H5HL_dblk_t *dblk = (const H5HL_dblk_t *)_thing; /* Pointer to the local heap data block */
|
||||
|
||||
|
@ -1882,7 +1882,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static int
|
||||
H5I__iterate_cb(void *_item, void UNUSED *_key, void *_udata)
|
||||
H5I__iterate_cb(void *_item, void H5_ATTR_UNUSED *_key, void *_udata)
|
||||
{
|
||||
H5I_id_info_t *item = (H5I_id_info_t *)_item; /* Pointer to the ID node */
|
||||
H5I_iterate_ud_t *udata = (H5I_iterate_ud_t *)_udata; /* User data for callback */
|
||||
@ -2152,7 +2152,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5I__debug_cb(void *_item, void UNUSED *_key, void *_udata)
|
||||
H5I__debug_cb(void *_item, void H5_ATTR_UNUSED *_key, void *_udata)
|
||||
{
|
||||
H5I_id_info_t *item = (H5I_id_info_t *)_item; /* Pointer to the ID node */
|
||||
H5I_type_t type = *(H5I_type_t *)_udata; /* User data */
|
||||
|
34
src/H5L.c
34
src/H5L.c
@ -1655,7 +1655,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5L_link_cb(H5G_loc_t *grp_loc/*in*/, const char *name, const H5O_link_t UNUSED *lnk,
|
||||
H5L_link_cb(H5G_loc_t *grp_loc/*in*/, const char *name, const H5O_link_t H5_ATTR_UNUSED *lnk,
|
||||
H5G_loc_t *obj_loc, void *_udata/*in,out*/, H5G_own_loc_t *own_loc/*out*/)
|
||||
{
|
||||
H5L_trav_cr_t *udata = (H5L_trav_cr_t *)_udata; /* User data passed in */
|
||||
@ -2140,8 +2140,8 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5L_get_val_cb(H5G_loc_t UNUSED *grp_loc/*in*/, const char *name, const H5O_link_t *lnk,
|
||||
H5G_loc_t UNUSED *obj_loc, void *_udata/*in,out*/, H5G_own_loc_t *own_loc/*out*/)
|
||||
H5L_get_val_cb(H5G_loc_t H5_ATTR_UNUSED *grp_loc/*in*/, const char *name, const H5O_link_t *lnk,
|
||||
H5G_loc_t H5_ATTR_UNUSED *obj_loc, void *_udata/*in,out*/, H5G_own_loc_t *own_loc/*out*/)
|
||||
{
|
||||
H5L_trav_gv_t *udata = (H5L_trav_gv_t *)_udata; /* User data passed in */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
@ -2224,8 +2224,8 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5L_get_val_by_idx_cb(H5G_loc_t UNUSED *grp_loc/*in*/, const char UNUSED *name,
|
||||
const H5O_link_t UNUSED *lnk, H5G_loc_t *obj_loc, void *_udata/*in,out*/,
|
||||
H5L_get_val_by_idx_cb(H5G_loc_t H5_ATTR_UNUSED *grp_loc/*in*/, const char H5_ATTR_UNUSED *name,
|
||||
const H5O_link_t H5_ATTR_UNUSED *lnk, H5G_loc_t *obj_loc, void *_udata/*in,out*/,
|
||||
H5G_own_loc_t *own_loc/*out*/)
|
||||
{
|
||||
H5L_trav_gvbi_t *udata = (H5L_trav_gvbi_t *)_udata; /* User data passed in */
|
||||
@ -2277,7 +2277,7 @@ done:
|
||||
*/
|
||||
static herr_t
|
||||
H5L_delete_cb(H5G_loc_t *grp_loc/*in*/, const char *name, const H5O_link_t *lnk,
|
||||
H5G_loc_t UNUSED *obj_loc, void *_udata/*in,out*/, H5G_own_loc_t *own_loc/*out*/)
|
||||
H5G_loc_t H5_ATTR_UNUSED *obj_loc, void *_udata/*in,out*/, H5G_own_loc_t *own_loc/*out*/)
|
||||
{
|
||||
H5L_trav_rm_t *udata = (H5L_trav_rm_t *)_udata; /* User data passed in */
|
||||
herr_t ret_value = SUCCEED;
|
||||
@ -2365,8 +2365,8 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5L_delete_by_idx_cb(H5G_loc_t UNUSED *grp_loc/*in*/, const char UNUSED *name,
|
||||
const H5O_link_t UNUSED *lnk, H5G_loc_t *obj_loc, void *_udata/*in,out*/,
|
||||
H5L_delete_by_idx_cb(H5G_loc_t H5_ATTR_UNUSED *grp_loc/*in*/, const char H5_ATTR_UNUSED *name,
|
||||
const H5O_link_t H5_ATTR_UNUSED *lnk, H5G_loc_t *obj_loc, void *_udata/*in,out*/,
|
||||
H5G_own_loc_t *own_loc/*out*/)
|
||||
{
|
||||
H5L_trav_gvbi_t *udata = (H5L_trav_gvbi_t *)_udata; /* User data passed in */
|
||||
@ -2408,7 +2408,7 @@ done:
|
||||
*/
|
||||
static herr_t
|
||||
H5L_move_dest_cb(H5G_loc_t *grp_loc/*in*/, const char *name,
|
||||
const H5O_link_t UNUSED *lnk, H5G_loc_t *obj_loc, void *_udata/*in,out*/,
|
||||
const H5O_link_t H5_ATTR_UNUSED *lnk, H5G_loc_t *obj_loc, void *_udata/*in,out*/,
|
||||
H5G_own_loc_t *own_loc/*out*/)
|
||||
{
|
||||
H5L_trav_mv2_t *udata = (H5L_trav_mv2_t *)_udata; /* User data passed in */
|
||||
@ -2721,8 +2721,8 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5L_exists_cb(H5G_loc_t UNUSED *grp_loc/*in*/, const char UNUSED *name,
|
||||
const H5O_link_t *lnk, H5G_loc_t UNUSED *obj_loc, void *_udata/*in,out*/,
|
||||
H5L_exists_cb(H5G_loc_t H5_ATTR_UNUSED *grp_loc/*in*/, const char H5_ATTR_UNUSED *name,
|
||||
const H5O_link_t *lnk, H5G_loc_t H5_ATTR_UNUSED *obj_loc, void *_udata/*in,out*/,
|
||||
H5G_own_loc_t *own_loc/*out*/)
|
||||
{
|
||||
hbool_t *udata = (hbool_t *)_udata; /* User data passed in */
|
||||
@ -2785,8 +2785,8 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5L_get_info_cb(H5G_loc_t UNUSED *grp_loc/*in*/, const char UNUSED *name,
|
||||
const H5O_link_t *lnk, H5G_loc_t UNUSED *obj_loc, void *_udata/*in,out*/,
|
||||
H5L_get_info_cb(H5G_loc_t H5_ATTR_UNUSED *grp_loc/*in*/, const char H5_ATTR_UNUSED *name,
|
||||
const H5O_link_t *lnk, H5G_loc_t H5_ATTR_UNUSED *obj_loc, void *_udata/*in,out*/,
|
||||
H5G_own_loc_t *own_loc/*out*/)
|
||||
{
|
||||
H5L_trav_gi_t *udata = (H5L_trav_gi_t *)_udata; /* User data passed in */
|
||||
@ -2858,8 +2858,8 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5L_get_info_by_idx_cb(H5G_loc_t UNUSED *grp_loc/*in*/, const char UNUSED *name,
|
||||
const H5O_link_t UNUSED *lnk, H5G_loc_t *obj_loc, void *_udata/*in,out*/,
|
||||
H5L_get_info_by_idx_cb(H5G_loc_t H5_ATTR_UNUSED *grp_loc/*in*/, const char H5_ATTR_UNUSED *name,
|
||||
const H5O_link_t H5_ATTR_UNUSED *lnk, H5G_loc_t *obj_loc, void *_udata/*in,out*/,
|
||||
H5G_own_loc_t *own_loc/*out*/)
|
||||
{
|
||||
H5L_trav_gibi_t *udata = (H5L_trav_gibi_t *)_udata; /* User data passed in */
|
||||
@ -2938,8 +2938,8 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5L_get_name_by_idx_cb(H5G_loc_t UNUSED *grp_loc/*in*/, const char UNUSED *name,
|
||||
const H5O_link_t UNUSED *lnk, H5G_loc_t *obj_loc, void *_udata/*in,out*/,
|
||||
H5L_get_name_by_idx_cb(H5G_loc_t H5_ATTR_UNUSED *grp_loc/*in*/, const char H5_ATTR_UNUSED *name,
|
||||
const H5O_link_t H5_ATTR_UNUSED *lnk, H5G_loc_t *obj_loc, void *_udata/*in,out*/,
|
||||
H5G_own_loc_t *own_loc/*out*/)
|
||||
{
|
||||
H5L_trav_gnbi_t *udata = (H5L_trav_gnbi_t *)_udata; /* User data passed in */
|
||||
|
@ -29,9 +29,9 @@
|
||||
#include "H5Opublic.h" /* File objects */
|
||||
#include "H5Pprivate.h" /* Property lists */
|
||||
|
||||
static hid_t H5L_extern_traverse(const char UNUSED *link_name, hid_t cur_group,
|
||||
const void *udata, size_t UNUSED udata_size, hid_t lapl_id);
|
||||
static ssize_t H5L_extern_query(const char UNUSED * link_name, const void *udata,
|
||||
static hid_t H5L_extern_traverse(const char H5_ATTR_UNUSED *link_name, hid_t cur_group,
|
||||
const void *udata, size_t H5_ATTR_UNUSED udata_size, hid_t lapl_id);
|
||||
static ssize_t H5L_extern_query(const char H5_ATTR_UNUSED * link_name, const void *udata,
|
||||
size_t udata_size, void * buf /*out*/, size_t buf_size);
|
||||
|
||||
/* Default External Link link class */
|
||||
@ -188,8 +188,8 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static hid_t
|
||||
H5L_extern_traverse(const char UNUSED *link_name, hid_t cur_group,
|
||||
const void *_udata, size_t UNUSED udata_size, hid_t lapl_id)
|
||||
H5L_extern_traverse(const char H5_ATTR_UNUSED *link_name, hid_t cur_group,
|
||||
const void *_udata, size_t H5_ATTR_UNUSED udata_size, hid_t lapl_id)
|
||||
{
|
||||
H5P_genplist_t *plist; /* Property list pointer */
|
||||
char *my_prefix; /* Library's copy of the prefix */
|
||||
@ -490,7 +490,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static ssize_t
|
||||
H5L_extern_query(const char UNUSED * link_name, const void *_udata, size_t udata_size,
|
||||
H5L_extern_query(const char H5_ATTR_UNUSED * link_name, const void *_udata, size_t udata_size,
|
||||
void *buf /*out*/, size_t buf_size)
|
||||
{
|
||||
const uint8_t *udata = (const uint8_t *)_udata; /* Pointer to external link buffer */
|
||||
|
@ -536,7 +536,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
herr_t
|
||||
H5MF_aggr_absorb(const H5F_t UNUSED *f, H5F_blk_aggr_t *aggr, H5MF_free_section_t *sect,
|
||||
H5MF_aggr_absorb(const H5F_t H5_ATTR_UNUSED *f, H5F_blk_aggr_t *aggr, H5MF_free_section_t *sect,
|
||||
hbool_t allow_sect_absorb)
|
||||
{
|
||||
FUNC_ENTER_NOAPI_NOINIT_NOERR
|
||||
|
@ -173,9 +173,9 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static H5FS_section_info_t *
|
||||
H5MF_sect_simple_deserialize(const H5FS_section_class_t UNUSED *cls,
|
||||
hid_t UNUSED dxpl_id, const uint8_t UNUSED *buf, haddr_t sect_addr,
|
||||
hsize_t sect_size, unsigned UNUSED *des_flags)
|
||||
H5MF_sect_simple_deserialize(const H5FS_section_class_t H5_ATTR_UNUSED *cls,
|
||||
hid_t H5_ATTR_UNUSED dxpl_id, const uint8_t H5_ATTR_UNUSED *buf, haddr_t sect_addr,
|
||||
hsize_t sect_size, unsigned H5_ATTR_UNUSED *des_flags)
|
||||
{
|
||||
H5MF_free_section_t *sect; /* New section */
|
||||
H5FS_section_info_t *ret_value; /* Return value */
|
||||
@ -215,7 +215,7 @@ done:
|
||||
*/
|
||||
static htri_t
|
||||
H5MF_sect_simple_can_merge(const H5FS_section_info_t *_sect1,
|
||||
const H5FS_section_info_t *_sect2, void UNUSED *_udata)
|
||||
const H5FS_section_info_t *_sect2, void H5_ATTR_UNUSED *_udata)
|
||||
{
|
||||
const H5MF_free_section_t *sect1 = (const H5MF_free_section_t *)_sect1; /* File free section */
|
||||
const H5MF_free_section_t *sect2 = (const H5MF_free_section_t *)_sect2; /* File free section */
|
||||
@ -253,7 +253,7 @@ H5MF_sect_simple_can_merge(const H5FS_section_info_t *_sect1,
|
||||
*/
|
||||
static herr_t
|
||||
H5MF_sect_simple_merge(H5FS_section_info_t *_sect1, H5FS_section_info_t *_sect2,
|
||||
void UNUSED *_udata)
|
||||
void H5_ATTR_UNUSED *_udata)
|
||||
{
|
||||
H5MF_free_section_t *sect1 = (H5MF_free_section_t *)_sect1; /* File free section */
|
||||
H5MF_free_section_t *sect2 = (H5MF_free_section_t *)_sect2; /* File free section */
|
||||
@ -483,10 +483,10 @@ H5MF_sect_simple_free(H5FS_section_info_t *_sect)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5MF_sect_simple_valid(const H5FS_section_class_t UNUSED *cls,
|
||||
H5MF_sect_simple_valid(const H5FS_section_class_t H5_ATTR_UNUSED *cls,
|
||||
const H5FS_section_info_t
|
||||
#ifdef NDEBUG
|
||||
UNUSED
|
||||
H5_ATTR_UNUSED
|
||||
#endif /* NDEBUG */
|
||||
*_sect)
|
||||
{
|
||||
|
@ -3121,7 +3121,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_free_visit_visited(void *item, void UNUSED *key, void UNUSED *operator_data/*in,out*/)
|
||||
H5O_free_visit_visited(void *item, void H5_ATTR_UNUSED *key, void H5_ATTR_UNUSED *operator_data/*in,out*/)
|
||||
{
|
||||
FUNC_ENTER_NOAPI_NOINIT_NOERR
|
||||
|
||||
@ -3145,7 +3145,7 @@ H5O_free_visit_visited(void *item, void UNUSED *key, void UNUSED *operator_data/
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_visit_cb(hid_t UNUSED group, const char *name, const H5L_info_t *linfo,
|
||||
H5O_visit_cb(hid_t H5_ATTR_UNUSED group, const char *name, const H5L_info_t *linfo,
|
||||
void *_udata)
|
||||
{
|
||||
H5O_iter_visit_ud_t *udata = (H5O_iter_visit_ud_t *)_udata; /* User data for callback */
|
||||
|
@ -105,8 +105,8 @@ H5FL_DEFINE_STATIC(H5O_ainfo_t);
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static void *
|
||||
H5O_ainfo_decode(H5F_t *f, hid_t UNUSED dxpl_id, H5O_t UNUSED *open_oh,
|
||||
unsigned UNUSED mesg_flags, unsigned UNUSED *ioflags, const uint8_t *p)
|
||||
H5O_ainfo_decode(H5F_t *f, hid_t H5_ATTR_UNUSED dxpl_id, H5O_t H5_ATTR_UNUSED *open_oh,
|
||||
unsigned H5_ATTR_UNUSED mesg_flags, unsigned H5_ATTR_UNUSED *ioflags, const uint8_t *p)
|
||||
{
|
||||
H5O_ainfo_t *ainfo = NULL; /* Attribute info */
|
||||
unsigned char flags; /* Flags for encoding attribute info */
|
||||
@ -179,7 +179,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_ainfo_encode(H5F_t *f, hbool_t UNUSED disable_shared, uint8_t *p, const void *_mesg)
|
||||
H5O_ainfo_encode(H5F_t *f, hbool_t H5_ATTR_UNUSED disable_shared, uint8_t *p, const void *_mesg)
|
||||
{
|
||||
const H5O_ainfo_t *ainfo = (const H5O_ainfo_t *)_mesg;
|
||||
unsigned char flags; /* Flags for encoding attribute info */
|
||||
@ -276,7 +276,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static size_t
|
||||
H5O_ainfo_size(const H5F_t *f, hbool_t UNUSED disable_shared, const void *_mesg)
|
||||
H5O_ainfo_size(const H5F_t *f, hbool_t H5_ATTR_UNUSED disable_shared, const void *_mesg)
|
||||
{
|
||||
const H5O_ainfo_t *ainfo = (const H5O_ainfo_t *)_mesg;
|
||||
size_t ret_value; /* Return value */
|
||||
@ -333,7 +333,7 @@ H5O_ainfo_free(void *mesg)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_ainfo_delete(H5F_t *f, hid_t dxpl_id, H5O_t UNUSED *open_oh, void *_mesg)
|
||||
H5O_ainfo_delete(H5F_t *f, hid_t dxpl_id, H5O_t H5_ATTR_UNUSED *open_oh, void *_mesg)
|
||||
{
|
||||
H5O_ainfo_t *ainfo = (H5O_ainfo_t *)_mesg;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
@ -369,8 +369,8 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_ainfo_pre_copy_file(H5F_t UNUSED *file_src, const void UNUSED *native_src,
|
||||
hbool_t *deleted, const H5O_copy_t *cpy_info, void UNUSED *udata)
|
||||
H5O_ainfo_pre_copy_file(H5F_t H5_ATTR_UNUSED *file_src, const void H5_ATTR_UNUSED *native_src,
|
||||
hbool_t *deleted, const H5O_copy_t *cpy_info, void H5_ATTR_UNUSED *udata)
|
||||
{
|
||||
FUNC_ENTER_NOAPI_NOINIT_NOERR
|
||||
|
||||
@ -403,8 +403,8 @@ H5O_ainfo_pre_copy_file(H5F_t UNUSED *file_src, const void UNUSED *native_src,
|
||||
*/
|
||||
static void *
|
||||
H5O_ainfo_copy_file(H5F_t *file_src, void *mesg_src, H5F_t *file_dst,
|
||||
hbool_t UNUSED *recompute_size, unsigned UNUSED *mesg_flags,
|
||||
H5O_copy_t *cpy_info, void UNUSED *udata, hid_t dxpl_id)
|
||||
hbool_t H5_ATTR_UNUSED *recompute_size, unsigned H5_ATTR_UNUSED *mesg_flags,
|
||||
H5O_copy_t *cpy_info, void H5_ATTR_UNUSED *udata, hid_t dxpl_id)
|
||||
{
|
||||
H5O_ainfo_t *ainfo_src = (H5O_ainfo_t *)mesg_src;
|
||||
H5O_ainfo_t *ainfo_dst = NULL;
|
||||
@ -469,7 +469,7 @@ done:
|
||||
*/
|
||||
static herr_t
|
||||
H5O_ainfo_post_copy_file(const H5O_loc_t *src_oloc, const void *mesg_src,
|
||||
H5O_loc_t *dst_oloc, void *mesg_dst, unsigned UNUSED *mesg_flags,
|
||||
H5O_loc_t *dst_oloc, void *mesg_dst, unsigned H5_ATTR_UNUSED *mesg_flags,
|
||||
hid_t dxpl_id, H5O_copy_t *cpy_info)
|
||||
{
|
||||
const H5O_ainfo_t *ainfo_src = (const H5O_ainfo_t *)mesg_src;
|
||||
@ -504,7 +504,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_ainfo_debug(H5F_t UNUSED *f, hid_t UNUSED dxpl_id, const void *_mesg, FILE * stream,
|
||||
H5O_ainfo_debug(H5F_t H5_ATTR_UNUSED *f, hid_t H5_ATTR_UNUSED dxpl_id, const void *_mesg, FILE * stream,
|
||||
int indent, int fwidth)
|
||||
{
|
||||
const H5O_ainfo_t *ainfo = (const H5O_ainfo_t *) _mesg;
|
||||
|
@ -122,7 +122,7 @@ H5FL_EXTERN(H5S_extent_t);
|
||||
function using malloc() and is returned to the caller.
|
||||
--------------------------------------------------------------------------*/
|
||||
static void *
|
||||
H5O_attr_decode(H5F_t *f, hid_t dxpl_id, H5O_t *open_oh, unsigned UNUSED mesg_flags,
|
||||
H5O_attr_decode(H5F_t *f, hid_t dxpl_id, H5O_t *open_oh, unsigned H5_ATTR_UNUSED mesg_flags,
|
||||
unsigned *ioflags, const uint8_t *p)
|
||||
{
|
||||
H5A_t *attr = NULL;
|
||||
@ -413,7 +413,7 @@ done:
|
||||
portion of the message). It doesn't take into account alignment.
|
||||
--------------------------------------------------------------------------*/
|
||||
static size_t
|
||||
H5O_attr_size(const H5F_t UNUSED *f, const void *_mesg)
|
||||
H5O_attr_size(const H5F_t H5_ATTR_UNUSED *f, const void *_mesg)
|
||||
{
|
||||
const H5A_t *attr = (const H5A_t *)_mesg;
|
||||
size_t name_len;
|
||||
@ -478,7 +478,7 @@ H5O_attr_size(const H5F_t UNUSED *f, const void *_mesg)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
herr_t
|
||||
H5O_attr_reset(void UNUSED *_mesg)
|
||||
H5O_attr_reset(void H5_ATTR_UNUSED *_mesg)
|
||||
{
|
||||
FUNC_ENTER_NOAPI_NOINIT_NOERR
|
||||
|
||||
@ -614,8 +614,8 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_attr_pre_copy_file(H5F_t UNUSED *file_src, const void UNUSED *native_src,
|
||||
hbool_t *deleted, const H5O_copy_t *cpy_info, void UNUSED *udata)
|
||||
H5O_attr_pre_copy_file(H5F_t H5_ATTR_UNUSED *file_src, const void H5_ATTR_UNUSED *native_src,
|
||||
hbool_t *deleted, const H5O_copy_t *cpy_info, void H5_ATTR_UNUSED *udata)
|
||||
{
|
||||
FUNC_ENTER_NOAPI_NOINIT_NOERR
|
||||
|
||||
@ -648,9 +648,9 @@ H5O_attr_pre_copy_file(H5F_t UNUSED *file_src, const void UNUSED *native_src,
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static void *
|
||||
H5O_attr_copy_file(H5F_t *file_src, const H5O_msg_class_t UNUSED *mesg_type,
|
||||
H5O_attr_copy_file(H5F_t *file_src, const H5O_msg_class_t H5_ATTR_UNUSED *mesg_type,
|
||||
void *native_src, H5F_t *file_dst, hbool_t *recompute_size,
|
||||
H5O_copy_t *cpy_info, void UNUSED *udata, hid_t dxpl_id)
|
||||
H5O_copy_t *cpy_info, void H5_ATTR_UNUSED *udata, hid_t dxpl_id)
|
||||
{
|
||||
void *ret_value; /* Return value */
|
||||
|
||||
|
@ -170,7 +170,7 @@ static htri_t H5O_attr_find_opened_attr(const H5O_loc_t *loc, H5A_t **attr,
|
||||
*/
|
||||
static herr_t
|
||||
H5O_attr_to_dense_cb(H5O_t *oh, H5O_mesg_t *mesg/*in,out*/,
|
||||
unsigned UNUSED sequence, unsigned *oh_modified, void *_udata/*in,out*/)
|
||||
unsigned H5_ATTR_UNUSED sequence, unsigned *oh_modified, void *_udata/*in,out*/)
|
||||
{
|
||||
H5O_iter_cvt_t *udata = (H5O_iter_cvt_t *)_udata; /* Operator user data */
|
||||
H5A_t *attr = (H5A_t *)mesg->native; /* Pointer to attribute to insert */
|
||||
@ -416,7 +416,7 @@ done:
|
||||
*/
|
||||
static herr_t
|
||||
H5O_attr_open_cb(H5O_t *oh, H5O_mesg_t *mesg/*in,out*/, unsigned sequence,
|
||||
unsigned UNUSED *oh_modified, void *_udata/*in,out*/)
|
||||
unsigned H5_ATTR_UNUSED *oh_modified, void *_udata/*in,out*/)
|
||||
{
|
||||
H5O_iter_opn_t *udata = (H5O_iter_opn_t *)_udata; /* Operator user data */
|
||||
herr_t ret_value = H5_ITER_CONT; /* Return value */
|
||||
@ -850,7 +850,7 @@ done:
|
||||
*/
|
||||
static herr_t
|
||||
H5O_attr_write_cb(H5O_t *oh, H5O_mesg_t *mesg/*in,out*/,
|
||||
unsigned UNUSED sequence, unsigned *oh_modified, void *_udata/*in,out*/)
|
||||
unsigned H5_ATTR_UNUSED sequence, unsigned *oh_modified, void *_udata/*in,out*/)
|
||||
{
|
||||
H5O_iter_wrt_t *udata = (H5O_iter_wrt_t *)_udata; /* Operator user data */
|
||||
H5O_chunk_proxy_t *chk_proxy = NULL; /* Chunk that message is in */
|
||||
@ -1008,8 +1008,8 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_attr_rename_chk_cb(H5O_t UNUSED *oh, H5O_mesg_t *mesg/*in,out*/,
|
||||
unsigned UNUSED sequence, unsigned UNUSED *oh_modified, void *_udata/*in,out*/)
|
||||
H5O_attr_rename_chk_cb(H5O_t H5_ATTR_UNUSED *oh, H5O_mesg_t *mesg/*in,out*/,
|
||||
unsigned H5_ATTR_UNUSED sequence, unsigned H5_ATTR_UNUSED *oh_modified, void *_udata/*in,out*/)
|
||||
{
|
||||
H5O_iter_ren_t *udata = (H5O_iter_ren_t *)_udata; /* Operator user data */
|
||||
herr_t ret_value = H5_ITER_CONT; /* Return value */
|
||||
@ -1055,7 +1055,7 @@ H5O_attr_rename_chk_cb(H5O_t UNUSED *oh, H5O_mesg_t *mesg/*in,out*/,
|
||||
*/
|
||||
static herr_t
|
||||
H5O_attr_rename_mod_cb(H5O_t *oh, H5O_mesg_t *mesg/*in,out*/,
|
||||
unsigned UNUSED sequence, unsigned *oh_modified, void *_udata/*in,out*/)
|
||||
unsigned H5_ATTR_UNUSED sequence, unsigned *oh_modified, void *_udata/*in,out*/)
|
||||
{
|
||||
H5O_iter_ren_t *udata = (H5O_iter_ren_t *)_udata; /* Operator user data */
|
||||
H5O_chunk_proxy_t *chk_proxy = NULL; /* Chunk that message is in */
|
||||
@ -1517,7 +1517,7 @@ done:
|
||||
*/
|
||||
static herr_t
|
||||
H5O_attr_remove_cb(H5O_t *oh, H5O_mesg_t *mesg/*in,out*/,
|
||||
unsigned UNUSED sequence, unsigned *oh_modified, void *_udata/*in,out*/)
|
||||
unsigned H5_ATTR_UNUSED sequence, unsigned *oh_modified, void *_udata/*in,out*/)
|
||||
{
|
||||
H5O_iter_rm_t *udata = (H5O_iter_rm_t *)_udata; /* Operator user data */
|
||||
herr_t ret_value = H5_ITER_CONT; /* Return value */
|
||||
@ -1795,8 +1795,8 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_attr_exists_cb(H5O_t UNUSED *oh, H5O_mesg_t *mesg/*in,out*/,
|
||||
unsigned UNUSED sequence, unsigned UNUSED *oh_modified, void *_udata/*in,out*/)
|
||||
H5O_attr_exists_cb(H5O_t H5_ATTR_UNUSED *oh, H5O_mesg_t *mesg/*in,out*/,
|
||||
unsigned H5_ATTR_UNUSED sequence, unsigned H5_ATTR_UNUSED *oh_modified, void *_udata/*in,out*/)
|
||||
{
|
||||
H5O_iter_rm_t *udata = (H5O_iter_rm_t *)_udata; /* Operator user data */
|
||||
herr_t ret_value = H5_ITER_CONT; /* Return value */
|
||||
|
@ -87,8 +87,8 @@ const H5O_msg_class_t H5O_MSG_BOGUS[1] = {{
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static void *
|
||||
H5O_bogus_decode(H5F_t *f, hid_t UNUSED dxpl_id, H5O_t UNUSED *open_oh,
|
||||
unsigned UNUSED mesg_flags, unsigned UNUSED *ioflags, const uint8_t *p)
|
||||
H5O_bogus_decode(H5F_t *f, hid_t H5_ATTR_UNUSED dxpl_id, H5O_t H5_ATTR_UNUSED *open_oh,
|
||||
unsigned H5_ATTR_UNUSED mesg_flags, unsigned H5_ATTR_UNUSED *ioflags, const uint8_t *p)
|
||||
{
|
||||
H5O_bogus_t *mesg = NULL;
|
||||
void *ret_value; /* Return value */
|
||||
@ -135,7 +135,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_bogus_encode(H5F_t UNUSED *f, hbool_t UNUSED disable_shared, uint8_t *p, const void UNUSED *mesg)
|
||||
H5O_bogus_encode(H5F_t H5_ATTR_UNUSED *f, hbool_t H5_ATTR_UNUSED disable_shared, uint8_t *p, const void H5_ATTR_UNUSED *mesg)
|
||||
{
|
||||
FUNC_ENTER_NOAPI_NOINIT_NOERR
|
||||
|
||||
@ -170,7 +170,7 @@ H5O_bogus_encode(H5F_t UNUSED *f, hbool_t UNUSED disable_shared, uint8_t *p, con
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static size_t
|
||||
H5O_bogus_size(const H5F_t UNUSED *f, hbool_t UNUSED disable_shared, const void UNUSED *mesg)
|
||||
H5O_bogus_size(const H5F_t H5_ATTR_UNUSED *f, hbool_t H5_ATTR_UNUSED disable_shared, const void H5_ATTR_UNUSED *mesg)
|
||||
{
|
||||
FUNC_ENTER_NOAPI_NOINIT_NOERR
|
||||
|
||||
@ -194,7 +194,7 @@ H5O_bogus_size(const H5F_t UNUSED *f, hbool_t UNUSED disable_shared, const void
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_bogus_debug(H5F_t UNUSED *f, hid_t UNUSED dxpl_id, const void *_mesg, FILE *stream,
|
||||
H5O_bogus_debug(H5F_t H5_ATTR_UNUSED *f, hid_t H5_ATTR_UNUSED dxpl_id, const void *_mesg, FILE *stream,
|
||||
int indent, int fwidth)
|
||||
{
|
||||
const H5O_bogus_t *mesg = (const H5O_bogus_t *)_mesg;
|
||||
|
@ -79,8 +79,8 @@ const H5O_msg_class_t H5O_MSG_BTREEK[1] = {{
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static void *
|
||||
H5O_btreek_decode(H5F_t UNUSED *f, hid_t UNUSED dxpl_id, H5O_t UNUSED *open_oh,
|
||||
unsigned UNUSED mesg_flags, unsigned UNUSED *ioflags, const uint8_t *p)
|
||||
H5O_btreek_decode(H5F_t H5_ATTR_UNUSED *f, hid_t H5_ATTR_UNUSED dxpl_id, H5O_t H5_ATTR_UNUSED *open_oh,
|
||||
unsigned H5_ATTR_UNUSED mesg_flags, unsigned H5_ATTR_UNUSED *ioflags, const uint8_t *p)
|
||||
{
|
||||
H5O_btreek_t *mesg; /* Native message */
|
||||
void *ret_value; /* Return value */
|
||||
@ -125,7 +125,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_btreek_encode(H5F_t UNUSED *f, hbool_t UNUSED disable_shared, uint8_t *p, const void *_mesg)
|
||||
H5O_btreek_encode(H5F_t H5_ATTR_UNUSED *f, hbool_t H5_ATTR_UNUSED disable_shared, uint8_t *p, const void *_mesg)
|
||||
{
|
||||
const H5O_btreek_t *mesg = (const H5O_btreek_t *)_mesg;
|
||||
|
||||
@ -201,7 +201,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static size_t
|
||||
H5O_btreek_size(const H5F_t UNUSED *f, hbool_t UNUSED disable_shared, const void UNUSED *_mesg)
|
||||
H5O_btreek_size(const H5F_t H5_ATTR_UNUSED *f, hbool_t H5_ATTR_UNUSED disable_shared, const void H5_ATTR_UNUSED *_mesg)
|
||||
{
|
||||
size_t ret_value;
|
||||
|
||||
@ -232,7 +232,7 @@ H5O_btreek_size(const H5F_t UNUSED *f, hbool_t UNUSED disable_shared, const void
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_btreek_debug(H5F_t UNUSED *f, hid_t UNUSED dxpl_id, const void *_mesg, FILE *stream,
|
||||
H5O_btreek_debug(H5F_t H5_ATTR_UNUSED *f, hid_t H5_ATTR_UNUSED dxpl_id, const void *_mesg, FILE *stream,
|
||||
int indent, int fwidth)
|
||||
{
|
||||
const H5O_btreek_t *mesg = (const H5O_btreek_t *)_mesg;
|
||||
|
@ -69,13 +69,13 @@
|
||||
|
||||
/* Metadata cache callbacks */
|
||||
static H5O_t *H5O_load(H5F_t *f, hid_t dxpl_id, haddr_t addr, void *udata);
|
||||
static herr_t H5O_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr, H5O_t *oh, unsigned UNUSED * flags_ptr);
|
||||
static herr_t H5O_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr, H5O_t *oh, unsigned H5_ATTR_UNUSED * flags_ptr);
|
||||
static herr_t H5O_dest(H5F_t *f, H5O_t *oh);
|
||||
static herr_t H5O_clear(H5F_t *f, H5O_t *oh, hbool_t destroy);
|
||||
static herr_t H5O_size(const H5F_t *f, const H5O_t *oh, size_t *size_ptr);
|
||||
|
||||
static H5O_chunk_proxy_t *H5O_cache_chk_load(H5F_t *f, hid_t dxpl_id, haddr_t addr, void *udata);
|
||||
static herr_t H5O_cache_chk_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr, H5O_chunk_proxy_t *chk_proxy, unsigned UNUSED * flags_ptr);
|
||||
static herr_t H5O_cache_chk_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr, H5O_chunk_proxy_t *chk_proxy, unsigned H5_ATTR_UNUSED * flags_ptr);
|
||||
static herr_t H5O_cache_chk_dest(H5F_t *f, H5O_chunk_proxy_t *chk_proxy);
|
||||
static herr_t H5O_cache_chk_clear(H5F_t *f, H5O_chunk_proxy_t *chk_proxy, hbool_t destroy);
|
||||
static herr_t H5O_cache_chk_size(const H5F_t *f, const H5O_chunk_proxy_t *chk_proxy, size_t *size_ptr);
|
||||
@ -370,7 +370,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t UNUSED addr, H5O_t *oh, unsigned UNUSED * flags_ptr)
|
||||
H5O_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t H5_ATTR_UNUSED addr, H5O_t *oh, unsigned H5_ATTR_UNUSED * flags_ptr)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
@ -645,7 +645,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_size(const H5F_t UNUSED *f, const H5O_t *oh, size_t *size_ptr)
|
||||
H5O_size(const H5F_t H5_ATTR_UNUSED *f, const H5O_t *oh, size_t *size_ptr)
|
||||
{
|
||||
FUNC_ENTER_NOAPI_NOINIT_NOERR
|
||||
|
||||
@ -776,7 +776,7 @@ done:
|
||||
*/
|
||||
static herr_t
|
||||
H5O_cache_chk_flush(H5F_t *f, hid_t dxpl_id, hbool_t destroy, haddr_t addr,
|
||||
H5O_chunk_proxy_t *chk_proxy, unsigned UNUSED * flags_ptr)
|
||||
H5O_chunk_proxy_t *chk_proxy, unsigned H5_ATTR_UNUSED * flags_ptr)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
@ -942,7 +942,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_cache_chk_size(const H5F_t UNUSED *f, const H5O_chunk_proxy_t *chk_proxy, size_t *size_ptr)
|
||||
H5O_cache_chk_size(const H5F_t H5_ATTR_UNUSED *f, const H5O_chunk_proxy_t *chk_proxy, size_t *size_ptr)
|
||||
{
|
||||
FUNC_ENTER_NOAPI_NOINIT_NOERR
|
||||
|
||||
|
@ -90,8 +90,8 @@ H5FL_DEFINE(H5O_cont_t);
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static void *
|
||||
H5O_cont_decode(H5F_t *f, hid_t UNUSED dxpl_id, H5O_t UNUSED *open_oh,
|
||||
unsigned UNUSED mesg_flags, unsigned UNUSED *ioflags, const uint8_t *p)
|
||||
H5O_cont_decode(H5F_t *f, hid_t H5_ATTR_UNUSED dxpl_id, H5O_t H5_ATTR_UNUSED *open_oh,
|
||||
unsigned H5_ATTR_UNUSED mesg_flags, unsigned H5_ATTR_UNUSED *ioflags, const uint8_t *p)
|
||||
{
|
||||
H5O_cont_t *cont = NULL;
|
||||
void *ret_value;
|
||||
@ -133,7 +133,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_cont_encode(H5F_t *f, hbool_t UNUSED disable_shared, uint8_t *p, const void *_mesg)
|
||||
H5O_cont_encode(H5F_t *f, hbool_t H5_ATTR_UNUSED disable_shared, uint8_t *p, const void *_mesg)
|
||||
{
|
||||
const H5O_cont_t *cont = (const H5O_cont_t *) _mesg;
|
||||
|
||||
@ -172,7 +172,7 @@ H5O_cont_encode(H5F_t *f, hbool_t UNUSED disable_shared, uint8_t *p, const void
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static size_t
|
||||
H5O_cont_size(const H5F_t *f, hbool_t UNUSED disable_shared, const void UNUSED *_mesg)
|
||||
H5O_cont_size(const H5F_t *f, hbool_t H5_ATTR_UNUSED disable_shared, const void H5_ATTR_UNUSED *_mesg)
|
||||
{
|
||||
size_t ret_value; /* Return value */
|
||||
|
||||
@ -261,7 +261,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_cont_debug(H5F_t UNUSED *f, hid_t UNUSED dxpl_id, const void *_mesg, FILE * stream,
|
||||
H5O_cont_debug(H5F_t H5_ATTR_UNUSED *f, hid_t H5_ATTR_UNUSED dxpl_id, const void *_mesg, FILE * stream,
|
||||
int indent, int fwidth)
|
||||
{
|
||||
const H5O_cont_t *cont = (const H5O_cont_t *) _mesg;
|
||||
|
@ -1019,7 +1019,7 @@ done:
|
||||
REVISION LOG
|
||||
--------------------------------------------------------------------------*/
|
||||
static herr_t
|
||||
H5O_copy_free_addrmap_cb(void *_item, void UNUSED *key, void UNUSED *op_data)
|
||||
H5O_copy_free_addrmap_cb(void *_item, void H5_ATTR_UNUSED *key, void H5_ATTR_UNUSED *op_data)
|
||||
{
|
||||
H5O_addr_map_t *item = (H5O_addr_map_t *)_item;
|
||||
|
||||
@ -1411,7 +1411,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_copy_free_comm_dt_cb(void *item, void *_key, void UNUSED *op_data)
|
||||
H5O_copy_free_comm_dt_cb(void *item, void *_key, void H5_ATTR_UNUSED *op_data)
|
||||
{
|
||||
haddr_t *addr = (haddr_t *)item;
|
||||
H5O_copy_search_comm_dt_key_t *key = (H5O_copy_search_comm_dt_key_t *)_key;
|
||||
@ -1692,7 +1692,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_copy_search_comm_dt_cb(hid_t UNUSED group, const char *name,
|
||||
H5O_copy_search_comm_dt_cb(hid_t H5_ATTR_UNUSED group, const char *name,
|
||||
const H5L_info_t *linfo, void *_udata)
|
||||
{
|
||||
H5O_copy_search_comm_dt_ud_t *udata = (H5O_copy_search_comm_dt_ud_t *)_udata; /* Skip list of dtypes in dest file */
|
||||
|
@ -80,8 +80,8 @@ const H5O_msg_class_t H5O_MSG_DRVINFO[1] = {{
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static void *
|
||||
H5O_drvinfo_decode(H5F_t UNUSED *f, hid_t UNUSED dxpl_id, H5O_t UNUSED *open_oh,
|
||||
unsigned UNUSED mesg_flags, unsigned UNUSED *ioflags, const uint8_t *p)
|
||||
H5O_drvinfo_decode(H5F_t H5_ATTR_UNUSED *f, hid_t H5_ATTR_UNUSED dxpl_id, H5O_t H5_ATTR_UNUSED *open_oh,
|
||||
unsigned H5_ATTR_UNUSED mesg_flags, unsigned H5_ATTR_UNUSED *ioflags, const uint8_t *p)
|
||||
{
|
||||
H5O_drvinfo_t *mesg; /* Native message */
|
||||
void *ret_value; /* Return value */
|
||||
@ -139,7 +139,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_drvinfo_encode(H5F_t UNUSED *f, hbool_t UNUSED disable_shared, uint8_t *p, const void *_mesg)
|
||||
H5O_drvinfo_encode(H5F_t H5_ATTR_UNUSED *f, hbool_t H5_ATTR_UNUSED disable_shared, uint8_t *p, const void *_mesg)
|
||||
{
|
||||
const H5O_drvinfo_t *mesg = (const H5O_drvinfo_t *)_mesg;
|
||||
|
||||
@ -225,7 +225,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static size_t
|
||||
H5O_drvinfo_size(const H5F_t UNUSED *f, hbool_t UNUSED disable_shared, const void *_mesg)
|
||||
H5O_drvinfo_size(const H5F_t H5_ATTR_UNUSED *f, hbool_t H5_ATTR_UNUSED disable_shared, const void *_mesg)
|
||||
{
|
||||
const H5O_drvinfo_t *mesg = (const H5O_drvinfo_t *)_mesg;
|
||||
size_t ret_value;
|
||||
@ -289,7 +289,7 @@ H5O_drvinfo_reset(void *_mesg)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_drvinfo_debug(H5F_t UNUSED *f, hid_t UNUSED dxpl_id, const void *_mesg, FILE *stream,
|
||||
H5O_drvinfo_debug(H5F_t H5_ATTR_UNUSED *f, hid_t H5_ATTR_UNUSED dxpl_id, const void *_mesg, FILE *stream,
|
||||
int indent, int fwidth)
|
||||
{
|
||||
const H5O_drvinfo_t *mesg = (const H5O_drvinfo_t *)_mesg;
|
||||
|
@ -1089,7 +1089,7 @@ done:
|
||||
function using malloc() and is returned to the caller.
|
||||
--------------------------------------------------------------------------*/
|
||||
static void *
|
||||
H5O_dtype_decode(H5F_t *f, hid_t UNUSED dxpl_id, H5O_t UNUSED *open_oh, unsigned UNUSED mesg_flags,
|
||||
H5O_dtype_decode(H5F_t *f, hid_t H5_ATTR_UNUSED dxpl_id, H5O_t H5_ATTR_UNUSED *open_oh, unsigned H5_ATTR_UNUSED mesg_flags,
|
||||
unsigned *ioflags/*in,out*/, const uint8_t *p)
|
||||
{
|
||||
H5T_t *dt = NULL;
|
||||
@ -1508,7 +1508,7 @@ done:
|
||||
*/
|
||||
static herr_t
|
||||
H5O_dtype_pre_copy_file(H5F_t *file_src, const void *mesg_src,
|
||||
hbool_t UNUSED *deleted, const H5O_copy_t UNUSED *cpy_info,
|
||||
hbool_t H5_ATTR_UNUSED *deleted, const H5O_copy_t H5_ATTR_UNUSED *cpy_info,
|
||||
void *_udata)
|
||||
{
|
||||
const H5T_t *dt_src = (const H5T_t *)mesg_src; /* Source datatype */
|
||||
@ -1557,9 +1557,9 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static void *
|
||||
H5O_dtype_copy_file(H5F_t UNUSED *file_src, const H5O_msg_class_t *mesg_type,
|
||||
void *native_src, H5F_t *file_dst, hbool_t UNUSED *recompute_size,
|
||||
H5O_copy_t UNUSED *cpy_info, void UNUSED *udata, hid_t UNUSED dxpl_id)
|
||||
H5O_dtype_copy_file(H5F_t H5_ATTR_UNUSED *file_src, const H5O_msg_class_t *mesg_type,
|
||||
void *native_src, H5F_t *file_dst, hbool_t H5_ATTR_UNUSED *recompute_size,
|
||||
H5O_copy_t H5_ATTR_UNUSED *cpy_info, void H5_ATTR_UNUSED *udata, hid_t H5_ATTR_UNUSED dxpl_id)
|
||||
{
|
||||
H5T_t *dst_mesg; /* Destination datatype */
|
||||
void *ret_value; /* Return value */
|
||||
@ -1597,9 +1597,9 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_dtype_shared_post_copy_upd(const H5O_loc_t UNUSED *src_oloc,
|
||||
const void UNUSED *mesg_src, H5O_loc_t UNUSED *dst_oloc, void *mesg_dst,
|
||||
hid_t UNUSED dxpl_id, H5O_copy_t UNUSED *cpy_info)
|
||||
H5O_dtype_shared_post_copy_upd(const H5O_loc_t H5_ATTR_UNUSED *src_oloc,
|
||||
const void H5_ATTR_UNUSED *mesg_src, H5O_loc_t H5_ATTR_UNUSED *dst_oloc, void *mesg_dst,
|
||||
hid_t H5_ATTR_UNUSED dxpl_id, H5O_copy_t H5_ATTR_UNUSED *cpy_info)
|
||||
{
|
||||
H5T_t *dt_dst = (H5T_t *)mesg_dst; /* Destination datatype */
|
||||
|
||||
|
16
src/H5Oefl.c
16
src/H5Oefl.c
@ -89,8 +89,8 @@ const H5O_msg_class_t H5O_MSG_EFL[1] = {{
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static void *
|
||||
H5O_efl_decode(H5F_t *f, hid_t dxpl_id, H5O_t UNUSED *open_oh,
|
||||
unsigned UNUSED mesg_flags, unsigned UNUSED *ioflags, const uint8_t *p)
|
||||
H5O_efl_decode(H5F_t *f, hid_t dxpl_id, H5O_t H5_ATTR_UNUSED *open_oh,
|
||||
unsigned H5_ATTR_UNUSED mesg_flags, unsigned H5_ATTR_UNUSED *ioflags, const uint8_t *p)
|
||||
{
|
||||
H5O_efl_t *mesg = NULL;
|
||||
int version;
|
||||
@ -192,7 +192,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_efl_encode(H5F_t *f, hbool_t UNUSED disable_shared, uint8_t *p, const void *_mesg)
|
||||
H5O_efl_encode(H5F_t *f, hbool_t H5_ATTR_UNUSED disable_shared, uint8_t *p, const void *_mesg)
|
||||
{
|
||||
const H5O_efl_t *mesg = (const H5O_efl_t *)_mesg;
|
||||
size_t u; /* Local index variable */
|
||||
@ -340,7 +340,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static size_t
|
||||
H5O_efl_size(const H5F_t *f, hbool_t UNUSED disable_shared, const void *_mesg)
|
||||
H5O_efl_size(const H5F_t *f, hbool_t H5_ATTR_UNUSED disable_shared, const void *_mesg)
|
||||
{
|
||||
const H5O_efl_t *mesg = (const H5O_efl_t *) _mesg;
|
||||
size_t ret_value = 0;
|
||||
@ -454,9 +454,9 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static void *
|
||||
H5O_efl_copy_file(H5F_t UNUSED *file_src, void *mesg_src, H5F_t *file_dst,
|
||||
hbool_t UNUSED *recompute_size, unsigned UNUSED *mesg_flags,
|
||||
H5O_copy_t UNUSED *cpy_info, void UNUSED *_udata, hid_t dxpl_id)
|
||||
H5O_efl_copy_file(H5F_t H5_ATTR_UNUSED *file_src, void *mesg_src, H5F_t *file_dst,
|
||||
hbool_t H5_ATTR_UNUSED *recompute_size, unsigned H5_ATTR_UNUSED *mesg_flags,
|
||||
H5O_copy_t H5_ATTR_UNUSED *cpy_info, void H5_ATTR_UNUSED *_udata, hid_t dxpl_id)
|
||||
{
|
||||
H5O_efl_t *efl_src = (H5O_efl_t *) mesg_src;
|
||||
H5O_efl_t *efl_dst = NULL;
|
||||
@ -541,7 +541,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_efl_debug(H5F_t UNUSED *f, hid_t UNUSED dxpl_id, const void *_mesg, FILE * stream,
|
||||
H5O_efl_debug(H5F_t H5_ATTR_UNUSED *f, hid_t H5_ATTR_UNUSED dxpl_id, const void *_mesg, FILE * stream,
|
||||
int indent, int fwidth)
|
||||
{
|
||||
const H5O_efl_t *mesg = (const H5O_efl_t *) _mesg;
|
||||
|
@ -184,8 +184,8 @@ H5FL_BLK_EXTERN(type_conv);
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static void *
|
||||
H5O_fill_new_decode(H5F_t UNUSED *f, hid_t UNUSED dxpl_id, H5O_t UNUSED *open_oh,
|
||||
unsigned UNUSED mesg_flags, unsigned UNUSED *ioflags, const uint8_t *p)
|
||||
H5O_fill_new_decode(H5F_t H5_ATTR_UNUSED *f, hid_t H5_ATTR_UNUSED dxpl_id, H5O_t H5_ATTR_UNUSED *open_oh,
|
||||
unsigned H5_ATTR_UNUSED mesg_flags, unsigned H5_ATTR_UNUSED *ioflags, const uint8_t *p)
|
||||
{
|
||||
H5O_fill_t *fill = NULL;
|
||||
void *ret_value;
|
||||
@ -298,8 +298,8 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static void *
|
||||
H5O_fill_old_decode(H5F_t UNUSED *f, hid_t UNUSED dxpl_id, H5O_t UNUSED *open_oh,
|
||||
unsigned UNUSED mesg_flags, unsigned UNUSED *ioflags, const uint8_t *p)
|
||||
H5O_fill_old_decode(H5F_t H5_ATTR_UNUSED *f, hid_t H5_ATTR_UNUSED dxpl_id, H5O_t H5_ATTR_UNUSED *open_oh,
|
||||
unsigned H5_ATTR_UNUSED mesg_flags, unsigned H5_ATTR_UNUSED *ioflags, const uint8_t *p)
|
||||
{
|
||||
H5O_fill_t *fill = NULL; /* Decoded fill value message */
|
||||
void *ret_value; /* Return value */
|
||||
@ -359,7 +359,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_fill_new_encode(H5F_t UNUSED *f, uint8_t *p, const void *_fill)
|
||||
H5O_fill_new_encode(H5F_t H5_ATTR_UNUSED *f, uint8_t *p, const void *_fill)
|
||||
{
|
||||
const H5O_fill_t *fill = (const H5O_fill_t *)_fill;
|
||||
|
||||
@ -455,7 +455,7 @@ H5O_fill_new_encode(H5F_t UNUSED *f, uint8_t *p, const void *_fill)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_fill_old_encode(H5F_t UNUSED *f, uint8_t *p, const void *_fill)
|
||||
H5O_fill_old_encode(H5F_t H5_ATTR_UNUSED *f, uint8_t *p, const void *_fill)
|
||||
{
|
||||
const H5O_fill_t *fill = (const H5O_fill_t *)_fill;
|
||||
|
||||
@ -608,7 +608,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static size_t
|
||||
H5O_fill_new_size(const H5F_t UNUSED *f, const void *_fill)
|
||||
H5O_fill_new_size(const H5F_t H5_ATTR_UNUSED *f, const void *_fill)
|
||||
{
|
||||
const H5O_fill_t *fill = (const H5O_fill_t *)_fill;
|
||||
size_t ret_value;
|
||||
@ -656,7 +656,7 @@ H5O_fill_new_size(const H5F_t UNUSED *f, const void *_fill)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static size_t
|
||||
H5O_fill_old_size(const H5F_t UNUSED *f, const void *_fill)
|
||||
H5O_fill_old_size(const H5F_t H5_ATTR_UNUSED *f, const void *_fill)
|
||||
{
|
||||
const H5O_fill_t *fill = (const H5O_fill_t *)_fill;
|
||||
|
||||
@ -805,7 +805,7 @@ H5O_fill_free(void *fill)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_fill_debug(H5F_t UNUSED *f, hid_t UNUSED dxpl_id, const void *_fill, FILE *stream,
|
||||
H5O_fill_debug(H5F_t H5_ATTR_UNUSED *f, hid_t H5_ATTR_UNUSED dxpl_id, const void *_fill, FILE *stream,
|
||||
int indent, int fwidth)
|
||||
{
|
||||
const H5O_fill_t *fill = (const H5O_fill_t *)_fill;
|
||||
|
@ -84,8 +84,8 @@ H5FL_DEFINE_STATIC(H5O_fsinfo_t);
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static void *
|
||||
H5O_fsinfo_decode(H5F_t *f, hid_t UNUSED dxpl_id, H5O_t UNUSED *open_oh,
|
||||
unsigned UNUSED mesg_flags, unsigned UNUSED *ioflags, const uint8_t *p)
|
||||
H5O_fsinfo_decode(H5F_t *f, hid_t H5_ATTR_UNUSED dxpl_id, H5O_t H5_ATTR_UNUSED *open_oh,
|
||||
unsigned H5_ATTR_UNUSED mesg_flags, unsigned H5_ATTR_UNUSED *ioflags, const uint8_t *p)
|
||||
{
|
||||
H5O_fsinfo_t *fsinfo = NULL; /* free-space manager info */
|
||||
H5FD_mem_t type; /* Memory type for iteration */
|
||||
@ -141,7 +141,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_fsinfo_encode(H5F_t *f, hbool_t UNUSED disable_shared, uint8_t *p, const void *_mesg)
|
||||
H5O_fsinfo_encode(H5F_t *f, hbool_t H5_ATTR_UNUSED disable_shared, uint8_t *p, const void *_mesg)
|
||||
{
|
||||
const H5O_fsinfo_t *fsinfo = (const H5O_fsinfo_t *)_mesg;
|
||||
H5FD_mem_t type; /* Memory type for iteration */
|
||||
@ -220,7 +220,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static size_t
|
||||
H5O_fsinfo_size(const H5F_t *f, hbool_t UNUSED disable_shared, const void *_mesg)
|
||||
H5O_fsinfo_size(const H5F_t *f, hbool_t H5_ATTR_UNUSED disable_shared, const void *_mesg)
|
||||
{
|
||||
const H5O_fsinfo_t *fsinfo = (const H5O_fsinfo_t *)_mesg;
|
||||
size_t fs_addr_size = 0;
|
||||
@ -277,7 +277,7 @@ H5O_fsinfo_free(void *mesg)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_fsinfo_debug(H5F_t UNUSED *f, hid_t UNUSED dxpl_id, const void *_mesg, FILE * stream,
|
||||
H5O_fsinfo_debug(H5F_t H5_ATTR_UNUSED *f, hid_t H5_ATTR_UNUSED dxpl_id, const void *_mesg, FILE * stream,
|
||||
int indent, int fwidth)
|
||||
{
|
||||
const H5O_fsinfo_t *fsinfo = (const H5O_fsinfo_t *) _mesg;
|
||||
|
@ -95,8 +95,8 @@ H5FL_DEFINE_STATIC(H5O_ginfo_t);
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static void *
|
||||
H5O_ginfo_decode(H5F_t UNUSED *f, hid_t UNUSED dxpl_id, H5O_t UNUSED *open_oh,
|
||||
unsigned UNUSED mesg_flags, unsigned UNUSED *ioflags, const uint8_t *p)
|
||||
H5O_ginfo_decode(H5F_t H5_ATTR_UNUSED *f, hid_t H5_ATTR_UNUSED dxpl_id, H5O_t H5_ATTR_UNUSED *open_oh,
|
||||
unsigned H5_ATTR_UNUSED mesg_flags, unsigned H5_ATTR_UNUSED *ioflags, const uint8_t *p)
|
||||
{
|
||||
H5O_ginfo_t *ginfo = NULL; /* Pointer to group information message */
|
||||
unsigned char flags; /* Flags for encoding group info */
|
||||
@ -168,7 +168,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_ginfo_encode(H5F_t UNUSED *f, hbool_t UNUSED disable_shared, uint8_t *p, const void *_mesg)
|
||||
H5O_ginfo_encode(H5F_t H5_ATTR_UNUSED *f, hbool_t H5_ATTR_UNUSED disable_shared, uint8_t *p, const void *_mesg)
|
||||
{
|
||||
const H5O_ginfo_t *ginfo = (const H5O_ginfo_t *) _mesg;
|
||||
unsigned char flags; /* Flags for encoding group info */
|
||||
@ -262,7 +262,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static size_t
|
||||
H5O_ginfo_size(const H5F_t UNUSED *f, hbool_t UNUSED disable_shared, const void *_mesg)
|
||||
H5O_ginfo_size(const H5F_t H5_ATTR_UNUSED *f, hbool_t H5_ATTR_UNUSED disable_shared, const void *_mesg)
|
||||
{
|
||||
const H5O_ginfo_t *ginfo = (const H5O_ginfo_t *)_mesg;
|
||||
size_t ret_value; /* Return value */
|
||||
@ -324,7 +324,7 @@ H5O_ginfo_free(void *mesg)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_ginfo_debug(H5F_t UNUSED *f, hid_t UNUSED dxpl_id, const void *_mesg, FILE * stream,
|
||||
H5O_ginfo_debug(H5F_t H5_ATTR_UNUSED *f, hid_t H5_ATTR_UNUSED dxpl_id, const void *_mesg, FILE * stream,
|
||||
int indent, int fwidth)
|
||||
{
|
||||
const H5O_ginfo_t *ginfo = (const H5O_ginfo_t *) _mesg;
|
||||
|
@ -96,8 +96,8 @@ H5FL_DEFINE(H5O_layout_t);
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static void *
|
||||
H5O_layout_decode(H5F_t *f, hid_t UNUSED dxpl_id, H5O_t UNUSED *open_oh,
|
||||
unsigned UNUSED mesg_flags, unsigned UNUSED *ioflags, const uint8_t *p)
|
||||
H5O_layout_decode(H5F_t *f, hid_t H5_ATTR_UNUSED dxpl_id, H5O_t H5_ATTR_UNUSED *open_oh,
|
||||
unsigned H5_ATTR_UNUSED mesg_flags, unsigned H5_ATTR_UNUSED *ioflags, const uint8_t *p)
|
||||
{
|
||||
H5O_layout_t *mesg = NULL;
|
||||
unsigned u;
|
||||
@ -291,7 +291,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_layout_encode(H5F_t *f, hbool_t UNUSED disable_shared, uint8_t *p, const void *_mesg)
|
||||
H5O_layout_encode(H5F_t *f, hbool_t H5_ATTR_UNUSED disable_shared, uint8_t *p, const void *_mesg)
|
||||
{
|
||||
const H5O_layout_t *mesg = (const H5O_layout_t *) _mesg;
|
||||
unsigned u;
|
||||
@ -432,7 +432,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static size_t
|
||||
H5O_layout_size(const H5F_t *f, hbool_t UNUSED disable_shared, const void *_mesg)
|
||||
H5O_layout_size(const H5F_t *f, hbool_t H5_ATTR_UNUSED disable_shared, const void *_mesg)
|
||||
{
|
||||
const H5O_layout_t *mesg = (const H5O_layout_t *) _mesg;
|
||||
size_t ret_value;
|
||||
@ -587,7 +587,7 @@ done:
|
||||
*/
|
||||
static void *
|
||||
H5O_layout_copy_file(H5F_t *file_src, void *mesg_src, H5F_t *file_dst,
|
||||
hbool_t UNUSED *recompute_size, unsigned UNUSED *mesg_flags,
|
||||
hbool_t H5_ATTR_UNUSED *recompute_size, unsigned H5_ATTR_UNUSED *mesg_flags,
|
||||
H5O_copy_t *cpy_info, void *_udata, hid_t dxpl_id)
|
||||
{
|
||||
H5D_copy_file_ud_t *udata = (H5D_copy_file_ud_t *)_udata; /* Dataset copying user data */
|
||||
@ -682,7 +682,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_layout_debug(H5F_t UNUSED *f, hid_t UNUSED dxpl_id, const void *_mesg,
|
||||
H5O_layout_debug(H5F_t H5_ATTR_UNUSED *f, hid_t H5_ATTR_UNUSED dxpl_id, const void *_mesg,
|
||||
FILE * stream, int indent, int fwidth)
|
||||
{
|
||||
const H5O_layout_t *mesg = (const H5O_layout_t *) _mesg;
|
||||
|
@ -114,8 +114,8 @@ H5FL_DEFINE_STATIC(H5O_linfo_t);
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static void *
|
||||
H5O_linfo_decode(H5F_t *f, hid_t UNUSED dxpl_id, H5O_t UNUSED *open_oh,
|
||||
unsigned UNUSED mesg_flags, unsigned UNUSED *ioflags, const uint8_t *p)
|
||||
H5O_linfo_decode(H5F_t *f, hid_t H5_ATTR_UNUSED dxpl_id, H5O_t H5_ATTR_UNUSED *open_oh,
|
||||
unsigned H5_ATTR_UNUSED mesg_flags, unsigned H5_ATTR_UNUSED *ioflags, const uint8_t *p)
|
||||
{
|
||||
H5O_linfo_t *linfo = NULL; /* Link info */
|
||||
unsigned char index_flags; /* Flags for encoding link index info */
|
||||
@ -189,7 +189,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_linfo_encode(H5F_t *f, hbool_t UNUSED disable_shared, uint8_t *p, const void *_mesg)
|
||||
H5O_linfo_encode(H5F_t *f, hbool_t H5_ATTR_UNUSED disable_shared, uint8_t *p, const void *_mesg)
|
||||
{
|
||||
const H5O_linfo_t *linfo = (const H5O_linfo_t *)_mesg;
|
||||
unsigned char index_flags; /* Flags for encoding link index info */
|
||||
@ -286,7 +286,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static size_t
|
||||
H5O_linfo_size(const H5F_t *f, hbool_t UNUSED disable_shared, const void *_mesg)
|
||||
H5O_linfo_size(const H5F_t *f, hbool_t H5_ATTR_UNUSED disable_shared, const void *_mesg)
|
||||
{
|
||||
const H5O_linfo_t *linfo = (const H5O_linfo_t *)_mesg;
|
||||
size_t ret_value; /* Return value */
|
||||
@ -343,7 +343,7 @@ H5O_linfo_free(void *mesg)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_linfo_delete(H5F_t *f, hid_t dxpl_id, H5O_t UNUSED *open_oh, void *_mesg)
|
||||
H5O_linfo_delete(H5F_t *f, hid_t dxpl_id, H5O_t H5_ATTR_UNUSED *open_oh, void *_mesg)
|
||||
{
|
||||
H5O_linfo_t *linfo = (H5O_linfo_t *)_mesg;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
@ -379,8 +379,8 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static void *
|
||||
H5O_linfo_copy_file(H5F_t UNUSED *file_src, void *native_src, H5F_t *file_dst,
|
||||
hbool_t UNUSED *recompute_size, unsigned UNUSED *mesg_flags,
|
||||
H5O_linfo_copy_file(H5F_t H5_ATTR_UNUSED *file_src, void *native_src, H5F_t *file_dst,
|
||||
hbool_t H5_ATTR_UNUSED *recompute_size, unsigned H5_ATTR_UNUSED *mesg_flags,
|
||||
H5O_copy_t *cpy_info, void *_udata, hid_t dxpl_id)
|
||||
{
|
||||
H5O_linfo_t *linfo_src = (H5O_linfo_t *) native_src;
|
||||
@ -502,7 +502,7 @@ done:
|
||||
*/
|
||||
static herr_t
|
||||
H5O_linfo_post_copy_file(const H5O_loc_t *src_oloc, const void *mesg_src,
|
||||
H5O_loc_t *dst_oloc, void *mesg_dst, unsigned UNUSED *mesg_flags,
|
||||
H5O_loc_t *dst_oloc, void *mesg_dst, unsigned H5_ATTR_UNUSED *mesg_flags,
|
||||
hid_t dxpl_id, H5O_copy_t *cpy_info)
|
||||
{
|
||||
const H5O_linfo_t *linfo_src = (const H5O_linfo_t *)mesg_src;
|
||||
@ -558,7 +558,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_linfo_debug(H5F_t UNUSED *f, hid_t UNUSED dxpl_id, const void *_mesg, FILE * stream,
|
||||
H5O_linfo_debug(H5F_t H5_ATTR_UNUSED *f, hid_t H5_ATTR_UNUSED dxpl_id, const void *_mesg, FILE * stream,
|
||||
int indent, int fwidth)
|
||||
{
|
||||
const H5O_linfo_t *linfo = (const H5O_linfo_t *) _mesg;
|
||||
|
@ -118,8 +118,8 @@ H5FL_DEFINE_STATIC(H5O_link_t);
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static void *
|
||||
H5O_link_decode(H5F_t *f, hid_t UNUSED dxpl_id, H5O_t UNUSED *open_oh,
|
||||
unsigned UNUSED mesg_flags, unsigned UNUSED *ioflags, const uint8_t *p)
|
||||
H5O_link_decode(H5F_t *f, hid_t H5_ATTR_UNUSED dxpl_id, H5O_t H5_ATTR_UNUSED *open_oh,
|
||||
unsigned H5_ATTR_UNUSED mesg_flags, unsigned H5_ATTR_UNUSED *ioflags, const uint8_t *p)
|
||||
{
|
||||
H5O_link_t *lnk = NULL; /* Pointer to link message */
|
||||
size_t len = 0; /* Length of a string in the message */
|
||||
@ -280,7 +280,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_link_encode(H5F_t *f, hbool_t UNUSED disable_shared, uint8_t *p, const void *_mesg)
|
||||
H5O_link_encode(H5F_t *f, hbool_t H5_ATTR_UNUSED disable_shared, uint8_t *p, const void *_mesg)
|
||||
{
|
||||
const H5O_link_t *lnk = (const H5O_link_t *) _mesg;
|
||||
uint64_t len; /* Length of a string in the message */
|
||||
@ -475,7 +475,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static size_t
|
||||
H5O_link_size(const H5F_t *f, hbool_t UNUSED disable_shared, const void *_mesg)
|
||||
H5O_link_size(const H5F_t *f, hbool_t H5_ATTR_UNUSED disable_shared, const void *_mesg)
|
||||
{
|
||||
const H5O_link_t *lnk = (const H5O_link_t *)_mesg;
|
||||
uint64_t name_len; /* Length of name */
|
||||
@ -611,7 +611,7 @@ H5O_link_free(void *_mesg)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
herr_t
|
||||
H5O_link_delete(H5F_t *f, hid_t dxpl_id, H5O_t UNUSED *open_oh, void *_mesg)
|
||||
H5O_link_delete(H5F_t *f, hid_t dxpl_id, H5O_t H5_ATTR_UNUSED *open_oh, void *_mesg)
|
||||
{
|
||||
H5O_link_t *lnk = (H5O_link_t *)_mesg;
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
@ -686,8 +686,8 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_link_pre_copy_file(H5F_t UNUSED *file_src, const void UNUSED *native_src,
|
||||
hbool_t *deleted, const H5O_copy_t *cpy_info, void UNUSED *udata)
|
||||
H5O_link_pre_copy_file(H5F_t H5_ATTR_UNUSED *file_src, const void H5_ATTR_UNUSED *native_src,
|
||||
hbool_t *deleted, const H5O_copy_t *cpy_info, void H5_ATTR_UNUSED *udata)
|
||||
{
|
||||
FUNC_ENTER_NOAPI_NOINIT_NOERR
|
||||
|
||||
@ -722,9 +722,9 @@ H5O_link_pre_copy_file(H5F_t UNUSED *file_src, const void UNUSED *native_src,
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static void *
|
||||
H5O_link_copy_file(H5F_t UNUSED *file_src, void *native_src, H5F_t UNUSED *file_dst,
|
||||
hbool_t UNUSED *recompute_size, unsigned UNUSED *mesg_flags,
|
||||
H5O_copy_t UNUSED *cpy_info, void UNUSED *udata, hid_t UNUSED dxpl_id)
|
||||
H5O_link_copy_file(H5F_t H5_ATTR_UNUSED *file_src, void *native_src, H5F_t H5_ATTR_UNUSED *file_dst,
|
||||
hbool_t H5_ATTR_UNUSED *recompute_size, unsigned H5_ATTR_UNUSED *mesg_flags,
|
||||
H5O_copy_t H5_ATTR_UNUSED *cpy_info, void H5_ATTR_UNUSED *udata, hid_t H5_ATTR_UNUSED dxpl_id)
|
||||
{
|
||||
H5O_link_t *link_src = (H5O_link_t *)native_src;
|
||||
void *ret_value; /* Return value */
|
||||
@ -764,7 +764,7 @@ done:
|
||||
*/
|
||||
static herr_t
|
||||
H5O_link_post_copy_file(const H5O_loc_t *src_oloc, const void *mesg_src,
|
||||
H5O_loc_t *dst_oloc, void *mesg_dst, unsigned UNUSED *mesg_flags,
|
||||
H5O_loc_t *dst_oloc, void *mesg_dst, unsigned H5_ATTR_UNUSED *mesg_flags,
|
||||
hid_t dxpl_id, H5O_copy_t *cpy_info)
|
||||
{
|
||||
const H5O_link_t *link_src = (const H5O_link_t *)mesg_src;
|
||||
@ -806,7 +806,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_link_debug(H5F_t UNUSED *f, hid_t UNUSED dxpl_id, const void *_mesg, FILE * stream,
|
||||
H5O_link_debug(H5F_t H5_ATTR_UNUSED *f, hid_t H5_ATTR_UNUSED dxpl_id, const void *_mesg, FILE * stream,
|
||||
int indent, int fwidth)
|
||||
{
|
||||
const H5O_link_t *lnk = (const H5O_link_t *) _mesg;
|
||||
|
@ -122,8 +122,8 @@ H5FL_DEFINE(time_t);
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static void *
|
||||
H5O_mtime_new_decode(H5F_t UNUSED *f, hid_t UNUSED dxpl_id, H5O_t UNUSED *open_oh,
|
||||
unsigned UNUSED mesg_flags, unsigned UNUSED *ioflags, const uint8_t *p)
|
||||
H5O_mtime_new_decode(H5F_t H5_ATTR_UNUSED *f, hid_t H5_ATTR_UNUSED dxpl_id, H5O_t H5_ATTR_UNUSED *open_oh,
|
||||
unsigned H5_ATTR_UNUSED mesg_flags, unsigned H5_ATTR_UNUSED *ioflags, const uint8_t *p)
|
||||
{
|
||||
time_t *mesg;
|
||||
uint32_t tmp_time; /* Temporary copy of the time */
|
||||
@ -178,8 +178,8 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static void *
|
||||
H5O_mtime_decode(H5F_t UNUSED *f, hid_t UNUSED dxpl_id, H5O_t UNUSED *open_oh,
|
||||
unsigned UNUSED mesg_flags, unsigned UNUSED *ioflags, const uint8_t *p)
|
||||
H5O_mtime_decode(H5F_t H5_ATTR_UNUSED *f, hid_t H5_ATTR_UNUSED dxpl_id, H5O_t H5_ATTR_UNUSED *open_oh,
|
||||
unsigned H5_ATTR_UNUSED mesg_flags, unsigned H5_ATTR_UNUSED *ioflags, const uint8_t *p)
|
||||
{
|
||||
time_t *mesg, the_time;
|
||||
int i;
|
||||
@ -265,7 +265,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_mtime_new_encode(H5F_t UNUSED *f, hbool_t UNUSED disable_shared, uint8_t *p, const void *_mesg)
|
||||
H5O_mtime_new_encode(H5F_t H5_ATTR_UNUSED *f, hbool_t H5_ATTR_UNUSED disable_shared, uint8_t *p, const void *_mesg)
|
||||
{
|
||||
const time_t *mesg = (const time_t *) _mesg;
|
||||
|
||||
@ -307,7 +307,7 @@ H5O_mtime_new_encode(H5F_t UNUSED *f, hbool_t UNUSED disable_shared, uint8_t *p,
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_mtime_encode(H5F_t UNUSED *f, hbool_t UNUSED disable_shared, uint8_t *p, const void *_mesg)
|
||||
H5O_mtime_encode(H5F_t H5_ATTR_UNUSED *f, hbool_t H5_ATTR_UNUSED disable_shared, uint8_t *p, const void *_mesg)
|
||||
{
|
||||
const time_t *mesg = (const time_t *) _mesg;
|
||||
struct tm *tm;
|
||||
@ -393,7 +393,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static size_t
|
||||
H5O_mtime_new_size(const H5F_t UNUSED * f, hbool_t UNUSED disable_shared, const void UNUSED * mesg)
|
||||
H5O_mtime_new_size(const H5F_t H5_ATTR_UNUSED * f, hbool_t H5_ATTR_UNUSED disable_shared, const void H5_ATTR_UNUSED * mesg)
|
||||
{
|
||||
FUNC_ENTER_NOAPI_NOINIT_NOERR
|
||||
|
||||
@ -426,7 +426,7 @@ H5O_mtime_new_size(const H5F_t UNUSED * f, hbool_t UNUSED disable_shared, const
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static size_t
|
||||
H5O_mtime_size(const H5F_t UNUSED * f, hbool_t UNUSED disable_shared, const void UNUSED * mesg)
|
||||
H5O_mtime_size(const H5F_t H5_ATTR_UNUSED * f, hbool_t H5_ATTR_UNUSED disable_shared, const void H5_ATTR_UNUSED * mesg)
|
||||
{
|
||||
FUNC_ENTER_NOAPI_NOINIT_NOERR
|
||||
|
||||
@ -454,7 +454,7 @@ H5O_mtime_size(const H5F_t UNUSED * f, hbool_t UNUSED disable_shared, const void
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_mtime_reset(void UNUSED *_mesg)
|
||||
H5O_mtime_reset(void H5_ATTR_UNUSED *_mesg)
|
||||
{
|
||||
FUNC_ENTER_NOAPI_NOINIT_NOERR
|
||||
|
||||
@ -505,7 +505,7 @@ H5O_mtime_free(void *mesg)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_mtime_debug(H5F_t UNUSED *f, hid_t UNUSED dxpl_id, const void *_mesg, FILE *stream,
|
||||
H5O_mtime_debug(H5F_t H5_ATTR_UNUSED *f, hid_t H5_ATTR_UNUSED dxpl_id, const void *_mesg, FILE *stream,
|
||||
int indent, int fwidth)
|
||||
{
|
||||
const time_t *mesg = (const time_t *)_mesg;
|
||||
|
@ -84,8 +84,8 @@ const H5O_msg_class_t H5O_MSG_NAME[1] = {{
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static void *
|
||||
H5O_name_decode(H5F_t UNUSED *f, hid_t UNUSED dxpl_id, H5O_t UNUSED *open_oh,
|
||||
unsigned UNUSED mesg_flags, unsigned UNUSED *ioflags, const uint8_t *p)
|
||||
H5O_name_decode(H5F_t H5_ATTR_UNUSED *f, hid_t H5_ATTR_UNUSED dxpl_id, H5O_t H5_ATTR_UNUSED *open_oh,
|
||||
unsigned H5_ATTR_UNUSED mesg_flags, unsigned H5_ATTR_UNUSED *ioflags, const uint8_t *p)
|
||||
{
|
||||
H5O_name_t *mesg;
|
||||
void *ret_value; /* Return value */
|
||||
@ -131,7 +131,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_name_encode(H5F_t UNUSED *f, hbool_t UNUSED disable_shared, uint8_t *p, const void *_mesg)
|
||||
H5O_name_encode(H5F_t H5_ATTR_UNUSED *f, hbool_t H5_ATTR_UNUSED disable_shared, uint8_t *p, const void *_mesg)
|
||||
{
|
||||
const H5O_name_t *mesg = (const H5O_name_t *) _mesg;
|
||||
|
||||
@ -220,7 +220,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static size_t
|
||||
H5O_name_size(const H5F_t UNUSED *f, hbool_t UNUSED disable_shared, const void *_mesg)
|
||||
H5O_name_size(const H5F_t H5_ATTR_UNUSED *f, hbool_t H5_ATTR_UNUSED disable_shared, const void *_mesg)
|
||||
{
|
||||
const H5O_name_t *mesg = (const H5O_name_t *) _mesg;
|
||||
size_t ret_value;
|
||||
@ -286,7 +286,7 @@ H5O_name_reset(void *_mesg)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_name_debug(H5F_t UNUSED *f, hid_t UNUSED dxpl_id, const void *_mesg, FILE *stream,
|
||||
H5O_name_debug(H5F_t H5_ATTR_UNUSED *f, hid_t H5_ATTR_UNUSED dxpl_id, const void *_mesg, FILE *stream,
|
||||
int indent, int fwidth)
|
||||
{
|
||||
const H5O_name_t *mesg = (const H5O_name_t *)_mesg;
|
||||
|
@ -109,8 +109,8 @@ H5FL_DEFINE(H5O_pline_t);
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static void *
|
||||
H5O_pline_decode(H5F_t UNUSED *f, hid_t UNUSED dxpl_id, H5O_t UNUSED *open_oh,
|
||||
unsigned UNUSED mesg_flags, unsigned UNUSED *ioflags, const uint8_t *p)
|
||||
H5O_pline_decode(H5F_t H5_ATTR_UNUSED *f, hid_t H5_ATTR_UNUSED dxpl_id, H5O_t H5_ATTR_UNUSED *open_oh,
|
||||
unsigned H5_ATTR_UNUSED mesg_flags, unsigned H5_ATTR_UNUSED *ioflags, const uint8_t *p)
|
||||
{
|
||||
H5O_pline_t *pline = NULL; /* Pipeline message */
|
||||
H5Z_filter_info_t *filter; /* Filter to decode */
|
||||
@ -237,7 +237,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_pline_encode(H5F_t UNUSED *f, uint8_t *p/*out*/, const void *mesg)
|
||||
H5O_pline_encode(H5F_t H5_ATTR_UNUSED *f, uint8_t *p/*out*/, const void *mesg)
|
||||
{
|
||||
const H5O_pline_t *pline = (const H5O_pline_t*)mesg; /* Pipeline message to encode */
|
||||
const H5Z_filter_info_t *filter; /* Filter to encode */
|
||||
@ -430,7 +430,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static size_t
|
||||
H5O_pline_size(const H5F_t UNUSED *f, const void *mesg)
|
||||
H5O_pline_size(const H5F_t H5_ATTR_UNUSED *f, const void *mesg)
|
||||
{
|
||||
const H5O_pline_t *pline = (const H5O_pline_t*)mesg; /* Pipeline message */
|
||||
size_t i; /* Local index variable */
|
||||
@ -566,8 +566,8 @@ H5O_pline_free(void *mesg)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_pline_pre_copy_file(H5F_t UNUSED *file_src, const void *mesg_src,
|
||||
hbool_t UNUSED *deleted, const H5O_copy_t UNUSED *cpy_info, void *_udata)
|
||||
H5O_pline_pre_copy_file(H5F_t H5_ATTR_UNUSED *file_src, const void *mesg_src,
|
||||
hbool_t H5_ATTR_UNUSED *deleted, const H5O_copy_t H5_ATTR_UNUSED *cpy_info, void *_udata)
|
||||
{
|
||||
const H5O_pline_t *pline_src = (const H5O_pline_t *)mesg_src; /* Source datatype */
|
||||
H5O_copy_file_ud_common_t *udata = (H5O_copy_file_ud_common_t *)_udata; /* Object copying user data */
|
||||
@ -606,7 +606,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_pline_debug(H5F_t UNUSED *f, hid_t UNUSED dxpl_id, const void *mesg, FILE *stream,
|
||||
H5O_pline_debug(H5F_t H5_ATTR_UNUSED *f, hid_t H5_ATTR_UNUSED dxpl_id, const void *mesg, FILE *stream,
|
||||
int indent, int fwidth)
|
||||
{
|
||||
const H5O_pline_t *pline = (const H5O_pline_t *)mesg;
|
||||
|
@ -90,8 +90,8 @@ H5FL_DEFINE_STATIC(H5O_refcount_t);
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static void *
|
||||
H5O_refcount_decode(H5F_t UNUSED *f, hid_t UNUSED dxpl_id, H5O_t UNUSED *open_oh,
|
||||
unsigned UNUSED mesg_flags, unsigned UNUSED *ioflags, const uint8_t *p)
|
||||
H5O_refcount_decode(H5F_t H5_ATTR_UNUSED *f, hid_t H5_ATTR_UNUSED dxpl_id, H5O_t H5_ATTR_UNUSED *open_oh,
|
||||
unsigned H5_ATTR_UNUSED mesg_flags, unsigned H5_ATTR_UNUSED *ioflags, const uint8_t *p)
|
||||
{
|
||||
H5O_refcount_t *refcount = NULL; /* Reference count */
|
||||
void *ret_value; /* Return value */
|
||||
@ -138,7 +138,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_refcount_encode(H5F_t UNUSED *f, hbool_t UNUSED disable_shared, uint8_t *p, const void *_mesg)
|
||||
H5O_refcount_encode(H5F_t H5_ATTR_UNUSED *f, hbool_t H5_ATTR_UNUSED disable_shared, uint8_t *p, const void *_mesg)
|
||||
{
|
||||
const H5O_refcount_t *refcount = (const H5O_refcount_t *)_mesg;
|
||||
|
||||
@ -216,8 +216,8 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static size_t
|
||||
H5O_refcount_size(const H5F_t UNUSED *f, hbool_t UNUSED disable_shared,
|
||||
const void UNUSED *_mesg)
|
||||
H5O_refcount_size(const H5F_t H5_ATTR_UNUSED *f, hbool_t H5_ATTR_UNUSED disable_shared,
|
||||
const void H5_ATTR_UNUSED *_mesg)
|
||||
{
|
||||
size_t ret_value; /* Return value */
|
||||
|
||||
@ -271,8 +271,8 @@ H5O_refcount_free(void *mesg)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_refcount_pre_copy_file(H5F_t UNUSED *file_src, const void UNUSED *native_src,
|
||||
hbool_t *deleted, const H5O_copy_t UNUSED *cpy_info, void UNUSED *udata)
|
||||
H5O_refcount_pre_copy_file(H5F_t H5_ATTR_UNUSED *file_src, const void H5_ATTR_UNUSED *native_src,
|
||||
hbool_t *deleted, const H5O_copy_t H5_ATTR_UNUSED *cpy_info, void H5_ATTR_UNUSED *udata)
|
||||
{
|
||||
FUNC_ENTER_NOAPI_NOINIT_NOERR
|
||||
|
||||
@ -303,7 +303,7 @@ H5O_refcount_pre_copy_file(H5F_t UNUSED *file_src, const void UNUSED *native_src
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_refcount_debug(H5F_t UNUSED *f, hid_t UNUSED dxpl_id, const void *_mesg, FILE * stream,
|
||||
H5O_refcount_debug(H5F_t H5_ATTR_UNUSED *f, hid_t H5_ATTR_UNUSED dxpl_id, const void *_mesg, FILE * stream,
|
||||
int indent, int fwidth)
|
||||
{
|
||||
const H5O_refcount_t *refcount = (const H5O_refcount_t *) _mesg;
|
||||
|
@ -111,8 +111,8 @@ H5FL_ARR_EXTERN(hsize_t);
|
||||
within this function using malloc() and is returned to the caller.
|
||||
--------------------------------------------------------------------------*/
|
||||
static void *
|
||||
H5O_sdspace_decode(H5F_t *f, hid_t UNUSED dxpl_id, H5O_t UNUSED *open_oh,
|
||||
unsigned UNUSED mesg_flags, unsigned UNUSED *ioflags, const uint8_t *p)
|
||||
H5O_sdspace_decode(H5F_t *f, hid_t H5_ATTR_UNUSED dxpl_id, H5O_t H5_ATTR_UNUSED *open_oh,
|
||||
unsigned H5_ATTR_UNUSED mesg_flags, unsigned H5_ATTR_UNUSED *ioflags, const uint8_t *p)
|
||||
{
|
||||
H5S_extent_t *sdim = NULL;/* New extent dimensionality structure */
|
||||
void *ret_value;
|
||||
@ -442,8 +442,8 @@ H5O_sdspace_free(void *mesg)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_sdspace_pre_copy_file(H5F_t UNUSED *file_src, const void *mesg_src,
|
||||
hbool_t UNUSED *deleted, const H5O_copy_t UNUSED *cpy_info, void *_udata)
|
||||
H5O_sdspace_pre_copy_file(H5F_t H5_ATTR_UNUSED *file_src, const void *mesg_src,
|
||||
hbool_t H5_ATTR_UNUSED *deleted, const H5O_copy_t H5_ATTR_UNUSED *cpy_info, void *_udata)
|
||||
{
|
||||
const H5S_extent_t *src_space_extent = (const H5S_extent_t *)mesg_src; /* Source dataspace extent */
|
||||
H5D_copy_file_ud_t *udata = (H5D_copy_file_ud_t *)_udata; /* Dataset copying user data */
|
||||
@ -495,7 +495,7 @@ done:
|
||||
parameter.
|
||||
--------------------------------------------------------------------------*/
|
||||
static herr_t
|
||||
H5O_sdspace_debug(H5F_t UNUSED *f, hid_t UNUSED dxpl_id, const void *mesg,
|
||||
H5O_sdspace_debug(H5F_t H5_ATTR_UNUSED *f, hid_t H5_ATTR_UNUSED dxpl_id, const void *mesg,
|
||||
FILE * stream, int indent, int fwidth)
|
||||
{
|
||||
const H5S_extent_t *sdim = (const H5S_extent_t *)mesg;
|
||||
|
@ -589,8 +589,8 @@ done:
|
||||
herr_t
|
||||
H5O_shared_copy_file(H5F_t *file_src, H5F_t *file_dst,
|
||||
const H5O_msg_class_t *mesg_type, const void *_native_src, void *_native_dst,
|
||||
hbool_t UNUSED *recompute_size, unsigned *mesg_flags, H5O_copy_t *cpy_info,
|
||||
void UNUSED *udata, hid_t dxpl_id)
|
||||
hbool_t H5_ATTR_UNUSED *recompute_size, unsigned *mesg_flags, H5O_copy_t *cpy_info,
|
||||
void H5_ATTR_UNUSED *udata, hid_t dxpl_id)
|
||||
{
|
||||
const H5O_shared_t *shared_src = (const H5O_shared_t *)_native_src; /* Alias to shared info in native source */
|
||||
H5O_shared_t *shared_dst = (H5O_shared_t *)_native_dst; /* Alias to shared info in native destination message */
|
||||
|
@ -76,8 +76,8 @@ const H5O_msg_class_t H5O_MSG_SHMESG[1] = {{
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static void *
|
||||
H5O_shmesg_decode(H5F_t *f, hid_t UNUSED dxpl_id, H5O_t UNUSED *open_oh,
|
||||
unsigned UNUSED mesg_flags, unsigned UNUSED *ioflags, const uint8_t *p)
|
||||
H5O_shmesg_decode(H5F_t *f, hid_t H5_ATTR_UNUSED dxpl_id, H5O_t H5_ATTR_UNUSED *open_oh,
|
||||
unsigned H5_ATTR_UNUSED mesg_flags, unsigned H5_ATTR_UNUSED *ioflags, const uint8_t *p)
|
||||
{
|
||||
H5O_shmesg_table_t *mesg; /* Native message */
|
||||
void *ret_value; /* Return value */
|
||||
@ -117,7 +117,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_shmesg_encode(H5F_t *f, hbool_t UNUSED disable_shared, uint8_t *p, const void *_mesg)
|
||||
H5O_shmesg_encode(H5F_t *f, hbool_t H5_ATTR_UNUSED disable_shared, uint8_t *p, const void *_mesg)
|
||||
{
|
||||
const H5O_shmesg_table_t *mesg = (const H5O_shmesg_table_t *)_mesg;
|
||||
|
||||
@ -192,7 +192,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static size_t
|
||||
H5O_shmesg_size(const H5F_t *f, hbool_t UNUSED disable_shared, const void UNUSED *_mesg)
|
||||
H5O_shmesg_size(const H5F_t *f, hbool_t H5_ATTR_UNUSED disable_shared, const void H5_ATTR_UNUSED *_mesg)
|
||||
{
|
||||
size_t ret_value;
|
||||
|
||||
@ -222,7 +222,7 @@ H5O_shmesg_size(const H5F_t *f, hbool_t UNUSED disable_shared, const void UNUSED
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_shmesg_debug(H5F_t UNUSED *f, hid_t UNUSED dxpl_id, const void *_mesg, FILE *stream,
|
||||
H5O_shmesg_debug(H5F_t H5_ATTR_UNUSED *f, hid_t H5_ATTR_UNUSED dxpl_id, const void *_mesg, FILE *stream,
|
||||
int indent, int fwidth)
|
||||
{
|
||||
const H5O_shmesg_table_t *mesg = (const H5O_shmesg_table_t *)_mesg;
|
||||
|
@ -97,8 +97,8 @@ H5FL_DEFINE_STATIC(H5O_stab_t);
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static void *
|
||||
H5O_stab_decode(H5F_t *f, hid_t UNUSED dxpl_id, H5O_t UNUSED *open_oh,
|
||||
unsigned UNUSED mesg_flags, unsigned UNUSED *ioflags, const uint8_t *p)
|
||||
H5O_stab_decode(H5F_t *f, hid_t H5_ATTR_UNUSED dxpl_id, H5O_t H5_ATTR_UNUSED *open_oh,
|
||||
unsigned H5_ATTR_UNUSED mesg_flags, unsigned H5_ATTR_UNUSED *ioflags, const uint8_t *p)
|
||||
{
|
||||
H5O_stab_t *stab = NULL;
|
||||
void *ret_value; /* Return value */
|
||||
@ -142,7 +142,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_stab_encode(H5F_t *f, hbool_t UNUSED disable_shared, uint8_t *p, const void *_mesg)
|
||||
H5O_stab_encode(H5F_t *f, hbool_t H5_ATTR_UNUSED disable_shared, uint8_t *p, const void *_mesg)
|
||||
{
|
||||
const H5O_stab_t *stab = (const H5O_stab_t *) _mesg;
|
||||
|
||||
@ -220,7 +220,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static size_t
|
||||
H5O_stab_size(const H5F_t *f, hbool_t UNUSED disable_shared, const void UNUSED *_mesg)
|
||||
H5O_stab_size(const H5F_t *f, hbool_t H5_ATTR_UNUSED disable_shared, const void H5_ATTR_UNUSED *_mesg)
|
||||
{
|
||||
size_t ret_value; /* Return value */
|
||||
|
||||
@ -273,7 +273,7 @@ H5O_stab_free(void *mesg)
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_stab_delete(H5F_t *f, hid_t dxpl_id, H5O_t UNUSED *open_oh, void *mesg)
|
||||
H5O_stab_delete(H5F_t *f, hid_t dxpl_id, H5O_t H5_ATTR_UNUSED *open_oh, void *mesg)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
@ -308,8 +308,8 @@ done:
|
||||
*/
|
||||
static void *
|
||||
H5O_stab_copy_file(H5F_t *file_src, void *native_src, H5F_t *file_dst,
|
||||
hbool_t UNUSED *recompute_size, unsigned UNUSED *mesg_flags,
|
||||
H5O_copy_t UNUSED *cpy_info, void *_udata, hid_t dxpl_id)
|
||||
hbool_t H5_ATTR_UNUSED *recompute_size, unsigned H5_ATTR_UNUSED *mesg_flags,
|
||||
H5O_copy_t H5_ATTR_UNUSED *cpy_info, void *_udata, hid_t dxpl_id)
|
||||
{
|
||||
H5O_stab_t *stab_src = (H5O_stab_t *) native_src;
|
||||
H5O_stab_t *stab_dst = NULL;
|
||||
@ -372,7 +372,7 @@ done:
|
||||
*/
|
||||
static herr_t
|
||||
H5O_stab_post_copy_file(const H5O_loc_t *src_oloc, const void *mesg_src,
|
||||
H5O_loc_t *dst_oloc, void *mesg_dst, unsigned UNUSED *mesg_flags,
|
||||
H5O_loc_t *dst_oloc, void *mesg_dst, unsigned H5_ATTR_UNUSED *mesg_flags,
|
||||
hid_t dxpl_id, H5O_copy_t *cpy_info)
|
||||
{
|
||||
const H5O_stab_t *stab_src = (const H5O_stab_t *)mesg_src;
|
||||
@ -425,7 +425,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5O_stab_debug(H5F_t UNUSED *f, hid_t UNUSED dxpl_id, const void *_mesg, FILE * stream,
|
||||
H5O_stab_debug(H5F_t H5_ATTR_UNUSED *f, hid_t H5_ATTR_UNUSED dxpl_id, const void *_mesg, FILE * stream,
|
||||
int indent, int fwidth)
|
||||
{
|
||||
const H5O_stab_t *stab = (const H5O_stab_t *) _mesg;
|
||||
|
@ -256,7 +256,7 @@ done:
|
||||
*/
|
||||
/* ARGSUSED */
|
||||
static herr_t
|
||||
H5P__dcrt_copy(hid_t dst_plist_id, hid_t src_plist_id, void UNUSED *copy_data)
|
||||
H5P__dcrt_copy(hid_t dst_plist_id, hid_t src_plist_id, void H5_ATTR_UNUSED *copy_data)
|
||||
{
|
||||
H5O_fill_t src_fill, dst_fill; /* Source & destination fill values */
|
||||
H5O_efl_t src_efl, dst_efl; /* Source & destination external file lists */
|
||||
@ -370,7 +370,7 @@ done:
|
||||
*/
|
||||
/* ARGSUSED */
|
||||
static herr_t
|
||||
H5P__dcrt_close(hid_t dcpl_id, void UNUSED *close_data)
|
||||
H5P__dcrt_close(hid_t dcpl_id, void H5_ATTR_UNUSED *close_data)
|
||||
{
|
||||
H5O_fill_t fill; /* Fill value */
|
||||
H5O_efl_t efl; /* External file list */
|
||||
@ -562,7 +562,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static int
|
||||
H5P__dcrt_layout_cmp(const void *_layout1, const void *_layout2, size_t UNUSED size)
|
||||
H5P__dcrt_layout_cmp(const void *_layout1, const void *_layout2, size_t H5_ATTR_UNUSED size)
|
||||
{
|
||||
const H5O_layout_t *layout1 = (const H5O_layout_t *)_layout1, /* Create local aliases for values */
|
||||
*layout2 = (const H5O_layout_t *)_layout2;
|
||||
@ -794,7 +794,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
int
|
||||
H5P_fill_value_cmp(const void *_fill1, const void *_fill2, size_t UNUSED size)
|
||||
H5P_fill_value_cmp(const void *_fill1, const void *_fill2, size_t H5_ATTR_UNUSED size)
|
||||
{
|
||||
const H5O_fill_t *fill1 = (const H5O_fill_t *)_fill1, /* Create local aliases for values */
|
||||
*fill2 = (const H5O_fill_t *)_fill2;
|
||||
@ -1031,7 +1031,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static int
|
||||
H5P__dcrt_ext_file_list_cmp(const void *_efl1, const void *_efl2, size_t UNUSED size)
|
||||
H5P__dcrt_ext_file_list_cmp(const void *_efl1, const void *_efl2, size_t H5_ATTR_UNUSED size)
|
||||
{
|
||||
const H5O_efl_t *efl1 = (const H5O_efl_t *)_efl1, /* Create local aliases for values */
|
||||
*efl2 = (const H5O_efl_t *)_efl2;
|
||||
|
@ -777,7 +777,7 @@ done:
|
||||
*/
|
||||
/* ARGSUSED */
|
||||
static herr_t
|
||||
H5P__dxfr_xform_del(hid_t UNUSED prop_id, const char UNUSED *name, size_t UNUSED size, void *value)
|
||||
H5P__dxfr_xform_del(hid_t H5_ATTR_UNUSED prop_id, const char H5_ATTR_UNUSED *name, size_t H5_ATTR_UNUSED size, void *value)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
@ -809,7 +809,7 @@ done:
|
||||
*/
|
||||
/* ARGSUSED */
|
||||
static herr_t
|
||||
H5P__dxfr_xform_copy(const char UNUSED *name, size_t UNUSED size, void *value)
|
||||
H5P__dxfr_xform_copy(const char H5_ATTR_UNUSED *name, size_t H5_ATTR_UNUSED size, void *value)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
@ -839,7 +839,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static int
|
||||
H5P__dxfr_xform_cmp(const void *_xform1, const void *_xform2, size_t UNUSED size)
|
||||
H5P__dxfr_xform_cmp(const void *_xform1, const void *_xform2, size_t H5_ATTR_UNUSED size)
|
||||
{
|
||||
const H5Z_data_xform_t * const *xform1 = (const H5Z_data_xform_t * const *)_xform1; /* Create local aliases for values */
|
||||
const H5Z_data_xform_t * const *xform2 = (const H5Z_data_xform_t * const *)_xform2; /* Create local aliases for values */
|
||||
@ -894,7 +894,7 @@ done:
|
||||
*/
|
||||
/* ARGSUSED */
|
||||
static herr_t
|
||||
H5P__dxfr_xform_close(const char UNUSED *name, size_t UNUSED size, void *value)
|
||||
H5P__dxfr_xform_close(const char H5_ATTR_UNUSED *name, size_t H5_ATTR_UNUSED size, void *value)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
|
@ -445,7 +445,7 @@ done:
|
||||
*/
|
||||
/* ARGSUSED */
|
||||
static herr_t
|
||||
H5P_facc_create(hid_t fapl_id, void UNUSED *copy_data)
|
||||
H5P_facc_create(hid_t fapl_id, void H5_ATTR_UNUSED *copy_data)
|
||||
{
|
||||
hid_t driver_id;
|
||||
H5P_genplist_t *plist; /* Property list */
|
||||
@ -495,7 +495,7 @@ done:
|
||||
*/
|
||||
/* ARGSUSED */
|
||||
static herr_t
|
||||
H5P_facc_copy(hid_t dst_fapl_id, hid_t src_fapl_id, void UNUSED *copy_data)
|
||||
H5P_facc_copy(hid_t dst_fapl_id, hid_t src_fapl_id, void H5_ATTR_UNUSED *copy_data)
|
||||
{
|
||||
hid_t driver_id;
|
||||
H5P_genplist_t *src_plist; /* Source property list */
|
||||
@ -546,7 +546,7 @@ done:
|
||||
*/
|
||||
/* ARGSUSED */
|
||||
herr_t
|
||||
H5P_facc_close(hid_t fapl_id, void UNUSED *close_data)
|
||||
H5P_facc_close(hid_t fapl_id, void H5_ATTR_UNUSED *close_data)
|
||||
{
|
||||
hid_t driver_id;
|
||||
H5P_genplist_t *plist; /* Property list */
|
||||
@ -1117,7 +1117,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
herr_t
|
||||
H5Pset_cache(hid_t plist_id, int UNUSED mdc_nelmts,
|
||||
H5Pset_cache(hid_t plist_id, int H5_ATTR_UNUSED mdc_nelmts,
|
||||
size_t rdcc_nslots, size_t rdcc_nbytes, double rdcc_w0)
|
||||
{
|
||||
H5P_genplist_t *plist; /* Property list pointer */
|
||||
@ -2294,7 +2294,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5P_file_image_info_del(hid_t UNUSED prop_id, const char UNUSED *name, size_t UNUSED size, void *value)
|
||||
H5P_file_image_info_del(hid_t H5_ATTR_UNUSED prop_id, const char H5_ATTR_UNUSED *name, size_t H5_ATTR_UNUSED size, void *value)
|
||||
{
|
||||
H5FD_file_image_info_t info; /* Image info struct */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
@ -2348,7 +2348,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5P_file_image_info_copy(const char UNUSED *name, size_t UNUSED size, void *value)
|
||||
H5P_file_image_info_copy(const char H5_ATTR_UNUSED *name, size_t H5_ATTR_UNUSED size, void *value)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
@ -2423,7 +2423,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static herr_t
|
||||
H5P_file_image_info_close(const char UNUSED *name, size_t UNUSED size, void *value)
|
||||
H5P_file_image_info_close(const char H5_ATTR_UNUSED *name, size_t H5_ATTR_UNUSED size, void *value)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
@ -2473,7 +2473,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static int
|
||||
H5P__facc_cache_config_cmp(const void *_config1, const void *_config2, size_t UNUSED size)
|
||||
H5P__facc_cache_config_cmp(const void *_config1, const void *_config2, size_t H5_ATTR_UNUSED size)
|
||||
{
|
||||
const H5AC_cache_config_t *config1 = (const H5AC_cache_config_t *)_config1; /* Create local aliases for values */
|
||||
const H5AC_cache_config_t *config2 = (const H5AC_cache_config_t *)_config2; /* Create local aliases for values */
|
||||
|
18
src/H5Pint.c
18
src/H5Pint.c
@ -1307,7 +1307,7 @@ H5P_free_prop(H5P_genprop_t *prop)
|
||||
REVISION LOG
|
||||
--------------------------------------------------------------------------*/
|
||||
static herr_t
|
||||
H5P_free_prop_cb(void *item, void UNUSED *key, void *op_data)
|
||||
H5P_free_prop_cb(void *item, void H5_ATTR_UNUSED *key, void *op_data)
|
||||
{
|
||||
H5P_genprop_t *tprop=(H5P_genprop_t *)item; /* Temporary pointer to property */
|
||||
hbool_t make_cb = *(hbool_t *)op_data; /* Whether to make property 'close' callback */
|
||||
@ -1347,7 +1347,7 @@ H5P_free_prop_cb(void *item, void UNUSED *key, void *op_data)
|
||||
REVISION LOG
|
||||
--------------------------------------------------------------------------*/
|
||||
static herr_t
|
||||
H5P_free_del_name_cb(void *item, void UNUSED *key, void UNUSED *op_data)
|
||||
H5P_free_del_name_cb(void *item, void H5_ATTR_UNUSED *key, void H5_ATTR_UNUSED *op_data)
|
||||
{
|
||||
char *del_name=(char *)item; /* Temporary pointer to deleted name */
|
||||
|
||||
@ -1477,7 +1477,7 @@ H5P_access_class(H5P_genclass_t *pclass, H5P_class_mod_t mod)
|
||||
REVISION LOG
|
||||
--------------------------------------------------------------------------*/
|
||||
static int
|
||||
H5P_open_class_path_cb(void *_obj, hid_t UNUSED id, void *_key)
|
||||
H5P_open_class_path_cb(void *_obj, hid_t H5_ATTR_UNUSED id, void *_key)
|
||||
{
|
||||
H5P_genclass_t *obj = (H5P_genclass_t *)_obj; /* Pointer to the class for this ID */
|
||||
H5P_check_class_t *key = (H5P_check_class_t *)_key; /* Pointer to key information for comparison */
|
||||
@ -1984,8 +1984,8 @@ done:
|
||||
void *value, void *plist, uint8_t **buf);
|
||||
where the parameters to the callback function are:
|
||||
void *f; IN: A fake file structure used to decode.
|
||||
size_t *size; IN: UNUSED
|
||||
void *value; IN: UNUSED
|
||||
size_t *size; IN: H5_ATTR_UNUSED
|
||||
void *value; IN: H5_ATTR_UNUSED
|
||||
void *plist; IN: The property list structure.
|
||||
uint8_t **buf; IN: The buffer that holds the binary encoded property;
|
||||
The 'decode' routine decodes the binary buffer passed in and transforms it into
|
||||
@ -2162,8 +2162,8 @@ done:
|
||||
void *value, void *plist, uint8_t **buf);
|
||||
where the parameters to the callback function are:
|
||||
void *f; IN: A fake file structure used to decode.
|
||||
size_t *size; IN: UNUSED
|
||||
void *value; IN: UNUSED
|
||||
size_t *size; IN: H5_ATTR_UNUSED
|
||||
void *value; IN: H5_ATTR_UNUSED
|
||||
void *plist; IN: The property list structure.
|
||||
uint8_t **buf; IN: The buffer that holds the binary encoded property;
|
||||
The 'decode' routine decodes the binary buffer passed in and transforms it into
|
||||
@ -2403,8 +2403,8 @@ done:
|
||||
void *value, void *plist, uint8_t **buf);
|
||||
where the parameters to the callback function are:
|
||||
void *f; IN: A fake file structure used to decode.
|
||||
size_t *size; IN: UNUSED
|
||||
void *value; IN: UNUSED
|
||||
size_t *size; IN: H5_ATTR_UNUSED
|
||||
void *value; IN: H5_ATTR_UNUSED
|
||||
void *plist; IN: The property list structure.
|
||||
uint8_t **buf; IN: The buffer that holds the binary encoded property;
|
||||
The 'decode' routine decodes the binary buffer passed in and transforms it into
|
||||
|
@ -344,7 +344,7 @@ done:
|
||||
*/
|
||||
/* ARGSUSED */
|
||||
static herr_t
|
||||
H5P_lacc_elink_fapl_del(hid_t UNUSED prop_id, const char UNUSED *name, size_t UNUSED size, void *value)
|
||||
H5P_lacc_elink_fapl_del(hid_t H5_ATTR_UNUSED prop_id, const char H5_ATTR_UNUSED *name, size_t H5_ATTR_UNUSED size, void *value)
|
||||
{
|
||||
hid_t l_fapl_id;
|
||||
herr_t ret_value = SUCCEED;
|
||||
@ -378,7 +378,7 @@ done:
|
||||
*/
|
||||
/* ARGSUSED */
|
||||
static herr_t
|
||||
H5P_lacc_elink_fapl_copy(const char UNUSED *name, size_t UNUSED size, void *value)
|
||||
H5P_lacc_elink_fapl_copy(const char H5_ATTR_UNUSED *name, size_t H5_ATTR_UNUSED size, void *value)
|
||||
{
|
||||
hid_t l_fapl_id;
|
||||
herr_t ret_value = SUCCEED;
|
||||
@ -419,7 +419,7 @@ done:
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static int
|
||||
H5P_lacc_elink_fapl_cmp(const void *value1, const void *value2, size_t UNUSED size)
|
||||
H5P_lacc_elink_fapl_cmp(const void *value1, const void *value2, size_t H5_ATTR_UNUSED size)
|
||||
{
|
||||
const hid_t *fapl1 = (const hid_t *)value1;
|
||||
const hid_t *fapl2 = (const hid_t *)value2;
|
||||
@ -466,7 +466,7 @@ done:
|
||||
*/
|
||||
/* ARGSUSED */
|
||||
static herr_t
|
||||
H5P_lacc_elink_fapl_close(const char UNUSED *name, size_t UNUSED size, void *value)
|
||||
H5P_lacc_elink_fapl_close(const char H5_ATTR_UNUSED *name, size_t H5_ATTR_UNUSED size, void *value)
|
||||
{
|
||||
hid_t l_fapl_id;
|
||||
herr_t ret_value = SUCCEED;
|
||||
@ -611,7 +611,7 @@ done:
|
||||
*/
|
||||
/* ARGSUSED */
|
||||
static herr_t
|
||||
H5P_lacc_elink_pref_del(hid_t UNUSED prop_id, const char UNUSED *name, size_t UNUSED size, void *value)
|
||||
H5P_lacc_elink_pref_del(hid_t H5_ATTR_UNUSED prop_id, const char H5_ATTR_UNUSED *name, size_t H5_ATTR_UNUSED size, void *value)
|
||||
{
|
||||
FUNC_ENTER_NOAPI_NOINIT_NOERR
|
||||
|
||||
@ -637,7 +637,7 @@ H5P_lacc_elink_pref_del(hid_t UNUSED prop_id, const char UNUSED *name, size_t UN
|
||||
*/
|
||||
/* ARGSUSED */
|
||||
static herr_t
|
||||
H5P_lacc_elink_pref_copy(const char UNUSED *name, size_t UNUSED size, void *value)
|
||||
H5P_lacc_elink_pref_copy(const char H5_ATTR_UNUSED *name, size_t H5_ATTR_UNUSED size, void *value)
|
||||
{
|
||||
FUNC_ENTER_NOAPI_NOINIT_NOERR
|
||||
|
||||
@ -664,7 +664,7 @@ H5P_lacc_elink_pref_copy(const char UNUSED *name, size_t UNUSED size, void *valu
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
static int
|
||||
H5P_lacc_elink_pref_cmp(const void *value1, const void *value2, size_t UNUSED size)
|
||||
H5P_lacc_elink_pref_cmp(const void *value1, const void *value2, size_t H5_ATTR_UNUSED size)
|
||||
{
|
||||
const char *pref1 = *(const char * const *)value1;
|
||||
const char *pref2 = *(const char * const *)value2;
|
||||
@ -698,7 +698,7 @@ done:
|
||||
*/
|
||||
/* ARGSUSED */
|
||||
static herr_t
|
||||
H5P_lacc_elink_pref_close(const char UNUSED *name, size_t UNUSED size, void *value)
|
||||
H5P_lacc_elink_pref_close(const char H5_ATTR_UNUSED *name, size_t H5_ATTR_UNUSED size, void *value)
|
||||
{
|
||||
FUNC_ENTER_NOAPI_NOINIT_NOERR
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user