summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVailin Choi <vchoi@hdfgroup.org>2013-08-22 23:57:27 (GMT)
committerVailin Choi <vchoi@hdfgroup.org>2013-08-22 23:57:27 (GMT)
commit66921438dd3903b70ad3d4013c8726db3f6b69bd (patch)
tree8202b297e4acf911d0483e041561aaafd4792ced /src
parent1220779c318ab305b956833131e5be9027f07cfe (diff)
downloadhdf5-66921438dd3903b70ad3d4013c8726db3f6b69bd.zip
hdf5-66921438dd3903b70ad3d4013c8726db3f6b69bd.tar.gz
hdf5-66921438dd3903b70ad3d4013c8726db3f6b69bd.tar.bz2
[svn-r24061] Bring revisions # 24029 - 24030 from trunk to revise_chunks.
h5committested.
Diffstat (limited to 'src')
-rw-r--r--src/H5FDmulti.c120
1 files changed, 0 insertions, 120 deletions
diff --git a/src/H5FDmulti.c b/src/H5FDmulti.c
index e5775ab..0a899a9 100644
--- a/src/H5FDmulti.c
+++ b/src/H5FDmulti.c
@@ -604,126 +604,6 @@ H5Pget_fapl_multi(hid_t fapl_id, H5FD_mem_t *memb_map/*out*/,
/*-------------------------------------------------------------------------
- * Function: H5FD_multi_dxpl_copy_cb
- *
- * Purpose: Multi VFD DXPL property 'copy' callback
- *
- * Return: Success: 0
- * Failure: -1
- *
- * Programmer: Quincey Koziol
- * Wednesday, August 15, 2012
- *
- *-------------------------------------------------------------------------
- */
-static herr_t
-H5FD_multi_dxpl_copy_cb(const char *name, size_t size, void *_dx)
-{
- H5FD_multi_dxpl_t *dx = (H5FD_multi_dxpl_t *)_dx;
- static const char *func = "H5FD_multi_dxpl_copy_cb"; /* Function Name for error reporting */
-
- /* Shut compiler up */
- name = name;
-
- /* Sanity check */
- assert(size == sizeof(H5FD_multi_dxpl_t));
-
- ALL_MEMBERS(mt) {
- if(dx->memb_dxpl[mt] >= 0)
- if(H5Iinc_ref(dx->memb_dxpl[mt]) < 0)
- H5Epush_ret(func, H5E_ERR_CLS, H5E_PLIST, H5E_CANTINC, "can't increment ref. count for multi VFD property", -1)
- } END_MEMBERS;
-
- return 0;
-} /* end H5FD_multi_dxpl_copy_cb() */
-
-
-/*-------------------------------------------------------------------------
- * Function: H5FD_multi_dxpl_cmp_cb
- *
- * Purpose: Multi VFD DXPL property 'compare' callback
- *
- * Return: Success: same as memcmp()
- * Failure: <can't fail>
- *
- * Programmer: Quincey Koziol
- * Wednesday, August 15, 2012
- *
- *-------------------------------------------------------------------------
- */
-static int
-H5FD_multi_dxpl_cmp_cb(const void *_dx1, const void *_dx2, size_t size)
-{
- const H5FD_multi_dxpl_t *dx1 = (const H5FD_multi_dxpl_t *)_dx1;
- const H5FD_multi_dxpl_t *dx2 = (const H5FD_multi_dxpl_t *)_dx2;
- int cmp_status;
-
- /* Sanity check */
- assert(size == sizeof(H5FD_multi_dxpl_t));
-
- ALL_MEMBERS(mt) {
- if(dx1->memb_dxpl[mt] >= 0) {
- if(dx2->memb_dxpl[mt] >= 0) {
- cmp_status = H5Pequal(dx1->memb_dxpl[mt], dx2->memb_dxpl[mt]);
- if(cmp_status != 0)
- return(cmp_status);
- } /* end if */
- else
- return(-1);
- } /* end if */
- else {
- if(dx2->memb_dxpl[mt] >= 0)
- return(1);
- else
- if(dx1->memb_dxpl[mt] > dx2->memb_dxpl[mt])
- return(-1);
- else if(dx1->memb_dxpl[mt] < dx2->memb_dxpl[mt])
- return(1);
- else
- continue;
- } /* end else */
- } END_MEMBERS;
-
- return 0;
-} /* end H5FD_multi_dxpl_cmp_cb() */
-
-
-/*-------------------------------------------------------------------------
- * Function: H5FD_multi_dxpl_cls_cb
- *
- * Purpose: Multi VFD DXPL property 'close' callback
- *
- * Return: Success: 0
- * Failure: -1
- *
- * Programmer: Quincey Koziol
- * Wednesday, August 15, 2012
- *
- *-------------------------------------------------------------------------
- */
-static herr_t
-H5FD_multi_dxpl_cls_cb(const char *name, size_t size, void *_dx)
-{
- H5FD_multi_dxpl_t *dx = (H5FD_multi_dxpl_t *)_dx;
- static const char *func = "H5FD_multi_dxpl_cls_cb"; /* Function Name for error reporting */
-
- /* Shut compiler up */
- name = name;
-
- /* Sanity check */
- assert(size == sizeof(H5FD_multi_dxpl_t));
-
- ALL_MEMBERS(mt) {
- if(dx->memb_dxpl[mt] >= 0)
- if(H5Idec_ref(dx->memb_dxpl[mt]) < 0)
- H5Epush_ret(func, H5E_ERR_CLS, H5E_PLIST, H5E_CANTDEC, "can't increment ref. count for multi VFD property", -1)
- } END_MEMBERS;
-
- return 0;
-} /* end H5FD_multi_dxpl_cls_cb() */
-
-
-/*-------------------------------------------------------------------------
* Function: H5FD_multi_sb_size
*
* Purpose: Returns the size of the private information to be stored in