![]() |
HDF5
1.12.0
|
Data Structures | |
| struct | H5A_compact_bt_ud_t |
| struct | H5A_dense_bt_ud_t |
| struct | H5A_dense_file_cp_ud_t |
Typedefs | |
| typedef H5A_t * | H5A_t_ptr |
Functions | |
| H5FL_SEQ_DEFINE (H5A_t_ptr) | |
| H5A_t * | H5A__create (const H5G_loc_t *loc, const char *attr_name, const H5T_t *type, const H5S_t *space, hid_t acpl_id) |
| H5A_t * | H5A__create_by_name (const H5G_loc_t *loc, const char *obj_name, const char *attr_name, const H5T_t *type, const H5S_t *space, hid_t acpl_id) |
| herr_t | H5A__open_common (const H5G_loc_t *loc, H5A_t *attr) |
| H5A_t * | H5A__open (const H5G_loc_t *loc, const char *attr_name) |
| H5A_t * | H5A__open_by_idx (const H5G_loc_t *loc, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n) |
| H5A_t * | H5A__open_by_name (const H5G_loc_t *loc, const char *obj_name, const char *attr_name) |
| herr_t | H5A__read (const H5A_t *attr, const H5T_t *mem_type, void *buf) |
| herr_t | H5A__write (H5A_t *attr, const H5T_t *mem_type, const void *buf) |
| ssize_t | H5A__get_name (H5A_t *attr, size_t buf_size, char *buf) |
| hid_t | H5A_get_space (H5A_t *attr) |
| hid_t | H5A__get_type (H5A_t *attr) |
| hid_t | H5A__get_create_plist (H5A_t *attr) |
| herr_t | H5A__get_info (const H5A_t *attr, H5A_info_t *ainfo) |
| H5A_t * | H5A__copy (H5A_t *_new_attr, const H5A_t *old_attr) |
| herr_t | H5A__shared_free (H5A_t *attr) |
| herr_t | H5A__close_cb (H5VL_object_t *attr_vol_obj) |
| herr_t | H5A__close (H5A_t *attr) |
| H5O_loc_t * | H5A_oloc (H5A_t *attr) |
| H5G_name_t * | H5A_nameof (H5A_t *attr) |
| H5T_t * | H5A_type (const H5A_t *attr) |
| htri_t | H5A__exists_by_name (H5G_loc_t loc, const char *obj_name, const char *attr_name) |
| herr_t | H5A__compact_build_table (H5F_t *f, H5O_t *oh, H5_index_t idx_type, H5_iter_order_t order, H5A_attr_table_t *atable) |
| herr_t | H5A__dense_build_table (H5F_t *f, const H5O_ainfo_t *ainfo, H5_index_t idx_type, H5_iter_order_t order, H5A_attr_table_t *atable) |
| herr_t | H5A__attr_iterate_table (const H5A_attr_table_t *atable, hsize_t skip, hsize_t *last_attr, hid_t loc_id, const H5A_attr_iter_op_t *attr_op, void *op_data) |
| herr_t | H5A__attr_release_table (H5A_attr_table_t *atable) |
| htri_t | H5A__get_ainfo (H5F_t *f, H5O_t *oh, H5O_ainfo_t *ainfo) |
| herr_t | H5A__set_version (const H5F_t *f, H5A_t *attr) |
| H5A_t * | H5A__attr_copy_file (const H5A_t *attr_src, H5F_t *file_dst, hbool_t *recompute_size, H5O_copy_t H5_ATTR_NDEBUG_UNUSED *cpy_info) |
| herr_t | H5A__attr_post_copy_file (const H5O_loc_t *src_oloc, const H5A_t *attr_src, H5O_loc_t *dst_oloc, const H5A_t *attr_dst, H5O_copy_t *cpy_info) |
| herr_t | H5A__dense_post_copy_file_all (const H5O_loc_t *src_oloc, const H5O_ainfo_t *ainfo_src, H5O_loc_t *dst_oloc, H5O_ainfo_t *ainfo_dst, H5O_copy_t *cpy_info) |
| herr_t | H5A__rename_by_name (H5G_loc_t loc, const char *obj_name, const char *old_attr_name, const char *new_attr_name) |
| herr_t | H5A__iterate (const H5G_loc_t *loc, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx, H5A_operator2_t op, void *op_data) |
| herr_t | H5A__iterate_old (hid_t loc_id, unsigned *attr_num, H5A_operator1_t op, void *op_data) |
| herr_t | H5A__delete_by_name (const H5G_loc_t *loc, const char *obj_name, const char *attr_name) |
| herr_t | H5A__delete_by_idx (const H5G_loc_t *loc, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n) |
Variables | |
| const unsigned | H5O_attr_ver_bounds [] |
| H5A_t* H5A__attr_copy_file | ( | const H5A_t * | attr_src, |
| H5F_t * | file_dst, | ||
| hbool_t * | recompute_size, | ||
| H5O_copy_t H5_ATTR_NDEBUG_UNUSED * | cpy_info | ||
| ) |
References H5A_shared_t::crt_idx, H5A_shared_t::data, H5A_shared_t::data_size, H5A_shared_t::ds, H5A_shared_t::ds_size, H5A_shared_t::dt, H5A_shared_t::dt_size, H5A_shared_t::encoding, FUNC_LEAVE_NOAPI(), H5A__close(), H5A__set_version(), H5E_CANTINIT, H5E_CANTREGISTER, H5G_name_reset(), H5I_DATASPACE, H5I_DATATYPE, H5I_dec_ref(), H5I_register(), H5I_remove(), H5MM_memcpy(), H5MM_strdup(), H5O_loc_reset(), H5O_msg_raw_size(), H5O_msg_reset_share(), H5S_close(), H5S_copy(), H5S_create_simple(), H5SM_try_share(), H5T_convert(), H5T_copy(), H5T_COPY_ALL, H5T_COPY_TRANSIENT, H5T_detect_class(), H5T_get_size(), H5T_is_named(), H5T_LOC_DISK, H5T_path_bkg(), H5T_path_find(), H5T_reclaim(), H5T_set_loc(), H5T_VLEN, HDassert(), H5A_shared_t::name, nelmts, H5A_shared_t::nrefs, NULL, H5A_t::obj_opened, H5A_t::oloc, H5A_t::path, ret_value, H5A_t::shared, and H5A_shared_t::version.
| herr_t H5A__attr_iterate_table | ( | const H5A_attr_table_t * | atable, |
| hsize_t | skip, | ||
| hsize_t * | last_attr, | ||
| hid_t | loc_id, | ||
| const H5A_attr_iter_op_t * | attr_op, | ||
| void * | op_data | ||
| ) |
References H5A_attr_iter_op_t::app_op, H5A_attr_iter_op_t::app_op2, H5A_attr_table_t::attrs, FAIL, FUNC_LEAVE_NOAPI(), H5A__get_info(), H5A_ATTR_OP_APP, H5A_ATTR_OP_APP2, H5A_ATTR_OP_LIB, HDassert(), H5A_attr_iter_op_t::lib_op, name, H5A_attr_table_t::nattrs, H5A_attr_iter_op_t::op_type, ret_value, H5A_attr_iter_op_t::u, and u.
Referenced by H5O_attr_iterate_real().
| herr_t H5A__attr_post_copy_file | ( | const H5O_loc_t * | src_oloc, |
| const H5A_t * | attr_src, | ||
| H5O_loc_t * | dst_oloc, | ||
| const H5A_t * | attr_dst, | ||
| H5O_copy_t * | cpy_info | ||
| ) |
References H5A_shared_t::data, H5A_shared_t::data_size, H5A_shared_t::ds, H5A_shared_t::dt, H5O_copy_t::expand_ref, FAIL, H5O_loc_t::file, FUNC_LEAVE_NOAPI(), H5O_copy_expand_ref(), H5O_copy_header_map(), H5O_loc_reset(), H5SM_try_share(), H5T_get_class(), H5T_is_named(), H5T_oloc(), H5T_REFERENCE, H5T_update_shared(), HDassert(), NULL, ret_value, and H5A_t::shared.
| herr_t H5A__attr_release_table | ( | H5A_attr_table_t * | atable | ) |
References H5A_attr_table_t::attrs, FAIL, FUNC_LEAVE_NOAPI(), H5A__close(), HDassert(), H5A_attr_table_t::nattrs, NULL, ret_value, and u.
Referenced by H5O_attr_iterate_real().
References FAIL, FUNC_LEAVE_NOAPI(), H5A__shared_free(), H5G_name_free(), H5O_close(), HDassert(), H5A_shared_t::nrefs, NULL, H5A_t::obj_opened, H5A_t::oloc, H5A_t::path, ret_value, and H5A_t::shared.
Referenced by H5A__attr_copy_file(), H5A__attr_release_table(), H5A__copy(), H5A__create(), H5A__create_by_name(), H5A__open(), H5A__open_by_idx(), H5A__open_by_name(), H5VL__native_attr_close(), and H5VL__native_attr_get().
| herr_t H5A__close_cb | ( | H5VL_object_t * | attr_vol_obj | ) |
References FAIL, FUNC_LEAVE_NOAPI(), H5VL_attr_close(), H5VL_free_object(), HDassert(), and ret_value.
| herr_t H5A__compact_build_table | ( | H5F_t * | f, |
| H5O_t * | oh, | ||
| H5_index_t | idx_type, | ||
| H5_iter_order_t | order, | ||
| H5A_attr_table_t * | atable | ||
| ) |
References H5A_compact_bt_ud_t::atable, H5A_compact_bt_ud_t::bogus_crt_idx, H5A_compact_bt_ud_t::curr_attr, H5A_compact_bt_ud_t::f, f, H5O_MESG_OP_LIB, HDassert(), H5O_mesg_operator_t::lib_op, NULL, H5O_mesg_operator_t::op_type, ret_value, and H5O_mesg_operator_t::u.
Referenced by H5O__attr_remove_by_idx(), and H5O_attr_iterate_real().
| H5A_t* H5A__create | ( | const H5G_loc_t * | loc, |
| const char * | attr_name, | ||
| const H5T_t * | type, | ||
| const H5S_t * | space, | ||
| hid_t | acpl_id | ||
| ) |
References H5O_loc_t::addr, H5A_shared_t::data_size, H5A_shared_t::ds, H5A_shared_t::ds_size, H5A_shared_t::dt, H5A_shared_t::dt_size, H5A_shared_t::encoding, H5O_loc_t::file, H5_COPY_DEEP, H5A__close(), H5A__set_version(), H5E_BADVALUE, H5E_CANTINIT, H5G_name_copy(), H5I_object(), H5MM_xstrdup(), H5O__attr_create(), H5O__attr_exists(), H5O_loc_copy_deep(), H5O_msg_raw_size(), H5O_open(), H5P_get(), H5S_copy(), H5S_has_extent(), H5S_set_version(), H5SM_try_share(), H5T_convert_committed_datatype(), H5T_copy(), H5T_COPY_ALL, H5T_is_named(), H5T_is_sensible(), H5T_link(), H5T_LOC_DISK, H5T_set_loc(), H5T_set_version(), HDassert(), H5A_shared_t::name, nelmts, NULL, H5A_t::obj_opened, H5A_t::oloc, H5G_loc_t::oloc, H5A_t::path, H5G_loc_t::path, ret_value, H5A_t::shared, and type.
Referenced by H5A__create_by_name(), and H5VL__native_attr_create().
| H5A_t* H5A__create_by_name | ( | const H5G_loc_t * | loc, |
| const char * | obj_name, | ||
| const char * | attr_name, | ||
| const H5T_t * | type, | ||
| const H5S_t * | space, | ||
| hid_t | acpl_id | ||
| ) |
References FUNC_LEAVE_NOAPI(), H5A__close(), H5A__create(), H5E_CANTINIT, H5G_loc_find(), H5G_loc_free(), H5G_loc_reset(), HDassert(), NULL, H5G_loc_t::oloc, H5G_loc_t::path, ret_value, and type.
Referenced by H5VL__native_attr_create().
| herr_t H5A__delete_by_idx | ( | const H5G_loc_t * | loc, |
| const char * | obj_name, | ||
| H5_index_t | idx_type, | ||
| H5_iter_order_t | order, | ||
| hsize_t | n | ||
| ) |
References FAIL, FUNC_LEAVE_NOAPI(), H5G_loc_find(), H5G_loc_free(), H5G_loc_reset(), H5O__attr_remove_by_idx(), n, H5G_loc_t::oloc, H5G_loc_t::path, and ret_value.
Referenced by H5VL__native_attr_specific().
References FAIL, FUNC_LEAVE_NOAPI(), H5G_loc_find(), H5G_loc_free(), H5G_loc_reset(), H5O__attr_remove(), H5G_loc_t::oloc, H5G_loc_t::path, and ret_value.
Referenced by H5VL__native_attr_specific().
| herr_t H5A__dense_build_table | ( | H5F_t * | f, |
| const H5O_ainfo_t * | ainfo, | ||
| H5_index_t | idx_type, | ||
| H5_iter_order_t | order, | ||
| H5A_attr_table_t * | atable | ||
| ) |
| herr_t H5A__dense_post_copy_file_all | ( | const H5O_loc_t * | src_oloc, |
| const H5O_ainfo_t * | ainfo_src, | ||
| H5O_loc_t * | dst_oloc, | ||
| H5O_ainfo_t * | ainfo_dst, | ||
| H5O_copy_t * | cpy_info | ||
| ) |
References H5A_dense_file_cp_ud_t::ainfo, H5A_dense_file_cp_ud_t::cpy_info, H5A_dense_file_cp_ud_t::file, H5A_ATTR_OP_LIB, HDassert(), H5A_attr_iter_op_t::lib_op, H5A_dense_file_cp_ud_t::oloc_dst, H5A_dense_file_cp_ud_t::oloc_src, H5A_attr_iter_op_t::op_type, H5A_dense_file_cp_ud_t::recompute_size, ret_value, and H5A_attr_iter_op_t::u.
References FAIL, FUNC_LEAVE_NOAPI(), H5G_loc_find(), H5G_loc_free(), H5G_loc_reset(), H5O__attr_exists(), H5G_loc_t::oloc, H5G_loc_t::path, and ret_value.
Referenced by H5VL__native_attr_specific().
| htri_t H5A__get_ainfo | ( | H5F_t * | f, |
| H5O_t * | oh, | ||
| H5O_ainfo_t * | ainfo | ||
| ) |
References H5C_cache_entry_t::addr, H5O_t::attr_msgs_seen, H5O_t::cache_info, f, FAIL, H5O_ainfo_t::fheap_addr, H5B2_close(), H5B2_get_nrec(), H5B2_open(), H5O_msg_exists_oh(), H5O_msg_read_oh(), HDassert(), H5O_ainfo_t::name_bt2_addr, H5O_ainfo_t::nattrs, NULL, and ret_value.
Referenced by H5O__attr_bh_info(), H5O__attr_count_real(), H5O__attr_create(), H5O__attr_dense_info_test(), H5O__attr_exists(), H5O__attr_open_by_name(), H5O__attr_remove(), H5O__attr_remove_by_idx(), H5O__attr_rename(), H5O__attr_write(), H5O__is_attr_dense_test(), H5O__is_attr_empty_test(), H5O__num_attrs_test(), and H5O_attr_iterate_real().
References H5A_shared_t::encoding, FAIL, FUNC_LEAVE_NOAPI(), H5E_CANTINIT, H5I_object(), H5P_copy_plist(), H5P_LST_ATTRIBUTE_CREATE_ID_g, H5P_set(), NULL, ret_value, and H5A_t::shared.
Referenced by H5VL__native_attr_get().
| herr_t H5A__get_info | ( | const H5A_t * | attr, |
| H5A_info_t * | ainfo | ||
| ) |
References H5A_info_t::corder, H5A_info_t::corder_valid, H5A_shared_t::crt_idx, H5A_info_t::cset, H5A_info_t::data_size, H5A_shared_t::data_size, H5A_shared_t::encoding, FAIL, FUNC_ENTER_NOAPI(), FUNC_LEAVE_NOAPI(), HDassert(), ret_value, and H5A_t::shared.
Referenced by H5A__attr_iterate_table(), and H5VL__native_attr_get().
References FUNC_LEAVE_NOAPI(), H5MM_memcpy(), HDassert(), H5A_shared_t::name, ret_value, and H5A_t::shared.
Referenced by H5VL__native_attr_get().
References H5A_shared_t::dt, H5O_loc_t::file, FUNC_LEAVE_NOAPI(), H5E_CANTINIT, H5E_CANTREGISTER, H5I_DATATYPE, H5I_register(), H5T_close(), H5T_copy_reopen(), H5T_is_named(), H5T_LOC_MEMORY, H5T_lock(), H5T_patch_file(), H5T_set_loc(), H5VL_wrap_register(), HDassert(), NULL, H5A_t::oloc, ret_value, and H5A_t::shared.
Referenced by H5VL__native_attr_get().
| herr_t H5A__iterate | ( | const H5G_loc_t * | loc, |
| const char * | obj_name, | ||
| H5_index_t | idx_type, | ||
| H5_iter_order_t | order, | ||
| hsize_t * | idx, | ||
| H5A_operator2_t | op, | ||
| void * | op_data | ||
| ) |
References H5A_attr_iter_op_t::app_op2, FAIL, H5A_ATTR_OP_APP2, H5E_CANTREGISTER, H5G_loc_find(), H5G_loc_reset(), H5O_open_by_loc(), H5VL_wrap_register(), NULL, H5G_loc_t::oloc, H5A_attr_iter_op_t::op_type, H5G_loc_t::path, ret_value, and H5A_attr_iter_op_t::u.
Referenced by H5VL__native_attr_specific().
| herr_t H5A__iterate_old | ( | hid_t | loc_id, |
| unsigned * | attr_num, | ||
| H5A_operator1_t | op, | ||
| void * | op_data | ||
| ) |
References H5A_attr_iter_op_t::app_op, H5A_ATTR_OP_APP, H5A_attr_iter_op_t::op_type, ret_value, and H5A_attr_iter_op_t::u.
Referenced by H5VL__native_attr_optional().
References FUNC_LEAVE_NOAPI(), H5A__close(), H5A__open_common(), H5E_CANTINIT, H5O__attr_open_by_name(), HDassert(), NULL, H5G_loc_t::oloc, and ret_value.
Referenced by H5VL__native_attr_open().
| H5A_t* H5A__open_by_idx | ( | const H5G_loc_t * | loc, |
| const char * | obj_name, | ||
| H5_index_t | idx_type, | ||
| H5_iter_order_t | order, | ||
| hsize_t | n | ||
| ) |
References FUNC_LEAVE_NOAPI(), H5A__close(), H5A__open_common(), H5E_CANTINIT, H5G_loc_find(), H5G_loc_free(), H5G_loc_reset(), H5O__attr_open_by_idx(), HDassert(), n, NULL, H5G_loc_t::oloc, H5G_loc_t::path, and ret_value.
Referenced by H5VL__native_attr_get(), and H5VL__native_attr_open().
References FUNC_LEAVE_NOAPI(), H5A__close(), H5A__open_common(), H5E_CANTINIT, H5G_loc_find(), H5G_loc_free(), H5G_loc_reset(), H5O__attr_open_by_name(), HDassert(), NULL, H5G_loc_t::oloc, H5G_loc_t::path, and ret_value.
Referenced by H5VL__native_attr_get(), and H5VL__native_attr_open().
References FAIL, FUNC_LEAVE_NOAPI(), H5_COPY_DEEP, H5G_name_copy(), H5G_name_free(), H5O_loc_copy_deep(), H5O_loc_reset(), H5O_open(), HDassert(), H5A_t::obj_opened, H5A_t::oloc, H5G_loc_t::oloc, H5A_t::path, H5G_loc_t::path, and ret_value.
Referenced by H5A__open(), H5A__open_by_idx(), and H5A__open_by_name().
References H5O_loc_t::addr, H5A_shared_t::data, H5A_shared_t::ds, H5A_shared_t::dt, FAIL, H5E_CANTREGISTER, H5I_DATATYPE, H5I_dec_ref(), H5I_register(), H5MM_memcpy(), H5T_convert(), H5T_copy(), H5T_COPY_ALL, H5T_path_find(), H5T_path_noop(), HDassert(), nelmts, NULL, H5A_t::obj_opened, H5A_t::oloc, ret_value, and H5A_t::shared.
Referenced by H5VL__native_attr_read().
| herr_t H5A__rename_by_name | ( | H5G_loc_t | loc, |
| const char * | obj_name, | ||
| const char * | old_attr_name, | ||
| const char * | new_attr_name | ||
| ) |
References FAIL, FUNC_LEAVE_NOAPI(), H5G_loc_find(), H5G_loc_free(), H5G_loc_reset(), H5O__attr_rename(), H5G_loc_t::oloc, H5G_loc_t::path, and ret_value.
Referenced by H5VL__native_attr_specific().
References H5A_shared_t::ds, H5A_shared_t::dt, H5A_shared_t::encoding, f, FAIL, FUNC_LEAVE_NOAPI(), H5O_attr_ver_bounds, H5O_msg_is_shared(), H5T_CSET_ASCII, HDassert(), ret_value, H5A_t::shared, and H5A_shared_t::version.
Referenced by H5A__attr_copy_file(), and H5A__create().
References H5A_shared_t::data, H5A_shared_t::ds, H5A_shared_t::dt, FAIL, FUNC_LEAVE_NOAPI(), H5MM_xfree(), H5S_close(), H5T_close_real(), HDassert(), H5A_shared_t::name, NULL, ret_value, and H5A_t::shared.
Referenced by H5A__close().
References H5O_loc_t::addr, H5A_shared_t::data, H5A_shared_t::ds, H5A_shared_t::dt, FAIL, H5E_CANTINIT, H5E_CANTREGISTER, H5I_DATATYPE, H5I_dec_ref(), H5I_register(), H5MM_memcpy(), H5O__attr_write(), H5T_convert(), H5T_copy(), H5T_COPY_ALL, H5T_path_find(), H5T_path_noop(), HDassert(), nelmts, NULL, H5A_t::oloc, ret_value, and H5A_t::shared.
Referenced by H5VL__native_attr_write().
References H5A_shared_t::ds, FUNC_LEAVE_NOAPI(), H5E_CANTINIT, H5E_CANTREGISTER, H5I_DATASPACE, H5I_register(), H5S_close(), H5S_copy(), HDassert(), NULL, ret_value, and H5A_t::shared.
Referenced by H5VL__native_attr_get().
| H5G_name_t* H5A_nameof | ( | H5A_t * | attr | ) |
References FUNC_ENTER_NOAPI(), FUNC_LEAVE_NOAPI(), HDassert(), NULL, H5A_t::path, and ret_value.
Referenced by H5G_loc_real().
References FUNC_ENTER_NOAPI(), FUNC_LEAVE_NOAPI(), HDassert(), NULL, H5A_t::oloc, and ret_value.
Referenced by H5G_loc_real(), and H5VL_native_get_file_struct().
References H5A_shared_t::dt, FUNC_ENTER_NOAPI(), FUNC_LEAVE_NOAPI(), HDassert(), NULL, ret_value, and H5A_t::shared.
| H5FL_SEQ_DEFINE | ( | H5A_t_ptr | ) |
| const unsigned H5O_attr_ver_bounds[] |
Referenced by H5A__set_version().