summaryrefslogtreecommitdiffstats
path: root/Tests/JacocoCoverage/Coverage/src/main
Commit message (Expand)AuthorAgeFilesLines
* CTest: Add Jacoco Coverage functionalityJoseph Snyder2014-06-121-0/+52
='inactive/NPOESS'>inactive/NPOESS Mirror from: https://github.com/HDFGroup/hdf5.git
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-04-11 16:22:16 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-04-11 16:22:16 (GMT)
commit9d2070890b0cfb2c8a406906da0470e948141db4 (patch)
tree567cc6f6c36d67c78be5e79b3529d30bcbe06a50
parent78158e8dbffcbf025257a72bb42c1fbe8c7660b7 (diff)
downloadhdf5-9d2070890b0cfb2c8a406906da0470e948141db4.zip
hdf5-9d2070890b0cfb2c8a406906da0470e948141db4.tar.gz
hdf5-9d2070890b0cfb2c8a406906da0470e948141db4.tar.bz2
[svn-r13636] Description:
Change H5[D|G|T]<foo>_expand() "temporary" API routines to H5[D|G|T]<foo>2() "versioned" routines. Also added H5[D|G|T](create|commit)_anon() routines to continue to allow "anonymous" objects to be created in a file. Tested on: Mac OS X/32 10.4.9 (amazon) FreeBSD/32 6.2 (duty) FreeBSD/64 6.2 (liberty) Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
Diffstat
-rw-r--r--MANIFEST3
-rw-r--r--examples/h5_extlink.c10
-rw-r--r--release_docs/RELEASE.txt2
-rw-r--r--src/H5D.c294
-rw-r--r--src/H5Ddeprec.c256
-rw-r--r--src/H5Doh.c74
-rw-r--r--src/H5Dpkg.h16
-rw-r--r--src/H5Dpublic.h20
-rw-r--r--src/H5G.c538
-rw-r--r--src/H5Gdeprec.c167
-rw-r--r--src/H5Gint.c200
-rw-r--r--src/H5Goh.c67
-rw-r--r--src/H5Gpkg.h31
-rw-r--r--src/H5Gprivate.h2
-rw-r--r--src/H5Gpublic.h10
-rw-r--r--src/H5Gtraverse.c39
-rw-r--r--src/H5L.c157
-rw-r--r--src/H5Lexternal.c6
-rw-r--r--src/H5Lpkg.h2
-rw-r--r--src/H5Lprivate.h10
-rw-r--r--src/H5O.c48
-rw-r--r--src/H5Opkg.h1
-rw-r--r--src/H5Oprivate.h8
-rw-r--r--src/H5Tcommit.c282
-rw-r--r--src/H5Tdeprec.c223
-rw-r--r--src/H5Toh.c62
-rw-r--r--src/H5Tpkg.h12
-rw-r--r--src/H5Tpublic.h19
-rwxr-xr-xsrc/Makefile.am8
-rw-r--r--src/Makefile.in15
-rw-r--r--test/links.c162
-rw-r--r--test/stab.c9
-rw-r--r--test/th5o.c18
-rw-r--r--test/tmisc.c111
-rw-r--r--test/unlink.c3
-rw-r--r--tools/misc/h5mkgrp.c10
-rw-r--r--tools/testfiles/h5mkgrp_nested.ls4
-rw-r--r--tools/testfiles/h5mkgrp_nested_latest.ls4
-rw-r--r--tools/testfiles/h5mkgrp_nested_mult.ls8
-rw-r--r--tools/testfiles/h5mkgrp_nested_mult_latest.ls8
40 files changed, 1845 insertions, 1074 deletions
diff --git a/MANIFEST b/MANIFEST
index 8e37cdd..4bbf5b8 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -455,6 +455,7 @@
./src/H5D.c
./src/H5Dcompact.c
./src/H5Dcontig.c
+./src/H5Ddeprec.c
./src/H5Defl.c
./src/H5Dio.c
./src/H5Distore.c
@@ -524,6 +525,7 @@
./src/H5Gdense.c
./src/H5Gdeprec.c
./src/H5Gent.c
+./src/H5Gint.c
./src/H5Glink.c
./src/H5Gloc.c
./src/H5Gname.c
@@ -671,6 +673,7 @@
./src/H5Tcompound.c
./src/H5Tconv.c
./src/H5Tcset.c
+./src/H5Tdeprec.c
./src/H5Tenum.c
./src/H5Tfields.c
./src/H5Tfixed.c
diff --git a/examples/h5_extlink.c b/examples/h5_extlink.c
index dd5a834..113d269 100644
--- a/examples/h5_extlink.c
+++ b/examples/h5_extlink.c
@@ -148,9 +148,9 @@ static void extlink_prefix_example(void)
/* Now if we traverse the external link, HDF5 will look for an external
* file named red/prefix_target.h5, which exists.
- * To pass the group access property list, we need to use H5Gopen_expand.
+ * To pass the group access property list, we need to use H5Gopen2.
*/
- group_id = H5Gopen_expand(source_file_id, "ext_link", gapl_id);
+ group_id = H5Gopen2(source_file_id, "ext_link", gapl_id);
/* Now we can use the open group ID to create a new group inside the
* "red" file.
@@ -165,7 +165,7 @@ static void extlink_prefix_example(void)
* directory.
*/
H5Pset_elink_prefix(gapl_id, "blue/");
- group_id = H5Gopen_expand(source_file_id, "ext_link", gapl_id);
+ group_id = H5Gopen2(source_file_id, "ext_link", gapl_id);
group2_id = H5Gcreate(group_id, "sky blue", (size_t) 0);
/* Close both groups. */
@@ -591,14 +591,14 @@ static void plist_link_example(void)
/* Open the first group through the plist link using the GAPL we just
* created */
- group_id = H5Gopen_expand(file_id, "plist_link", gapl_id);
+ group_id = H5Gopen2(file_id, "plist_link", gapl_id);
/* If we change the value set on the property list, it will change where
* the plist link points.
*/
path = "group_1/group_2";
H5Pset(gapl_id, PLIST_LINK_PROP, &path);
- group2_id = H5Gopen_expand(file_id, "plist_link", gapl_id);
+ group2_id = H5Gopen2(file_id, "plist_link", gapl_id);
/* group_id points to group_1 and group2_id points to group_2, both opened
* through the same link.
diff --git a/release_docs/RELEASE.txt b/release_docs/RELEASE.txt
index 8a83b96..09533f8 100644
--- a/release_docs/RELEASE.txt
+++ b/release_docs/RELEASE.txt
@@ -259,7 +259,7 @@ New Features
H5Lget_val - just like H5Gget_linkval
H5Lget_info - gets link-specific info (like H5Gget_objinfo)
- In addition, H5Gcreate_expand, H5Tcommit_expand, and H5Dcreate_expand
+ In addition, H5Gcreate_anon, H5Tcommit_anon, and H5Dcreate_anon
no longer create links to objects; objects must be manually linked
using H5Llink or they will be deleted when the ID is closed.
diff --git a/src/H5D.c b/src/H5D.c