mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-17 16:10:24 +08:00
[svn-r27506] H5Dset_extent no longer holds all printf source datasets open.
Other items identified during reviews. Tested: ummon
This commit is contained in:
parent
cefda2ef0c
commit
1eff550df3
@ -1114,8 +1114,6 @@ H5D__virtual_copy_parsed_name(H5O_storage_virtual_name_seg_t **dst,
|
||||
if(NULL == ((*p_dst)->name_segment = HDstrdup(p_src->name_segment)))
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTALLOC, FAIL, "unable to duplicate name segment")
|
||||
} /* end if */
|
||||
else
|
||||
(*p_dst)->name_segment = NULL;
|
||||
|
||||
/* Advance pointers */
|
||||
p_src = p_src->next;
|
||||
@ -1463,9 +1461,16 @@ H5D__virtual_set_extent_unlim(const H5D_t *dset, hid_t dxpl_id)
|
||||
if(H5D__virtual_open_source_dset(dset, &storage->list[i], &storage->list[i].sub_dset[j], dxpl_id) < 0)
|
||||
HGOTO_ERROR(H5E_DATASET, H5E_CANTOPENOBJ, FAIL, "unable to open source dataset")
|
||||
|
||||
/* Update first_missing */
|
||||
if(storage->list[i].sub_dset[j].dset)
|
||||
if(storage->list[i].sub_dset[j].dset) {
|
||||
/* Update first_missing */
|
||||
first_missing = j + 1;
|
||||
|
||||
/* Close source dataset so we don't have huge
|
||||
* numbers of datasets open */
|
||||
if(H5D_close(storage->list[i].sub_dset[j].dset) < 0)
|
||||
HDONE_ERROR(H5E_DATASET, H5E_CLOSEERROR, FAIL, "unable to close source dataset")
|
||||
storage->list[i].sub_dset[j].dset = NULL;
|
||||
} /* end if */
|
||||
} /* end else */
|
||||
} /* end for */
|
||||
|
||||
|
249
src/H5Edefin.h
249
src/H5Edefin.h
@ -21,42 +21,69 @@
|
||||
#define _H5Edefin_H
|
||||
|
||||
/* Major error IDs */
|
||||
hid_t H5E_FUNC_g = FAIL; /* Function entry/exit */
|
||||
hid_t H5E_FILE_g = FAIL; /* File accessibilty */
|
||||
hid_t H5E_SOHM_g = FAIL; /* Shared Object Header Messages */
|
||||
hid_t H5E_SYM_g = FAIL; /* Symbol table */
|
||||
hid_t H5E_PLUGIN_g = FAIL; /* Plugin for dynamically loaded library */
|
||||
hid_t H5E_VFL_g = FAIL; /* Virtual File Layer */
|
||||
hid_t H5E_INTERNAL_g = FAIL; /* Internal error (too specific to document in detail) */
|
||||
hid_t H5E_BTREE_g = FAIL; /* B-Tree node */
|
||||
hid_t H5E_REFERENCE_g = FAIL; /* References */
|
||||
hid_t H5E_DATASPACE_g = FAIL; /* Dataspace */
|
||||
hid_t H5E_RESOURCE_g = FAIL; /* Resource unavailable */
|
||||
hid_t H5E_RS_g = FAIL; /* Reference Counted Strings */
|
||||
hid_t H5E_FARRAY_g = FAIL; /* Fixed Array */
|
||||
hid_t H5E_HEAP_g = FAIL; /* Heap */
|
||||
hid_t H5E_ATTR_g = FAIL; /* Attribute */
|
||||
hid_t H5E_IO_g = FAIL; /* Low-level I/O */
|
||||
hid_t H5E_EFL_g = FAIL; /* External file list */
|
||||
hid_t H5E_TST_g = FAIL; /* Ternary Search Trees */
|
||||
hid_t H5E_FSPACE_g = FAIL; /* Free Space Manager */
|
||||
hid_t H5E_DATASET_g = FAIL; /* Dataset */
|
||||
hid_t H5E_STORAGE_g = FAIL; /* Data storage */
|
||||
hid_t H5E_LINK_g = FAIL; /* Links */
|
||||
hid_t H5E_PLIST_g = FAIL; /* Property lists */
|
||||
hid_t H5E_DATATYPE_g = FAIL; /* Datatype */
|
||||
hid_t H5E_OHDR_g = FAIL; /* Object header */
|
||||
hid_t H5E_ATOM_g = FAIL; /* Object atom */
|
||||
hid_t H5E_NONE_MAJOR_g = FAIL; /* No error */
|
||||
hid_t H5E_SLIST_g = FAIL; /* Skip Lists */
|
||||
hid_t H5E_ARGS_g = FAIL; /* Invalid arguments to routine */
|
||||
hid_t H5E_EARRAY_g = FAIL; /* Extensible Array */
|
||||
hid_t H5E_PLINE_g = FAIL; /* Data filters */
|
||||
hid_t H5E_ERROR_g = FAIL; /* Error API */
|
||||
hid_t H5E_PLIST_g = FAIL; /* Property lists */
|
||||
hid_t H5E_NONE_MAJOR_g = FAIL; /* No error */
|
||||
hid_t H5E_FSPACE_g = FAIL; /* Free Space Manager */
|
||||
hid_t H5E_STORAGE_g = FAIL; /* Data storage */
|
||||
hid_t H5E_CACHE_g = FAIL; /* Object cache */
|
||||
hid_t H5E_IO_g = FAIL; /* Low-level I/O */
|
||||
hid_t H5E_INTERNAL_g = FAIL; /* Internal error (too specific to document in detail) */
|
||||
hid_t H5E_SYM_g = FAIL; /* Symbol table */
|
||||
hid_t H5E_DATASPACE_g = FAIL; /* Dataspace */
|
||||
hid_t H5E_FARRAY_g = FAIL; /* Fixed Array */
|
||||
hid_t H5E_OHDR_g = FAIL; /* Object header */
|
||||
hid_t H5E_SOHM_g = FAIL; /* Shared Object Header Messages */
|
||||
hid_t H5E_EFL_g = FAIL; /* External file list */
|
||||
hid_t H5E_SLIST_g = FAIL; /* Skip Lists */
|
||||
hid_t H5E_BTREE_g = FAIL; /* B-Tree node */
|
||||
hid_t H5E_PLUGIN_g = FAIL; /* Plugin for dynamically loaded library */
|
||||
hid_t H5E_ATOM_g = FAIL; /* Object atom */
|
||||
hid_t H5E_FILE_g = FAIL; /* File accessibilty */
|
||||
hid_t H5E_HEAP_g = FAIL; /* Heap */
|
||||
hid_t H5E_VFL_g = FAIL; /* Virtual File Layer */
|
||||
hid_t H5E_DATASET_g = FAIL; /* Dataset */
|
||||
hid_t H5E_LINK_g = FAIL; /* Links */
|
||||
hid_t H5E_PLINE_g = FAIL; /* Data filters */
|
||||
hid_t H5E_FUNC_g = FAIL; /* Function entry/exit */
|
||||
hid_t H5E_TST_g = FAIL; /* Ternary Search Trees */
|
||||
hid_t H5E_ATTR_g = FAIL; /* Attribute */
|
||||
hid_t H5E_ERROR_g = FAIL; /* Error API */
|
||||
hid_t H5E_ARGS_g = FAIL; /* Invalid arguments to routine */
|
||||
hid_t H5E_RESOURCE_g = FAIL; /* Resource unavailable */
|
||||
hid_t H5E_DATATYPE_g = FAIL; /* Datatype */
|
||||
hid_t H5E_RS_g = FAIL; /* Reference Counted Strings */
|
||||
hid_t H5E_REFERENCE_g = FAIL; /* References */
|
||||
|
||||
/* Minor error IDs */
|
||||
|
||||
/* No error */
|
||||
hid_t H5E_NONE_MINOR_g = FAIL; /* No error */
|
||||
|
||||
/* Group related errors */
|
||||
hid_t H5E_CANTOPENOBJ_g = FAIL; /* Can't open object */
|
||||
hid_t H5E_CANTCLOSEOBJ_g = FAIL; /* Can't close object */
|
||||
hid_t H5E_COMPLEN_g = FAIL; /* Name component is too long */
|
||||
hid_t H5E_PATH_g = FAIL; /* Problem with path to object */
|
||||
|
||||
/* Function entry/exit interface errors */
|
||||
hid_t H5E_CANTINIT_g = FAIL; /* Unable to initialize object */
|
||||
hid_t H5E_ALREADYINIT_g = FAIL; /* Object already initialized */
|
||||
hid_t H5E_CANTRELEASE_g = FAIL; /* Unable to release object */
|
||||
|
||||
/* Parallel MPI errors */
|
||||
hid_t H5E_MPI_g = FAIL; /* Some MPI function failed */
|
||||
hid_t H5E_MPIERRSTR_g = FAIL; /* MPI Error String */
|
||||
hid_t H5E_CANTRECV_g = FAIL; /* Can't receive data */
|
||||
|
||||
/* Object atom related errors */
|
||||
hid_t H5E_BADATOM_g = FAIL; /* Unable to find atom information (already closed?) */
|
||||
hid_t H5E_BADGROUP_g = FAIL; /* Unable to find ID group information */
|
||||
hid_t H5E_CANTREGISTER_g = FAIL; /* Unable to register new atom */
|
||||
hid_t H5E_CANTINC_g = FAIL; /* Unable to increment reference count */
|
||||
hid_t H5E_CANTDEC_g = FAIL; /* Unable to decrement reference count */
|
||||
hid_t H5E_NOIDS_g = FAIL; /* Out of IDs for group */
|
||||
|
||||
/* Generic low-level file I/O errors */
|
||||
hid_t H5E_SEEKERROR_g = FAIL; /* Seek failed */
|
||||
hid_t H5E_READERROR_g = FAIL; /* Read failed */
|
||||
@ -65,56 +92,6 @@ hid_t H5E_CLOSEERROR_g = FAIL; /* Close failed */
|
||||
hid_t H5E_OVERFLOW_g = FAIL; /* Address overflowed */
|
||||
hid_t H5E_FCNTL_g = FAIL; /* File control (fcntl) failed */
|
||||
|
||||
/* Resource errors */
|
||||
hid_t H5E_NOSPACE_g = FAIL; /* No space available for allocation */
|
||||
hid_t H5E_CANTALLOC_g = FAIL; /* Can't allocate space */
|
||||
hid_t H5E_CANTCOPY_g = FAIL; /* Unable to copy object */
|
||||
hid_t H5E_CANTFREE_g = FAIL; /* Unable to free object */
|
||||
hid_t H5E_ALREADYEXISTS_g = FAIL; /* Object already exists */
|
||||
hid_t H5E_CANTLOCK_g = FAIL; /* Unable to lock object */
|
||||
hid_t H5E_CANTUNLOCK_g = FAIL; /* Unable to unlock object */
|
||||
hid_t H5E_CANTGC_g = FAIL; /* Unable to garbage collect */
|
||||
hid_t H5E_CANTGETSIZE_g = FAIL; /* Unable to compute size */
|
||||
hid_t H5E_OBJOPEN_g = FAIL; /* Object is already open */
|
||||
|
||||
/* Heap errors */
|
||||
hid_t H5E_CANTRESTORE_g = FAIL; /* Can't restore condition */
|
||||
hid_t H5E_CANTCOMPUTE_g = FAIL; /* Can't compute value */
|
||||
hid_t H5E_CANTEXTEND_g = FAIL; /* Can't extend heap's space */
|
||||
hid_t H5E_CANTATTACH_g = FAIL; /* Can't attach object */
|
||||
hid_t H5E_CANTUPDATE_g = FAIL; /* Can't update object */
|
||||
hid_t H5E_CANTOPERATE_g = FAIL; /* Can't operate on object */
|
||||
|
||||
/* Function entry/exit interface errors */
|
||||
hid_t H5E_CANTINIT_g = FAIL; /* Unable to initialize object */
|
||||
hid_t H5E_ALREADYINIT_g = FAIL; /* Object already initialized */
|
||||
hid_t H5E_CANTRELEASE_g = FAIL; /* Unable to release object */
|
||||
|
||||
/* Property list errors */
|
||||
hid_t H5E_CANTGET_g = FAIL; /* Can't get value */
|
||||
hid_t H5E_CANTSET_g = FAIL; /* Can't set value */
|
||||
hid_t H5E_DUPCLASS_g = FAIL; /* Duplicate class name in parent class */
|
||||
hid_t H5E_SETDISALLOWED_g = FAIL; /* Disallowed operation */
|
||||
|
||||
/* Free space errors */
|
||||
hid_t H5E_CANTMERGE_g = FAIL; /* Can't merge objects */
|
||||
hid_t H5E_CANTREVIVE_g = FAIL; /* Can't revive object */
|
||||
hid_t H5E_CANTSHRINK_g = FAIL; /* Can't shrink container */
|
||||
|
||||
/* Object header related errors */
|
||||
hid_t H5E_LINKCOUNT_g = FAIL; /* Bad object header link count */
|
||||
hid_t H5E_VERSION_g = FAIL; /* Wrong version number */
|
||||
hid_t H5E_ALIGNMENT_g = FAIL; /* Alignment error */
|
||||
hid_t H5E_BADMESG_g = FAIL; /* Unrecognized message */
|
||||
hid_t H5E_CANTDELETE_g = FAIL; /* Can't delete message */
|
||||
hid_t H5E_BADITER_g = FAIL; /* Iteration failed */
|
||||
hid_t H5E_CANTPACK_g = FAIL; /* Can't pack messages */
|
||||
hid_t H5E_CANTRESET_g = FAIL; /* Can't reset object */
|
||||
hid_t H5E_CANTRENAME_g = FAIL; /* Unable to rename object */
|
||||
|
||||
/* System level errors */
|
||||
hid_t H5E_SYSERRSTR_g = FAIL; /* System error message */
|
||||
|
||||
/* I/O pipeline errors */
|
||||
hid_t H5E_NOFILTER_g = FAIL; /* Requested filter is not available */
|
||||
hid_t H5E_CALLBACK_g = FAIL; /* Callback failed */
|
||||
@ -123,14 +100,11 @@ hid_t H5E_SETLOCAL_g = FAIL; /* Error from filter 'set local' callbac
|
||||
hid_t H5E_NOENCODER_g = FAIL; /* Filter present but encoding disabled */
|
||||
hid_t H5E_CANTFILTER_g = FAIL; /* Filter operation failed */
|
||||
|
||||
/* Group related errors */
|
||||
hid_t H5E_CANTOPENOBJ_g = FAIL; /* Can't open object */
|
||||
hid_t H5E_CANTCLOSEOBJ_g = FAIL; /* Can't close object */
|
||||
hid_t H5E_COMPLEN_g = FAIL; /* Name component is too long */
|
||||
hid_t H5E_PATH_g = FAIL; /* Problem with path to object */
|
||||
|
||||
/* No error */
|
||||
hid_t H5E_NONE_MINOR_g = FAIL; /* No error */
|
||||
/* Property list errors */
|
||||
hid_t H5E_CANTGET_g = FAIL; /* Can't get value */
|
||||
hid_t H5E_CANTSET_g = FAIL; /* Can't set value */
|
||||
hid_t H5E_DUPCLASS_g = FAIL; /* Duplicate class name in parent class */
|
||||
hid_t H5E_SETDISALLOWED_g = FAIL; /* Disallowed operation */
|
||||
|
||||
/* Plugin errors */
|
||||
hid_t H5E_OPENERROR_g = FAIL; /* Can't open directory or file */
|
||||
@ -146,14 +120,6 @@ hid_t H5E_BADFILE_g = FAIL; /* Bad file ID accessed */
|
||||
hid_t H5E_TRUNCATED_g = FAIL; /* File has been truncated */
|
||||
hid_t H5E_MOUNT_g = FAIL; /* File mount error */
|
||||
|
||||
/* Object atom related errors */
|
||||
hid_t H5E_BADATOM_g = FAIL; /* Unable to find atom information (already closed?) */
|
||||
hid_t H5E_BADGROUP_g = FAIL; /* Unable to find ID group information */
|
||||
hid_t H5E_CANTREGISTER_g = FAIL; /* Unable to register new atom */
|
||||
hid_t H5E_CANTINC_g = FAIL; /* Unable to increment reference count */
|
||||
hid_t H5E_CANTDEC_g = FAIL; /* Unable to decrement reference count */
|
||||
hid_t H5E_NOIDS_g = FAIL; /* Out of IDs for group */
|
||||
|
||||
/* Cache related errors */
|
||||
hid_t H5E_CANTFLUSH_g = FAIL; /* Unable to flush data from cache */
|
||||
hid_t H5E_CANTSERIALIZE_g = FAIL; /* Unable to serialize data from cache */
|
||||
@ -175,33 +141,6 @@ hid_t H5E_CANTDEPEND_g = FAIL; /* Unable to create a flush dependency *
|
||||
hid_t H5E_CANTUNDEPEND_g = FAIL; /* Unable to destroy a flush dependency */
|
||||
hid_t H5E_CANTNOTIFY_g = FAIL; /* Unable to notify object about action */
|
||||
|
||||
/* Link related errors */
|
||||
hid_t H5E_TRAVERSE_g = FAIL; /* Link traversal failure */
|
||||
hid_t H5E_NLINKS_g = FAIL; /* Too many soft links in path */
|
||||
hid_t H5E_NOTREGISTERED_g = FAIL; /* Link class not registered */
|
||||
hid_t H5E_CANTMOVE_g = FAIL; /* Can't move object */
|
||||
hid_t H5E_CANTSORT_g = FAIL; /* Can't sort objects */
|
||||
|
||||
/* Parallel MPI errors */
|
||||
hid_t H5E_MPI_g = FAIL; /* Some MPI function failed */
|
||||
hid_t H5E_MPIERRSTR_g = FAIL; /* MPI Error String */
|
||||
hid_t H5E_CANTRECV_g = FAIL; /* Can't receive data */
|
||||
|
||||
/* Dataspace errors */
|
||||
hid_t H5E_CANTCLIP_g = FAIL; /* Can't clip hyperslab region */
|
||||
hid_t H5E_CANTCOUNT_g = FAIL; /* Can't count elements */
|
||||
hid_t H5E_CANTSELECT_g = FAIL; /* Can't select hyperslab */
|
||||
hid_t H5E_CANTNEXT_g = FAIL; /* Can't move to next iterator location */
|
||||
hid_t H5E_BADSELECT_g = FAIL; /* Invalid selection */
|
||||
hid_t H5E_CANTCOMPARE_g = FAIL; /* Can't compare objects */
|
||||
|
||||
/* Argument errors */
|
||||
hid_t H5E_UNINITIALIZED_g = FAIL; /* Information is uinitialized */
|
||||
hid_t H5E_UNSUPPORTED_g = FAIL; /* Feature is unsupported */
|
||||
hid_t H5E_BADTYPE_g = FAIL; /* Inappropriate type */
|
||||
hid_t H5E_BADRANGE_g = FAIL; /* Out of range */
|
||||
hid_t H5E_BADVALUE_g = FAIL; /* Bad value */
|
||||
|
||||
/* B-tree related errors */
|
||||
hid_t H5E_NOTFOUND_g = FAIL; /* Object not found */
|
||||
hid_t H5E_EXISTS_g = FAIL; /* Object already exists */
|
||||
@ -215,6 +154,68 @@ hid_t H5E_CANTLIST_g = FAIL; /* Unable to list node */
|
||||
hid_t H5E_CANTMODIFY_g = FAIL; /* Unable to modify record */
|
||||
hid_t H5E_CANTREMOVE_g = FAIL; /* Unable to remove object */
|
||||
|
||||
/* Resource errors */
|
||||
hid_t H5E_NOSPACE_g = FAIL; /* No space available for allocation */
|
||||
hid_t H5E_CANTALLOC_g = FAIL; /* Can't allocate space */
|
||||
hid_t H5E_CANTCOPY_g = FAIL; /* Unable to copy object */
|
||||
hid_t H5E_CANTFREE_g = FAIL; /* Unable to free object */
|
||||
hid_t H5E_ALREADYEXISTS_g = FAIL; /* Object already exists */
|
||||
hid_t H5E_CANTLOCK_g = FAIL; /* Unable to lock object */
|
||||
hid_t H5E_CANTUNLOCK_g = FAIL; /* Unable to unlock object */
|
||||
hid_t H5E_CANTGC_g = FAIL; /* Unable to garbage collect */
|
||||
hid_t H5E_CANTGETSIZE_g = FAIL; /* Unable to compute size */
|
||||
hid_t H5E_OBJOPEN_g = FAIL; /* Object is already open */
|
||||
|
||||
/* Object header related errors */
|
||||
hid_t H5E_LINKCOUNT_g = FAIL; /* Bad object header link count */
|
||||
hid_t H5E_VERSION_g = FAIL; /* Wrong version number */
|
||||
hid_t H5E_ALIGNMENT_g = FAIL; /* Alignment error */
|
||||
hid_t H5E_BADMESG_g = FAIL; /* Unrecognized message */
|
||||
hid_t H5E_CANTDELETE_g = FAIL; /* Can't delete message */
|
||||
hid_t H5E_BADITER_g = FAIL; /* Iteration failed */
|
||||
hid_t H5E_CANTPACK_g = FAIL; /* Can't pack messages */
|
||||
hid_t H5E_CANTRESET_g = FAIL; /* Can't reset object */
|
||||
hid_t H5E_CANTRENAME_g = FAIL; /* Unable to rename object */
|
||||
|
||||
/* Link related errors */
|
||||
hid_t H5E_TRAVERSE_g = FAIL; /* Link traversal failure */
|
||||
hid_t H5E_NLINKS_g = FAIL; /* Too many soft links in path */
|
||||
hid_t H5E_NOTREGISTERED_g = FAIL; /* Link class not registered */
|
||||
hid_t H5E_CANTMOVE_g = FAIL; /* Can't move object */
|
||||
hid_t H5E_CANTSORT_g = FAIL; /* Can't sort objects */
|
||||
|
||||
/* Argument errors */
|
||||
hid_t H5E_UNINITIALIZED_g = FAIL; /* Information is uinitialized */
|
||||
hid_t H5E_UNSUPPORTED_g = FAIL; /* Feature is unsupported */
|
||||
hid_t H5E_BADTYPE_g = FAIL; /* Inappropriate type */
|
||||
hid_t H5E_BADRANGE_g = FAIL; /* Out of range */
|
||||
hid_t H5E_BADVALUE_g = FAIL; /* Bad value */
|
||||
|
||||
/* System level errors */
|
||||
hid_t H5E_SYSERRSTR_g = FAIL; /* System error message */
|
||||
|
||||
/* Free space errors */
|
||||
hid_t H5E_CANTMERGE_g = FAIL; /* Can't merge objects */
|
||||
hid_t H5E_CANTREVIVE_g = FAIL; /* Can't revive object */
|
||||
hid_t H5E_CANTSHRINK_g = FAIL; /* Can't shrink container */
|
||||
|
||||
/* Dataspace errors */
|
||||
hid_t H5E_CANTCLIP_g = FAIL; /* Can't clip hyperslab region */
|
||||
hid_t H5E_CANTCOUNT_g = FAIL; /* Can't count elements */
|
||||
hid_t H5E_CANTSELECT_g = FAIL; /* Can't select hyperslab */
|
||||
hid_t H5E_CANTNEXT_g = FAIL; /* Can't move to next iterator location */
|
||||
hid_t H5E_BADSELECT_g = FAIL; /* Invalid selection */
|
||||
hid_t H5E_CANTCOMPARE_g = FAIL; /* Can't compare objects */
|
||||
hid_t H5E_CANTAPPEND_g = FAIL; /* Can't append object */
|
||||
|
||||
/* Heap errors */
|
||||
hid_t H5E_CANTRESTORE_g = FAIL; /* Can't restore condition */
|
||||
hid_t H5E_CANTCOMPUTE_g = FAIL; /* Can't compute value */
|
||||
hid_t H5E_CANTEXTEND_g = FAIL; /* Can't extend heap's space */
|
||||
hid_t H5E_CANTATTACH_g = FAIL; /* Can't attach object */
|
||||
hid_t H5E_CANTUPDATE_g = FAIL; /* Can't update object */
|
||||
hid_t H5E_CANTOPERATE_g = FAIL; /* Can't operate on object */
|
||||
|
||||
/* Datatype conversion errors */
|
||||
hid_t H5E_CANTCONVERT_g = FAIL; /* Can't convert datatypes */
|
||||
hid_t H5E_BADSIZE_g = FAIL; /* Bad size for object */
|
||||
|
991
src/H5Einit.h
991
src/H5Einit.h
File diff suppressed because it is too large
Load Diff
444
src/H5Epubgen.h
444
src/H5Epubgen.h
@ -24,77 +24,121 @@
|
||||
/* Major error codes */
|
||||
/*********************/
|
||||
|
||||
#define H5E_FUNC (H5OPEN H5E_FUNC_g)
|
||||
#define H5E_FILE (H5OPEN H5E_FILE_g)
|
||||
#define H5E_SOHM (H5OPEN H5E_SOHM_g)
|
||||
#define H5E_SYM (H5OPEN H5E_SYM_g)
|
||||
#define H5E_PLUGIN (H5OPEN H5E_PLUGIN_g)
|
||||
#define H5E_VFL (H5OPEN H5E_VFL_g)
|
||||
#define H5E_INTERNAL (H5OPEN H5E_INTERNAL_g)
|
||||
#define H5E_BTREE (H5OPEN H5E_BTREE_g)
|
||||
#define H5E_REFERENCE (H5OPEN H5E_REFERENCE_g)
|
||||
#define H5E_DATASPACE (H5OPEN H5E_DATASPACE_g)
|
||||
#define H5E_RESOURCE (H5OPEN H5E_RESOURCE_g)
|
||||
#define H5E_RS (H5OPEN H5E_RS_g)
|
||||
#define H5E_FARRAY (H5OPEN H5E_FARRAY_g)
|
||||
#define H5E_HEAP (H5OPEN H5E_HEAP_g)
|
||||
#define H5E_ATTR (H5OPEN H5E_ATTR_g)
|
||||
#define H5E_IO (H5OPEN H5E_IO_g)
|
||||
#define H5E_EFL (H5OPEN H5E_EFL_g)
|
||||
#define H5E_TST (H5OPEN H5E_TST_g)
|
||||
#define H5E_FSPACE (H5OPEN H5E_FSPACE_g)
|
||||
#define H5E_DATASET (H5OPEN H5E_DATASET_g)
|
||||
#define H5E_STORAGE (H5OPEN H5E_STORAGE_g)
|
||||
#define H5E_LINK (H5OPEN H5E_LINK_g)
|
||||
#define H5E_PLIST (H5OPEN H5E_PLIST_g)
|
||||
#define H5E_DATATYPE (H5OPEN H5E_DATATYPE_g)
|
||||
#define H5E_OHDR (H5OPEN H5E_OHDR_g)
|
||||
#define H5E_ATOM (H5OPEN H5E_ATOM_g)
|
||||
#define H5E_NONE_MAJOR (H5OPEN H5E_NONE_MAJOR_g)
|
||||
#define H5E_SLIST (H5OPEN H5E_SLIST_g)
|
||||
#define H5E_ARGS (H5OPEN H5E_ARGS_g)
|
||||
#define H5E_EARRAY (H5OPEN H5E_EARRAY_g)
|
||||
#define H5E_PLINE (H5OPEN H5E_PLINE_g)
|
||||
#define H5E_ERROR (H5OPEN H5E_ERROR_g)
|
||||
#define H5E_PLIST (H5OPEN H5E_PLIST_g)
|
||||
#define H5E_NONE_MAJOR (H5OPEN H5E_NONE_MAJOR_g)
|
||||
#define H5E_FSPACE (H5OPEN H5E_FSPACE_g)
|
||||
#define H5E_STORAGE (H5OPEN H5E_STORAGE_g)
|
||||
#define H5E_CACHE (H5OPEN H5E_CACHE_g)
|
||||
H5_DLLVAR hid_t H5E_FUNC_g; /* Function entry/exit */
|
||||
H5_DLLVAR hid_t H5E_FILE_g; /* File accessibilty */
|
||||
H5_DLLVAR hid_t H5E_SOHM_g; /* Shared Object Header Messages */
|
||||
H5_DLLVAR hid_t H5E_SYM_g; /* Symbol table */
|
||||
H5_DLLVAR hid_t H5E_PLUGIN_g; /* Plugin for dynamically loaded library */
|
||||
H5_DLLVAR hid_t H5E_VFL_g; /* Virtual File Layer */
|
||||
H5_DLLVAR hid_t H5E_INTERNAL_g; /* Internal error (too specific to document in detail) */
|
||||
H5_DLLVAR hid_t H5E_BTREE_g; /* B-Tree node */
|
||||
H5_DLLVAR hid_t H5E_REFERENCE_g; /* References */
|
||||
H5_DLLVAR hid_t H5E_DATASPACE_g; /* Dataspace */
|
||||
H5_DLLVAR hid_t H5E_RESOURCE_g; /* Resource unavailable */
|
||||
H5_DLLVAR hid_t H5E_RS_g; /* Reference Counted Strings */
|
||||
H5_DLLVAR hid_t H5E_FARRAY_g; /* Fixed Array */
|
||||
H5_DLLVAR hid_t H5E_HEAP_g; /* Heap */
|
||||
H5_DLLVAR hid_t H5E_ATTR_g; /* Attribute */
|
||||
H5_DLLVAR hid_t H5E_IO_g; /* Low-level I/O */
|
||||
H5_DLLVAR hid_t H5E_EFL_g; /* External file list */
|
||||
H5_DLLVAR hid_t H5E_TST_g; /* Ternary Search Trees */
|
||||
H5_DLLVAR hid_t H5E_FSPACE_g; /* Free Space Manager */
|
||||
H5_DLLVAR hid_t H5E_DATASET_g; /* Dataset */
|
||||
H5_DLLVAR hid_t H5E_STORAGE_g; /* Data storage */
|
||||
H5_DLLVAR hid_t H5E_LINK_g; /* Links */
|
||||
H5_DLLVAR hid_t H5E_PLIST_g; /* Property lists */
|
||||
H5_DLLVAR hid_t H5E_DATATYPE_g; /* Datatype */
|
||||
H5_DLLVAR hid_t H5E_OHDR_g; /* Object header */
|
||||
H5_DLLVAR hid_t H5E_ATOM_g; /* Object atom */
|
||||
H5_DLLVAR hid_t H5E_NONE_MAJOR_g; /* No error */
|
||||
H5_DLLVAR hid_t H5E_SLIST_g; /* Skip Lists */
|
||||
H5_DLLVAR hid_t H5E_ARGS_g; /* Invalid arguments to routine */
|
||||
#define H5E_IO (H5OPEN H5E_IO_g)
|
||||
#define H5E_INTERNAL (H5OPEN H5E_INTERNAL_g)
|
||||
#define H5E_SYM (H5OPEN H5E_SYM_g)
|
||||
#define H5E_DATASPACE (H5OPEN H5E_DATASPACE_g)
|
||||
#define H5E_FARRAY (H5OPEN H5E_FARRAY_g)
|
||||
#define H5E_OHDR (H5OPEN H5E_OHDR_g)
|
||||
#define H5E_SOHM (H5OPEN H5E_SOHM_g)
|
||||
#define H5E_EFL (H5OPEN H5E_EFL_g)
|
||||
#define H5E_SLIST (H5OPEN H5E_SLIST_g)
|
||||
#define H5E_BTREE (H5OPEN H5E_BTREE_g)
|
||||
#define H5E_PLUGIN (H5OPEN H5E_PLUGIN_g)
|
||||
#define H5E_ATOM (H5OPEN H5E_ATOM_g)
|
||||
#define H5E_FILE (H5OPEN H5E_FILE_g)
|
||||
#define H5E_HEAP (H5OPEN H5E_HEAP_g)
|
||||
#define H5E_VFL (H5OPEN H5E_VFL_g)
|
||||
#define H5E_DATASET (H5OPEN H5E_DATASET_g)
|
||||
#define H5E_LINK (H5OPEN H5E_LINK_g)
|
||||
#define H5E_PLINE (H5OPEN H5E_PLINE_g)
|
||||
#define H5E_FUNC (H5OPEN H5E_FUNC_g)
|
||||
#define H5E_TST (H5OPEN H5E_TST_g)
|
||||
#define H5E_ATTR (H5OPEN H5E_ATTR_g)
|
||||
#define H5E_ERROR (H5OPEN H5E_ERROR_g)
|
||||
#define H5E_ARGS (H5OPEN H5E_ARGS_g)
|
||||
#define H5E_RESOURCE (H5OPEN H5E_RESOURCE_g)
|
||||
#define H5E_DATATYPE (H5OPEN H5E_DATATYPE_g)
|
||||
#define H5E_RS (H5OPEN H5E_RS_g)
|
||||
#define H5E_REFERENCE (H5OPEN H5E_REFERENCE_g)
|
||||
H5_DLLVAR hid_t H5E_EARRAY_g; /* Extensible Array */
|
||||
H5_DLLVAR hid_t H5E_PLINE_g; /* Data filters */
|
||||
H5_DLLVAR hid_t H5E_ERROR_g; /* Error API */
|
||||
H5_DLLVAR hid_t H5E_PLIST_g; /* Property lists */
|
||||
H5_DLLVAR hid_t H5E_NONE_MAJOR_g; /* No error */
|
||||
H5_DLLVAR hid_t H5E_FSPACE_g; /* Free Space Manager */
|
||||
H5_DLLVAR hid_t H5E_STORAGE_g; /* Data storage */
|
||||
H5_DLLVAR hid_t H5E_CACHE_g; /* Object cache */
|
||||
H5_DLLVAR hid_t H5E_IO_g; /* Low-level I/O */
|
||||
H5_DLLVAR hid_t H5E_INTERNAL_g; /* Internal error (too specific to document in detail) */
|
||||
H5_DLLVAR hid_t H5E_SYM_g; /* Symbol table */
|
||||
H5_DLLVAR hid_t H5E_DATASPACE_g; /* Dataspace */
|
||||
H5_DLLVAR hid_t H5E_FARRAY_g; /* Fixed Array */
|
||||
H5_DLLVAR hid_t H5E_OHDR_g; /* Object header */
|
||||
H5_DLLVAR hid_t H5E_SOHM_g; /* Shared Object Header Messages */
|
||||
H5_DLLVAR hid_t H5E_EFL_g; /* External file list */
|
||||
H5_DLLVAR hid_t H5E_SLIST_g; /* Skip Lists */
|
||||
H5_DLLVAR hid_t H5E_BTREE_g; /* B-Tree node */
|
||||
H5_DLLVAR hid_t H5E_PLUGIN_g; /* Plugin for dynamically loaded library */
|
||||
H5_DLLVAR hid_t H5E_ATOM_g; /* Object atom */
|
||||
H5_DLLVAR hid_t H5E_FILE_g; /* File accessibilty */
|
||||
H5_DLLVAR hid_t H5E_HEAP_g; /* Heap */
|
||||
H5_DLLVAR hid_t H5E_VFL_g; /* Virtual File Layer */
|
||||
H5_DLLVAR hid_t H5E_DATASET_g; /* Dataset */
|
||||
H5_DLLVAR hid_t H5E_LINK_g; /* Links */
|
||||
H5_DLLVAR hid_t H5E_PLINE_g; /* Data filters */
|
||||
H5_DLLVAR hid_t H5E_FUNC_g; /* Function entry/exit */
|
||||
H5_DLLVAR hid_t H5E_TST_g; /* Ternary Search Trees */
|
||||
H5_DLLVAR hid_t H5E_ATTR_g; /* Attribute */
|
||||
H5_DLLVAR hid_t H5E_ERROR_g; /* Error API */
|
||||
H5_DLLVAR hid_t H5E_ARGS_g; /* Invalid arguments to routine */
|
||||
H5_DLLVAR hid_t H5E_RESOURCE_g; /* Resource unavailable */
|
||||
H5_DLLVAR hid_t H5E_DATATYPE_g; /* Datatype */
|
||||
H5_DLLVAR hid_t H5E_RS_g; /* Reference Counted Strings */
|
||||
H5_DLLVAR hid_t H5E_REFERENCE_g; /* References */
|
||||
|
||||
/*********************/
|
||||
/* Minor error codes */
|
||||
/*********************/
|
||||
|
||||
/* No error */
|
||||
#define H5E_NONE_MINOR (H5OPEN H5E_NONE_MINOR_g)
|
||||
H5_DLLVAR hid_t H5E_NONE_MINOR_g; /* No error */
|
||||
|
||||
/* Group related errors */
|
||||
#define H5E_CANTOPENOBJ (H5OPEN H5E_CANTOPENOBJ_g)
|
||||
#define H5E_CANTCLOSEOBJ (H5OPEN H5E_CANTCLOSEOBJ_g)
|
||||
#define H5E_COMPLEN (H5OPEN H5E_COMPLEN_g)
|
||||
#define H5E_PATH (H5OPEN H5E_PATH_g)
|
||||
H5_DLLVAR hid_t H5E_CANTOPENOBJ_g; /* Can't open object */
|
||||
H5_DLLVAR hid_t H5E_CANTCLOSEOBJ_g; /* Can't close object */
|
||||
H5_DLLVAR hid_t H5E_COMPLEN_g; /* Name component is too long */
|
||||
H5_DLLVAR hid_t H5E_PATH_g; /* Problem with path to object */
|
||||
|
||||
/* Function entry/exit interface errors */
|
||||
#define H5E_CANTINIT (H5OPEN H5E_CANTINIT_g)
|
||||
#define H5E_ALREADYINIT (H5OPEN H5E_ALREADYINIT_g)
|
||||
#define H5E_CANTRELEASE (H5OPEN H5E_CANTRELEASE_g)
|
||||
H5_DLLVAR hid_t H5E_CANTINIT_g; /* Unable to initialize object */
|
||||
H5_DLLVAR hid_t H5E_ALREADYINIT_g; /* Object already initialized */
|
||||
H5_DLLVAR hid_t H5E_CANTRELEASE_g; /* Unable to release object */
|
||||
|
||||
/* Parallel MPI errors */
|
||||
#define H5E_MPI (H5OPEN H5E_MPI_g)
|
||||
#define H5E_MPIERRSTR (H5OPEN H5E_MPIERRSTR_g)
|
||||
#define H5E_CANTRECV (H5OPEN H5E_CANTRECV_g)
|
||||
H5_DLLVAR hid_t H5E_MPI_g; /* Some MPI function failed */
|
||||
H5_DLLVAR hid_t H5E_MPIERRSTR_g; /* MPI Error String */
|
||||
H5_DLLVAR hid_t H5E_CANTRECV_g; /* Can't receive data */
|
||||
|
||||
/* Object atom related errors */
|
||||
#define H5E_BADATOM (H5OPEN H5E_BADATOM_g)
|
||||
#define H5E_BADGROUP (H5OPEN H5E_BADGROUP_g)
|
||||
#define H5E_CANTREGISTER (H5OPEN H5E_CANTREGISTER_g)
|
||||
#define H5E_CANTINC (H5OPEN H5E_CANTINC_g)
|
||||
#define H5E_CANTDEC (H5OPEN H5E_CANTDEC_g)
|
||||
#define H5E_NOIDS (H5OPEN H5E_NOIDS_g)
|
||||
H5_DLLVAR hid_t H5E_BADATOM_g; /* Unable to find atom information (already closed?) */
|
||||
H5_DLLVAR hid_t H5E_BADGROUP_g; /* Unable to find ID group information */
|
||||
H5_DLLVAR hid_t H5E_CANTREGISTER_g; /* Unable to register new atom */
|
||||
H5_DLLVAR hid_t H5E_CANTINC_g; /* Unable to increment reference count */
|
||||
H5_DLLVAR hid_t H5E_CANTDEC_g; /* Unable to decrement reference count */
|
||||
H5_DLLVAR hid_t H5E_NOIDS_g; /* Out of IDs for group */
|
||||
|
||||
/* Generic low-level file I/O errors */
|
||||
#define H5E_SEEKERROR (H5OPEN H5E_SEEKERROR_g)
|
||||
#define H5E_READERROR (H5OPEN H5E_READERROR_g)
|
||||
@ -109,92 +153,6 @@ H5_DLLVAR hid_t H5E_CLOSEERROR_g; /* Close failed */
|
||||
H5_DLLVAR hid_t H5E_OVERFLOW_g; /* Address overflowed */
|
||||
H5_DLLVAR hid_t H5E_FCNTL_g; /* File control (fcntl) failed */
|
||||
|
||||
/* Resource errors */
|
||||
#define H5E_NOSPACE (H5OPEN H5E_NOSPACE_g)
|
||||
#define H5E_CANTALLOC (H5OPEN H5E_CANTALLOC_g)
|
||||
#define H5E_CANTCOPY (H5OPEN H5E_CANTCOPY_g)
|
||||
#define H5E_CANTFREE (H5OPEN H5E_CANTFREE_g)
|
||||
#define H5E_ALREADYEXISTS (H5OPEN H5E_ALREADYEXISTS_g)
|
||||
#define H5E_CANTLOCK (H5OPEN H5E_CANTLOCK_g)
|
||||
#define H5E_CANTUNLOCK (H5OPEN H5E_CANTUNLOCK_g)
|
||||
#define H5E_CANTGC (H5OPEN H5E_CANTGC_g)
|
||||
#define H5E_CANTGETSIZE (H5OPEN H5E_CANTGETSIZE_g)
|
||||
#define H5E_OBJOPEN (H5OPEN H5E_OBJOPEN_g)
|
||||
H5_DLLVAR hid_t H5E_NOSPACE_g; /* No space available for allocation */
|
||||
H5_DLLVAR hid_t H5E_CANTALLOC_g; /* Can't allocate space */
|
||||
H5_DLLVAR hid_t H5E_CANTCOPY_g; /* Unable to copy object */
|
||||
H5_DLLVAR hid_t H5E_CANTFREE_g; /* Unable to free object */
|
||||
H5_DLLVAR hid_t H5E_ALREADYEXISTS_g; /* Object already exists */
|
||||
H5_DLLVAR hid_t H5E_CANTLOCK_g; /* Unable to lock object */
|
||||
H5_DLLVAR hid_t H5E_CANTUNLOCK_g; /* Unable to unlock object */
|
||||
H5_DLLVAR hid_t H5E_CANTGC_g; /* Unable to garbage collect */
|
||||
H5_DLLVAR hid_t H5E_CANTGETSIZE_g; /* Unable to compute size */
|
||||
H5_DLLVAR hid_t H5E_OBJOPEN_g; /* Object is already open */
|
||||
|
||||
/* Heap errors */
|
||||
#define H5E_CANTRESTORE (H5OPEN H5E_CANTRESTORE_g)
|
||||
#define H5E_CANTCOMPUTE (H5OPEN H5E_CANTCOMPUTE_g)
|
||||
#define H5E_CANTEXTEND (H5OPEN H5E_CANTEXTEND_g)
|
||||
#define H5E_CANTATTACH (H5OPEN H5E_CANTATTACH_g)
|
||||
#define H5E_CANTUPDATE (H5OPEN H5E_CANTUPDATE_g)
|
||||
#define H5E_CANTOPERATE (H5OPEN H5E_CANTOPERATE_g)
|
||||
H5_DLLVAR hid_t H5E_CANTRESTORE_g; /* Can't restore condition */
|
||||
H5_DLLVAR hid_t H5E_CANTCOMPUTE_g; /* Can't compute value */
|
||||
H5_DLLVAR hid_t H5E_CANTEXTEND_g; /* Can't extend heap's space */
|
||||
H5_DLLVAR hid_t H5E_CANTATTACH_g; /* Can't attach object */
|
||||
H5_DLLVAR hid_t H5E_CANTUPDATE_g; /* Can't update object */
|
||||
H5_DLLVAR hid_t H5E_CANTOPERATE_g; /* Can't operate on object */
|
||||
|
||||
/* Function entry/exit interface errors */
|
||||
#define H5E_CANTINIT (H5OPEN H5E_CANTINIT_g)
|
||||
#define H5E_ALREADYINIT (H5OPEN H5E_ALREADYINIT_g)
|
||||
#define H5E_CANTRELEASE (H5OPEN H5E_CANTRELEASE_g)
|
||||
H5_DLLVAR hid_t H5E_CANTINIT_g; /* Unable to initialize object */
|
||||
H5_DLLVAR hid_t H5E_ALREADYINIT_g; /* Object already initialized */
|
||||
H5_DLLVAR hid_t H5E_CANTRELEASE_g; /* Unable to release object */
|
||||
|
||||
/* Property list errors */
|
||||
#define H5E_CANTGET (H5OPEN H5E_CANTGET_g)
|
||||
#define H5E_CANTSET (H5OPEN H5E_CANTSET_g)
|
||||
#define H5E_DUPCLASS (H5OPEN H5E_DUPCLASS_g)
|
||||
#define H5E_SETDISALLOWED (H5OPEN H5E_SETDISALLOWED_g)
|
||||
H5_DLLVAR hid_t H5E_CANTGET_g; /* Can't get value */
|
||||
H5_DLLVAR hid_t H5E_CANTSET_g; /* Can't set value */
|
||||
H5_DLLVAR hid_t H5E_DUPCLASS_g; /* Duplicate class name in parent class */
|
||||
H5_DLLVAR hid_t H5E_SETDISALLOWED_g; /* Disallowed operation */
|
||||
|
||||
/* Free space errors */
|
||||
#define H5E_CANTMERGE (H5OPEN H5E_CANTMERGE_g)
|
||||
#define H5E_CANTREVIVE (H5OPEN H5E_CANTREVIVE_g)
|
||||
#define H5E_CANTSHRINK (H5OPEN H5E_CANTSHRINK_g)
|
||||
H5_DLLVAR hid_t H5E_CANTMERGE_g; /* Can't merge objects */
|
||||
H5_DLLVAR hid_t H5E_CANTREVIVE_g; /* Can't revive object */
|
||||
H5_DLLVAR hid_t H5E_CANTSHRINK_g; /* Can't shrink container */
|
||||
|
||||
/* Object header related errors */
|
||||
#define H5E_LINKCOUNT (H5OPEN H5E_LINKCOUNT_g)
|
||||
#define H5E_VERSION (H5OPEN H5E_VERSION_g)
|
||||
#define H5E_ALIGNMENT (H5OPEN H5E_ALIGNMENT_g)
|
||||
#define H5E_BADMESG (H5OPEN H5E_BADMESG_g)
|
||||
#define H5E_CANTDELETE (H5OPEN H5E_CANTDELETE_g)
|
||||
#define H5E_BADITER (H5OPEN H5E_BADITER_g)
|
||||
#define H5E_CANTPACK (H5OPEN H5E_CANTPACK_g)
|
||||
#define H5E_CANTRESET (H5OPEN H5E_CANTRESET_g)
|
||||
#define H5E_CANTRENAME (H5OPEN H5E_CANTRENAME_g)
|
||||
H5_DLLVAR hid_t H5E_LINKCOUNT_g; /* Bad object header link count */
|
||||
H5_DLLVAR hid_t H5E_VERSION_g; /* Wrong version number */
|
||||
H5_DLLVAR hid_t H5E_ALIGNMENT_g; /* Alignment error */
|
||||
H5_DLLVAR hid_t H5E_BADMESG_g; /* Unrecognized message */
|
||||
H5_DLLVAR hid_t H5E_CANTDELETE_g; /* Can't delete message */
|
||||
H5_DLLVAR hid_t H5E_BADITER_g; /* Iteration failed */
|
||||
H5_DLLVAR hid_t H5E_CANTPACK_g; /* Can't pack messages */
|
||||
H5_DLLVAR hid_t H5E_CANTRESET_g; /* Can't reset object */
|
||||
H5_DLLVAR hid_t H5E_CANTRENAME_g; /* Unable to rename object */
|
||||
|
||||
/* System level errors */
|
||||
#define H5E_SYSERRSTR (H5OPEN H5E_SYSERRSTR_g)
|
||||
H5_DLLVAR hid_t H5E_SYSERRSTR_g; /* System error message */
|
||||
|
||||
/* I/O pipeline errors */
|
||||
#define H5E_NOFILTER (H5OPEN H5E_NOFILTER_g)
|
||||
#define H5E_CALLBACK (H5OPEN H5E_CALLBACK_g)
|
||||
@ -209,19 +167,15 @@ H5_DLLVAR hid_t H5E_SETLOCAL_g; /* Error from filter 'set local' callback *
|
||||
H5_DLLVAR hid_t H5E_NOENCODER_g; /* Filter present but encoding disabled */
|
||||
H5_DLLVAR hid_t H5E_CANTFILTER_g; /* Filter operation failed */
|
||||
|
||||
/* Group related errors */
|
||||
#define H5E_CANTOPENOBJ (H5OPEN H5E_CANTOPENOBJ_g)
|
||||
#define H5E_CANTCLOSEOBJ (H5OPEN H5E_CANTCLOSEOBJ_g)
|
||||
#define H5E_COMPLEN (H5OPEN H5E_COMPLEN_g)
|
||||
#define H5E_PATH (H5OPEN H5E_PATH_g)
|
||||
H5_DLLVAR hid_t H5E_CANTOPENOBJ_g; /* Can't open object */
|
||||
H5_DLLVAR hid_t H5E_CANTCLOSEOBJ_g; /* Can't close object */
|
||||
H5_DLLVAR hid_t H5E_COMPLEN_g; /* Name component is too long */
|
||||
H5_DLLVAR hid_t H5E_PATH_g; /* Problem with path to object */
|
||||
|
||||
/* No error */
|
||||
#define H5E_NONE_MINOR (H5OPEN H5E_NONE_MINOR_g)
|
||||
H5_DLLVAR hid_t H5E_NONE_MINOR_g; /* No error */
|
||||
/* Property list errors */
|
||||
#define H5E_CANTGET (H5OPEN H5E_CANTGET_g)
|
||||
#define H5E_CANTSET (H5OPEN H5E_CANTSET_g)
|
||||
#define H5E_DUPCLASS (H5OPEN H5E_DUPCLASS_g)
|
||||
#define H5E_SETDISALLOWED (H5OPEN H5E_SETDISALLOWED_g)
|
||||
H5_DLLVAR hid_t H5E_CANTGET_g; /* Can't get value */
|
||||
H5_DLLVAR hid_t H5E_CANTSET_g; /* Can't set value */
|
||||
H5_DLLVAR hid_t H5E_DUPCLASS_g; /* Duplicate class name in parent class */
|
||||
H5_DLLVAR hid_t H5E_SETDISALLOWED_g; /* Disallowed operation */
|
||||
|
||||
/* Plugin errors */
|
||||
#define H5E_OPENERROR (H5OPEN H5E_OPENERROR_g)
|
||||
@ -247,20 +201,6 @@ H5_DLLVAR hid_t H5E_BADFILE_g; /* Bad file ID accessed */
|
||||
H5_DLLVAR hid_t H5E_TRUNCATED_g; /* File has been truncated */
|
||||
H5_DLLVAR hid_t H5E_MOUNT_g; /* File mount error */
|
||||
|
||||
/* Object atom related errors */
|
||||
#define H5E_BADATOM (H5OPEN H5E_BADATOM_g)
|
||||
#define H5E_BADGROUP (H5OPEN H5E_BADGROUP_g)
|
||||
#define H5E_CANTREGISTER (H5OPEN H5E_CANTREGISTER_g)
|
||||
#define H5E_CANTINC (H5OPEN H5E_CANTINC_g)
|
||||
#define H5E_CANTDEC (H5OPEN H5E_CANTDEC_g)
|
||||
#define H5E_NOIDS (H5OPEN H5E_NOIDS_g)
|
||||
H5_DLLVAR hid_t H5E_BADATOM_g; /* Unable to find atom information (already closed?) */
|
||||
H5_DLLVAR hid_t H5E_BADGROUP_g; /* Unable to find ID group information */
|
||||
H5_DLLVAR hid_t H5E_CANTREGISTER_g; /* Unable to register new atom */
|
||||
H5_DLLVAR hid_t H5E_CANTINC_g; /* Unable to increment reference count */
|
||||
H5_DLLVAR hid_t H5E_CANTDEC_g; /* Unable to decrement reference count */
|
||||
H5_DLLVAR hid_t H5E_NOIDS_g; /* Out of IDs for group */
|
||||
|
||||
/* Cache related errors */
|
||||
#define H5E_CANTFLUSH (H5OPEN H5E_CANTFLUSH_g)
|
||||
#define H5E_CANTSERIALIZE (H5OPEN H5E_CANTSERIALIZE_g)
|
||||
@ -301,52 +241,6 @@ H5_DLLVAR hid_t H5E_CANTDEPEND_g; /* Unable to create a flush dependency */
|
||||
H5_DLLVAR hid_t H5E_CANTUNDEPEND_g; /* Unable to destroy a flush dependency */
|
||||
H5_DLLVAR hid_t H5E_CANTNOTIFY_g; /* Unable to notify object about action */
|
||||
|
||||
/* Link related errors */
|
||||
#define H5E_TRAVERSE (H5OPEN H5E_TRAVERSE_g)
|
||||
#define H5E_NLINKS (H5OPEN H5E_NLINKS_g)
|
||||
#define H5E_NOTREGISTERED (H5OPEN H5E_NOTREGISTERED_g)
|
||||
#define H5E_CANTMOVE (H5OPEN H5E_CANTMOVE_g)
|
||||
#define H5E_CANTSORT (H5OPEN H5E_CANTSORT_g)
|
||||
H5_DLLVAR hid_t H5E_TRAVERSE_g; /* Link traversal failure */
|
||||
H5_DLLVAR hid_t H5E_NLINKS_g; /* Too many soft links in path */
|
||||
H5_DLLVAR hid_t H5E_NOTREGISTERED_g; /* Link class not registered */
|
||||
H5_DLLVAR hid_t H5E_CANTMOVE_g; /* Can't move object */
|
||||
H5_DLLVAR hid_t H5E_CANTSORT_g; /* Can't sort objects */
|
||||
|
||||
/* Parallel MPI errors */
|
||||
#define H5E_MPI (H5OPEN H5E_MPI_g)
|
||||
#define H5E_MPIERRSTR (H5OPEN H5E_MPIERRSTR_g)
|
||||
#define H5E_CANTRECV (H5OPEN H5E_CANTRECV_g)
|
||||
H5_DLLVAR hid_t H5E_MPI_g; /* Some MPI function failed */
|
||||
H5_DLLVAR hid_t H5E_MPIERRSTR_g; /* MPI Error String */
|
||||
H5_DLLVAR hid_t H5E_CANTRECV_g; /* Can't receive data */
|
||||
|
||||
/* Dataspace errors */
|
||||
#define H5E_CANTCLIP (H5OPEN H5E_CANTCLIP_g)
|
||||
#define H5E_CANTCOUNT (H5OPEN H5E_CANTCOUNT_g)
|
||||
#define H5E_CANTSELECT (H5OPEN H5E_CANTSELECT_g)
|
||||
#define H5E_CANTNEXT (H5OPEN H5E_CANTNEXT_g)
|
||||
#define H5E_BADSELECT (H5OPEN H5E_BADSELECT_g)
|
||||
#define H5E_CANTCOMPARE (H5OPEN H5E_CANTCOMPARE_g)
|
||||
H5_DLLVAR hid_t H5E_CANTCLIP_g; /* Can't clip hyperslab region */
|
||||
H5_DLLVAR hid_t H5E_CANTCOUNT_g; /* Can't count elements */
|
||||
H5_DLLVAR hid_t H5E_CANTSELECT_g; /* Can't select hyperslab */
|
||||
H5_DLLVAR hid_t H5E_CANTNEXT_g; /* Can't move to next iterator location */
|
||||
H5_DLLVAR hid_t H5E_BADSELECT_g; /* Invalid selection */
|
||||
H5_DLLVAR hid_t H5E_CANTCOMPARE_g; /* Can't compare objects */
|
||||
|
||||
/* Argument errors */
|
||||
#define H5E_UNINITIALIZED (H5OPEN H5E_UNINITIALIZED_g)
|
||||
#define H5E_UNSUPPORTED (H5OPEN H5E_UNSUPPORTED_g)
|
||||
#define H5E_BADTYPE (H5OPEN H5E_BADTYPE_g)
|
||||
#define H5E_BADRANGE (H5OPEN H5E_BADRANGE_g)
|
||||
#define H5E_BADVALUE (H5OPEN H5E_BADVALUE_g)
|
||||
H5_DLLVAR hid_t H5E_UNINITIALIZED_g; /* Information is uinitialized */
|
||||
H5_DLLVAR hid_t H5E_UNSUPPORTED_g; /* Feature is unsupported */
|
||||
H5_DLLVAR hid_t H5E_BADTYPE_g; /* Inappropriate type */
|
||||
H5_DLLVAR hid_t H5E_BADRANGE_g; /* Out of range */
|
||||
H5_DLLVAR hid_t H5E_BADVALUE_g; /* Bad value */
|
||||
|
||||
/* B-tree related errors */
|
||||
#define H5E_NOTFOUND (H5OPEN H5E_NOTFOUND_g)
|
||||
#define H5E_EXISTS (H5OPEN H5E_EXISTS_g)
|
||||
@ -371,6 +265,114 @@ H5_DLLVAR hid_t H5E_CANTLIST_g; /* Unable to list node */
|
||||
H5_DLLVAR hid_t H5E_CANTMODIFY_g; /* Unable to modify record */
|
||||
H5_DLLVAR hid_t H5E_CANTREMOVE_g; /* Unable to remove object */
|
||||
|
||||
/* Resource errors */
|
||||
#define H5E_NOSPACE (H5OPEN H5E_NOSPACE_g)
|
||||
#define H5E_CANTALLOC (H5OPEN H5E_CANTALLOC_g)
|
||||
#define H5E_CANTCOPY (H5OPEN H5E_CANTCOPY_g)
|
||||
#define H5E_CANTFREE (H5OPEN H5E_CANTFREE_g)
|
||||
#define H5E_ALREADYEXISTS (H5OPEN H5E_ALREADYEXISTS_g)
|
||||
#define H5E_CANTLOCK (H5OPEN H5E_CANTLOCK_g)
|
||||
#define H5E_CANTUNLOCK (H5OPEN H5E_CANTUNLOCK_g)
|
||||
#define H5E_CANTGC (H5OPEN H5E_CANTGC_g)
|
||||
#define H5E_CANTGETSIZE (H5OPEN H5E_CANTGETSIZE_g)
|
||||
#define H5E_OBJOPEN (H5OPEN H5E_OBJOPEN_g)
|
||||
H5_DLLVAR hid_t H5E_NOSPACE_g; /* No space available for allocation */
|
||||
H5_DLLVAR hid_t H5E_CANTALLOC_g; /* Can't allocate space */
|
||||
H5_DLLVAR hid_t H5E_CANTCOPY_g; /* Unable to copy object */
|
||||
H5_DLLVAR hid_t H5E_CANTFREE_g; /* Unable to free object */
|
||||
H5_DLLVAR hid_t H5E_ALREADYEXISTS_g; /* Object already exists */
|
||||
H5_DLLVAR hid_t H5E_CANTLOCK_g; /* Unable to lock object */
|
||||
H5_DLLVAR hid_t H5E_CANTUNLOCK_g; /* Unable to unlock object */
|
||||
H5_DLLVAR hid_t H5E_CANTGC_g; /* Unable to garbage collect */
|
||||
H5_DLLVAR hid_t H5E_CANTGETSIZE_g; /* Unable to compute size */
|
||||
H5_DLLVAR hid_t H5E_OBJOPEN_g; /* Object is already open */
|
||||
|
||||
/* Object header related errors */
|
||||
#define H5E_LINKCOUNT (H5OPEN H5E_LINKCOUNT_g)
|
||||
#define H5E_VERSION (H5OPEN H5E_VERSION_g)
|
||||
#define H5E_ALIGNMENT (H5OPEN H5E_ALIGNMENT_g)
|
||||
#define H5E_BADMESG (H5OPEN H5E_BADMESG_g)
|
||||
#define H5E_CANTDELETE (H5OPEN H5E_CANTDELETE_g)
|
||||
#define H5E_BADITER (H5OPEN H5E_BADITER_g)
|
||||
#define H5E_CANTPACK (H5OPEN H5E_CANTPACK_g)
|
||||
#define H5E_CANTRESET (H5OPEN H5E_CANTRESET_g)
|
||||
#define H5E_CANTRENAME (H5OPEN H5E_CANTRENAME_g)
|
||||
H5_DLLVAR hid_t H5E_LINKCOUNT_g; /* Bad object header link count */
|
||||
H5_DLLVAR hid_t H5E_VERSION_g; /* Wrong version number */
|
||||
H5_DLLVAR hid_t H5E_ALIGNMENT_g; /* Alignment error */
|
||||
H5_DLLVAR hid_t H5E_BADMESG_g; /* Unrecognized message */
|
||||
H5_DLLVAR hid_t H5E_CANTDELETE_g; /* Can't delete message */
|
||||
H5_DLLVAR hid_t H5E_BADITER_g; /* Iteration failed */
|
||||
H5_DLLVAR hid_t H5E_CANTPACK_g; /* Can't pack messages */
|
||||
H5_DLLVAR hid_t H5E_CANTRESET_g; /* Can't reset object */
|
||||
H5_DLLVAR hid_t H5E_CANTRENAME_g; /* Unable to rename object */
|
||||
|
||||
/* Link related errors */
|
||||
#define H5E_TRAVERSE (H5OPEN H5E_TRAVERSE_g)
|
||||
#define H5E_NLINKS (H5OPEN H5E_NLINKS_g)
|
||||
#define H5E_NOTREGISTERED (H5OPEN H5E_NOTREGISTERED_g)
|
||||
#define H5E_CANTMOVE (H5OPEN H5E_CANTMOVE_g)
|
||||
#define H5E_CANTSORT (H5OPEN H5E_CANTSORT_g)
|
||||
H5_DLLVAR hid_t H5E_TRAVERSE_g; /* Link traversal failure */
|
||||
H5_DLLVAR hid_t H5E_NLINKS_g; /* Too many soft links in path */
|
||||
H5_DLLVAR hid_t H5E_NOTREGISTERED_g; /* Link class not registered */
|
||||
H5_DLLVAR hid_t H5E_CANTMOVE_g; /* Can't move object */
|
||||
H5_DLLVAR hid_t H5E_CANTSORT_g; /* Can't sort objects */
|
||||
|
||||
/* Argument errors */
|
||||
#define H5E_UNINITIALIZED (H5OPEN H5E_UNINITIALIZED_g)
|
||||
#define H5E_UNSUPPORTED (H5OPEN H5E_UNSUPPORTED_g)
|
||||
#define H5E_BADTYPE (H5OPEN H5E_BADTYPE_g)
|
||||
#define H5E_BADRANGE (H5OPEN H5E_BADRANGE_g)
|
||||
#define H5E_BADVALUE (H5OPEN H5E_BADVALUE_g)
|
||||
H5_DLLVAR hid_t H5E_UNINITIALIZED_g; /* Information is uinitialized */
|
||||
H5_DLLVAR hid_t H5E_UNSUPPORTED_g; /* Feature is unsupported */
|
||||
H5_DLLVAR hid_t H5E_BADTYPE_g; /* Inappropriate type */
|
||||
H5_DLLVAR hid_t H5E_BADRANGE_g; /* Out of range */
|
||||
H5_DLLVAR hid_t H5E_BADVALUE_g; /* Bad value */
|
||||
|
||||
/* System level errors */
|
||||
#define H5E_SYSERRSTR (H5OPEN H5E_SYSERRSTR_g)
|
||||
H5_DLLVAR hid_t H5E_SYSERRSTR_g; /* System error message */
|
||||
|
||||
/* Free space errors */
|
||||
#define H5E_CANTMERGE (H5OPEN H5E_CANTMERGE_g)
|
||||
#define H5E_CANTREVIVE (H5OPEN H5E_CANTREVIVE_g)
|
||||
#define H5E_CANTSHRINK (H5OPEN H5E_CANTSHRINK_g)
|
||||
H5_DLLVAR hid_t H5E_CANTMERGE_g; /* Can't merge objects */
|
||||
H5_DLLVAR hid_t H5E_CANTREVIVE_g; /* Can't revive object */
|
||||
H5_DLLVAR hid_t H5E_CANTSHRINK_g; /* Can't shrink container */
|
||||
|
||||
/* Dataspace errors */
|
||||
#define H5E_CANTCLIP (H5OPEN H5E_CANTCLIP_g)
|
||||
#define H5E_CANTCOUNT (H5OPEN H5E_CANTCOUNT_g)
|
||||
#define H5E_CANTSELECT (H5OPEN H5E_CANTSELECT_g)
|
||||
#define H5E_CANTNEXT (H5OPEN H5E_CANTNEXT_g)
|
||||
#define H5E_BADSELECT (H5OPEN H5E_BADSELECT_g)
|
||||
#define H5E_CANTCOMPARE (H5OPEN H5E_CANTCOMPARE_g)
|
||||
#define H5E_CANTAPPEND (H5OPEN H5E_CANTAPPEND_g)
|
||||
H5_DLLVAR hid_t H5E_CANTCLIP_g; /* Can't clip hyperslab region */
|
||||
H5_DLLVAR hid_t H5E_CANTCOUNT_g; /* Can't count elements */
|
||||
H5_DLLVAR hid_t H5E_CANTSELECT_g; /* Can't select hyperslab */
|
||||
H5_DLLVAR hid_t H5E_CANTNEXT_g; /* Can't move to next iterator location */
|
||||
H5_DLLVAR hid_t H5E_BADSELECT_g; /* Invalid selection */
|
||||
H5_DLLVAR hid_t H5E_CANTCOMPARE_g; /* Can't compare objects */
|
||||
H5_DLLVAR hid_t H5E_CANTAPPEND_g; /* Can't append object */
|
||||
|
||||
/* Heap errors */
|
||||
#define H5E_CANTRESTORE (H5OPEN H5E_CANTRESTORE_g)
|
||||
#define H5E_CANTCOMPUTE (H5OPEN H5E_CANTCOMPUTE_g)
|
||||
#define H5E_CANTEXTEND (H5OPEN H5E_CANTEXTEND_g)
|
||||
#define H5E_CANTATTACH (H5OPEN H5E_CANTATTACH_g)
|
||||
#define H5E_CANTUPDATE (H5OPEN H5E_CANTUPDATE_g)
|
||||
#define H5E_CANTOPERATE (H5OPEN H5E_CANTOPERATE_g)
|
||||
H5_DLLVAR hid_t H5E_CANTRESTORE_g; /* Can't restore condition */
|
||||
H5_DLLVAR hid_t H5E_CANTCOMPUTE_g; /* Can't compute value */
|
||||
H5_DLLVAR hid_t H5E_CANTEXTEND_g; /* Can't extend heap's space */
|
||||
H5_DLLVAR hid_t H5E_CANTATTACH_g; /* Can't attach object */
|
||||
H5_DLLVAR hid_t H5E_CANTUPDATE_g; /* Can't update object */
|
||||
H5_DLLVAR hid_t H5E_CANTOPERATE_g; /* Can't operate on object */
|
||||
|
||||
/* Datatype conversion errors */
|
||||
#define H5E_CANTCONVERT (H5OPEN H5E_CANTCONVERT_g)
|
||||
#define H5E_BADSIZE (H5OPEN H5E_BADSIZE_g)
|
||||
|
247
src/H5Eterm.h
247
src/H5Eterm.h
@ -22,43 +22,70 @@
|
||||
|
||||
/* Reset major error IDs */
|
||||
|
||||
H5E_FUNC_g=
|
||||
H5E_FILE_g=
|
||||
H5E_SOHM_g=
|
||||
H5E_SYM_g=
|
||||
H5E_PLUGIN_g=
|
||||
H5E_VFL_g=
|
||||
H5E_INTERNAL_g=
|
||||
H5E_BTREE_g=
|
||||
H5E_REFERENCE_g=
|
||||
H5E_DATASPACE_g=
|
||||
H5E_RESOURCE_g=
|
||||
H5E_RS_g=
|
||||
H5E_FARRAY_g=
|
||||
H5E_HEAP_g=
|
||||
H5E_ATTR_g=
|
||||
H5E_IO_g=
|
||||
H5E_EFL_g=
|
||||
H5E_TST_g=
|
||||
H5E_FSPACE_g=
|
||||
H5E_DATASET_g=
|
||||
H5E_STORAGE_g=
|
||||
H5E_LINK_g=
|
||||
H5E_PLIST_g=
|
||||
H5E_DATATYPE_g=
|
||||
H5E_OHDR_g=
|
||||
H5E_ATOM_g=
|
||||
H5E_NONE_MAJOR_g=
|
||||
H5E_SLIST_g=
|
||||
H5E_ARGS_g=
|
||||
H5E_EARRAY_g=
|
||||
H5E_PLIST_g=
|
||||
H5E_NONE_MAJOR_g=
|
||||
H5E_FSPACE_g=
|
||||
H5E_STORAGE_g=
|
||||
H5E_CACHE_g=
|
||||
H5E_IO_g=
|
||||
H5E_INTERNAL_g=
|
||||
H5E_SYM_g=
|
||||
H5E_DATASPACE_g=
|
||||
H5E_FARRAY_g=
|
||||
H5E_OHDR_g=
|
||||
H5E_SOHM_g=
|
||||
H5E_EFL_g=
|
||||
H5E_SLIST_g=
|
||||
H5E_BTREE_g=
|
||||
H5E_PLUGIN_g=
|
||||
H5E_ATOM_g=
|
||||
H5E_FILE_g=
|
||||
H5E_HEAP_g=
|
||||
H5E_VFL_g=
|
||||
H5E_DATASET_g=
|
||||
H5E_LINK_g=
|
||||
H5E_PLINE_g=
|
||||
H5E_FUNC_g=
|
||||
H5E_TST_g=
|
||||
H5E_ATTR_g=
|
||||
H5E_ERROR_g=
|
||||
H5E_CACHE_g= (-1);
|
||||
H5E_ARGS_g=
|
||||
H5E_RESOURCE_g=
|
||||
H5E_DATATYPE_g=
|
||||
H5E_RS_g=
|
||||
H5E_REFERENCE_g= (-1);
|
||||
|
||||
/* Reset minor error IDs */
|
||||
|
||||
|
||||
/* No error */
|
||||
H5E_NONE_MINOR_g=
|
||||
|
||||
/* Group related errors */
|
||||
H5E_CANTOPENOBJ_g=
|
||||
H5E_CANTCLOSEOBJ_g=
|
||||
H5E_COMPLEN_g=
|
||||
H5E_PATH_g=
|
||||
|
||||
/* Function entry/exit interface errors */
|
||||
H5E_CANTINIT_g=
|
||||
H5E_ALREADYINIT_g=
|
||||
H5E_CANTRELEASE_g=
|
||||
|
||||
/* Parallel MPI errors */
|
||||
H5E_MPI_g=
|
||||
H5E_MPIERRSTR_g=
|
||||
H5E_CANTRECV_g=
|
||||
|
||||
/* Object atom related errors */
|
||||
H5E_BADATOM_g=
|
||||
H5E_BADGROUP_g=
|
||||
H5E_CANTREGISTER_g=
|
||||
H5E_CANTINC_g=
|
||||
H5E_CANTDEC_g=
|
||||
H5E_NOIDS_g=
|
||||
|
||||
/* Generic low-level file I/O errors */
|
||||
H5E_SEEKERROR_g=
|
||||
H5E_READERROR_g=
|
||||
@ -67,56 +94,6 @@ H5E_CLOSEERROR_g=
|
||||
H5E_OVERFLOW_g=
|
||||
H5E_FCNTL_g=
|
||||
|
||||
/* Resource errors */
|
||||
H5E_NOSPACE_g=
|
||||
H5E_CANTALLOC_g=
|
||||
H5E_CANTCOPY_g=
|
||||
H5E_CANTFREE_g=
|
||||
H5E_ALREADYEXISTS_g=
|
||||
H5E_CANTLOCK_g=
|
||||
H5E_CANTUNLOCK_g=
|
||||
H5E_CANTGC_g=
|
||||
H5E_CANTGETSIZE_g=
|
||||
H5E_OBJOPEN_g=
|
||||
|
||||
/* Heap errors */
|
||||
H5E_CANTRESTORE_g=
|
||||
H5E_CANTCOMPUTE_g=
|
||||
H5E_CANTEXTEND_g=
|
||||
H5E_CANTATTACH_g=
|
||||
H5E_CANTUPDATE_g=
|
||||
H5E_CANTOPERATE_g=
|
||||
|
||||
/* Function entry/exit interface errors */
|
||||
H5E_CANTINIT_g=
|
||||
H5E_ALREADYINIT_g=
|
||||
H5E_CANTRELEASE_g=
|
||||
|
||||
/* Property list errors */
|
||||
H5E_CANTGET_g=
|
||||
H5E_CANTSET_g=
|
||||
H5E_DUPCLASS_g=
|
||||
H5E_SETDISALLOWED_g=
|
||||
|
||||
/* Free space errors */
|
||||
H5E_CANTMERGE_g=
|
||||
H5E_CANTREVIVE_g=
|
||||
H5E_CANTSHRINK_g=
|
||||
|
||||
/* Object header related errors */
|
||||
H5E_LINKCOUNT_g=
|
||||
H5E_VERSION_g=
|
||||
H5E_ALIGNMENT_g=
|
||||
H5E_BADMESG_g=
|
||||
H5E_CANTDELETE_g=
|
||||
H5E_BADITER_g=
|
||||
H5E_CANTPACK_g=
|
||||
H5E_CANTRESET_g=
|
||||
H5E_CANTRENAME_g=
|
||||
|
||||
/* System level errors */
|
||||
H5E_SYSERRSTR_g=
|
||||
|
||||
/* I/O pipeline errors */
|
||||
H5E_NOFILTER_g=
|
||||
H5E_CALLBACK_g=
|
||||
@ -125,14 +102,11 @@ H5E_SETLOCAL_g=
|
||||
H5E_NOENCODER_g=
|
||||
H5E_CANTFILTER_g=
|
||||
|
||||
/* Group related errors */
|
||||
H5E_CANTOPENOBJ_g=
|
||||
H5E_CANTCLOSEOBJ_g=
|
||||
H5E_COMPLEN_g=
|
||||
H5E_PATH_g=
|
||||
|
||||
/* No error */
|
||||
H5E_NONE_MINOR_g=
|
||||
/* Property list errors */
|
||||
H5E_CANTGET_g=
|
||||
H5E_CANTSET_g=
|
||||
H5E_DUPCLASS_g=
|
||||
H5E_SETDISALLOWED_g=
|
||||
|
||||
/* Plugin errors */
|
||||
H5E_OPENERROR_g=
|
||||
@ -148,14 +122,6 @@ H5E_BADFILE_g=
|
||||
H5E_TRUNCATED_g=
|
||||
H5E_MOUNT_g=
|
||||
|
||||
/* Object atom related errors */
|
||||
H5E_BADATOM_g=
|
||||
H5E_BADGROUP_g=
|
||||
H5E_CANTREGISTER_g=
|
||||
H5E_CANTINC_g=
|
||||
H5E_CANTDEC_g=
|
||||
H5E_NOIDS_g=
|
||||
|
||||
/* Cache related errors */
|
||||
H5E_CANTFLUSH_g=
|
||||
H5E_CANTSERIALIZE_g=
|
||||
@ -177,33 +143,6 @@ H5E_CANTDEPEND_g=
|
||||
H5E_CANTUNDEPEND_g=
|
||||
H5E_CANTNOTIFY_g=
|
||||
|
||||
/* Link related errors */
|
||||
H5E_TRAVERSE_g=
|
||||
H5E_NLINKS_g=
|
||||
H5E_NOTREGISTERED_g=
|
||||
H5E_CANTMOVE_g=
|
||||
H5E_CANTSORT_g=
|
||||
|
||||
/* Parallel MPI errors */
|
||||
H5E_MPI_g=
|
||||
H5E_MPIERRSTR_g=
|
||||
H5E_CANTRECV_g=
|
||||
|
||||
/* Dataspace errors */
|
||||
H5E_CANTCLIP_g=
|
||||
H5E_CANTCOUNT_g=
|
||||
H5E_CANTSELECT_g=
|
||||
H5E_CANTNEXT_g=
|
||||
H5E_BADSELECT_g=
|
||||
H5E_CANTCOMPARE_g=
|
||||
|
||||
/* Argument errors */
|
||||
H5E_UNINITIALIZED_g=
|
||||
H5E_UNSUPPORTED_g=
|
||||
H5E_BADTYPE_g=
|
||||
H5E_BADRANGE_g=
|
||||
H5E_BADVALUE_g=
|
||||
|
||||
/* B-tree related errors */
|
||||
H5E_NOTFOUND_g=
|
||||
H5E_EXISTS_g=
|
||||
@ -217,6 +156,68 @@ H5E_CANTLIST_g=
|
||||
H5E_CANTMODIFY_g=
|
||||
H5E_CANTREMOVE_g=
|
||||
|
||||
/* Resource errors */
|
||||
H5E_NOSPACE_g=
|
||||
H5E_CANTALLOC_g=
|
||||
H5E_CANTCOPY_g=
|
||||
H5E_CANTFREE_g=
|
||||
H5E_ALREADYEXISTS_g=
|
||||
H5E_CANTLOCK_g=
|
||||
H5E_CANTUNLOCK_g=
|
||||
H5E_CANTGC_g=
|
||||
H5E_CANTGETSIZE_g=
|
||||
H5E_OBJOPEN_g=
|
||||
|
||||
/* Object header related errors */
|
||||
H5E_LINKCOUNT_g=
|
||||
H5E_VERSION_g=
|
||||
H5E_ALIGNMENT_g=
|
||||
H5E_BADMESG_g=
|
||||
H5E_CANTDELETE_g=
|
||||
H5E_BADITER_g=
|
||||
H5E_CANTPACK_g=
|
||||
H5E_CANTRESET_g=
|
||||
H5E_CANTRENAME_g=
|
||||
|
||||
/* Link related errors */
|
||||
H5E_TRAVERSE_g=
|
||||
H5E_NLINKS_g=
|
||||
H5E_NOTREGISTERED_g=
|
||||
H5E_CANTMOVE_g=
|
||||
H5E_CANTSORT_g=
|
||||
|
||||
/* Argument errors */
|
||||
H5E_UNINITIALIZED_g=
|
||||
H5E_UNSUPPORTED_g=
|
||||
H5E_BADTYPE_g=
|
||||
H5E_BADRANGE_g=
|
||||
H5E_BADVALUE_g=
|
||||
|
||||
/* System level errors */
|
||||
H5E_SYSERRSTR_g=
|
||||
|
||||
/* Free space errors */
|
||||
H5E_CANTMERGE_g=
|
||||
H5E_CANTREVIVE_g=
|
||||
H5E_CANTSHRINK_g=
|
||||
|
||||
/* Dataspace errors */
|
||||
H5E_CANTCLIP_g=
|
||||
H5E_CANTCOUNT_g=
|
||||
H5E_CANTSELECT_g=
|
||||
H5E_CANTNEXT_g=
|
||||
H5E_BADSELECT_g=
|
||||
H5E_CANTCOMPARE_g=
|
||||
H5E_CANTAPPEND_g=
|
||||
|
||||
/* Heap errors */
|
||||
H5E_CANTRESTORE_g=
|
||||
H5E_CANTCOMPUTE_g=
|
||||
H5E_CANTEXTEND_g=
|
||||
H5E_CANTATTACH_g=
|
||||
H5E_CANTUPDATE_g=
|
||||
H5E_CANTOPERATE_g=
|
||||
|
||||
/* Datatype conversion errors */
|
||||
H5E_CANTCONVERT_g=
|
||||
H5E_BADSIZE_g= (-1);
|
||||
|
@ -1931,10 +1931,12 @@ done:
|
||||
if(adding_entry) {
|
||||
hbool_t free_list = FALSE;
|
||||
|
||||
/* Set chunk information in property list. If we are adding a new layout,
|
||||
* use H5P__set_layout so other fields are initialized properly. If we are
|
||||
* extending the layout, just use H5P_set directly so we don't mess with
|
||||
* anything else. */
|
||||
/* Set VDS layout information in property list. If we are adding a new
|
||||
* layout, use H5P__set_layout so other fields are initialized properly.
|
||||
* If we are extending the layout, just use H5P_set directly so we don't
|
||||
* mess with anything else. Put this after the done: label because the
|
||||
* original list may no longer be valid due to the use of realloc(), so
|
||||
* we want to make sure the list is available if possible. */
|
||||
if(new_layout) {
|
||||
if(H5P__set_layout(plist, &layout) < 0) {
|
||||
HDONE_ERROR(H5E_PLIST, H5E_CANTSET, FAIL, "can't set layout")
|
||||
|
168
src/H5Shyper.c
168
src/H5Shyper.c
@ -5027,7 +5027,7 @@ H5S_hyper_clip_spans (H5S_hyper_span_info_t *a_spans, H5S_hyper_span_info_t *b_s
|
||||
|
||||
/* Merge/add span 'a' with/to a_not_b list */
|
||||
if(H5S_hyper_append_span(&last_a_not_b,a_not_b,span_a->low,span_a->high,span_a->down,NULL)==FAIL)
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, FAIL, "can't allocate hyperslab span")
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTAPPEND, FAIL, "can't allocate hyperslab span")
|
||||
|
||||
/* Advance span 'a', leave span 'b' */
|
||||
H5S_hyper_recover_span(&recover_a,&span_a,span_a->next);
|
||||
@ -5042,7 +5042,7 @@ H5S_hyper_clip_spans (H5S_hyper_span_info_t *a_spans, H5S_hyper_span_info_t *b_s
|
||||
|
||||
/* Merge/add lower part of span 'a' with/to a_not_b list */
|
||||
if(H5S_hyper_append_span(&last_a_not_b,a_not_b,span_a->low,span_b->low-1,span_a->down,NULL)==FAIL)
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, FAIL, "can't allocate hyperslab span")
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTAPPEND, FAIL, "can't allocate hyperslab span")
|
||||
|
||||
/* Check for overlaps between upper part of span 'a' and lower part of span 'b' */
|
||||
|
||||
@ -5053,7 +5053,7 @@ H5S_hyper_clip_spans (H5S_hyper_span_info_t *a_spans, H5S_hyper_span_info_t *b_s
|
||||
if(span_a->down==NULL) {
|
||||
/* Merge/add overlapped part with/to a_and_b list */
|
||||
if(H5S_hyper_append_span(&last_a_and_b,a_and_b,span_b->low,span_a->high,NULL,NULL)==FAIL)
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, FAIL, "can't allocate hyperslab span")
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTAPPEND, FAIL, "can't allocate hyperslab span")
|
||||
} /* end if */
|
||||
/* If there are down spans, check for the overlap in them and add to each appropriate list */
|
||||
else {
|
||||
@ -5070,7 +5070,7 @@ H5S_hyper_clip_spans (H5S_hyper_span_info_t *a_spans, H5S_hyper_span_info_t *b_s
|
||||
if(down_a_not_b!=NULL) {
|
||||
/* Merge/add overlapped part with/to a_not_b list */
|
||||
if(H5S_hyper_append_span(&last_a_not_b,a_not_b,span_b->low,span_a->high,down_a_not_b,NULL)==FAIL)
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, FAIL, "can't allocate hyperslab span")
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTAPPEND, FAIL, "can't allocate hyperslab span")
|
||||
|
||||
/* Release the down span tree generated */
|
||||
H5S_hyper_free_span_info(down_a_not_b);
|
||||
@ -5080,7 +5080,7 @@ H5S_hyper_clip_spans (H5S_hyper_span_info_t *a_spans, H5S_hyper_span_info_t *b_s
|
||||
if(down_a_and_b!=NULL) {
|
||||
/* Merge/add overlapped part with/to a_and_b list */
|
||||
if(H5S_hyper_append_span(&last_a_and_b,a_and_b,span_b->low,span_a->high,down_a_and_b,NULL)==FAIL)
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, FAIL, "can't allocate hyperslab span")
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTAPPEND, FAIL, "can't allocate hyperslab span")
|
||||
|
||||
/* Release the down span tree generated */
|
||||
H5S_hyper_free_span_info(down_a_and_b);
|
||||
@ -5090,7 +5090,7 @@ H5S_hyper_clip_spans (H5S_hyper_span_info_t *a_spans, H5S_hyper_span_info_t *b_s
|
||||
if(down_b_not_a!=NULL) {
|
||||
/* Merge/add overlapped part with/to b_not_a list */
|
||||
if(H5S_hyper_append_span(&last_b_not_a,b_not_a,span_b->low,span_a->high,down_b_not_a,NULL)==FAIL)
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, FAIL, "can't allocate hyperslab span")
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTAPPEND, FAIL, "can't allocate hyperslab span")
|
||||
|
||||
/* Release the down span tree generated */
|
||||
H5S_hyper_free_span_info(down_b_not_a);
|
||||
@ -5129,7 +5129,7 @@ H5S_hyper_clip_spans (H5S_hyper_span_info_t *a_spans, H5S_hyper_span_info_t *b_s
|
||||
|
||||
/* Merge/add lower part of span 'a' with/to a_not_b list */
|
||||
if(H5S_hyper_append_span(&last_a_not_b,a_not_b,span_a->low,span_b->low-1,span_a->down,NULL)==FAIL)
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, FAIL, "can't allocate hyperslab span")
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTAPPEND, FAIL, "can't allocate hyperslab span")
|
||||
|
||||
/* Check for overlaps between middle part of span 'a' and span 'b' */
|
||||
|
||||
@ -5140,7 +5140,7 @@ H5S_hyper_clip_spans (H5S_hyper_span_info_t *a_spans, H5S_hyper_span_info_t *b_s
|
||||
if(span_a->down==NULL) {
|
||||
/* Merge/add overlapped part with/to a_and_b list */
|
||||
if(H5S_hyper_append_span(&last_a_and_b,a_and_b,span_b->low,span_b->high,NULL,NULL)==FAIL)
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, FAIL, "can't allocate hyperslab span")
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTAPPEND, FAIL, "can't allocate hyperslab span")
|
||||
} /* end if */
|
||||
/* If there are down spans, check for the overlap in them and add to each appropriate list */
|
||||
else {
|
||||
@ -5157,7 +5157,7 @@ H5S_hyper_clip_spans (H5S_hyper_span_info_t *a_spans, H5S_hyper_span_info_t *b_s
|
||||
if(down_a_not_b!=NULL) {
|
||||
/* Merge/add overlapped part with/to a_not_b list */
|
||||
if(H5S_hyper_append_span(&last_a_not_b,a_not_b,span_b->low,span_b->high,down_a_not_b,NULL)==FAIL)
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, FAIL, "can't allocate hyperslab span")
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTAPPEND, FAIL, "can't allocate hyperslab span")
|
||||
|
||||
/* Release the down span tree generated */
|
||||
H5S_hyper_free_span_info(down_a_not_b);
|
||||
@ -5167,7 +5167,7 @@ H5S_hyper_clip_spans (H5S_hyper_span_info_t *a_spans, H5S_hyper_span_info_t *b_s
|
||||
if(down_a_and_b!=NULL) {
|
||||
/* Merge/add overlapped part with/to a_and_b list */
|
||||
if(H5S_hyper_append_span(&last_a_and_b,a_and_b,span_b->low,span_b->high,down_a_and_b,NULL)==FAIL)
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, FAIL, "can't allocate hyperslab span")
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTAPPEND, FAIL, "can't allocate hyperslab span")
|
||||
|
||||
/* Release the down span tree generated */
|
||||
H5S_hyper_free_span_info(down_a_and_b);
|
||||
@ -5177,7 +5177,7 @@ H5S_hyper_clip_spans (H5S_hyper_span_info_t *a_spans, H5S_hyper_span_info_t *b_s
|
||||
if(down_b_not_a!=NULL) {
|
||||
/* Merge/add overlapped part with/to b_not_a list */
|
||||
if(H5S_hyper_append_span(&last_b_not_a,b_not_a,span_b->low,span_b->high,down_b_not_a,NULL)==FAIL)
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, FAIL, "can't allocate hyperslab span")
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTAPPEND, FAIL, "can't allocate hyperslab span")
|
||||
|
||||
/* Release the down span tree generated */
|
||||
H5S_hyper_free_span_info(down_b_not_a);
|
||||
@ -5208,7 +5208,7 @@ H5S_hyper_clip_spans (H5S_hyper_span_info_t *a_spans, H5S_hyper_span_info_t *b_s
|
||||
if(span_a->low>span_b->low) {
|
||||
/* Merge/add lower part of span 'b' with/to b_not_a list */
|
||||
if(H5S_hyper_append_span(&last_b_not_a,b_not_a,span_b->low,span_a->low-1,span_b->down,NULL)==FAIL)
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, FAIL, "can't allocate hyperslab span")
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTAPPEND, FAIL, "can't allocate hyperslab span")
|
||||
} /* end if */
|
||||
else {
|
||||
/* Keep going, nothing to split off */
|
||||
@ -5223,7 +5223,7 @@ H5S_hyper_clip_spans (H5S_hyper_span_info_t *a_spans, H5S_hyper_span_info_t *b_s
|
||||
if(span_a->down==NULL) {
|
||||
/* Merge/add overlapped part with/to a_and_b list */
|
||||
if(H5S_hyper_append_span(&last_a_and_b,a_and_b,span_a->low,span_a->high,NULL,NULL)==FAIL)
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, FAIL, "can't allocate hyperslab span")
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTAPPEND, FAIL, "can't allocate hyperslab span")
|
||||
} /* end if */
|
||||
/* If there are down spans, check for the overlap in them and add to each appropriate list */
|
||||
else {
|
||||
@ -5240,7 +5240,7 @@ H5S_hyper_clip_spans (H5S_hyper_span_info_t *a_spans, H5S_hyper_span_info_t *b_s
|
||||
if(down_a_not_b!=NULL) {
|
||||
/* Merge/add overlapped part with/to a_not_b list */
|
||||
if(H5S_hyper_append_span(&last_a_not_b,a_not_b,span_a->low,span_a->high,down_a_not_b,NULL)==FAIL)
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, FAIL, "can't allocate hyperslab span")
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTAPPEND, FAIL, "can't allocate hyperslab span")
|
||||
|
||||
/* Release the down span tree generated */
|
||||
H5S_hyper_free_span_info(down_a_not_b);
|
||||
@ -5250,7 +5250,7 @@ H5S_hyper_clip_spans (H5S_hyper_span_info_t *a_spans, H5S_hyper_span_info_t *b_s
|
||||
if(down_a_and_b!=NULL) {
|
||||
/* Merge/add overlapped part with/to a_and_b list */
|
||||
if(H5S_hyper_append_span(&last_a_and_b,a_and_b,span_a->low,span_a->high,down_a_and_b,NULL)==FAIL)
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, FAIL, "can't allocate hyperslab span")
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTAPPEND, FAIL, "can't allocate hyperslab span")
|
||||
|
||||
/* Release the down span tree generated */
|
||||
H5S_hyper_free_span_info(down_a_and_b);
|
||||
@ -5260,7 +5260,7 @@ H5S_hyper_clip_spans (H5S_hyper_span_info_t *a_spans, H5S_hyper_span_info_t *b_s
|
||||
if(down_b_not_a!=NULL) {
|
||||
/* Merge/add overlapped part with/to b_not_a list */
|
||||
if(H5S_hyper_append_span(&last_b_not_a,b_not_a,span_a->low,span_a->high,down_b_not_a,NULL)==FAIL)
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, FAIL, "can't allocate hyperslab span")
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTAPPEND, FAIL, "can't allocate hyperslab span")
|
||||
|
||||
/* Release the down span tree generated */
|
||||
H5S_hyper_free_span_info(down_b_not_a);
|
||||
@ -5300,7 +5300,7 @@ H5S_hyper_clip_spans (H5S_hyper_span_info_t *a_spans, H5S_hyper_span_info_t *b_s
|
||||
|
||||
/* Merge/add lower part of span 'b' with/to b_not_a list */
|
||||
if(H5S_hyper_append_span(&last_b_not_a,b_not_a,span_b->low,span_a->low-1,span_b->down,NULL)==FAIL)
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, FAIL, "can't allocate hyperslab span")
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTAPPEND, FAIL, "can't allocate hyperslab span")
|
||||
} /* end if */
|
||||
else {
|
||||
/* Keep going, nothing to split off */
|
||||
@ -5315,7 +5315,7 @@ H5S_hyper_clip_spans (H5S_hyper_span_info_t *a_spans, H5S_hyper_span_info_t *b_s
|
||||
if(span_a->down==NULL) {
|
||||
/* Merge/add overlapped part with/to a_and_b list */
|
||||
if(H5S_hyper_append_span(&last_a_and_b,a_and_b,span_a->low,span_b->high,NULL,NULL)==FAIL)
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, FAIL, "can't allocate hyperslab span")
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTAPPEND, FAIL, "can't allocate hyperslab span")
|
||||
} /* end if */
|
||||
/* If there are down spans, check for the overlap in them and add to each appropriate list */
|
||||
else {
|
||||
@ -5332,7 +5332,7 @@ H5S_hyper_clip_spans (H5S_hyper_span_info_t *a_spans, H5S_hyper_span_info_t *b_s
|
||||
if(down_a_not_b!=NULL) {
|
||||
/* Merge/add overlapped part with/to a_not_b list */
|
||||
if(H5S_hyper_append_span(&last_a_not_b,a_not_b,span_a->low,span_b->high,down_a_not_b,NULL)==FAIL)
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, FAIL, "can't allocate hyperslab span")
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTAPPEND, FAIL, "can't allocate hyperslab span")
|
||||
|
||||
/* Release the down span tree generated */
|
||||
H5S_hyper_free_span_info(down_a_not_b);
|
||||
@ -5342,7 +5342,7 @@ H5S_hyper_clip_spans (H5S_hyper_span_info_t *a_spans, H5S_hyper_span_info_t *b_s
|
||||
if(down_a_and_b!=NULL) {
|
||||
/* Merge/add overlapped part with/to a_and_b list */
|
||||
if(H5S_hyper_append_span(&last_a_and_b,a_and_b,span_a->low,span_b->high,down_a_and_b,NULL)==FAIL)
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, FAIL, "can't allocate hyperslab span")
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTAPPEND, FAIL, "can't allocate hyperslab span")
|
||||
|
||||
/* Release the down span tree generated */
|
||||
H5S_hyper_free_span_info(down_a_and_b);
|
||||
@ -5352,7 +5352,7 @@ H5S_hyper_clip_spans (H5S_hyper_span_info_t *a_spans, H5S_hyper_span_info_t *b_s
|
||||
if(down_b_not_a!=NULL) {
|
||||
/* Merge/add overlapped part with/to b_not_a list */
|
||||
if(H5S_hyper_append_span(&last_b_not_a,b_not_a,span_a->low,span_b->high,down_b_not_a,NULL)==FAIL)
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, FAIL, "can't allocate hyperslab span")
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTAPPEND, FAIL, "can't allocate hyperslab span")
|
||||
|
||||
/* Release the down span tree generated */
|
||||
H5S_hyper_free_span_info(down_b_not_a);
|
||||
@ -5381,7 +5381,7 @@ H5S_hyper_clip_spans (H5S_hyper_span_info_t *a_spans, H5S_hyper_span_info_t *b_s
|
||||
|
||||
/* Merge/add span 'b' with/to b_not_a list */
|
||||
if(H5S_hyper_append_span(&last_b_not_a,b_not_a,span_b->low,span_b->high,span_b->down,NULL)==FAIL)
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, FAIL, "can't allocate hyperslab span")
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTAPPEND, FAIL, "can't allocate hyperslab span")
|
||||
|
||||
/* Advance span 'b', leave span 'a' */
|
||||
H5S_hyper_recover_span(&recover_b,&span_b,span_b->next);
|
||||
@ -5395,7 +5395,7 @@ H5S_hyper_clip_spans (H5S_hyper_span_info_t *a_spans, H5S_hyper_span_info_t *b_s
|
||||
|
||||
/* Merge/add span 'a' with/to a_not_b list */
|
||||
if(H5S_hyper_append_span(&last_a_not_b,a_not_b,span_a->low,span_a->high,span_a->down,NULL)==FAIL)
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, FAIL, "can't allocate hyperslab span")
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTAPPEND, FAIL, "can't allocate hyperslab span")
|
||||
|
||||
/* Advance to the next 'a' span */
|
||||
H5S_hyper_recover_span(&recover_a,&span_a,span_a->next);
|
||||
@ -5408,7 +5408,7 @@ H5S_hyper_clip_spans (H5S_hyper_span_info_t *a_spans, H5S_hyper_span_info_t *b_s
|
||||
|
||||
/* Merge/add span 'b' with/to b_not_a list */
|
||||
if(H5S_hyper_append_span(&last_b_not_a,b_not_a,span_b->low,span_b->high,span_b->down,NULL)==FAIL)
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, FAIL, "can't allocate hyperslab span")
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTAPPEND, FAIL, "can't allocate hyperslab span")
|
||||
|
||||
/* Advance to the next 'b' span */
|
||||
H5S_hyper_recover_span(&recover_b,&span_b,span_b->next);
|
||||
@ -5490,7 +5490,7 @@ H5S_hyper_merge_spans_helper (H5S_hyper_span_info_t *a_spans, H5S_hyper_span_inf
|
||||
if(span_a->high<span_b->low) {
|
||||
/* Merge/add span 'a' with/to the merged spans */
|
||||
if(H5S_hyper_append_span(&prev_span_merge,&merged_spans,span_a->low,span_a->high,span_a->down,NULL)==FAIL)
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, NULL, "can't allocate hyperslab span")
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTAPPEND, NULL, "can't allocate hyperslab span")
|
||||
|
||||
/* Advance span 'a' */
|
||||
H5S_hyper_recover_span(&recover_a,&span_a,span_a->next);
|
||||
@ -5505,19 +5505,19 @@ H5S_hyper_merge_spans_helper (H5S_hyper_span_info_t *a_spans, H5S_hyper_span_inf
|
||||
if(H5S_hyper_cmp_spans(span_a->down,span_b->down)==TRUE) {
|
||||
/* Merge/add copy of span 'a' with/to merged spans */
|
||||
if(H5S_hyper_append_span(&prev_span_merge,&merged_spans,span_a->low,span_a->high,span_a->down,NULL)==FAIL)
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, NULL, "can't allocate hyperslab span")
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTAPPEND, NULL, "can't allocate hyperslab span")
|
||||
} /* end if */
|
||||
else {
|
||||
/* Merge/add lower part of span 'a' with/to merged spans */
|
||||
if(H5S_hyper_append_span(&prev_span_merge,&merged_spans,span_a->low,span_b->low-1,span_a->down,NULL)==FAIL)
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, NULL, "can't allocate hyperslab span")
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTAPPEND, NULL, "can't allocate hyperslab span")
|
||||
|
||||
/* Get merged span tree for overlapped section */
|
||||
tmp_spans=H5S_hyper_merge_spans_helper(span_a->down,span_b->down);
|
||||
|
||||
/* Merge/add overlapped section to merged spans */
|
||||
if(H5S_hyper_append_span(&prev_span_merge,&merged_spans,span_b->low,span_a->high,tmp_spans,NULL)==FAIL)
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, NULL, "can't allocate hyperslab span")
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTAPPEND, NULL, "can't allocate hyperslab span")
|
||||
|
||||
/* Release merged span tree for overlapped section */
|
||||
H5S_hyper_free_span_info(tmp_spans);
|
||||
@ -5554,19 +5554,19 @@ H5S_hyper_merge_spans_helper (H5S_hyper_span_info_t *a_spans, H5S_hyper_span_inf
|
||||
if(H5S_hyper_cmp_spans(span_a->down,span_b->down)==TRUE) {
|
||||
/* Merge/add copy of lower & middle parts of span 'a' to merged spans */
|
||||
if(H5S_hyper_append_span(&prev_span_merge,&merged_spans,span_a->low,span_b->high,span_a->down,NULL)==FAIL)
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, NULL, "can't allocate hyperslab span")
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTAPPEND, NULL, "can't allocate hyperslab span")
|
||||
} /* end if */
|
||||
else {
|
||||
/* Merge/add lower part of span 'a' to merged spans */
|
||||
if(H5S_hyper_append_span(&prev_span_merge,&merged_spans,span_a->low,span_b->low-1,span_a->down,NULL)==FAIL)
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, NULL, "can't allocate hyperslab span")
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTAPPEND, NULL, "can't allocate hyperslab span")
|
||||
|
||||
/* Get merged span tree for overlapped section */
|
||||
tmp_spans=H5S_hyper_merge_spans_helper(span_a->down,span_b->down);
|
||||
|
||||
/* Merge/add overlapped section to merged spans */
|
||||
if(H5S_hyper_append_span(&prev_span_merge,&merged_spans,span_b->low,span_b->high,tmp_spans,NULL)==FAIL)
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, NULL, "can't allocate hyperslab span")
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTAPPEND, NULL, "can't allocate hyperslab span")
|
||||
|
||||
/* Release merged span tree for overlapped section */
|
||||
H5S_hyper_free_span_info(tmp_spans);
|
||||
@ -5594,14 +5594,14 @@ H5S_hyper_merge_spans_helper (H5S_hyper_span_info_t *a_spans, H5S_hyper_span_inf
|
||||
if(H5S_hyper_cmp_spans(span_a->down,span_b->down)==TRUE) {
|
||||
/* Merge/add copy of lower & middle parts of span 'b' to merged spans */
|
||||
if(H5S_hyper_append_span(&prev_span_merge,&merged_spans,span_b->low,span_a->high,span_a->down,NULL)==FAIL)
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, NULL, "can't allocate hyperslab span")
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTAPPEND, NULL, "can't allocate hyperslab span")
|
||||
} /* end if */
|
||||
else {
|
||||
/* Check if there is a lower part of span 'b' */
|
||||
if(span_a->low>span_b->low) {
|
||||
/* Merge/add lower part of span 'b' to merged spans */
|
||||
if(H5S_hyper_append_span(&prev_span_merge,&merged_spans,span_b->low,span_a->low-1,span_b->down,NULL)==FAIL)
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, NULL, "can't allocate hyperslab span")
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTAPPEND, NULL, "can't allocate hyperslab span")
|
||||
} /* end if */
|
||||
else {
|
||||
/* No lower part of span 'b' , keep going... */
|
||||
@ -5612,7 +5612,7 @@ H5S_hyper_merge_spans_helper (H5S_hyper_span_info_t *a_spans, H5S_hyper_span_inf
|
||||
|
||||
/* Merge/add overlapped section to merged spans */
|
||||
if(H5S_hyper_append_span(&prev_span_merge,&merged_spans,span_a->low,span_a->high,tmp_spans,NULL)==FAIL)
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, NULL, "can't allocate hyperslab span")
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTAPPEND, NULL, "can't allocate hyperslab span")
|
||||
|
||||
/* Release merged span tree for overlapped section */
|
||||
H5S_hyper_free_span_info(tmp_spans);
|
||||
@ -5649,14 +5649,14 @@ H5S_hyper_merge_spans_helper (H5S_hyper_span_info_t *a_spans, H5S_hyper_span_inf
|
||||
if(H5S_hyper_cmp_spans(span_a->down,span_b->down)==TRUE) {
|
||||
/* Merge/add copy of span 'b' to merged spans if so */
|
||||
if(H5S_hyper_append_span(&prev_span_merge,&merged_spans,span_b->low,span_b->high,span_b->down,NULL)==FAIL)
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, NULL, "can't allocate hyperslab span")
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTAPPEND, NULL, "can't allocate hyperslab span")
|
||||
} /* end if */
|
||||
else {
|
||||
/* Check if there is a lower part of span 'b' */
|
||||
if(span_a->low>span_b->low) {
|
||||
/* Merge/add lower part of span 'b' to merged spans */
|
||||
if(H5S_hyper_append_span(&prev_span_merge,&merged_spans,span_b->low,span_a->low-1,span_b->down,NULL)==FAIL)
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, NULL, "can't allocate hyperslab span")
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTAPPEND, NULL, "can't allocate hyperslab span")
|
||||
} /* end if */
|
||||
else {
|
||||
/* No lower part of span 'b' , keep going... */
|
||||
@ -5667,7 +5667,7 @@ H5S_hyper_merge_spans_helper (H5S_hyper_span_info_t *a_spans, H5S_hyper_span_inf
|
||||
|
||||
/* Merge/add overlapped section to merged spans */
|
||||
if(H5S_hyper_append_span(&prev_span_merge,&merged_spans,span_a->low,span_b->high,tmp_spans,NULL)==FAIL)
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, NULL, "can't allocate hyperslab span")
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTAPPEND, NULL, "can't allocate hyperslab span")
|
||||
|
||||
/* Release merged span tree for overlapped section */
|
||||
H5S_hyper_free_span_info(tmp_spans);
|
||||
@ -5693,7 +5693,7 @@ H5S_hyper_merge_spans_helper (H5S_hyper_span_info_t *a_spans, H5S_hyper_span_inf
|
||||
else {
|
||||
/* Merge/add span 'b' with the merged spans */
|
||||
if(H5S_hyper_append_span(&prev_span_merge,&merged_spans,span_b->low,span_b->high,span_b->down,NULL)==FAIL)
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, NULL, "can't allocate hyperslab span")
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTAPPEND, NULL, "can't allocate hyperslab span")
|
||||
|
||||
/* Advance span 'b' */
|
||||
H5S_hyper_recover_span(&recover_b,&span_b,span_b->next);
|
||||
@ -5705,7 +5705,7 @@ H5S_hyper_merge_spans_helper (H5S_hyper_span_info_t *a_spans, H5S_hyper_span_inf
|
||||
while(span_a!=NULL) {
|
||||
/* Merge/add all 'a' spans into the merged spans */
|
||||
if(H5S_hyper_append_span(&prev_span_merge,&merged_spans,span_a->low,span_a->high,span_a->down,NULL)==FAIL)
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, NULL, "can't allocate hyperslab span")
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTAPPEND, NULL, "can't allocate hyperslab span")
|
||||
|
||||
/* Advance to next 'a' span, until all processed */
|
||||
H5S_hyper_recover_span(&recover_a,&span_a,span_a->next);
|
||||
@ -5717,7 +5717,7 @@ H5S_hyper_merge_spans_helper (H5S_hyper_span_info_t *a_spans, H5S_hyper_span_inf
|
||||
while(span_b!=NULL) {
|
||||
/* Merge/add all 'b' spans into the merged spans */
|
||||
if(H5S_hyper_append_span(&prev_span_merge,&merged_spans,span_b->low,span_b->high,span_b->down,NULL)==FAIL)
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, NULL, "can't allocate hyperslab span")
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTAPPEND, NULL, "can't allocate hyperslab span")
|
||||
|
||||
/* Advance to next 'b' span, until all processed */
|
||||
H5S_hyper_recover_span(&recover_b,&span_b,span_b->next);
|
||||
@ -9292,47 +9292,47 @@ herr_t
|
||||
H5S__hyper_project_intersection(const H5S_t *src_space, const H5S_t *dst_space,
|
||||
const H5S_t *src_intersect_space, H5S_t *proj_space)
|
||||
{
|
||||
hsize_t ss_off[H5S_PROJECT_INTERSECT_NSEQS];
|
||||
size_t ss_len[H5S_PROJECT_INTERSECT_NSEQS];
|
||||
size_t ss_nseq;
|
||||
size_t ss_nelem;
|
||||
size_t ss_i = (size_t)0;
|
||||
hbool_t advance_ss = FALSE;
|
||||
H5S_sel_iter_t ss_iter;
|
||||
hbool_t ss_iter_init = FALSE;
|
||||
hsize_t ss_sel_off = (hsize_t)0;
|
||||
hsize_t ds_off[H5S_PROJECT_INTERSECT_NSEQS];
|
||||
size_t ds_len[H5S_PROJECT_INTERSECT_NSEQS];
|
||||
size_t ds_nseq;
|
||||
size_t ds_nelem;
|
||||
size_t ds_i = (size_t)0;
|
||||
H5S_sel_iter_t ds_iter;
|
||||
hbool_t ds_iter_init = FALSE;
|
||||
hsize_t ds_sel_off = (hsize_t)0;
|
||||
hsize_t sis_off[H5S_PROJECT_INTERSECT_NSEQS];
|
||||
size_t sis_len[H5S_PROJECT_INTERSECT_NSEQS];
|
||||
size_t sis_nseq;
|
||||
size_t sis_nelem;
|
||||
size_t sis_i = (size_t)0;
|
||||
hbool_t advance_sis = FALSE;
|
||||
H5S_sel_iter_t sis_iter;
|
||||
hbool_t sis_iter_init = FALSE;
|
||||
hsize_t int_sel_off;
|
||||
size_t int_len;
|
||||
hsize_t proj_off;
|
||||
size_t proj_len;
|
||||
size_t proj_len_rem;
|
||||
hsize_t proj_down_dims[H5S_MAX_RANK];
|
||||
H5S_hyper_span_info_t *curr_span_tree[H5S_MAX_RANK];
|
||||
H5S_hyper_span_t *prev_span[H5S_MAX_RANK];
|
||||
hsize_t curr_span_up_dim[H5S_MAX_RANK];
|
||||
unsigned proj_rank;
|
||||
hsize_t low;
|
||||
hsize_t high;
|
||||
size_t span_len;
|
||||
size_t nelem;
|
||||
unsigned i;
|
||||
herr_t ret_value = SUCCEED;
|
||||
hsize_t ss_off[H5S_PROJECT_INTERSECT_NSEQS]; /* Offset array for src_space */
|
||||
size_t ss_len[H5S_PROJECT_INTERSECT_NSEQS]; /* Length array for src_space */
|
||||
size_t ss_nseq; /* Number of sequences for src_space */
|
||||
size_t ss_nelem; /* Number of elements for src_space */
|
||||
size_t ss_i = (size_t)0; /* Index into offset/length arrays for src_space */
|
||||
hbool_t advance_ss = FALSE; /* Whether to advance ss_i on the next iteration */
|
||||
H5S_sel_iter_t ss_iter; /* Selection iterator for src_space */
|
||||
hbool_t ss_iter_init = FALSE; /* Whether ss_iter is initialized */
|
||||
hsize_t ss_sel_off = (hsize_t)0; /* Offset within src_space selection */
|
||||
hsize_t ds_off[H5S_PROJECT_INTERSECT_NSEQS]; /* Offset array for dst_space */
|
||||
size_t ds_len[H5S_PROJECT_INTERSECT_NSEQS]; /* Length array for dst_space */
|
||||
size_t ds_nseq; /* Number of sequences for dst_space */
|
||||
size_t ds_nelem; /* Number of elements for dst_space */
|
||||
size_t ds_i = (size_t)0; /* Index into offset/length arrays for dst_space */
|
||||
H5S_sel_iter_t ds_iter; /* Selection iterator for dst_space */
|
||||
hbool_t ds_iter_init = FALSE; /* Whether ds_iter is initialized */
|
||||
hsize_t ds_sel_off = (hsize_t)0; /* Offset within dst_space selection */
|
||||
hsize_t sis_off[H5S_PROJECT_INTERSECT_NSEQS]; /* Offset array for src_intersect_space */
|
||||
size_t sis_len[H5S_PROJECT_INTERSECT_NSEQS]; /* Length array for src_intersect_space */
|
||||
size_t sis_nseq; /* Number of sequences for src_intersect_space */
|
||||
size_t sis_nelem; /* Number of elements for src_intersect_space */
|
||||
size_t sis_i = (size_t)0; /* Index into offset/length arrays for src_intersect_space */
|
||||
hbool_t advance_sis = FALSE; /* Whether to advance sis_i on the next iteration */
|
||||
H5S_sel_iter_t sis_iter; /* Selection iterator for src_intersect_space */
|
||||
hbool_t sis_iter_init = FALSE; /* Whether sis_iter is initialized */
|
||||
hsize_t int_sel_off; /* Offset within intersected selections (ss/sis and ds/ps) */
|
||||
size_t int_len; /* Length of segment in intersected selections */
|
||||
hsize_t proj_off; /* Segment offset in proj_space */
|
||||
size_t proj_len; /* Segment length in proj_space */
|
||||
size_t proj_len_rem; /* Remaining length in proj_space for segment */
|
||||
hsize_t proj_down_dims[H5S_MAX_RANK]; /* "Down" dimensions in proj_space */
|
||||
H5S_hyper_span_info_t *curr_span_tree[H5S_MAX_RANK]; /* Current span tree being built (in each dimension) */
|
||||
H5S_hyper_span_t *prev_span[H5S_MAX_RANK]; /* Previous span in tree (in each dimension) */
|
||||
hsize_t curr_span_up_dim[H5S_MAX_RANK]; /* "Up" dimensions for current span */
|
||||
unsigned proj_rank; /* Rank of proj_space */
|
||||
hsize_t low; /* Low value of span */
|
||||
hsize_t high; /* High value of span */
|
||||
size_t span_len; /* Length of span */
|
||||
size_t nelem; /* Number of elements returned for get_seq_list op */
|
||||
unsigned i; /* Local index variable */
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_PACKAGE
|
||||
|
||||
@ -9559,7 +9559,7 @@ H5S__hyper_project_intersection(const H5S_t *src_space, const H5S_t *dst_space,
|
||||
* current dimension */
|
||||
low = curr_span_up_dim[i - 1] % proj_space->extent.size[i - 1];
|
||||
if(H5S_hyper_append_span(&prev_span[i - 1], &curr_span_tree[i - 1], low, low, curr_span_tree[i], NULL) < 0)
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTSELECT, FAIL, "can't allocate hyperslab span")
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTAPPEND, FAIL, "can't allocate hyperslab span")
|
||||
|
||||
/* Reset lower dimension's span tree and previous
|
||||
* span since we just committed it and will start
|
||||
@ -9584,7 +9584,7 @@ H5S__hyper_project_intersection(const H5S_t *src_space, const H5S_t *dst_space,
|
||||
|
||||
/* Append span in lowest dimension */
|
||||
if(H5S_hyper_append_span(&prev_span[proj_rank - 1], &curr_span_tree[proj_rank - 1], low, high, NULL, NULL) < 0)
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTSELECT, FAIL, "can't allocate hyperslab span")
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTAPPEND, FAIL, "can't allocate hyperslab span")
|
||||
|
||||
/* Update remaining offset and length */
|
||||
proj_off += (hsize_t)span_len;
|
||||
@ -9607,7 +9607,7 @@ loop_end:
|
||||
/* Append remaining span tree to higher dimension */
|
||||
low = curr_span_up_dim[i - 1] % proj_space->extent.size[i - 1];
|
||||
if(H5S_hyper_append_span(&prev_span[i - 1], &curr_span_tree[i - 1], low, low, curr_span_tree[i], NULL) < 0)
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTSELECT, FAIL, "can't allocate hyperslab span")
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTAPPEND, FAIL, "can't allocate hyperslab span")
|
||||
|
||||
/* Reset span tree */
|
||||
if(H5S_hyper_free_span_info(curr_span_tree[i]) < 0)
|
||||
|
@ -217,6 +217,7 @@ MINOR, DSPACE, H5E_CANTSELECT, Can't select hyperslab
|
||||
MINOR, DSPACE, H5E_CANTNEXT, Can't move to next iterator location
|
||||
MINOR, DSPACE, H5E_BADSELECT, Invalid selection
|
||||
MINOR, DSPACE, H5E_CANTCOMPARE, Can't compare objects
|
||||
MINOR, DSPACE, H5E_CANTAPPEND, Can't append object
|
||||
|
||||
# Property list errors
|
||||
MINOR, PLIST, H5E_CANTGET, Can't get value
|
||||
|
Loading…
Reference in New Issue
Block a user