summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/H5FLprivate.h3
-rw-r--r--src/H5FOprivate.h4
-rw-r--r--src/H5RSprivate.h3
-rw-r--r--src/H5SLprivate.h3
-rw-r--r--src/H5Sselect.c132
-rw-r--r--src/H5UCprivate.h3
-rw-r--r--src/H5VM.c75
7 files changed, 0 insertions, 223 deletions
diff --git a/src/H5FLprivate.h b/src/H5FLprivate.h
index ca16360..0fb4b32 100644
--- a/src/H5FLprivate.h
+++ b/src/H5FLprivate.h
@@ -24,9 +24,6 @@
#define H5FLprivate_H
/* Public headers needed by this file */
-#ifdef LATER
-#include "H5FLpublic.h" /*API prototypes */
-#endif /* LATER */
/* Private headers needed by this file */
diff --git a/src/H5FOprivate.h b/src/H5FOprivate.h
index 9db0b0d..1f44ec8 100644
--- a/src/H5FOprivate.h
+++ b/src/H5FOprivate.h
@@ -16,10 +16,6 @@
#ifndef H5FOprivate_H
#define H5FOprivate_H
-#ifdef LATER
-#include "H5FOpublic.h"
-#endif /* LATER */
-
/* Private headers needed by this file */
#include "H5private.h" /* Generic Functions */
#include "H5Fprivate.h" /* File access */
diff --git a/src/H5RSprivate.h b/src/H5RSprivate.h
index 0c8f3ea..a382140 100644
--- a/src/H5RSprivate.h
+++ b/src/H5RSprivate.h
@@ -19,9 +19,6 @@
/**************************************/
/* Public headers needed by this file */
/**************************************/
-#ifdef LATER
-#include "H5RSpublic.h"
-#endif /* LATER */
/***************************************/
/* Private headers needed by this file */
diff --git a/src/H5SLprivate.h b/src/H5SLprivate.h
index 6bd1b79..d7eb5be 100644
--- a/src/H5SLprivate.h
+++ b/src/H5SLprivate.h
@@ -19,9 +19,6 @@
/**************************************/
/* Public headers needed by this file */
/**************************************/
-#ifdef LATER
-#include "H5SLpublic.h"
-#endif /* LATER */
/***************************************/
/* Private headers needed by this file */
diff --git a/src/H5Sselect.c b/src/H5Sselect.c
index c2fb7fa..9d13cf2 100644
--- a/src/H5Sselect.c
+++ b/src/H5Sselect.c
@@ -49,12 +49,6 @@
/* Local Prototypes */
/********************/
-#ifdef LATER
-static herr_t H5S__select_iter_block(const H5S_sel_iter_t *iter, hsize_t *start, hsize_t *end);
-static htri_t H5S__select_iter_has_next_block(const H5S_sel_iter_t *iter);
-static herr_t H5S__select_iter_next_block(H5S_sel_iter_t *iter);
-#endif /* LATER */
-
/*****************************/
/* Library Private Variables */
/*****************************/
@@ -1191,50 +1185,6 @@ H5S_select_iter_coords(const H5S_sel_iter_t *sel_iter, hsize_t *coords)
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5S_select_iter_coords() */
-#ifdef LATER
-
-/*--------------------------------------------------------------------------
- NAME
- H5S__select_iter_block
- PURPOSE
- Get the block of the current iterator position
- USAGE
- herr_t H5S__select_iter_block(sel_iter,start,end)
- const H5S_sel_iter_t *sel_iter; IN: Selection iterator to query
- hsize_t *start; OUT: Array to place iterator start block coordinates
- hsize_t *end; OUT: Array to place iterator end block coordinates
- RETURNS
- Non-negative on success, negative on failure.
- DESCRIPTION
- The current location of the iterator within the selection is placed in
- the COORDS array.
- GLOBAL VARIABLES
- COMMENTS, BUGS, ASSUMPTIONS
- This routine participates in the "Inlining C function pointers"
- pattern, don't call it directly, use the appropriate macro
- defined in H5Sprivate.h.
- EXAMPLES
- REVISION LOG
---------------------------------------------------------------------------*/
-static herr_t
-H5S__select_iter_block(const H5S_sel_iter_t *iter, hsize_t *start, hsize_t *end)
-{
- herr_t ret_value; /* return value */
-
- FUNC_ENTER_PACKAGE_NOERR
-
- /* Check args */
- HDassert(iter);
- HDassert(start);
- HDassert(end);
-
- /* Call iter_block routine for selection type */
- ret_value = (*iter->type->iter_block)(iter, start, end);
-
- FUNC_LEAVE_NOAPI(ret_value)
-} /* end H5S__select_iter_block() */
-#endif /* LATER */
-
/*--------------------------------------------------------------------------
NAME
H5S_select_iter_nelmts
@@ -1271,46 +1221,6 @@ H5S_select_iter_nelmts(const H5S_sel_iter_t *sel_iter)
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5S_select_iter_nelmts() */
-#ifdef LATER
-
-/*--------------------------------------------------------------------------
- NAME
- H5S__select_iter_has_next_block
- PURPOSE
- Check if there is another block available in the selection iterator
- USAGE
- htri_t H5S__select_iter_has_next_block(sel_iter)
- const H5S_sel_iter_t *sel_iter; IN: Selection iterator to query
- RETURNS
- Non-negative on success, negative on failure.
- DESCRIPTION
- Check if there is another block available to advance to in the selection
- iterator.
- GLOBAL VARIABLES
- COMMENTS, BUGS, ASSUMPTIONS
- This routine participates in the "Inlining C function pointers"
- pattern, don't call it directly, use the appropriate macro
- defined in H5Sprivate.h.
- EXAMPLES
- REVISION LOG
---------------------------------------------------------------------------*/
-static htri_t
-H5S__select_iter_has_next_block(const H5S_sel_iter_t *iter)
-{
- herr_t ret_value; /* return value */
-
- FUNC_ENTER_PACKAGE_NOERR
-
- /* Check args */
- HDassert(iter);
-
- /* Call iter_has_next_block routine for selection type */
- ret_value = (*iter->type->iter_has_next_block)(iter);
-
- FUNC_LEAVE_NOAPI(ret_value)
-} /* end H5S__select_iter_has_next_block() */
-#endif /* LATER */
-
/*--------------------------------------------------------------------------
NAME
H5S_select_iter_next
@@ -1353,48 +1263,6 @@ H5S_select_iter_next(H5S_sel_iter_t *iter, size_t nelem)
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5S_select_iter_next() */
-#ifdef LATER
-
-/*--------------------------------------------------------------------------
- NAME
- H5S__select_iter_next_block
- PURPOSE
- Advance selection iterator to next block
- USAGE
- herr_t H5S__select_iter_next_block(iter)
- H5S_sel_iter_t *iter; IN/OUT: Selection iterator to change
- RETURNS
- Non-negative on success, negative on failure.
- DESCRIPTION
- Move the current element for the selection iterator to the next
- block in the selection.
- GLOBAL VARIABLES
- COMMENTS, BUGS, ASSUMPTIONS
- Doesn't maintain the 'elmt_left' field of the selection iterator.
-
- This routine participates in the "Inlining C function pointers"
- pattern, don't call it directly, use the appropriate macro
- defined in H5Sprivate.h.
- EXAMPLES
- REVISION LOG
---------------------------------------------------------------------------*/
-static herr_t
-H5S__select_iter_next_block(H5S_sel_iter_t *iter)
-{
- herr_t ret_value; /* return value */
-
- FUNC_ENTER_PACKAGE_NOERR
-
- /* Check args */
- HDassert(iter);
-
- /* Call iter_next_block routine for selection type */
- ret_value = (*iter->type->iter_next_block)(iter);
-
- FUNC_LEAVE_NOAPI(ret_value)
-} /* end H5S__select_iter_next_block() */
-#endif /* LATER */
-
/*-------------------------------------------------------------------------
* Function: H5S_select_iter_get_seq_list
*
diff --git a/src/H5UCprivate.h b/src/H5UCprivate.h
index 9a4aa2a..c6a6b7a 100644
--- a/src/H5UCprivate.h
+++ b/src/H5UCprivate.h
@@ -22,9 +22,6 @@
/**************************************/
/* Public headers needed by this file */
/**************************************/
-#ifdef LATER
-#include "H5UCpublic.h"
-#endif /* LATER */
/***************************************/
/* Private headers needed by this file */
diff --git a/src/H5VM.c b/src/H5VM.c
index 3abe1d3..f67917d 100644
--- a/src/H5VM.c
+++ b/src/H5VM.c
@@ -35,11 +35,6 @@ static void H5VM__stride_optimize1(unsigned *np /*in,out*/, hsize_t *elmt_size /
const hsize_t *size, hsize_t *stride1);
static void H5VM__stride_optimize2(unsigned *np /*in,out*/, hsize_t *elmt_size /*in,out*/,
const hsize_t *size, hsize_t *stride1, hsize_t *stride2);
-#ifdef LATER
-static void H5VM__stride_copy2(hsize_t nelmts, hsize_t elmt_size, unsigned dst_n, const hsize_t *dst_size,
- const ssize_t *dst_stride, void *_dst, unsigned src_n, const hsize_t *src_size,
- const ssize_t *src_stride, const void *_src);
-#endif /* LATER */
/*-------------------------------------------------------------------------
* Function: H5VM__stride_optimize1
@@ -761,76 +756,6 @@ H5VM_stride_copy_s(unsigned n, hsize_t elmt_size, const hsize_t *size, const hss
FUNC_LEAVE_NOAPI(SUCCEED)
}
-#ifdef LATER
-
-/*-------------------------------------------------------------------------
- * Function: H5VM__stride_copy2
- *
- * Purpose: Similar to H5VM_stride_copy() except the source and
- * destination each have their own dimensionality and size and
- * we copy exactly NELMTS elements each of size ELMT_SIZE. The
- * size counters wrap if NELMTS is more than a size counter.
- *
- * Return: void
- *
- * Programmer: Robb Matzke
- * Saturday, October 11, 1997
- *
- *-------------------------------------------------------------------------
- */
-static void
-H5VM__stride_copy2(hsize_t nelmts, hsize_t elmt_size, unsigned dst_n, const hsize_t *dst_size,
- const hsize_t *dst_stride, void *_dst, unsigned src_n, const hsize_t *src_size,
- const hsize_t *src_stride, const void *_src)
-{
- uint8_t *dst = (uint8_t *)_dst;
- const uint8_t *src = (const uint8_t *)_src;
- hsize_t dst_idx[H5VM_HYPER_NDIMS];
- hsize_t src_idx[H5VM_HYPER_NDIMS];
- hsize_t i; /* Local index variable */
- int j; /* Local index variable */
- hbool_t carry;
-
- FUNC_ENTER_PACKAGE_NOERR
-
- HDassert(elmt_size < SIZE_MAX);
- HDassert(dst_n > 0);
- HDassert(src_n > 0);
-
- H5VM_vector_cpy(dst_n, dst_idx, dst_size);
- H5VM_vector_cpy(src_n, src_idx, src_size);
-
- for (i = 0; i < nelmts; i++) {
-
- /* Copy an element */
- H5_CHECK_OVERFLOW(elmt_size, hsize_t, size_t);
- H5MM_memcpy(dst, src, (size_t)elmt_size); /*lint !e671 The elmt_size will be OK */
-
- /* Decrement indices and advance pointers */
- for (j = (int)(dst_n - 1), carry = TRUE; j >= 0 && carry; --j) {
- dst += dst_stride[j];
- if (--dst_idx[j])
- carry = FALSE;
- else {
- HDassert(dst_size);
- dst_idx[j] = dst_size[j];
- } /* end else */
- }
- for (j = (int)(src_n - 1), carry = TRUE; j >= 0 && carry; --j) {
- src += src_stride[j];
- if (--src_idx[j])
- carry = FALSE;
- else {
- HDassert(src_size);
- src_idx[j] = src_size[j];
- } /* end else */
- }
- }
-
- FUNC_LEAVE_NOAPI_VOID
-}
-#endif /* LATER */
-
/*-------------------------------------------------------------------------
* Function: H5VM_array_fill
*