summaryrefslogtreecommitdiffstats
path: root/src/H5FDint.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5FDint.c')
-rw-r--r--src/H5FDint.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/H5FDint.c b/src/H5FDint.c
index 306b3dd..5dece6f 100644
--- a/src/H5FDint.c
+++ b/src/H5FDint.c
@@ -2018,7 +2018,7 @@ H5FD_set_eoa(H5FD_t *file, H5FD_mem_t type, haddr_t addr)
FUNC_ENTER_NOAPI(FAIL)
assert(file && file->cls);
- assert(H5F_addr_defined(addr) && addr <= file->maxaddr);
+ assert(H5_addr_defined(addr) && addr <= file->maxaddr);
/* Dispatch to driver, convert to absolute address */
if ((file->cls->set_eoa)(file, type, addr + file->base_addr) < 0)
@@ -2177,13 +2177,13 @@ H5FD__vsrt_tmp_cmp(const void *element_1, const void *element_2)
FUNC_ENTER_PACKAGE_NOERR
/* Sanity checks */
- assert(H5F_addr_defined(addr_1));
- assert(H5F_addr_defined(addr_2));
+ assert(H5_addr_defined(addr_1));
+ assert(H5_addr_defined(addr_2));
/* Compare the addresses */
- if (H5F_addr_gt(addr_1, addr_2))
+ if (H5_addr_gt(addr_1, addr_2))
ret_value = 1;
- else if (H5F_addr_lt(addr_1, addr_2))
+ else if (H5_addr_lt(addr_1, addr_2))
ret_value = -1;
FUNC_LEAVE_NOAPI(ret_value)
@@ -2223,11 +2223,11 @@ H5FD_sort_vector_io_req(hbool_t *vector_was_sorted, uint32_t _count, H5FD_mem_t
/* scan the addrs array to see if it is sorted */
for (i = 1; i < count; i++) {
- assert(H5F_addr_defined(addrs[i - 1]));
+ assert(H5_addr_defined(addrs[i - 1]));
- if (H5F_addr_gt(addrs[i - 1], addrs[i]))
+ if (H5_addr_gt(addrs[i - 1], addrs[i]))
break;
- else if (H5F_addr_eq(addrs[i - 1], addrs[i]))
+ else if (H5_addr_eq(addrs[i - 1], addrs[i]))
HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "duplicate addr in vector")
}
@@ -2282,9 +2282,9 @@ H5FD_sort_vector_io_req(hbool_t *vector_was_sorted, uint32_t _count, H5FD_mem_t
i = 1;
for (i = 1; i < count; i++) {
- assert(H5F_addr_lt(srt_tmp[i - 1].addr, srt_tmp[i].addr));
+ assert(H5_addr_lt(srt_tmp[i - 1].addr, srt_tmp[i].addr));
- if (H5F_addr_eq(addrs[i - 1], addrs[i]))
+ if (H5_addr_eq(addrs[i - 1], addrs[i]))
HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "duplicate addr in vector")
}