summaryrefslogtreecommitdiffstats
path: root/src/H5P.c
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1998-08-27 16:48:50 (GMT)
committerRobb Matzke <matzke@llnl.gov>1998-08-27 16:48:50 (GMT)
commiteb5e01d37ca2570afc50756c9ed6a0be214502ec (patch)
tree08281269dc5b2eeef48286fb991bd6a05f71f6a3 /src/H5P.c
parent11f1b67c878b17abc225d09fb2a2019f338f92b2 (diff)
downloadhdf5-eb5e01d37ca2570afc50756c9ed6a0be214502ec.zip
hdf5-eb5e01d37ca2570afc50756c9ed6a0be214502ec.tar.gz
hdf5-eb5e01d37ca2570afc50756c9ed6a0be214502ec.tar.bz2
[svn-r620] Changes since 19980825
---------------------- ./MANIFEST ./src/H5R.c [NEW] ./src/H5Rprivate.h [NEW] ./src/H5Rpublic.h [NEW] ./src/Makefile.in ./src/hdf5.h ./test/ragged.c [NEW] Preliminary support for 2d ragged arrays for Mark Miller and Jim Reus. Not fully implemented yet. The test is not actually part of `make test' because we still have some memory problems. ./src/H5E.c ./src/H5Epublic.h Added H5E_RAGGED as a major error number. ./bin/release Checks the MANIFEST file against `svf ls' on systems that have it. ./bin/trace Fixed a bug that caused arguments of type `void *x[]' to not be handled. ./src/H5.c Removed unused variables and changed a couple types to fix compiler warnings. Added tracing support for ragged array object ID's and arrays of pointers. ./src/H5D.c H5Dcreate() will complain if either of the property lists are invalid (instead of using the default). ./src/H5D.c ./src/H5Dprivate.h Split H5Dget_space() into an API and internal function so it can be called from the new ragged array layer. ./src/H5Fistore.c Fixed warnings about unsigned vs. signed comparisons. ./src/H5Flow.c Fixed a warning about a variable being shadowed in the MPI-IO stuff. ./src/H5Iprivate.h ./src/H5Ipublic.h Added the H5_RAGGED atom group. ./src/H5Shyper.c Fixed some freeing-free-memory errors that resulted when certain arrays were freed but the pointers were left in the data structures. I simply set the pointers to null after they were freed. ./src/H5Sprivate.h ./src/H5Sselect.c Split the H5Sselect_hyperslab() function into an API and a private function so it could be called from the ragged array layer. Added H5S_SEL_ERROR and H5S_SEL_N to the switch statements to get rid or compiler warnings. ./src/H5Tconv.c Removed a misleading comment. ./test/bittests.c Fixed a warning about a printf(). ./test/cmpd_dset.c Fixed warnings about unused variables because of test #11 being commented out. ./bin/trace Shortened the right margin for the output to allow room for the `);' at the end of the TRACE() macros.
Diffstat (limited to 'src/H5P.c')
-rw-r--r--src/H5P.c94
1 files changed, 47 insertions, 47 deletions
diff --git a/src/H5P.c b/src/H5P.c
index 63e5844..9f33cda 100644
--- a/src/H5P.c
+++ b/src/H5P.c
@@ -146,7 +146,7 @@ H5P_term_interface(void)
* lists.
--------------------------------------------------------------------------*/
hid_t
-H5Pcreate (H5P_class_t type)
+H5Pcreate(H5P_class_t type)
{
hid_t ret_value = FAIL;
void *plist = NULL;
@@ -254,7 +254,7 @@ H5P_create(H5P_class_t type, void *plist)
This function releases access to a property list object
--------------------------------------------------------------------------*/
herr_t
-H5Pclose (hid_t plist_id)
+H5Pclose(hid_t plist_id)
{
H5P_class_t type;
void *plist = NULL;
@@ -382,7 +382,7 @@ H5P_close (H5P_class_t type, void *plist)
*-------------------------------------------------------------------------
*/
H5P_class_t
-H5Pget_class (hid_t plist_id)
+H5Pget_class(hid_t plist_id)
{
H5I_group_t group;
H5P_class_t ret_value = H5P_NO_CLASS;
@@ -467,7 +467,7 @@ H5P_get_class(hid_t plist_id)
*-------------------------------------------------------------------------
*/
herr_t
-H5Pget_version (hid_t plist_id, int *boot/*out*/, int *freelist/*out*/,
+H5Pget_version(hid_t plist_id, int *boot/*out*/, int *freelist/*out*/,
int *stab/*out*/, int *shhdr/*out*/)
{
H5F_create_t *plist = NULL;
@@ -508,7 +508,7 @@ H5Pget_version (hid_t plist_id, int *boot/*out*/, int *freelist/*out*/,
*-------------------------------------------------------------------------
*/
herr_t
-H5Pset_userblock (hid_t plist_id, hsize_t size)
+H5Pset_userblock(hid_t plist_id, hsize_t size)
{
uintn i;
H5F_create_t *plist = NULL;
@@ -554,7 +554,7 @@ H5Pset_userblock (hid_t plist_id, hsize_t size)
*-------------------------------------------------------------------------
*/
herr_t
-H5Pget_userblock (hid_t plist_id, hsize_t *size)
+H5Pget_userblock(hid_t plist_id, hsize_t *size)
{
H5F_create_t *plist = NULL;
@@ -603,7 +603,7 @@ H5Pget_userblock (hid_t plist_id, hsize_t *size)
*-------------------------------------------------------------------------
*/
herr_t
-H5Pset_alignment (hid_t fapl_id, hsize_t threshold, hsize_t alignment)
+H5Pset_alignment(hid_t fapl_id, hsize_t threshold, hsize_t alignment)
{
H5F_access_t *fapl = NULL;
@@ -648,7 +648,7 @@ H5Pset_alignment (hid_t fapl_id, hsize_t threshold, hsize_t alignment)
*-------------------------------------------------------------------------
*/
herr_t
-H5Pget_alignment (hid_t fapl_id, hsize_t *threshold/*out*/,
+H5Pget_alignment(hid_t fapl_id, hsize_t *threshold/*out*/,
hsize_t *alignment/*out*/)
{
H5F_access_t *fapl = NULL;
@@ -690,7 +690,7 @@ H5Pget_alignment (hid_t fapl_id, hsize_t *threshold/*out*/,
*-------------------------------------------------------------------------
*/
herr_t
-H5Pset_sizes (hid_t plist_id, size_t sizeof_addr, size_t sizeof_size)
+H5Pset_sizes(hid_t plist_id, size_t sizeof_addr, size_t sizeof_size)
{
H5F_create_t *plist = NULL;
@@ -745,7 +745,7 @@ H5Pset_sizes (hid_t plist_id, size_t sizeof_addr, size_t sizeof_size)
*-------------------------------------------------------------------------
*/
herr_t
-H5Pget_sizes (hid_t plist_id,
+H5Pget_sizes(hid_t plist_id,
size_t *sizeof_addr /*out */ , size_t *sizeof_size /*out */ )
{
H5F_create_t *plist = NULL;
@@ -798,7 +798,7 @@ H5Pget_sizes (hid_t plist_id,
*-------------------------------------------------------------------------
*/
herr_t
-H5Pset_sym_k (hid_t plist_id, int ik, int lk)
+H5Pset_sym_k(hid_t plist_id, int ik, int lk)
{
H5F_create_t *plist = NULL;
@@ -841,7 +841,7 @@ H5Pset_sym_k (hid_t plist_id, int ik, int lk)
*-------------------------------------------------------------------------
*/
herr_t
-H5Pget_sym_k (hid_t plist_id, int *ik /*out */ , int *lk /*out */ )
+H5Pget_sym_k(hid_t plist_id, int *ik /*out */ , int *lk /*out */ )
{
H5F_create_t *plist = NULL;
@@ -882,7 +882,7 @@ H5Pget_sym_k (hid_t plist_id, int *ik /*out */ , int *lk /*out */ )
*-------------------------------------------------------------------------
*/
herr_t
-H5Pset_istore_k (hid_t plist_id, int ik)
+H5Pset_istore_k(hid_t plist_id, int ik)
{
H5F_create_t *plist = NULL;
@@ -924,7 +924,7 @@ H5Pset_istore_k (hid_t plist_id, int ik)
*-------------------------------------------------------------------------
*/
herr_t
-H5Pget_istore_k (hid_t plist_id, int *ik /*out */ )
+H5Pget_istore_k(hid_t plist_id, int *ik /*out */ )
{
H5F_create_t *plist = NULL;
@@ -961,7 +961,7 @@ H5Pget_istore_k (hid_t plist_id, int *ik /*out */ )
*-------------------------------------------------------------------------
*/
herr_t
-H5Pset_layout (hid_t plist_id, H5D_layout_t layout)
+H5Pset_layout(hid_t plist_id, H5D_layout_t layout)
{
H5D_create_t *plist = NULL;
@@ -1001,7 +1001,7 @@ H5Pset_layout (hid_t plist_id, H5D_layout_t layout)
*-------------------------------------------------------------------------
*/
H5D_layout_t
-H5Pget_layout (hid_t plist_id)
+H5Pget_layout(hid_t plist_id)
{
H5D_create_t *plist = NULL;
@@ -1039,7 +1039,7 @@ H5Pget_layout (hid_t plist_id)
*-------------------------------------------------------------------------
*/
herr_t
-H5Pset_chunk (hid_t plist_id, int ndims, const hsize_t dim[/*ndims*/])
+H5Pset_chunk(hid_t plist_id, int ndims, const hsize_t dim[/*ndims*/])
{
int i;
H5D_create_t *plist = NULL;
@@ -1102,7 +1102,7 @@ H5Pset_chunk (hid_t plist_id, int ndims, const hsize_t dim[/*ndims*/])
*-------------------------------------------------------------------------
*/
int
-H5Pget_chunk (hid_t plist_id, int max_ndims, hsize_t dim[]/*out*/)
+H5Pget_chunk(hid_t plist_id, int max_ndims, hsize_t dim[]/*out*/)
{
int i;
H5D_create_t *plist = NULL;
@@ -1156,7 +1156,7 @@ H5Pget_chunk (hid_t plist_id, int max_ndims, hsize_t dim[]/*out*/)
*-------------------------------------------------------------------------
*/
herr_t
-H5Pset_external (hid_t plist_id, const char *name, off_t offset, hsize_t size)
+H5Pset_external(hid_t plist_id, const char *name, off_t offset, hsize_t size)
{
int idx;
size_t total, tmp;
@@ -1238,7 +1238,7 @@ H5Pset_external (hid_t plist_id, const char *name, off_t offset, hsize_t size)
*-------------------------------------------------------------------------
*/
int
-H5Pget_external_count (hid_t plist_id)
+H5Pget_external_count(hid_t plist_id)
{
H5D_create_t *plist = NULL;
@@ -1286,7 +1286,7 @@ H5Pget_external_count (hid_t plist_id)
*-------------------------------------------------------------------------
*/
herr_t
-H5Pget_external (hid_t plist_id, int idx, size_t name_size, char *name/*out*/,
+H5Pget_external(hid_t plist_id, int idx, size_t name_size, char *name/*out*/,
off_t *offset/*out*/, hsize_t *size/*out*/)
{
H5D_create_t *plist = NULL;
@@ -1334,7 +1334,7 @@ H5Pget_external (hid_t plist_id, int idx, size_t name_size, char *name/*out*/,
*-------------------------------------------------------------------------
*/
H5F_driver_t
-H5Pget_driver (hid_t plist_id)
+H5Pget_driver(hid_t plist_id)
{
H5F_access_t *plist = NULL;
@@ -1371,7 +1371,7 @@ H5Pget_driver (hid_t plist_id)
*-------------------------------------------------------------------------
*/
herr_t
-H5Pset_stdio (hid_t plist_id)
+H5Pset_stdio(hid_t plist_id)
{
H5F_access_t *plist = NULL;
@@ -1412,7 +1412,7 @@ H5Pset_stdio (hid_t plist_id)
*-------------------------------------------------------------------------
*/
herr_t
-H5Pget_stdio (hid_t plist_id)
+H5Pget_stdio(hid_t plist_id)
{
H5F_access_t *plist = NULL;
@@ -1453,7 +1453,7 @@ H5Pget_stdio (hid_t plist_id)
*-------------------------------------------------------------------------
*/
herr_t
-H5Pset_sec2 (hid_t plist_id)
+H5Pset_sec2(hid_t plist_id)
{
H5F_access_t *plist = NULL;
@@ -1494,7 +1494,7 @@ H5Pset_sec2 (hid_t plist_id)
*-------------------------------------------------------------------------
*/
herr_t
-H5Pget_sec2 (hid_t plist_id)
+H5Pget_sec2(hid_t plist_id)
{
H5F_access_t *plist = NULL;
@@ -1539,7 +1539,7 @@ H5Pget_sec2 (hid_t plist_id)
*-------------------------------------------------------------------------
*/
herr_t
-H5Pset_core (hid_t plist_id, size_t increment)
+H5Pset_core(hid_t plist_id, size_t increment)
{
H5F_access_t *plist = NULL;
@@ -1587,7 +1587,7 @@ H5Pset_core (hid_t plist_id, size_t increment)
*-------------------------------------------------------------------------
*/
herr_t
-H5Pget_core (hid_t plist_id, size_t *increment/*out*/)
+H5Pget_core(hid_t plist_id, size_t *increment/*out*/)
{
H5F_access_t *plist = NULL;
@@ -1632,7 +1632,7 @@ H5Pget_core (hid_t plist_id, size_t *increment/*out*/)
*-------------------------------------------------------------------------
*/
herr_t
-H5Pset_split (hid_t plist_id, const char *meta_ext, hid_t meta_plist_id,
+H5Pset_split(hid_t plist_id, const char *meta_ext, hid_t meta_plist_id,
const char *raw_ext, hid_t raw_plist_id)
{
H5F_access_t *plist = NULL;
@@ -1701,7 +1701,7 @@ H5Pset_split (hid_t plist_id, const char *meta_ext, hid_t meta_plist_id,
*-------------------------------------------------------------------------
*/
herr_t
-H5Pget_split (hid_t plist_id, size_t meta_ext_size, char *meta_ext/*out*/,
+H5Pget_split(hid_t plist_id, size_t meta_ext_size, char *meta_ext/*out*/,
hid_t *meta_properties/*out*/, size_t raw_ext_size,
char *raw_ext/*out*/, hid_t *raw_properties/*out*/)
{
@@ -1781,7 +1781,7 @@ H5Pget_split (hid_t plist_id, size_t meta_ext_size, char *meta_ext/*out*/,
*-------------------------------------------------------------------------
*/
herr_t
-H5Pset_family (hid_t plist_id, hsize_t memb_size, hid_t memb_plist_id)
+H5Pset_family(hid_t plist_id, hsize_t memb_size, hid_t memb_plist_id)
{
H5F_access_t *plist = NULL;
@@ -1840,7 +1840,7 @@ H5Pset_family (hid_t plist_id, hsize_t memb_size, hid_t memb_plist_id)
*-------------------------------------------------------------------------
*/
herr_t
-H5Pget_family (hid_t plist_id, hsize_t *memb_size/*out*/,
+H5Pget_family(hid_t plist_id, hsize_t *memb_size/*out*/,
hid_t *memb_plist_id/*out*/)
{
H5F_access_t *plist = NULL;
@@ -1899,7 +1899,7 @@ H5Pget_family (hid_t plist_id, hsize_t *memb_size/*out*/,
*-------------------------------------------------------------------------
*/
herr_t
-H5Pset_cache (hid_t plist_id, int mdc_nelmts, size_t rdcc_nbytes,
+H5Pset_cache(hid_t plist_id, int mdc_nelmts, size_t rdcc_nbytes,
double rdcc_w0)
{
H5F_access_t *fapl = NULL;
@@ -1953,7 +1953,7 @@ H5Pset_cache (hid_t plist_id, int mdc_nelmts, size_t rdcc_nbytes,
*-------------------------------------------------------------------------
*/
herr_t
-H5Pget_cache (hid_t plist_id, int *mdc_nelmts, size_t *rdcc_nbytes,
+H5Pget_cache(hid_t plist_id, int *mdc_nelmts, size_t *rdcc_nbytes,
double *rdcc_w0)
{
H5F_access_t *fapl = NULL;
@@ -2007,7 +2007,7 @@ H5Pget_cache (hid_t plist_id, int *mdc_nelmts, size_t *rdcc_nbytes,
*-------------------------------------------------------------------------
*/
herr_t
-H5Pset_buffer (hid_t plist_id, size_t size, void *tconv, void *bkg)
+H5Pset_buffer(hid_t plist_id, size_t size, void *tconv, void *bkg)
{
H5D_xfer_t *plist = NULL;
@@ -2051,7 +2051,7 @@ H5Pset_buffer (hid_t plist_id, size_t size, void *tconv, void *bkg)
*-------------------------------------------------------------------------
*/
size_t
-H5Pget_buffer (hid_t plist_id, void **tconv/*out*/, void **bkg/*out*/)
+H5Pget_buffer(hid_t plist_id, void **tconv/*out*/, void **bkg/*out*/)
{
H5D_xfer_t *plist = NULL;
@@ -2094,7 +2094,7 @@ H5Pget_buffer (hid_t plist_id, void **tconv/*out*/, void **bkg/*out*/)
*-------------------------------------------------------------------------
*/
herr_t
-H5Pset_preserve (hid_t plist_id, hbool_t status)
+H5Pset_preserve(hid_t plist_id, hbool_t status)
{
H5D_xfer_t *plist = NULL;
@@ -2132,7 +2132,7 @@ H5Pset_preserve (hid_t plist_id, hbool_t status)
*-------------------------------------------------------------------------
*/
int
-H5Pget_preserve (hid_t plist_id)
+H5Pget_preserve(hid_t plist_id)
{
H5D_xfer_t *plist = NULL;
@@ -2189,7 +2189,7 @@ H5Pget_preserve (hid_t plist_id)
*-------------------------------------------------------------------------
*/
herr_t
-H5Pset_filter (hid_t plist_id, H5Z_filter_t filter, unsigned int flags,
+H5Pset_filter(hid_t plist_id, H5Z_filter_t filter, unsigned int flags,
size_t cd_nelmts, const unsigned int cd_values[/*cd_nelmts*/])
{
H5D_create_t *plist = NULL;
@@ -2255,7 +2255,7 @@ H5Pset_filter (hid_t plist_id, H5Z_filter_t filter, unsigned int flags,
*-------------------------------------------------------------------------
*/
int
-H5Pget_nfilters (hid_t plist_id)
+H5Pget_nfilters(hid_t plist_id)
{
H5D_create_t *plist = NULL;
@@ -2302,7 +2302,7 @@ H5Pget_nfilters (hid_t plist_id)
*-------------------------------------------------------------------------
*/
H5Z_filter_t
-H5Pget_filter (hid_t plist_id, int idx, unsigned int *flags/*out*/,
+H5Pget_filter(hid_t plist_id, int idx, unsigned int *flags/*out*/,
size_t *cd_nelmts/*in_out*/, unsigned cd_values[]/*out*/,
size_t namelen, char name[]/*out*/)
{
@@ -2395,7 +2395,7 @@ H5Pget_filter (hid_t plist_id, int idx, unsigned int *flags/*out*/,
*-------------------------------------------------------------------------
*/
herr_t
-H5Pset_deflate (hid_t plist_id, unsigned level)
+H5Pset_deflate(hid_t plist_id, unsigned level)
{
H5D_create_t *plist = NULL;
@@ -2482,7 +2482,7 @@ H5Pset_deflate (hid_t plist_id, unsigned level)
*-------------------------------------------------------------------------
*/
herr_t
-H5Pset_mpi (hid_t plist_id, MPI_Comm comm, MPI_Info info)
+H5Pset_mpi(hid_t plist_id, MPI_Comm comm, MPI_Info info)
{
H5F_access_t *plist = NULL;
@@ -2537,7 +2537,7 @@ H5Pset_mpi (hid_t plist_id, MPI_Comm comm, MPI_Info info)
*-------------------------------------------------------------------------
*/
herr_t
-H5Pget_mpi (hid_t plist_id, MPI_Comm *comm, MPI_Info *info)
+H5Pget_mpi(hid_t plist_id, MPI_Comm *comm, MPI_Info *info)
{
H5F_access_t *plist = NULL;
@@ -2600,7 +2600,7 @@ H5Pget_mpi (hid_t plist_id, MPI_Comm *comm, MPI_Info *info)
*-------------------------------------------------------------------------
*/
herr_t
-H5Pset_xfer (hid_t plist_id, H5D_transfer_t data_xfer_mode)
+H5Pset_xfer(hid_t plist_id, H5D_transfer_t data_xfer_mode)
{
H5D_xfer_t *plist = NULL;
@@ -2650,7 +2650,7 @@ H5Pset_xfer (hid_t plist_id, H5D_transfer_t data_xfer_mode)
*-------------------------------------------------------------------------
*/
herr_t
-H5Pget_xfer (hid_t plist_id, H5D_transfer_t *data_xfer_mode)
+H5Pget_xfer(hid_t plist_id, H5D_transfer_t *data_xfer_mode)
{
H5D_xfer_t *plist = NULL;
@@ -2695,7 +2695,7 @@ H5Pget_xfer (hid_t plist_id, H5D_transfer_t *data_xfer_mode)
* parameter settings.
--------------------------------------------------------------------------*/
hid_t
-H5Pcopy (hid_t plist_id)
+H5Pcopy(hid_t plist_id)
{
const void *plist = NULL;
void *new_plist = NULL;