Merge pull request #2128 in HDFFV/hdf5 from ~BYRN/hdf5_merge_adb:develop to develop

* commit '1d5bf068224df9582dfc2280525352967a02367b':
  Fix 2010 compile issues
This commit is contained in:
Allen Byrne 2019-12-11 14:11:48 -06:00
commit 5d94490e38
2 changed files with 621 additions and 621 deletions

View File

@ -392,7 +392,7 @@ H5FL_BLK_DEFINE_STATIC(chunk);
/* Declare extern free list to manage the H5S_sel_iter_t struct */
H5FL_EXTERN(H5S_sel_iter_t);
/*-------------------------------------------------------------------------
* Function: H5D__chunk_direct_write
*
@ -508,7 +508,7 @@ done:
FUNC_LEAVE_NOAPI_TAG(ret_value)
} /* end H5D__chunk_direct_write() */
/*-------------------------------------------------------------------------
* Function: H5D__chunk_direct_read
*
@ -605,7 +605,7 @@ done:
FUNC_LEAVE_NOAPI_TAG(ret_value)
} /* end H5D__chunk_direct_read() */
/*-------------------------------------------------------------------------
* Function: H5D__get_chunk_storage_size
*
@ -703,7 +703,7 @@ done:
FUNC_LEAVE_NOAPI_TAG(ret_value)
} /* H5D__get_chunk_storage_size */
/*-------------------------------------------------------------------------
* Function: H5D__chunk_set_info_real
*
@ -760,7 +760,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5D__chunk_set_info_real() */
/*-------------------------------------------------------------------------
* Function: H5D__chunk_set_info
*
@ -795,7 +795,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5D__chunk_set_info() */
/*-------------------------------------------------------------------------
* Function: H5D__chunk_set_sizes
*
@ -858,7 +858,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5D__chunk_set_sizes */
/*-------------------------------------------------------------------------
* Function: H5D__chunk_construct
*
@ -921,7 +921,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5D__chunk_construct() */
/*-------------------------------------------------------------------------
* Function: H5D__chunk_init
*
@ -1026,7 +1026,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5D__chunk_init() */
/*-------------------------------------------------------------------------
* Function: H5D__chunk_is_space_alloc
*
@ -1057,7 +1057,7 @@ H5D__chunk_is_space_alloc(const H5O_storage_t *storage)
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5D__chunk_is_space_alloc() */
/*-------------------------------------------------------------------------
* Function: H5D__chunk_is_data_cached
*
@ -1081,7 +1081,7 @@ H5D__chunk_is_data_cached(const H5D_shared_t *shared_dset)
FUNC_LEAVE_NOAPI(shared_dset->cache.chunk.nused > 0)
} /* end H5D__chunk_is_data_cached() */
/*-------------------------------------------------------------------------
* Function: H5D__chunk_io_init
*
@ -1175,7 +1175,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5D__chunk_io_init() */
/*-------------------------------------------------------------------------
* Function: H5D__chunk_io_init_selections
*
@ -1383,7 +1383,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5D__chunk_io_init_selections() */
/*-------------------------------------------------------------------------
* Function: H5D__chunk_mem_alloc
*
@ -1415,7 +1415,7 @@ H5D__chunk_mem_alloc(size_t size, const H5O_pline_t *pline)
FUNC_LEAVE_NOAPI(ret_value)
} /* H5D__chunk_mem_alloc() */
/*-------------------------------------------------------------------------
* Function: H5D__chunk_mem_xfree
*
@ -1447,7 +1447,7 @@ H5D__chunk_mem_xfree(void *chk, const void *_pline)
FUNC_LEAVE_NOAPI(NULL)
} /* H5D__chunk_mem_xfree() */
/*-------------------------------------------------------------------------
* Function: H5D__chunk_mem_realloc
*
@ -1480,7 +1480,7 @@ H5D__chunk_mem_realloc(void *chk, size_t size, const H5O_pline_t *pline)
FUNC_LEAVE_NOAPI(ret_value)
} /* H5D__chunk_mem_realloc() */
/*--------------------------------------------------------------------------
NAME
H5D__free_chunk_info
@ -1523,7 +1523,7 @@ H5D__free_chunk_info(void *item, void H5_ATTR_UNUSED *key, void H5_ATTR_UNUSED *
FUNC_LEAVE_NOAPI(0)
} /* H5D__free_chunk_info() */
/*-------------------------------------------------------------------------
* Function: H5D__create_chunk_map_single
*
@ -1608,7 +1608,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5D__create_chunk_map_single() */
/*-------------------------------------------------------------------------
* Function: H5D__create_chunk_file_map_all
*
@ -1813,7 +1813,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5D__create_chunk_file_map_all() */
/*-------------------------------------------------------------------------
* Function: H5D__create_chunk_file_map_hyper
*
@ -1988,7 +1988,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5D__create_chunk_file_map_hyper() */
/*-------------------------------------------------------------------------
* Function: H5D__create_chunk_mem_map_hyper
*
@ -2120,7 +2120,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5D__create_chunk_mem_map_hyper() */
/*-------------------------------------------------------------------------
* Function: H5D__create_mem_map_1d
*
@ -2169,9 +2169,9 @@ H5D__create_chunk_mem_map_1d(const H5D_chunk_map_t *fm)
chunk_info->mspace_shared = TRUE;
} /* end if */
else {
HDassert(fm->m_ndims == 1);
hsize_t mem_sel_start[H5S_MAX_RANK]; /* Offset of low bound of file selection */
hsize_t mem_sel_end[H5S_MAX_RANK]; /* Offset of high bound of file selection */
HDassert(fm->m_ndims == 1);
if(H5S_SELECT_BOUNDS(fm->mem_space, mem_sel_start, mem_sel_end) < 0)
HGOTO_ERROR(H5E_DATASPACE, H5E_CANTGET, FAIL, "can't get file selection bound info")
@ -2206,7 +2206,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5D__create_chunk_mem_map_1d() */
/*-------------------------------------------------------------------------
* Function: H5D__chunk_file_cb
*
@ -2323,7 +2323,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5D__chunk_file_cb() */
/*-------------------------------------------------------------------------
* Function: H5D__chunk_mem_cb
*
@ -2399,7 +2399,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5D__chunk_mem_cb() */
/*-------------------------------------------------------------------------
* Function: H5D__chunk_cacheable
*
@ -2491,7 +2491,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5D__chunk_cacheable() */
/*-------------------------------------------------------------------------
* Function: H5D__chunk_read
*
@ -2643,7 +2643,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* H5D__chunk_read() */
/*-------------------------------------------------------------------------
* Function: H5D__chunk_write
*
@ -2805,7 +2805,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* H5D__chunk_write() */
/*-------------------------------------------------------------------------
* Function: H5D__chunk_flush
*
@ -2845,7 +2845,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5D__chunk_flush() */
/*-------------------------------------------------------------------------
* Function: H5D__chunk_io_term
*
@ -2896,7 +2896,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5D__chunk_io_term() */
/*-------------------------------------------------------------------------
* Function: H5D__chunk_dest
*
@ -2957,7 +2957,7 @@ done:
FUNC_LEAVE_NOAPI_TAG(ret_value)
} /* end H5D__chunk_dest() */
/*-------------------------------------------------------------------------
* Function: H5D_chunk_idx_reset
*
@ -2990,7 +2990,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5D_chunk_idx_reset() */
/*-------------------------------------------------------------------------
* Function: H5D__chunk_cinfo_cache_reset
*
@ -3017,7 +3017,7 @@ H5D__chunk_cinfo_cache_reset(H5D_chunk_cached_t *last)
FUNC_LEAVE_NOAPI(SUCCEED)
} /* H5D__chunk_cinfo_cache_reset() */
/*-------------------------------------------------------------------------
* Function: H5D__chunk_cinfo_cache_update
*
@ -3054,7 +3054,7 @@ H5D__chunk_cinfo_cache_update(H5D_chunk_cached_t *last, const H5D_chunk_ud_t *ud
FUNC_LEAVE_NOAPI(SUCCEED)
} /* H5D__chunk_cinfo_cache_update() */
/*-------------------------------------------------------------------------
* Function: H5D__chunk_cinfo_cache_found
*
@ -3103,7 +3103,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* H5D__chunk_cinfo_cache_found() */
/*-------------------------------------------------------------------------
* Function: H5D__chunk_create
*
@ -3157,7 +3157,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5D__chunk_create() */
/*-------------------------------------------------------------------------
* Function: H5D__chunk_hash_val
*
@ -3199,7 +3199,7 @@ H5D__chunk_hash_val(const H5D_shared_t *shared, const hsize_t *scaled)
FUNC_LEAVE_NOAPI(ret)
} /* H5D__chunk_hash_val() */
/*-------------------------------------------------------------------------
* Function: H5D__chunk_lookup
*
@ -3341,7 +3341,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* H5D__chunk_lookup() */
/*-------------------------------------------------------------------------
* Function: H5D__chunk_flush_entry
*
@ -3532,7 +3532,7 @@ done:
FUNC_LEAVE_NOAPI_TAG(ret_value)
} /* end H5D__chunk_flush_entry() */
/*-------------------------------------------------------------------------
* Function: H5D__chunk_cache_evict
*
@ -3611,7 +3611,7 @@ H5D__chunk_cache_evict(const H5D_t *dset, H5D_rdcc_ent_t *ent, hbool_t flush)
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5D__chunk_cache_evict() */
/*-------------------------------------------------------------------------
* Function: H5D__chunk_cache_prune
*
@ -3718,7 +3718,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5D__chunk_cache_prune() */
/*-------------------------------------------------------------------------
* Function: H5D__chunk_lock
*
@ -4122,7 +4122,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5D__chunk_lock() */
/*-------------------------------------------------------------------------
* Function: H5D__chunk_unlock
*
@ -4230,7 +4230,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5D__chunk_unlock() */
/*-------------------------------------------------------------------------
* Function: H5D__chunk_allocated_cb
*
@ -4256,7 +4256,7 @@ H5D__chunk_allocated_cb(const H5D_chunk_rec_t *chunk_rec, void *_udata)
FUNC_LEAVE_NOAPI(H5_ITER_CONT)
} /* H5D__chunk_allocated_cb() */
/*-------------------------------------------------------------------------
* Function: H5D__chunk_allocated
*
@ -4310,7 +4310,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5D__chunk_allocated() */
/*-------------------------------------------------------------------------
* Function: H5D__chunk_allocate
*
@ -4771,7 +4771,7 @@ done:
FUNC_LEAVE_NOAPI_TAG(ret_value)
} /* end H5D__chunk_allocate() */
/*-------------------------------------------------------------------------
* Function: H5D__chunk_update_old_edge_chunks
*
@ -4945,7 +4945,7 @@ done:
} /* end H5D__chunk_update_old_edge_chunks() */
#ifdef H5_HAVE_PARALLEL
/*-------------------------------------------------------------------------
* Function: H5D__chunk_collective_fill
*
@ -5094,7 +5094,7 @@ done:
} /* end H5D__chunk_collective_fill() */
#endif /* H5_HAVE_PARALLEL */
/*-------------------------------------------------------------------------
* Function: H5D__chunk_prune_fill
*
@ -5221,7 +5221,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* H5D__chunk_prune_fill */
/*-------------------------------------------------------------------------
* Function: H5D__chunk_prune_by_extent
*
@ -5645,7 +5645,7 @@ done:
} /* end H5D__chunk_prune_by_extent() */
#ifdef H5_HAVE_PARALLEL
/*-------------------------------------------------------------------------
* Function: H5D__chunk_addrmap_cb
*
@ -5679,7 +5679,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* H5D__chunk_addrmap_cb() */
/*-------------------------------------------------------------------------
* Function: H5D__chunk_addrmap
*
@ -5730,7 +5730,7 @@ done:
} /* end H5D__chunk_addrmap() */
#endif /* H5_HAVE_PARALLEL */
/*-------------------------------------------------------------------------
* Function: H5D__chunk_delete
*
@ -5808,7 +5808,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5D__chunk_delete() */
/*-------------------------------------------------------------------------
* Function: H5D__chunk_update_cache
*
@ -5921,7 +5921,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5D__chunk_update_cache() */
/*-------------------------------------------------------------------------
* Function: H5D__chunk_copy_cb
*
@ -6154,7 +6154,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5D__chunk_copy_cb() */
/*-------------------------------------------------------------------------
* Function: H5D__chunk_copy
*
@ -6438,7 +6438,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5D__chunk_copy() */
/*-------------------------------------------------------------------------
* Function: H5D__chunk_bh_info
*
@ -6518,7 +6518,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5D__chunk_bh_info() */
/*-------------------------------------------------------------------------
* Function: H5D__chunk_dump_index_cb
*
@ -6563,7 +6563,7 @@ H5D__chunk_dump_index_cb(const H5D_chunk_rec_t *chunk_rec, void *_udata)
FUNC_LEAVE_NOAPI(H5_ITER_CONT)
} /* H5D__chunk_dump_index_cb() */
/*-------------------------------------------------------------------------
* Function: H5D__chunk_dump_index
*
@ -6621,7 +6621,7 @@ done:
} /* end H5D__chunk_dump_index() */
#ifdef H5D_CHUNK_DEBUG
/*-------------------------------------------------------------------------
* Function: H5D__chunk_stats
*
@ -6685,7 +6685,7 @@ done:
} /* end H5D__chunk_stats() */
#endif /* H5D_CHUNK_DEBUG */
/*-------------------------------------------------------------------------
* Function: H5D__nonexistent_readvv_cb
*
@ -6734,7 +6734,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* H5D__nonexistent_readvv_cb() */
/*-------------------------------------------------------------------------
* Function: H5D__nonexistent_readvv
*
@ -6788,7 +6788,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* H5D__nonexistent_readvv() */
/*-------------------------------------------------------------------------
* Function: H5D__chunk_is_partial_edge_chunk
*
@ -6827,7 +6827,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* H5D__chunk_is_partial_edge_chunk() */
/*-------------------------------------------------------------------------
* Function: H5D__chunk_file_alloc()
*
@ -6961,7 +6961,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* H5D__chunk_file_alloc() */
/*-------------------------------------------------------------------------
* Function: H5D__chunk_format_convert_cb
*
@ -7058,7 +7058,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* H5D__chunk_format_convert_cb() */
/*-------------------------------------------------------------------------
* Function: H5D__chunk_format_convert
*
@ -7096,7 +7096,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5D__chunk_format_convert() */
/*-------------------------------------------------------------------------
* Function: H5D__get_num_chunks_cb
*
@ -7128,7 +7128,7 @@ H5D__get_num_chunks_cb(const H5D_chunk_rec_t H5_ATTR_UNUSED *chunk_rec, void *_u
FUNC_LEAVE_NOAPI(ret_value)
} /* H5D__get_num_chunks_cb() */
/*-------------------------------------------------------------------------
* Function: H5D__get_num_chunks
*
@ -7193,7 +7193,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5D__get_num_chunks() */
/*-------------------------------------------------------------------------
* Function: H5D__get_chunk_info_cb
*
@ -7240,7 +7240,7 @@ H5D__get_chunk_info_cb(const H5D_chunk_rec_t *chunk_rec, void *_udata)
FUNC_LEAVE_NOAPI(ret_value)
} /* H5D__get_chunk_info_cb() */
/*-------------------------------------------------------------------------
* Function: H5D__get_chunk_info
*
@ -7329,7 +7329,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5D__get_chunk_info() */
/*-------------------------------------------------------------------------
* Function: H5D__get_chunk_info_by_coord_cb
*
@ -7377,7 +7377,7 @@ H5D__get_chunk_info_by_coord_cb(const H5D_chunk_rec_t *chunk_rec, void *_udata)
FUNC_LEAVE_NOAPI(ret_value)
} /* H5D__get_chunk_info_by_coord_cb() */
/*-------------------------------------------------------------------------
* Function: H5D__get_chunk_info_by_coord
*

View File

@ -135,7 +135,7 @@ hbool_t H5_PKG_INIT_VAR = FALSE;
/* Flag indicating "top" of interface has been initialized */
static hbool_t H5R_top_package_initialize_s = FALSE;
/*--------------------------------------------------------------------------
NAME
H5R__init_package -- Initialize interface-specific information
@ -162,7 +162,7 @@ H5R__init_package(void)
FUNC_LEAVE_NOAPI(SUCCEED)
} /* end H5R__init_package() */
/*--------------------------------------------------------------------------
NAME
H5R_top_term_package
@ -196,7 +196,7 @@ H5R_top_term_package(void)
FUNC_LEAVE_NOAPI(n)
} /* end H5R_top_term_package() */
/*--------------------------------------------------------------------------
NAME
H5R_term_package
@ -236,7 +236,7 @@ H5R_term_package(void)
FUNC_LEAVE_NOAPI(n)
} /* end H5R_term_package() */
/*-------------------------------------------------------------------------
* Function: H5R__create_object
*
@ -277,7 +277,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5R__create_object() */
/*-------------------------------------------------------------------------
* Function: H5R__create_region
*
@ -328,7 +328,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* H5R__create_region */
/*-------------------------------------------------------------------------
* Function: H5R__create_attr
*
@ -379,7 +379,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* H5R__create_attr */
/*-------------------------------------------------------------------------
* Function: H5R__destroy
*
@ -431,7 +431,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5R__destroy() */
/*-------------------------------------------------------------------------
* Function: H5R__set_loc_id
*
@ -464,7 +464,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5R__set_loc_id() */
/*-------------------------------------------------------------------------
* Function: H5R__get_loc_id
*
@ -488,7 +488,7 @@ H5R__get_loc_id(const H5R_ref_priv_t *ref)
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5R__get_loc_id() */
/*-------------------------------------------------------------------------
* Function: H5R__reopen_file
*
@ -552,7 +552,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5R__reopen_file() */
/*-------------------------------------------------------------------------
* Function: H5R__get_type
*
@ -575,7 +575,7 @@ H5R__get_type(const H5R_ref_priv_t *ref)
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5R__get_type() */
/*-------------------------------------------------------------------------
* Function: H5R__equal
*
@ -640,7 +640,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5R__equal() */
/*-------------------------------------------------------------------------
* Function: H5R__copy
*
@ -705,7 +705,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5R__copy() */
/*-------------------------------------------------------------------------
* Function: H5R__get_obj_token
*
@ -738,7 +738,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5R__get_obj_token() */
/*-------------------------------------------------------------------------
* Function: H5R__set_obj_token
*
@ -767,7 +767,7 @@ H5R__set_obj_token(H5R_ref_priv_t *ref, const H5VL_token_t *obj_token,
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5R__set_obj_token() */
/*-------------------------------------------------------------------------
* Function: H5R__get_region
*
@ -798,7 +798,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5R__get_region() */
/*-------------------------------------------------------------------------
* Function: H5R__get_file_name
*
@ -840,7 +840,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5R__get_file_name() */
/*-------------------------------------------------------------------------
* Function: H5R__get_attr_name
*
@ -878,7 +878,7 @@ H5R__get_attr_name(const H5R_ref_priv_t *ref, char *buf, size_t size)
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5R__get_attr_name() */
/*-------------------------------------------------------------------------
* Function: H5R__encode
*
@ -973,7 +973,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5R__encode() */
/*-------------------------------------------------------------------------
* Function: H5R__decode
*
@ -1065,7 +1065,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5R__decode() */
/*-------------------------------------------------------------------------
* Function: H5R__encode_obj_token
*
@ -1100,7 +1100,7 @@ H5R__encode_obj_token(const H5VL_token_t *obj_token, size_t token_size,
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5R__encode_obj_token() */
/*-------------------------------------------------------------------------
* Function: H5R__decode_obj_token
*
@ -1142,7 +1142,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5R__decode_obj_token() */
/*-------------------------------------------------------------------------
* Function: H5R__encode_region
*
@ -1170,8 +1170,8 @@ H5R__encode_region(H5S_t *space, unsigned char *buf, size_t *nalloc)
/* Don't encode if buffer size isn't big enough or buffer is empty */
if(buf && *nalloc >= ((size_t)buf_size + 2 * H5_SIZEOF_UINT32_T)) {
p = (uint8_t *)buf;
int rank;
p = (uint8_t *)buf;
/* Encode the size for safety check */
UINT32ENCODE(p, (uint32_t)buf_size);
@ -1191,7 +1191,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5R__encode_region() */
/*-------------------------------------------------------------------------
* Function: H5R__decode_region
*
@ -1247,7 +1247,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5R__decode_region() */
/*-------------------------------------------------------------------------
* Function: H5R__encode_string
*
@ -1289,7 +1289,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5R__encode_string() */
/*-------------------------------------------------------------------------
* Function: H5R__decode_string
*
@ -1336,7 +1336,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5R__decode_string() */
/*-------------------------------------------------------------------------
* Function: H5R__encode_heap
*
@ -1377,7 +1377,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5R__encode_heap() */
/*-------------------------------------------------------------------------
* Function: H5R__decode_heap
*
@ -1424,7 +1424,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5R__decode_heap() */
/*-------------------------------------------------------------------------
* Function: H5R__free_heap
*
@ -1469,7 +1469,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5R__free_heap() */
/*-------------------------------------------------------------------------
* Function: H5R__decode_token_compat
*
@ -1527,7 +1527,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5R__decode_token_compat() */
/*-------------------------------------------------------------------------
* Function: H5R__encode_token_obj_compat
*
@ -1558,7 +1558,7 @@ H5R__encode_token_obj_compat(const H5VL_token_t *obj_token, size_t token_size,
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5R__encode_token_obj_compat() */
/*-------------------------------------------------------------------------
* Function: H5R__decode_token_obj_compat
*
@ -1593,7 +1593,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* H5R__decode_token_obj_compat() */
/*-------------------------------------------------------------------------
* Function: H5R__encode_token_region_compat
*
@ -1668,7 +1668,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* H5R__encode_token_region_compat() */
/*-------------------------------------------------------------------------
* Function: H5R__decode_token_region_compat
*