summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorgithub-actions <41898282+github-actions[bot]@users.noreply.github.com>2021-06-30 23:05:54 (GMT)
committergithub-actions <41898282+github-actions[bot]@users.noreply.github.com>2021-06-30 23:05:54 (GMT)
commit35dd6d6bbf9f12afbbbdeb82d68597294f53eb09 (patch)
tree16303a5d603a5b4c35aa2c827436b8f779f08616 /src
parent927efe7c1a02dbe9f1d7dea5358abd7c888dcf81 (diff)
downloadhdf5-35dd6d6bbf9f12afbbbdeb82d68597294f53eb09.zip
hdf5-35dd6d6bbf9f12afbbbdeb82d68597294f53eb09.tar.gz
hdf5-35dd6d6bbf9f12afbbbdeb82d68597294f53eb09.tar.bz2
Committing clang-format changes
Diffstat (limited to 'src')
-rw-r--r--src/H5VLcallback.c669
1 files changed, 338 insertions, 331 deletions
diff --git a/src/H5VLcallback.c b/src/H5VLcallback.c
index 6dca53e..5ecd6bc 100644
--- a/src/H5VLcallback.c
+++ b/src/H5VLcallback.c
@@ -92,11 +92,11 @@ typedef struct H5VL_attr_open_ctx_t {
/* DOWN: API routine parameters */
void * obj;
const H5VL_loc_params_t *loc_params;
- H5VL_class_t *cls;
- const char *name;
- hid_t aapl_id;
- hid_t dxpl_id;
- void **req;
+ H5VL_class_t * cls;
+ const char * name;
+ hid_t aapl_id;
+ hid_t dxpl_id;
+ void ** req;
/* UP: API routine return value */
void *ret_value;
@@ -105,44 +105,44 @@ typedef struct H5VL_attr_open_ctx_t {
/* Attribute read "common" callback context data */
typedef struct H5VL_attr_read_ctx_t {
/* DOWN: API routine parameters */
- void *obj;
+ void * obj;
H5VL_class_t *cls;
- hid_t mem_type_id;
- void *buf;
- hid_t dxpl_id;
- void **req;
+ hid_t mem_type_id;
+ void * buf;
+ hid_t dxpl_id;
+ void ** req;
} H5VL_attr_read_ctx_t;
/* Attribute write "common" callback context data */
typedef struct H5VL_attr_write_ctx_t {
/* DOWN: API routine parameters */
- void *obj;
+ void * obj;
H5VL_class_t *cls;
- hid_t mem_type_id;
- const void *buf;
- hid_t dxpl_id;
- void **req;
+ hid_t mem_type_id;
+ const void * buf;
+ hid_t dxpl_id;
+ void ** req;
} H5VL_attr_write_ctx_t;
/* Attribute get "common" callback context data */
typedef struct H5VL_attr_get_ctx_t {
/* DOWN: API routine parameters */
- void *obj;
- H5VL_class_t *cls;
+ void * obj;
+ H5VL_class_t * cls;
H5VL_attr_get_args_t *args;
- hid_t dxpl_id;
- void **req;
+ hid_t dxpl_id;
+ void ** req;
} H5VL_attr_get_ctx_t;
/* Attribute specific "common" callback context data */
typedef struct H5VL_attr_specific_ctx_t {
/* DOWN: API routine parameters */
- void *obj;
- const H5VL_loc_params_t *loc_params;
- H5VL_class_t *cls;
+ void * obj;
+ const H5VL_loc_params_t * loc_params;
+ H5VL_class_t * cls;
H5VL_attr_specific_args_t *args;
- hid_t dxpl_id;
- void **req;
+ hid_t dxpl_id;
+ void ** req;
/* UP: API routine return value */
herr_t ret_value;
@@ -151,11 +151,11 @@ typedef struct H5VL_attr_specific_ctx_t {
/* Attribute optional "common" callback context data */
typedef struct H5VL_attr_optional_ctx_t {
/* DOWN: API routine parameters */
- void *obj;
- H5VL_class_t *cls;
+ void * obj;
+ H5VL_class_t * cls;
H5VL_optional_args_t *args;
- hid_t dxpl_id;
- void **req;
+ hid_t dxpl_id;
+ void ** req;
/* UP: API routine return value */
herr_t ret_value;
@@ -164,26 +164,26 @@ typedef struct H5VL_attr_optional_ctx_t {
/* Attribute close "common" callback context data */
typedef struct H5VL_attr_close_ctx_t {
/* DOWN: API routine parameters */
- void *obj;
+ void * obj;
H5VL_class_t *cls;
- hid_t dxpl_id;
- void **req;
+ hid_t dxpl_id;
+ void ** req;
} H5VL_attr_close_ctx_t;
/* Dataset create "common" callback context data */
typedef struct H5VL_dataset_create_ctx_t {
/* DOWN: API routine parameters */
- void *obj;
+ void * obj;
const H5VL_loc_params_t *loc_params;
- H5VL_class_t *cls;
- const char *name;
- hid_t lcpl_id;
- hid_t type_id;
- hid_t space_id;
- hid_t dcpl_id;
- hid_t dapl_id;
- hid_t dxpl_id;
- void **req;
+ H5VL_class_t * cls;
+ const char * name;
+ hid_t lcpl_id;
+ hid_t type_id;
+ hid_t space_id;
+ hid_t dcpl_id;
+ hid_t dapl_id;
+ hid_t dxpl_id;
+ void ** req;
/* UP: API routine return value */
void *ret_value;
@@ -192,13 +192,13 @@ typedef struct H5VL_dataset_create_ctx_t {
/* Dataset open "common" callback context data */
typedef struct H5VL_dataset_open_ctx_t {
/* DOWN: API routine parameters */
- void *obj;
+ void * obj;
const H5VL_loc_params_t *loc_params;
- H5VL_class_t *cls;
- const char *name;
- hid_t dapl_id;
- hid_t dxpl_id;
- void **req;
+ H5VL_class_t * cls;
+ const char * name;
+ hid_t dapl_id;
+ hid_t dxpl_id;
+ void ** req;
/* UP: API routine return value */
void *ret_value;
@@ -207,81 +207,81 @@ typedef struct H5VL_dataset_open_ctx_t {
/* Dataset read "common" callback context data */
typedef struct H5VL_dataset_read_ctx_t {
/* DOWN: API routine parameters */
- void *obj;
+ void * obj;
H5VL_class_t *cls;
- hid_t mem_type_id;
- hid_t mem_space_id;
- hid_t file_space_id;
- void *buf;
- hid_t dxpl_id;
- void **req;
+ hid_t mem_type_id;
+ hid_t mem_space_id;
+ hid_t file_space_id;
+ void * buf;
+ hid_t dxpl_id;
+ void ** req;
} H5VL_dataset_read_ctx_t;
/* Dataset write "common" callback context data */
typedef struct H5VL_dataset_write_ctx_t {
/* DOWN: API routine parameters */
- void *obj;
+ void * obj;
H5VL_class_t *cls;
- hid_t mem_type_id;
- hid_t mem_space_id;
- hid_t file_space_id;
- const void *buf;
- hid_t dxpl_id;
- void **req;
+ hid_t mem_type_id;
+ hid_t mem_space_id;
+ hid_t file_space_id;
+ const void * buf;
+ hid_t dxpl_id;
+ void ** req;
} H5VL_dataset_write_ctx_t;
/* Dataset get "common" callback context data */
typedef struct H5VL_dataset_get_ctx_t {
/* DOWN: API routine parameters */
- void *obj;
- H5VL_class_t *cls;
+ void * obj;
+ H5VL_class_t * cls;
H5VL_dataset_get_args_t *args;
- hid_t dxpl_id;
- void **req;
+ hid_t dxpl_id;
+ void ** req;
} H5VL_dataset_get_ctx_t;
/* Dataset specific "common" callback context data */
typedef struct H5VL_dataset_specific_ctx_t {
/* DOWN: API routine parameters */
- void *obj;
- H5VL_class_t *cls;
+ void * obj;
+ H5VL_class_t * cls;
H5VL_dataset_specific_args_t *args;
- hid_t dxpl_id;
- void **req;
+ hid_t dxpl_id;
+ void ** req;
} H5VL_dataset_specific_ctx_t;
/* Dataset optional "common" callback context data */
typedef struct H5VL_dataset_optional_ctx_t {
/* DOWN: API routine parameters */
- void *obj;
- H5VL_class_t *cls;
+ void * obj;
+ H5VL_class_t * cls;
H5VL_optional_args_t *args;
- hid_t dxpl_id;
- void **req;
+ hid_t dxpl_id;
+ void ** req;
} H5VL_dataset_optional_ctx_t;
/* Dataset close "common" callback context data */
typedef struct H5VL_dataset_close_ctx_t {
/* DOWN: API routine parameters */
- void *obj;
+ void * obj;
H5VL_class_t *cls;
- hid_t dxpl_id;
- void **req;
+ hid_t dxpl_id;
+ void ** req;
} H5VL_dataset_close_ctx_t;
/* Named datatype commit "common" callback context data */
typedef struct H5VL_datatype_commit_ctx_t {
/* DOWN: API routine parameters */
- void *obj;
+ void * obj;
const H5VL_loc_params_t *loc_params;
- H5VL_class_t *cls;
- const char *name;
- hid_t type_id;
- hid_t lcpl_id;
- hid_t tcpl_id;
- hid_t tapl_id;
- hid_t dxpl_id;
- void **req;
+ H5VL_class_t * cls;
+ const char * name;
+ hid_t type_id;
+ hid_t lcpl_id;
+ hid_t tcpl_id;
+ hid_t tapl_id;
+ hid_t dxpl_id;
+ void ** req;
/* UP: API routine return value */
void *ret_value;
@@ -290,13 +290,13 @@ typedef struct H5VL_datatype_commit_ctx_t {
/* Named datatype open "common" callback context data */
typedef struct H5VL_datatype_open_ctx_t {
/* DOWN: API routine parameters */
- void *obj;
+ void * obj;
const H5VL_loc_params_t *loc_params;
- H5VL_class_t *cls;
- const char *name;
- hid_t tapl_id;
- hid_t dxpl_id;
- void **req;
+ H5VL_class_t * cls;
+ const char * name;
+ hid_t tapl_id;
+ hid_t dxpl_id;
+ void ** req;
/* UP: API routine return value */
void *ret_value;
@@ -305,40 +305,40 @@ typedef struct H5VL_datatype_open_ctx_t {
/* Datatype get "common" callback context data */
typedef struct H5VL_datatype_get_ctx_t {
/* DOWN: API routine parameters */
- void *obj;
- H5VL_class_t *cls;
+ void * obj;
+ H5VL_class_t * cls;
H5VL_datatype_get_args_t *args;
- hid_t dxpl_id;
- void **req;
+ hid_t dxpl_id;
+ void ** req;
} H5VL_datatype_get_ctx_t;
/* Datatype specific "common" callback context data */
typedef struct H5VL_datatype_specific_ctx_t {
/* DOWN: API routine parameters */
- void *obj;
- H5VL_class_t *cls;
+ void * obj;
+ H5VL_class_t * cls;
H5VL_datatype_specific_args_t *args;
- hid_t dxpl_id;
- void **req;
+ hid_t dxpl_id;
+ void ** req;
} H5VL_datatype_specific_ctx_t;
/* Datatype optional "common" callback context data */
typedef struct H5VL_datatype_optional_ctx_t {
/* DOWN: API routine parameters */
- void *obj;
- H5VL_class_t *cls;
+ void * obj;
+ H5VL_class_t * cls;
H5VL_optional_args_t *args;
- hid_t dxpl_id;
- void **req;
+ hid_t dxpl_id;
+ void ** req;
} H5VL_datatype_optional_ctx_t;
/* Datatype close "common" callback context data */
typedef struct H5VL_datatype_close_ctx_t {
/* DOWN: API routine parameters */
- void *obj;
+ void * obj;
H5VL_class_t *cls;
- hid_t dxpl_id;
- void **req;
+ hid_t dxpl_id;
+ void ** req;
} H5VL_datatype_close_ctx_t;
/********************/
@@ -1467,15 +1467,15 @@ H5VLattr_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_
/* Set up context */
ctx.obj = obj;
ctx.loc_params = loc_params;
- ctx.cls = cls;
- ctx.name = name;
- ctx.type_id = type_id;
- ctx.space_id = space_id;
- ctx.acpl_id = acpl_id;
- ctx.aapl_id = aapl_id;
- ctx.dxpl_id = dxpl_id;
- ctx.req = req;
- ctx.ret_value = NULL;
+ ctx.cls = cls;
+ ctx.name = name;
+ ctx.type_id = type_id;
+ ctx.space_id = space_id;
+ ctx.acpl_id = acpl_id;
+ ctx.aapl_id = aapl_id;
+ ctx.dxpl_id = dxpl_id;
+ ctx.req = req;
+ ctx.ret_value = NULL;
/* Invoke common wrapper routine */
if (H5VL__common_api_op(dxpl_id, H5VL__attr_create_api_op, &ctx) < 0)
@@ -1615,12 +1615,12 @@ H5VLattr_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id
/* Set up context */
ctx.obj = obj;
ctx.loc_params = loc_params;
- ctx.cls = cls;
- ctx.name = name;
- ctx.aapl_id = aapl_id;
- ctx.dxpl_id = dxpl_id;
- ctx.req = req;
- ctx.ret_value = NULL;
+ ctx.cls = cls;
+ ctx.name = name;
+ ctx.aapl_id = aapl_id;
+ ctx.dxpl_id = dxpl_id;
+ ctx.req = req;
+ ctx.ret_value = NULL;
/* Invoke common wrapper routine */
if (H5VL__common_api_op(dxpl_id, H5VL__attr_open_api_op, &ctx) < 0)
@@ -1710,8 +1710,8 @@ done:
static herr_t
H5VL__attr_read_api_op(void *_ctx)
{
- H5VL_attr_read_ctx_t *ctx = (H5VL_attr_read_ctx_t *)_ctx; /* Get pointer to context */
- herr_t ret_value = SUCCEED; /* Return value */
+ H5VL_attr_read_ctx_t *ctx = (H5VL_attr_read_ctx_t *)_ctx; /* Get pointer to context */
+ herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_STATIC
@@ -1739,9 +1739,9 @@ done:
herr_t
H5VLattr_read(void *obj, hid_t connector_id, hid_t mem_type_id, void *buf, hid_t dxpl_id, void **req /*out*/)
{
- H5VL_attr_read_ctx_t ctx; /* Context for common API wrapper call */
- H5VL_class_t *cls; /* VOL connector's class struct */
- herr_t ret_value = SUCCEED; /* Return value */
+ H5VL_attr_read_ctx_t ctx; /* Context for common API wrapper call */
+ H5VL_class_t * cls; /* VOL connector's class struct */
+ herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_API_WRAPPER(FAIL)
H5TRACE6("e", "*xii*xix", obj, connector_id, mem_type_id, buf, dxpl_id, req);
@@ -1753,12 +1753,12 @@ H5VLattr_read(void *obj, hid_t connector_id, hid_t mem_type_id, void *buf, hid_t
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a VOL connector ID")
/* Set up context */
- ctx.obj = obj;
- ctx.cls = cls;
+ ctx.obj = obj;
+ ctx.cls = cls;
ctx.mem_type_id = mem_type_id;
- ctx.buf = buf;
- ctx.dxpl_id = dxpl_id;
- ctx.req = req;
+ ctx.buf = buf;
+ ctx.dxpl_id = dxpl_id;
+ ctx.req = req;
/* Invoke common wrapper routine */
if (H5VL__common_api_op(dxpl_id, H5VL__attr_read_api_op, &ctx) < 0)
@@ -1846,8 +1846,8 @@ done:
static herr_t
H5VL__attr_write_api_op(void *_ctx)
{
- H5VL_attr_write_ctx_t *ctx = (H5VL_attr_write_ctx_t *)_ctx; /* Get pointer to context */
- herr_t ret_value = SUCCEED; /* Return value */
+ H5VL_attr_write_ctx_t *ctx = (H5VL_attr_write_ctx_t *)_ctx; /* Get pointer to context */
+ herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_STATIC
@@ -1876,9 +1876,9 @@ herr_t
H5VLattr_write(void *obj, hid_t connector_id, hid_t mem_type_id, const void *buf, hid_t dxpl_id,
void **req /*out*/)
{
- H5VL_attr_write_ctx_t ctx; /* Context for common API wrapper call */
- H5VL_class_t *cls; /* VOL connector's class struct */
- herr_t ret_value = SUCCEED; /* Return value */
+ H5VL_attr_write_ctx_t ctx; /* Context for common API wrapper call */
+ H5VL_class_t * cls; /* VOL connector's class struct */
+ herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_API_WRAPPER(FAIL)
H5TRACE6("e", "*xii*xix", obj, connector_id, mem_type_id, buf, dxpl_id, req);
@@ -1890,12 +1890,12 @@ H5VLattr_write(void *obj, hid_t connector_id, hid_t mem_type_id, const void *buf
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a VOL connector ID")
/* Set up context */
- ctx.obj = obj;
- ctx.cls = cls;
+ ctx.obj = obj;
+ ctx.cls = cls;
ctx.mem_type_id = mem_type_id;
- ctx.buf = buf;
- ctx.dxpl_id = dxpl_id;
- ctx.req = req;
+ ctx.buf = buf;
+ ctx.dxpl_id = dxpl_id;
+ ctx.req = req;
/* Invoke common wrapper routine */
if (H5VL__common_api_op(dxpl_id, H5VL__attr_write_api_op, &ctx) < 0)
@@ -1982,8 +1982,8 @@ done:
static herr_t
H5VL__attr_get_api_op(void *_ctx)
{
- H5VL_attr_get_ctx_t *ctx = (H5VL_attr_get_ctx_t *)_ctx; /* Get pointer to context */
- herr_t ret_value = SUCCEED; /* Return value */
+ H5VL_attr_get_ctx_t *ctx = (H5VL_attr_get_ctx_t *)_ctx; /* Get pointer to context */
+ herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_STATIC
@@ -2011,9 +2011,9 @@ done:
herr_t
H5VLattr_get(void *obj, hid_t connector_id, H5VL_attr_get_args_t *args, hid_t dxpl_id, void **req /*out*/)
{
- H5VL_attr_get_ctx_t ctx; /* Context for common API wrapper call */
- H5VL_class_t *cls; /* VOL connector's class struct */
- herr_t ret_value = SUCCEED; /* Return value */
+ H5VL_attr_get_ctx_t ctx; /* Context for common API wrapper call */
+ H5VL_class_t * cls; /* VOL connector's class struct */
+ herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_API_WRAPPER(FAIL)
H5TRACE5("e", "*xi*!ix", obj, connector_id, args, dxpl_id, req);
@@ -2027,11 +2027,11 @@ H5VLattr_get(void *obj, hid_t connector_id, H5VL_attr_get_args_t *args, hid_t dx
HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "invalid argument struct")
/* Set up context */
- ctx.obj = obj;
- ctx.cls = cls;
- ctx.args = args;
+ ctx.obj = obj;
+ ctx.cls = cls;
+ ctx.args = args;
ctx.dxpl_id = dxpl_id;
- ctx.req = req;
+ ctx.req = req;
/* Invoke common wrapper routine */
if (H5VL__common_api_op(dxpl_id, H5VL__attr_get_api_op, &ctx) < 0)
@@ -2132,7 +2132,8 @@ H5VL__attr_specific_api_op(void *_ctx)
/* Call the corresponding internal VOL routine */
/* (Must capture return value from callback, for iterators) */
- ctx->ret_value = H5VL__attr_specific(ctx->obj, ctx->loc_params, ctx->cls, ctx->args, ctx->dxpl_id, ctx->req);
+ ctx->ret_value =
+ H5VL__attr_specific(ctx->obj, ctx->loc_params, ctx->cls, ctx->args, ctx->dxpl_id, ctx->req);
FUNC_LEAVE_NOAPI(SUCCEED)
} /* end H5VL__attr_specific_api_op() */
@@ -2151,9 +2152,9 @@ herr_t
H5VLattr_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
H5VL_attr_specific_args_t *args, hid_t dxpl_id, void **req /*out*/)
{
- H5VL_attr_specific_ctx_t ctx; /* Context for common API wrapper call */
- H5VL_class_t *cls; /* VOL connector's class struct */
- herr_t ret_value = SUCCEED; /* Return value */
+ H5VL_attr_specific_ctx_t ctx; /* Context for common API wrapper call */
+ H5VL_class_t * cls; /* VOL connector's class struct */
+ herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_API_WRAPPER(FAIL)
H5TRACE6("e", "*x*#i*!ix", obj, loc_params, connector_id, args, dxpl_id, req);
@@ -2165,13 +2166,13 @@ H5VLattr_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connecto
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a VOL connector ID")
/* Set up context */
- ctx.obj = obj;
+ ctx.obj = obj;
ctx.loc_params = loc_params;
- ctx.cls = cls;
- ctx.args = args;
- ctx.dxpl_id = dxpl_id;
- ctx.req = req;
- ctx.ret_value = -1;
+ ctx.cls = cls;
+ ctx.args = args;
+ ctx.dxpl_id = dxpl_id;
+ ctx.req = req;
+ ctx.ret_value = -1;
/* Invoke common wrapper routine */
if (H5VL__common_api_op(dxpl_id, H5VL__attr_specific_api_op, &ctx) < 0)
@@ -2292,9 +2293,9 @@ herr_t
H5VLattr_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
void **req /*out*/)
{
- H5VL_attr_optional_ctx_t ctx; /* Context for common API wrapper call */
- H5VL_class_t *cls; /* VOL connector's class struct */
- herr_t ret_value = SUCCEED; /* Return value */
+ H5VL_attr_optional_ctx_t ctx; /* Context for common API wrapper call */
+ H5VL_class_t * cls; /* VOL connector's class struct */
+ herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_API_WRAPPER(FAIL)
H5TRACE5("e", "*xi*!ix", obj, connector_id, args, dxpl_id, req);
@@ -2306,11 +2307,11 @@ H5VLattr_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a VOL connector ID")
/* Set up context */
- ctx.obj = obj;
- ctx.cls = cls;
- ctx.args = args;
- ctx.dxpl_id = dxpl_id;
- ctx.req = req;
+ ctx.obj = obj;
+ ctx.cls = cls;
+ ctx.args = args;
+ ctx.dxpl_id = dxpl_id;
+ ctx.req = req;
ctx.ret_value = -1;
/* Invoke common wrapper routine */
@@ -2438,8 +2439,8 @@ done:
static herr_t
H5VL__attr_close_api_op(void *_ctx)
{
- H5VL_attr_close_ctx_t *ctx = (H5VL_attr_close_ctx_t *)_ctx; /* Get pointer to context */
- herr_t ret_value = SUCCEED; /* Return value */
+ H5VL_attr_close_ctx_t *ctx = (H5VL_attr_close_ctx_t *)_ctx; /* Get pointer to context */
+ herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_STATIC
@@ -2467,9 +2468,9 @@ done:
herr_t
H5VLattr_close(void *obj, hid_t connector_id, hid_t dxpl_id, void **req /*out*/)
{
- H5VL_attr_close_ctx_t ctx; /* Context for common API wrapper call */
- H5VL_class_t *cls; /* VOL connector's class struct */
- herr_t ret_value = SUCCEED; /* Return value */
+ H5VL_attr_close_ctx_t ctx; /* Context for common API wrapper call */
+ H5VL_class_t * cls; /* VOL connector's class struct */
+ herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_API_WRAPPER(FAIL)
H5TRACE4("e", "*xiix", obj, connector_id, dxpl_id, req);
@@ -2481,10 +2482,10 @@ H5VLattr_close(void *obj, hid_t connector_id, hid_t dxpl_id, void **req /*out*/)
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a VOL connector ID")
/* Set up context */
- ctx.obj = obj;
- ctx.cls = cls;
+ ctx.obj = obj;
+ ctx.cls = cls;
ctx.dxpl_id = dxpl_id;
- ctx.req = req;
+ ctx.req = req;
/* Invoke common wrapper routine */
if (H5VL__common_api_op(dxpl_id, H5VL__attr_close_api_op, &ctx) < 0)
@@ -2578,8 +2579,8 @@ done:
static herr_t
H5VL__dataset_create_api_op(void *_ctx)
{
- H5VL_dataset_create_ctx_t *ctx = (H5VL_dataset_create_ctx_t *)_ctx; /* Get pointer to context */
- herr_t ret_value = SUCCEED; /* Return value */
+ H5VL_dataset_create_ctx_t *ctx = (H5VL_dataset_create_ctx_t *)_ctx; /* Get pointer to context */
+ herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_STATIC
@@ -2587,8 +2588,9 @@ H5VL__dataset_create_api_op(void *_ctx)
HDassert(ctx);
/* Call the corresponding internal VOL routine */
- if (NULL == (ctx->ret_value = H5VL__dataset_create(ctx->obj, ctx->loc_params, ctx->cls, ctx->name, ctx->lcpl_id, ctx->type_id, ctx->space_id,
- ctx->dcpl_id, ctx->dapl_id, ctx->dxpl_id, ctx->req)))
+ if (NULL == (ctx->ret_value = H5VL__dataset_create(ctx->obj, ctx->loc_params, ctx->cls, ctx->name,
+ ctx->lcpl_id, ctx->type_id, ctx->space_id,
+ ctx->dcpl_id, ctx->dapl_id, ctx->dxpl_id, ctx->req)))
HGOTO_ERROR(H5E_VOL, H5E_CANTCREATE, FAIL, "unable to create dataset")
done:
@@ -2610,9 +2612,9 @@ H5VLdataset_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connect
hid_t lcpl_id, hid_t type_id, hid_t space_id, hid_t dcpl_id, hid_t dapl_id, hid_t dxpl_id,
void **req /*out*/)
{
- H5VL_dataset_create_ctx_t ctx; /* Context for common API wrapper call */
- H5VL_class_t *cls; /* VOL connector's class struct */
- void * ret_value = NULL; /* Return value */
+ H5VL_dataset_create_ctx_t ctx; /* Context for common API wrapper call */
+ H5VL_class_t * cls; /* VOL connector's class struct */
+ void * ret_value = NULL; /* Return value */
FUNC_ENTER_API_WRAPPER(NULL)
H5TRACE11("*x", "*x*#i*siiiiiix", obj, loc_params, connector_id, name, lcpl_id, type_id, space_id,
@@ -2625,18 +2627,18 @@ H5VLdataset_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connect
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, NULL, "not a VOL connector ID")
/* Set up context */
- ctx.obj = obj;
+ ctx.obj = obj;
ctx.loc_params = loc_params;
- ctx.cls = cls;
- ctx.name = name;
- ctx.lcpl_id = lcpl_id;
- ctx.type_id = type_id;
- ctx.space_id = space_id;
- ctx.dcpl_id = dcpl_id;
- ctx.dapl_id = dapl_id;
- ctx.dxpl_id = dxpl_id;
- ctx.req = req;
- ctx.ret_value = NULL;
+ ctx.cls = cls;
+ ctx.name = name;
+ ctx.lcpl_id = lcpl_id;
+ ctx.type_id = type_id;
+ ctx.space_id = space_id;
+ ctx.dcpl_id = dcpl_id;
+ ctx.dapl_id = dapl_id;
+ ctx.dxpl_id = dxpl_id;
+ ctx.req = req;
+ ctx.ret_value = NULL;
/* Invoke common wrapper routine */
if (H5VL__common_api_op(dxpl_id, H5VL__dataset_create_api_op, &ctx) < 0)
@@ -2729,8 +2731,8 @@ done:
static herr_t
H5VL__dataset_open_api_op(void *_ctx)
{
- H5VL_dataset_open_ctx_t *ctx = (H5VL_dataset_open_ctx_t *)_ctx; /* Get pointer to context */
- herr_t ret_value = SUCCEED; /* Return value */
+ H5VL_dataset_open_ctx_t *ctx = (H5VL_dataset_open_ctx_t *)_ctx; /* Get pointer to context */
+ herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_STATIC
@@ -2738,7 +2740,8 @@ H5VL__dataset_open_api_op(void *_ctx)
HDassert(ctx);
/* Call the corresponding internal VOL routine */
- if (NULL == (ctx->ret_value = H5VL__dataset_open(ctx->obj, ctx->loc_params, ctx->cls, ctx->name, ctx->dapl_id, ctx->dxpl_id, ctx->req)))
+ if (NULL == (ctx->ret_value = H5VL__dataset_open(ctx->obj, ctx->loc_params, ctx->cls, ctx->name,
+ ctx->dapl_id, ctx->dxpl_id, ctx->req)))
HGOTO_ERROR(H5E_VOL, H5E_CANTOPENOBJ, FAIL, "unable to open dataset")
done:
@@ -2759,9 +2762,9 @@ void *
H5VLdataset_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char *name,
hid_t dapl_id, hid_t dxpl_id, void **req /*out*/)
{
- H5VL_dataset_open_ctx_t ctx; /* Context for common API wrapper call */
- H5VL_class_t *cls; /* VOL connector's class struct */
- void * ret_value = NULL; /* Return value */
+ H5VL_dataset_open_ctx_t ctx; /* Context for common API wrapper call */
+ H5VL_class_t * cls; /* VOL connector's class struct */
+ void * ret_value = NULL; /* Return value */
FUNC_ENTER_API_WRAPPER(NULL)
H5TRACE7("*x", "*x*#i*siix", obj, loc_params, connector_id, name, dapl_id, dxpl_id, req);
@@ -2773,14 +2776,14 @@ H5VLdataset_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, NULL, "not a VOL connector ID")
/* Set up context */
- ctx.obj = obj;
+ ctx.obj = obj;
ctx.loc_params = loc_params;
- ctx.cls = cls;
- ctx.name = name;
- ctx.dapl_id = dapl_id;
- ctx.dxpl_id = dxpl_id;
- ctx.req = req;
- ctx.ret_value = NULL;
+ ctx.cls = cls;
+ ctx.name = name;
+ ctx.dapl_id = dapl_id;
+ ctx.dxpl_id = dxpl_id;
+ ctx.req = req;
+ ctx.ret_value = NULL;
/* Invoke common wrapper routine */
if (H5VL__common_api_op(dxpl_id, H5VL__dataset_open_api_op, &ctx) < 0)
@@ -2873,8 +2876,8 @@ done:
static herr_t
H5VL__dataset_read_api_op(void *_ctx)
{
- H5VL_dataset_read_ctx_t *ctx = (H5VL_dataset_read_ctx_t *)_ctx; /* Get pointer to context */
- herr_t ret_value = SUCCEED; /* Return value */
+ H5VL_dataset_read_ctx_t *ctx = (H5VL_dataset_read_ctx_t *)_ctx; /* Get pointer to context */
+ herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_STATIC
@@ -2882,7 +2885,8 @@ H5VL__dataset_read_api_op(void *_ctx)
HDassert(ctx);
/* Call the corresponding internal VOL routine */
- if (H5VL__dataset_read(ctx->obj, ctx->cls, ctx->mem_type_id, ctx->mem_space_id, ctx->file_space_id, ctx->dxpl_id, ctx->buf, ctx->req) < 0)
+ if (H5VL__dataset_read(ctx->obj, ctx->cls, ctx->mem_type_id, ctx->mem_space_id, ctx->file_space_id,
+ ctx->dxpl_id, ctx->buf, ctx->req) < 0)
HGOTO_ERROR(H5E_VOL, H5E_CANTINIT, FAIL, "unable to read dataset")
done:
@@ -2903,9 +2907,9 @@ herr_t
H5VLdataset_read(void *obj, hid_t connector_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id,
hid_t dxpl_id, void *buf, void **req /*out*/)
{
- H5VL_dataset_read_ctx_t ctx; /* Context for common API wrapper call */
- H5VL_class_t *cls; /* VOL connector's class struct */
- herr_t ret_value = SUCCEED; /* Return value */
+ H5VL_dataset_read_ctx_t ctx; /* Context for common API wrapper call */
+ H5VL_class_t * cls; /* VOL connector's class struct */
+ herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_API_WRAPPER(FAIL)
H5TRACE8("e", "*xiiiii*xx", obj, connector_id, mem_type_id, mem_space_id, file_space_id, dxpl_id, buf,
@@ -2918,14 +2922,14 @@ H5VLdataset_read(void *obj, hid_t connector_id, hid_t mem_type_id, hid_t mem_spa
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a VOL connector ID")
/* Set up context */
- ctx.obj = obj;
- ctx.cls = cls;
- ctx.mem_type_id = mem_type_id;
- ctx.mem_space_id = mem_space_id;
+ ctx.obj = obj;
+ ctx.cls = cls;
+ ctx.mem_type_id = mem_type_id;
+ ctx.mem_space_id = mem_space_id;
ctx.file_space_id = file_space_id;
- ctx.buf = buf;
- ctx.dxpl_id = dxpl_id;
- ctx.req = req;
+ ctx.buf = buf;
+ ctx.dxpl_id = dxpl_id;
+ ctx.req = req;
/* Invoke common wrapper routine */
if (H5VL__common_api_op(dxpl_id, H5VL__dataset_read_api_op, &ctx) < 0)
@@ -3015,8 +3019,8 @@ done:
static herr_t
H5VL__dataset_write_api_op(void *_ctx)
{
- H5VL_dataset_write_ctx_t *ctx = (H5VL_dataset_write_ctx_t *)_ctx; /* Get pointer to context */
- herr_t ret_value = SUCCEED; /* Return value */
+ H5VL_dataset_write_ctx_t *ctx = (H5VL_dataset_write_ctx_t *)_ctx; /* Get pointer to context */
+ herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_STATIC
@@ -3024,7 +3028,8 @@ H5VL__dataset_write_api_op(void *_ctx)
HDassert(ctx);
/* Call the corresponding internal VOL routine */
- if (H5VL__dataset_write(ctx->obj, ctx->cls, ctx->mem_type_id, ctx->mem_space_id, ctx->file_space_id, ctx->dxpl_id, ctx->buf, ctx->req) < 0)
+ if (H5VL__dataset_write(ctx->obj, ctx->cls, ctx->mem_type_id, ctx->mem_space_id, ctx->file_space_id,
+ ctx->dxpl_id, ctx->buf, ctx->req) < 0)
HGOTO_ERROR(H5E_VOL, H5E_CANTINIT, FAIL, "unable to write dataset")
done:
@@ -3045,9 +3050,9 @@ herr_t
H5VLdataset_write(void *obj, hid_t connector_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id,
hid_t dxpl_id, const void *buf, void **req /*out*/)
{
- H5VL_dataset_write_ctx_t ctx; /* Context for common API wrapper call */
- H5VL_class_t *cls; /* VOL connector's class struct */
- herr_t ret_value = SUCCEED; /* Return value */
+ H5VL_dataset_write_ctx_t ctx; /* Context for common API wrapper call */
+ H5VL_class_t * cls; /* VOL connector's class struct */
+ herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_API_WRAPPER(FAIL)
H5TRACE8("e", "*xiiiii*xx", obj, connector_id, mem_type_id, mem_space_id, file_space_id, dxpl_id, buf,
@@ -3060,14 +3065,14 @@ H5VLdataset_write(void *obj, hid_t connector_id, hid_t mem_type_id, hid_t mem_sp
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a VOL connector ID")
/* Set up context */
- ctx.obj = obj;
- ctx.cls = cls;
- ctx.mem_type_id = mem_type_id;
- ctx.mem_space_id = mem_space_id;
+ ctx.obj = obj;
+ ctx.cls = cls;
+ ctx.mem_type_id = mem_type_id;
+ ctx.mem_space_id = mem_space_id;
ctx.file_space_id = file_space_id;
- ctx.buf = buf;
- ctx.dxpl_id = dxpl_id;
- ctx.req = req;
+ ctx.buf = buf;
+ ctx.dxpl_id = dxpl_id;
+ ctx.req = req;
/* Invoke common wrapper routine */
if (H5VL__common_api_op(dxpl_id, H5VL__dataset_write_api_op, &ctx) < 0)
@@ -3155,8 +3160,8 @@ done:
static herr_t
H5VL__dataset_get_api_op(void *_ctx)
{
- H5VL_dataset_get_ctx_t *ctx = (H5VL_dataset_get_ctx_t *)_ctx; /* Get pointer to context */
- herr_t ret_value = SUCCEED; /* Return value */
+ H5VL_dataset_get_ctx_t *ctx = (H5VL_dataset_get_ctx_t *)_ctx; /* Get pointer to context */
+ herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_STATIC
@@ -3185,9 +3190,9 @@ herr_t
H5VLdataset_get(void *obj, hid_t connector_id, H5VL_dataset_get_args_t *args, hid_t dxpl_id,
void **req /*out*/)
{
- H5VL_dataset_get_ctx_t ctx; /* Context for common API wrapper call */
- H5VL_class_t *cls; /* VOL connector's class struct */
- herr_t ret_value = SUCCEED; /* Return value */
+ H5VL_dataset_get_ctx_t ctx; /* Context for common API wrapper call */
+ H5VL_class_t * cls; /* VOL connector's class struct */
+ herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_API_WRAPPER(FAIL)
H5TRACE5("e", "*xi*!ix", obj, connector_id, args, dxpl_id, req);
@@ -3199,11 +3204,11 @@ H5VLdataset_get(void *obj, hid_t connector_id, H5VL_dataset_get_args_t *args, hi
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a VOL connector ID")
/* Set up context */
- ctx.obj = obj;
- ctx.cls = cls;
- ctx.args = args;
+ ctx.obj = obj;
+ ctx.cls = cls;
+ ctx.args = args;
ctx.dxpl_id = dxpl_id;
- ctx.req = req;
+ ctx.req = req;
/* Invoke common wrapper routine */
if (H5VL__common_api_op(dxpl_id, H5VL__dataset_get_api_op, &ctx) < 0)
@@ -3292,8 +3297,8 @@ done:
static herr_t
H5VL__dataset_specific_api_op(void *_ctx)
{
- H5VL_dataset_specific_ctx_t *ctx = (H5VL_dataset_specific_ctx_t *)_ctx; /* Get pointer to context */
- herr_t ret_value = SUCCEED; /* Return value */
+ H5VL_dataset_specific_ctx_t *ctx = (H5VL_dataset_specific_ctx_t *)_ctx; /* Get pointer to context */
+ herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_STATIC
@@ -3322,9 +3327,9 @@ herr_t
H5VLdataset_specific(void *obj, hid_t connector_id, H5VL_dataset_specific_args_t *args, hid_t dxpl_id,
void **req /*out*/)
{
- H5VL_dataset_specific_ctx_t ctx; /* Context for common API wrapper call */
- H5VL_class_t *cls; /* VOL connector's class struct */
- herr_t ret_value = SUCCEED; /* Return value */
+ H5VL_dataset_specific_ctx_t ctx; /* Context for common API wrapper call */
+ H5VL_class_t * cls; /* VOL connector's class struct */
+ herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_API_WRAPPER(FAIL)
H5TRACE5("e", "*xi*!ix", obj, connector_id, args, dxpl_id, req);
@@ -3336,11 +3341,11 @@ H5VLdataset_specific(void *obj, hid_t connector_id, H5VL_dataset_specific_args_t
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a VOL connector ID")
/* Set up context */
- ctx.obj = obj;
- ctx.cls = cls;
- ctx.args = args;
+ ctx.obj = obj;
+ ctx.cls = cls;
+ ctx.args = args;
ctx.dxpl_id = dxpl_id;
- ctx.req = req;
+ ctx.req = req;
/* Invoke common wrapper routine */
if (H5VL__common_api_op(dxpl_id, H5VL__dataset_specific_api_op, &ctx) < 0)
@@ -3428,8 +3433,8 @@ done:
static herr_t
H5VL__dataset_optional_api_op(void *_ctx)
{
- H5VL_dataset_optional_ctx_t *ctx = (H5VL_dataset_optional_ctx_t *)_ctx; /* Get pointer to context */
- herr_t ret_value = SUCCEED; /* Return value */
+ H5VL_dataset_optional_ctx_t *ctx = (H5VL_dataset_optional_ctx_t *)_ctx; /* Get pointer to context */
+ herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_STATIC
@@ -3458,9 +3463,9 @@ herr_t
H5VLdataset_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
void **req /*out*/)
{
- H5VL_dataset_optional_ctx_t ctx; /* Context for common API wrapper call */
- H5VL_class_t *cls; /* VOL connector's class struct */
- herr_t ret_value = SUCCEED; /* Return value */
+ H5VL_dataset_optional_ctx_t ctx; /* Context for common API wrapper call */
+ H5VL_class_t * cls; /* VOL connector's class struct */
+ herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_API_WRAPPER(FAIL)
H5TRACE5("e", "*xi*!ix", obj, connector_id, args, dxpl_id, req);
@@ -3472,11 +3477,11 @@ H5VLdataset_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args,
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a VOL connector ID")
/* Set up context */
- ctx.obj = obj;
- ctx.cls = cls;
- ctx.args = args;
+ ctx.obj = obj;
+ ctx.cls = cls;
+ ctx.args = args;
ctx.dxpl_id = dxpl_id;
- ctx.req = req;
+ ctx.req = req;
/* Invoke common wrapper routine */
if (H5VL__common_api_op(dxpl_id, H5VL__dataset_optional_api_op, &ctx) < 0)
@@ -3616,8 +3621,8 @@ done:
static herr_t
H5VL__dataset_close_api_op(void *_ctx)
{
- H5VL_dataset_close_ctx_t *ctx = (H5VL_dataset_close_ctx_t *)_ctx; /* Get pointer to context */
- herr_t ret_value = SUCCEED; /* Return value */
+ H5VL_dataset_close_ctx_t *ctx = (H5VL_dataset_close_ctx_t *)_ctx; /* Get pointer to context */
+ herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_STATIC
@@ -3645,9 +3650,9 @@ done:
herr_t
H5VLdataset_close(void *obj, hid_t connector_id, hid_t dxpl_id, void **req /*out*/)
{
- H5VL_dataset_close_ctx_t ctx; /* Context for common API wrapper call */
- H5VL_class_t *cls; /* VOL connector's class struct */
- herr_t ret_value = SUCCEED; /* Return value */
+ H5VL_dataset_close_ctx_t ctx; /* Context for common API wrapper call */
+ H5VL_class_t * cls; /* VOL connector's class struct */
+ herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_API_WRAPPER(FAIL)
H5TRACE4("e", "*xiix", obj, connector_id, dxpl_id, req);
@@ -3659,10 +3664,10 @@ H5VLdataset_close(void *obj, hid_t connector_id, hid_t dxpl_id, void **req /*out
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a VOL connector ID")
/* Set up context */
- ctx.obj = obj;
- ctx.cls = cls;
+ ctx.obj = obj;
+ ctx.cls = cls;
ctx.dxpl_id = dxpl_id;
- ctx.req = req;
+ ctx.req = req;
/* Invoke common wrapper routine */
if (H5VL__common_api_op(dxpl_id, H5VL__dataset_close_api_op, &ctx) < 0)
@@ -3754,8 +3759,8 @@ done:
static herr_t
H5VL__datatype_commit_api_op(void *_ctx)
{
- H5VL_datatype_commit_ctx_t *ctx = (H5VL_datatype_commit_ctx_t *)_ctx; /* Get pointer to context */
- herr_t ret_value = SUCCEED; /* Return value */
+ H5VL_datatype_commit_ctx_t *ctx = (H5VL_datatype_commit_ctx_t *)_ctx; /* Get pointer to context */
+ herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_STATIC
@@ -3763,8 +3768,9 @@ H5VL__datatype_commit_api_op(void *_ctx)
HDassert(ctx);
/* Call the corresponding internal VOL routine */
- if (NULL == (ctx->ret_value = H5VL__datatype_commit(ctx->obj, ctx->loc_params, ctx->cls, ctx->name, ctx->type_id, ctx->lcpl_id, ctx->tcpl_id,
- ctx->tapl_id, ctx->dxpl_id, ctx->req)))
+ if (NULL == (ctx->ret_value =
+ H5VL__datatype_commit(ctx->obj, ctx->loc_params, ctx->cls, ctx->name, ctx->type_id,
+ ctx->lcpl_id, ctx->tcpl_id, ctx->tapl_id, ctx->dxpl_id, ctx->req)))
HGOTO_ERROR(H5E_VOL, H5E_CANTCREATE, FAIL, "unable to commit datatype")
done:
@@ -3786,9 +3792,9 @@ H5VLdatatype_commit(void *obj, const H5VL_loc_params_t *loc_params, hid_t connec
hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id, hid_t dxpl_id,
void **req /*out*/)
{
- H5VL_datatype_commit_ctx_t ctx; /* Context for common API wrapper call */
- H5VL_class_t *cls; /* VOL connector's class struct */
- void * ret_value = NULL; /* Return value */
+ H5VL_datatype_commit_ctx_t ctx; /* Context for common API wrapper call */
+ H5VL_class_t * cls; /* VOL connector's class struct */
+ void * ret_value = NULL; /* Return value */
FUNC_ENTER_API_WRAPPER(NULL)
H5TRACE10("*x", "*x*#i*siiiiix", obj, loc_params, connector_id, name, type_id, lcpl_id, tcpl_id, tapl_id,
@@ -3801,17 +3807,17 @@ H5VLdatatype_commit(void *obj, const H5VL_loc_params_t *loc_params, hid_t connec
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, NULL, "not a VOL connector ID")
/* Set up context */
- ctx.obj = obj;
+ ctx.obj = obj;
ctx.loc_params = loc_params;
- ctx.cls = cls;
- ctx.name = name;
- ctx.type_id = type_id;
- ctx.lcpl_id = lcpl_id;
- ctx.tcpl_id = tcpl_id;
- ctx.tapl_id = tapl_id;
- ctx.dxpl_id = dxpl_id;
- ctx.req = req;
- ctx.ret_value = NULL;
+ ctx.cls = cls;
+ ctx.name = name;
+ ctx.type_id = type_id;
+ ctx.lcpl_id = lcpl_id;
+ ctx.tcpl_id = tcpl_id;
+ ctx.tapl_id = tapl_id;
+ ctx.dxpl_id = dxpl_id;
+ ctx.req = req;
+ ctx.ret_value = NULL;
/* Invoke common wrapper routine */
if (H5VL__common_api_op(dxpl_id, H5VL__datatype_commit_api_op, &ctx) < 0)
@@ -3904,8 +3910,8 @@ done:
static herr_t
H5VL__datatype_open_api_op(void *_ctx)
{
- H5VL_datatype_open_ctx_t *ctx = (H5VL_datatype_open_ctx_t *)_ctx; /* Get pointer to context */
- herr_t ret_value = SUCCEED; /* Return value */
+ H5VL_datatype_open_ctx_t *ctx = (H5VL_datatype_open_ctx_t *)_ctx; /* Get pointer to context */
+ herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_STATIC
@@ -3913,7 +3919,8 @@ H5VL__datatype_open_api_op(void *_ctx)
HDassert(ctx);
/* Call the corresponding internal VOL routine */
- if (NULL == (ctx->ret_value = H5VL__datatype_open(ctx->obj, ctx->loc_params, ctx->cls, ctx->name, ctx->tapl_id, ctx->dxpl_id, ctx->req)))
+ if (NULL == (ctx->ret_value = H5VL__datatype_open(ctx->obj, ctx->loc_params, ctx->cls, ctx->name,
+ ctx->tapl_id, ctx->dxpl_id, ctx->req)))
HGOTO_ERROR(H5E_VOL, H5E_CANTOPENOBJ, FAIL, "unable to open datatype")
done:
@@ -3934,9 +3941,9 @@ void *
H5VLdatatype_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char *name,
hid_t tapl_id, hid_t dxpl_id, void **req /*out*/)
{
- H5VL_datatype_open_ctx_t ctx; /* Context for common API wrapper call */
- H5VL_class_t *cls; /* VOL connector's class struct */
- void * ret_value = NULL; /* Return value */
+ H5VL_datatype_open_ctx_t ctx; /* Context for common API wrapper call */
+ H5VL_class_t * cls; /* VOL connector's class struct */
+ void * ret_value = NULL; /* Return value */
FUNC_ENTER_API_WRAPPER(NULL)
H5TRACE7("*x", "*x*#i*siix", obj, loc_params, connector_id, name, tapl_id, dxpl_id, req);
@@ -3948,14 +3955,14 @@ H5VLdatatype_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connecto
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, NULL, "not a VOL connector ID")
/* Set up context */
- ctx.obj = obj;
+ ctx.obj = obj;
ctx.loc_params = loc_params;
- ctx.cls = cls;
- ctx.name = name;
- ctx.tapl_id = tapl_id;
- ctx.dxpl_id = dxpl_id;
- ctx.req = req;
- ctx.ret_value = NULL;
+ ctx.cls = cls;
+ ctx.name = name;
+ ctx.tapl_id = tapl_id;
+ ctx.dxpl_id = dxpl_id;
+ ctx.req = req;
+ ctx.ret_value = NULL;
/* Invoke common wrapper routine */
if (H5VL__common_api_op(dxpl_id, H5VL__datatype_open_api_op, &ctx) < 0)
@@ -4046,8 +4053,8 @@ done:
static herr_t
H5VL__datatype_get_api_op(void *_ctx)
{
- H5VL_datatype_get_ctx_t *ctx = (H5VL_datatype_get_ctx_t *)_ctx; /* Get pointer to context */
- herr_t ret_value = SUCCEED; /* Return value */
+ H5VL_datatype_get_ctx_t *ctx = (H5VL_datatype_get_ctx_t *)_ctx; /* Get pointer to context */
+ herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_STATIC
@@ -4076,9 +4083,9 @@ herr_t
H5VLdatatype_get(void *obj, hid_t connector_id, H5VL_datatype_get_args_t *args, hid_t dxpl_id,
void **req /*out*/)
{
- H5VL_datatype_get_ctx_t ctx; /* Context for common API wrapper call */
- H5VL_class_t *cls; /* VOL connector's class struct */
- herr_t ret_value = SUCCEED; /* Return value */
+ H5VL_datatype_get_ctx_t ctx; /* Context for common API wrapper call */
+ H5VL_class_t * cls; /* VOL connector's class struct */
+ herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_API_WRAPPER(FAIL)
H5TRACE5("e", "*xi*!ix", obj, connector_id, args, dxpl_id, req);
@@ -4090,11 +4097,11 @@ H5VLdatatype_get(void *obj, hid_t connector_id, H5VL_datatype_get_args_t *args,
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a VOL connector ID")
/* Set up context */
- ctx.obj = obj;
- ctx.cls = cls;
- ctx.args = args;
+ ctx.obj = obj;
+ ctx.cls = cls;
+ ctx.args = args;
ctx.dxpl_id = dxpl_id;
- ctx.req = req;
+ ctx.req = req;
/* Invoke common wrapper routine */
if (H5VL__common_api_op(dxpl_id, H5VL__datatype_get_api_op, &ctx) < 0)
@@ -4184,7 +4191,7 @@ static herr_t
H5VL__datatype_specific_api_op(void *_ctx)
{
H5VL_datatype_specific_ctx_t *ctx = (H5VL_datatype_specific_ctx_t *)_ctx; /* Get pointer to context */
- herr_t ret_value = SUCCEED; /* Return value */
+ herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_STATIC
@@ -4213,9 +4220,9 @@ herr_t
H5VLdatatype_specific(void *obj, hid_t connector_id, H5VL_datatype_specific_args_t *args, hid_t dxpl_id,
void **req /*out*/)
{
- H5VL_datatype_specific_ctx_t ctx; /* Context for common API wrapper call */
- H5VL_class_t *cls; /* VOL connector's class struct */
- herr_t ret_value = SUCCEED; /* Return value */
+ H5VL_datatype_specific_ctx_t ctx; /* Context for common API wrapper call */
+ H5VL_class_t * cls; /* VOL connector's class struct */
+ herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_API_WRAPPER(FAIL)
H5TRACE5("e", "*xi*!ix", obj, connector_id, args, dxpl_id, req);
@@ -4227,11 +4234,11 @@ H5VLdatatype_specific(void *obj, hid_t connector_id, H5VL_datatype_specific_args
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a VOL connector ID")
/* Set up context */
- ctx.obj = obj;
- ctx.cls = cls;
- ctx.args = args;
+ ctx.obj = obj;
+ ctx.cls = cls;
+ ctx.args = args;
ctx.dxpl_id = dxpl_id;
- ctx.req = req;
+ ctx.req = req;
/* Invoke common wrapper routine */
if (H5VL__common_api_op(dxpl_id, H5VL__datatype_specific_api_op, &ctx) < 0)
@@ -4364,7 +4371,7 @@ static herr_t
H5VL__datatype_optional_api_op(void *_ctx)
{
H5VL_datatype_optional_ctx_t *ctx = (H5VL_datatype_optional_ctx_t *)_ctx; /* Get pointer to context */
- herr_t ret_value = SUCCEED; /* Return value */
+ herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_STATIC
@@ -4393,9 +4400,9 @@ herr_t
H5VLdatatype_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
void **req /*out*/)
{
- H5VL_datatype_optional_ctx_t ctx; /* Context for common API wrapper call */
- H5VL_class_t *cls; /* VOL connector's class struct */
- herr_t ret_value = SUCCEED; /* Return value */
+ H5VL_datatype_optional_ctx_t ctx; /* Context for common API wrapper call */
+ H5VL_class_t * cls; /* VOL connector's class struct */
+ herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_API_WRAPPER(FAIL)
H5TRACE5("e", "*xi*!ix", obj, connector_id, args, dxpl_id, req);
@@ -4407,11 +4414,11 @@ H5VLdatatype_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args,
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a VOL connector ID")
/* Set up context */
- ctx.obj = obj;
- ctx.cls = cls;
- ctx.args = args;
+ ctx.obj = obj;
+ ctx.cls = cls;
+ ctx.args = args;
ctx.dxpl_id = dxpl_id;
- ctx.req = req;
+ ctx.req = req;
/* Invoke common wrapper routine */
if (H5VL__common_api_op(dxpl_id, H5VL__datatype_optional_api_op, &ctx) < 0)
@@ -4545,8 +4552,8 @@ done:
static herr_t
H5VL__datatype_close_api_op(void *_ctx)
{
- H5VL_datatype_close_ctx_t *ctx = (H5VL_datatype_close_ctx_t *)_ctx; /* Get pointer to context */
- herr_t ret_value = SUCCEED; /* Return value */
+ H5VL_datatype_close_ctx_t *ctx = (H5VL_datatype_close_ctx_t *)_ctx; /* Get pointer to context */
+ herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_STATIC
@@ -4574,9 +4581,9 @@ done:
herr_t
H5VLdatatype_close(void *obj, hid_t connector_id, hid_t dxpl_id, void **req /*out*/)
{
- H5VL_datatype_close_ctx_t ctx; /* Context for common API wrapper call */
- H5VL_class_t *cls; /* VOL connector's class struct */
- herr_t ret_value = SUCCEED; /* Return value */
+ H5VL_datatype_close_ctx_t ctx; /* Context for common API wrapper call */
+ H5VL_class_t * cls; /* VOL connector's class struct */
+ herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_API_WRAPPER(FAIL)
H5TRACE4("e", "*xiix", obj, connector_id, dxpl_id, req);
@@ -4588,10 +4595,10 @@ H5VLdatatype_close(void *obj, hid_t connector_id, hid_t dxpl_id, void **req /*ou
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a VOL connector ID")
/* Set up context */
- ctx.obj = obj;
- ctx.cls = cls;
+ ctx.obj = obj;
+ ctx.cls = cls;
ctx.dxpl_id = dxpl_id;
- ctx.req = req;
+ ctx.req = req;
/* Invoke common wrapper routine */
if (H5VL__common_api_op(dxpl_id, H5VL__datatype_close_api_op, &ctx) < 0)