summaryrefslogtreecommitdiffstats
path: root/src/H5Fio.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-07-27 23:39:48 (GMT)
committerGitHub <noreply@github.com>2023-07-27 23:39:48 (GMT)
commit38e234b620595f3eac5ff68dd71d4b29cfd46b18 (patch)
tree905658547118279ea17cab8ffac2820d865b3b92 /src/H5Fio.c
parente286b6e706b28330a64115c13c11ae832536b857 (diff)
downloadhdf5-38e234b620595f3eac5ff68dd71d4b29cfd46b18.zip
hdf5-38e234b620595f3eac5ff68dd71d4b29cfd46b18.tar.gz
hdf5-38e234b620595f3eac5ff68dd71d4b29cfd46b18.tar.bz2
Convert H5F_addr calls to H5_addr (#3297)
Diffstat (limited to 'src/H5Fio.c')
-rw-r--r--src/H5Fio.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/H5Fio.c b/src/H5Fio.c
index cd87152..6b0e9ab 100644
--- a/src/H5Fio.c
+++ b/src/H5Fio.c
@@ -85,10 +85,10 @@ H5F_shared_block_read(H5F_shared_t *f_sh, H5FD_mem_t type, haddr_t addr, size_t
/* Sanity checks */
assert(f_sh);
assert(buf);
- assert(H5F_addr_defined(addr));
+ assert(H5_addr_defined(addr));
/* Check for attempting I/O on 'temporary' file address */
- if (H5F_addr_le(f_sh->tmp_addr, (addr + size)))
+ if (H5_addr_le(f_sh->tmp_addr, (addr + size)))
HGOTO_ERROR(H5E_IO, H5E_BADRANGE, FAIL, "attempting I/O in temporary file space")
/* Treat global heap as raw data */
@@ -125,10 +125,10 @@ H5F_block_read(H5F_t *f, H5FD_mem_t type, haddr_t addr, size_t size, void *buf /
assert(f);
assert(f->shared);
assert(buf);
- assert(H5F_addr_defined(addr));
+ assert(H5_addr_defined(addr));
/* Check for attempting I/O on 'temporary' file address */
- if (H5F_addr_le(f->shared->tmp_addr, (addr + size)))
+ if (H5_addr_le(f->shared->tmp_addr, (addr + size)))
HGOTO_ERROR(H5E_IO, H5E_BADRANGE, FAIL, "attempting I/O in temporary file space")
/* Treat global heap as raw data */
@@ -165,10 +165,10 @@ H5F_shared_block_write(H5F_shared_t *f_sh, H5FD_mem_t type, haddr_t addr, size_t
assert(f_sh);
assert(H5F_SHARED_INTENT(f_sh) & H5F_ACC_RDWR);
assert(buf);
- assert(H5F_addr_defined(addr));
+ assert(H5_addr_defined(addr));
/* Check for attempting I/O on 'temporary' file address */
- if (H5F_addr_le(f_sh->tmp_addr, (addr + size)))
+ if (H5_addr_le(f_sh->tmp_addr, (addr + size)))
HGOTO_ERROR(H5E_IO, H5E_BADRANGE, FAIL, "attempting I/O in temporary file space")
/* Treat global heap as raw data */
@@ -206,10 +206,10 @@ H5F_block_write(H5F_t *f, H5FD_mem_t type, haddr_t addr, size_t size, const void
assert(f->shared);
assert(H5F_INTENT(f) & H5F_ACC_RDWR);
assert(buf);
- assert(H5F_addr_defined(addr));
+ assert(H5_addr_defined(addr));
/* Check for attempting I/O on 'temporary' file address */
- if (H5F_addr_le(f->shared->tmp_addr, (addr + size)))
+ if (H5_addr_le(f->shared->tmp_addr, (addr + size)))
HGOTO_ERROR(H5E_IO, H5E_BADRANGE, FAIL, "attempting I/O in temporary file space")
/* Treat global heap as raw data */