summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1998-10-06 21:37:57 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1998-10-06 21:37:57 (GMT)
commit2c4af336d30a42c3d12664ad0f08fbd96471c80f (patch)
tree560cd4eec035b47c1d2eb1c8236ef1cf189619c3 /test
parentdeeb5978c0377face944162fada47516e0ed063c (diff)
downloadhdf5-2c4af336d30a42c3d12664ad0f08fbd96471c80f.zip
hdf5-2c4af336d30a42c3d12664ad0f08fbd96471c80f.tar.gz
hdf5-2c4af336d30a42c3d12664ad0f08fbd96471c80f.tar.bz2
[svn-r739] Switched ragged array "H5R" API to "H5RA" to make room for the reference API.
Diffstat (limited to 'test')
-rw-r--r--test/.distdep30
-rw-r--r--test/ragged.c10
2 files changed, 20 insertions, 20 deletions
diff --git a/test/.distdep b/test/.distdep
index 0d2d589..a560909 100644
--- a/test/.distdep
+++ b/test/.distdep
@@ -198,7 +198,7 @@ dtypes.o: \
../src/H5Opublic.h \
../src/H5Ppublic.h \
../src/H5Zpublic.h \
- ../src/H5Rpublic.h \
+ ../src/H5RApublic.h \
../src/H5Spublic.h \
../src/H5Tpublic.h \
../src/H5Tpkg.h \
@@ -261,7 +261,7 @@ dsets.o: \
../src/H5Opublic.h \
../src/H5Ppublic.h \
../src/H5Zpublic.h \
- ../src/H5Rpublic.h \
+ ../src/H5RApublic.h \
../src/H5Spublic.h \
../src/H5Tpublic.h
cmpd_dset.o: \
@@ -284,7 +284,7 @@ cmpd_dset.o: \
../src/H5Opublic.h \
../src/H5Ppublic.h \
../src/H5Zpublic.h \
- ../src/H5Rpublic.h \
+ ../src/H5RApublic.h \
../src/H5Spublic.h \
../src/H5Tpublic.h
extend.o: \
@@ -307,7 +307,7 @@ extend.o: \
../src/H5Opublic.h \
../src/H5Ppublic.h \
../src/H5Zpublic.h \
- ../src/H5Rpublic.h
+ ../src/H5RApublic.h
external.o: \
external.c \
../src/hdf5.h \
@@ -328,7 +328,7 @@ external.o: \
../src/H5Opublic.h \
../src/H5Ppublic.h \
../src/H5Zpublic.h \
- ../src/H5Rpublic.h \
+ ../src/H5RApublic.h \
../src/H5Spublic.h \
../src/H5Tpublic.h
iopipe.o: \
@@ -351,7 +351,7 @@ iopipe.o: \
../src/H5Opublic.h \
../src/H5Ppublic.h \
../src/H5Zpublic.h \
- ../src/H5Rpublic.h \
+ ../src/H5RApublic.h \
../src/H5Spublic.h \
../src/H5Tpublic.h
gheap.o: \
@@ -393,7 +393,7 @@ shtype.o: \
../src/H5Opublic.h \
../src/H5Ppublic.h \
../src/H5Zpublic.h \
- ../src/H5Rpublic.h
+ ../src/H5RApublic.h
big.o: \
big.c \
../src/hdf5.h \
@@ -414,7 +414,7 @@ big.o: \
../src/H5Opublic.h \
../src/H5Ppublic.h \
../src/H5Zpublic.h \
- ../src/H5Rpublic.h \
+ ../src/H5RApublic.h \
../src/H5Spublic.h \
../src/H5Tpublic.h \
../src/H5private.h
@@ -438,7 +438,7 @@ links.o: \
../src/H5Opublic.h \
../src/H5Ppublic.h \
../src/H5Zpublic.h \
- ../src/H5Rpublic.h \
+ ../src/H5RApublic.h \
../src/H5Spublic.h
chunk.o: \
chunk.c \
@@ -460,7 +460,7 @@ chunk.o: \
../src/H5Opublic.h \
../src/H5Ppublic.h \
../src/H5Zpublic.h \
- ../src/H5Rpublic.h \
+ ../src/H5RApublic.h \
../src/H5Spublic.h
bittests.o: \
bittests.c \
@@ -498,7 +498,7 @@ mtime.o: \
../src/H5Opublic.h \
../src/H5Ppublic.h \
../src/H5Zpublic.h \
- ../src/H5Rpublic.h \
+ ../src/H5RApublic.h \
../src/H5Spublic.h \
../src/H5Tpublic.h \
../src/H5private.h
@@ -522,7 +522,7 @@ ragged.o: \
../src/H5Opublic.h \
../src/H5Ppublic.h \
../src/H5Zpublic.h \
- ../src/H5Rpublic.h \
+ ../src/H5RApublic.h \
../src/H5Spublic.h \
../src/H5Tpublic.h \
../src/H5private.h
@@ -546,7 +546,7 @@ unlink.o: \
../src/H5Opublic.h \
../src/H5Ppublic.h \
../src/H5Zpublic.h \
- ../src/H5Rpublic.h \
+ ../src/H5RApublic.h \
../src/H5Spublic.h
overhead.o: \
overhead.c \
@@ -568,7 +568,7 @@ overhead.o: \
../src/H5Opublic.h \
../src/H5Ppublic.h \
../src/H5Zpublic.h \
- ../src/H5Rpublic.h \
+ ../src/H5RApublic.h \
../src/H5Spublic.h \
../src/H5Tpublic.h
fillval.o: \
@@ -591,6 +591,6 @@ fillval.o: \
../src/H5Opublic.h \
../src/H5Ppublic.h \
../src/H5Zpublic.h \
- ../src/H5Rpublic.h \
+ ../src/H5RApublic.h \
../src/H5Spublic.h \
../src/H5Tpublic.h
diff --git a/test/ragged.c b/test/ragged.c
index e4e8a8c..f89412d 100644
--- a/test/ragged.c
+++ b/test/ragged.c
@@ -235,7 +235,7 @@ ragged_write_all(hid_t ra, hsize_t rows_at_once)
buf[i] = dd;
interval_nelmts += size[i];
}
- if (H5Rwrite(ra, row, i, H_MTYPE, size, buf)<0) goto error;
+ if (H5RAwrite(ra, row, i, H_MTYPE, size, buf)<0) goto error;
if (0==row || alarm_g || 0==timeout_g) {
alarm_g = 0;
H5_timer_end(&timer_total, &timer);
@@ -333,7 +333,7 @@ ragged_read_all(hid_t ra, hsize_t rows_at_once)
/* Clear data then read */
HDmemset(size, 0, rows_at_once*sizeof(*size));
HDmemset(buf, 0, rows_at_once*sizeof(*buf));
- if (H5Rread(ra, row, rows_at_once, H_MTYPE, size,
+ if (H5RAread(ra, row, rows_at_once, H_MTYPE, size,
(void**)buf)<0) {
goto error;
}
@@ -470,7 +470,7 @@ ragged_read_short(hid_t ra, hsize_t rows_at_once, hsize_t width)
/* Read data */
for (i=0; i<rows_at_once; i++) size[i] = width;
- if (H5Rread(ra, row, rows_at_once, H_MTYPE, size,
+ if (H5RAread(ra, row, rows_at_once, H_MTYPE, size,
(void**)buf)<0) {
goto error;
}
@@ -612,7 +612,7 @@ main(int argc, char *argv[])
printf("Chunk size is %lu by %lu\n",
(unsigned long)(ch_size[0]), (unsigned long)(ch_size[1]));
if (H5Pset_chunk(dcpl, 2, ch_size)<0) goto error;
- if ((ra=H5Rcreate(file, "ra", H_FTYPE, dcpl))<0) goto error;
+ if ((ra=H5RAcreate(file, "ra", H_FTYPE, dcpl))<0) goto error;
if (H5Pclose(dcpl)<0) goto error;
/* The tests */
@@ -630,7 +630,7 @@ main(int argc, char *argv[])
rand_nelmts(1);
/* Cleanup */
- if (H5Rclose(ra)<0) goto error;
+ if (H5RAclose(ra)<0) goto error;
if (H5Fclose(file)<0) goto error;
puts("All ragged array tests passed.");