 |
HDF5
1.12.0
|
Go to the documentation of this file.
22 #if !(defined H5G_FRIEND || defined H5G_MODULE)
23 #error "Do not include this file outside the H5G package!"
45 #define H5G_DENSE_FHEAP_ID_LEN 7
48 #define H5G_NODE_SIZE(f) ( \
56 + ((2 * H5F_SYM_LEAF_K(f)) * (unsigned)H5G_SIZEOF_ENTRY_FILE(f)) \
364 const void *crt_info);
381 #ifndef H5_STRICT_FORMAT_CHECKS
405 const void *_rt_key,
void *_udata);
407 const void *_rt_key,
void *_udata);
409 const void *_rt_key,
void *_udata);
411 const void *_rt_key,
void *_udata);
413 const void *_rt_key,
void *_udata);
415 const void *_rt_key,
void *_udata);
467 H5RS_str_t *grp_full_path_r,
const char *name);
486 #ifndef H5_NO_DEPRECATED_SYMBOLS
struct H5G_bt_it_bt_t H5G_bt_it_bt_t
struct H5G_dense_bt2_corder_rec_t H5G_dense_bt2_corder_rec_t
struct H5G_copy_file_ud_t H5G_copy_file_ud_t
H5_DLL herr_t H5G__get_objinfo(const H5G_loc_t *loc, const char *name, hbool_t follow_link, H5G_stat_t *statbuf)
Definition: H5Gdeprec.c:1072
Definition: H5Oprivate.h:152
int ssize_t
Definition: H5public.h:167
H5_DLL herr_t H5G__stab_bh_size(H5F_t *f, const H5O_stab_t *stab, H5_ih_info_t *bh_info)
Definition: H5Gstab.c:653
H5_DLL herr_t H5G__obj_create(H5F_t *f, H5G_obj_create_t *gcrt_info, H5O_loc_t *oloc)
Definition: H5Gobj.c:123
H5G_cache_type_t cache_type
Definition: H5Gpkg.h:298
herr_t(* H5G_lib_iterate_t)(const H5O_link_t *lnk, void *op_data)
Definition: H5Gpkg.h:143
unsigned nsyms
Definition: H5Gpkg.h:120
H5_DLL int H5G__node_iterate(H5F_t *f, const void *_lt_key, haddr_t addr, const void *_rt_key, void *_udata)
const void * crt_info
Definition: H5Gpkg.h:174
iblock size
Definition: H5EAcache.c:787
hdr f
Definition: H5EA.c:755
herr_t H5G__verify_cached_stab_test(H5O_loc_t *grp_oloc, H5G_entry_t *ent)
Definition: H5Gtest.c:672
struct H5G_cache_t::@14 stab
H5_DLL herr_t H5G__stab_remove(const H5O_loc_t *oloc, H5RS_str_t *grp_full_path_r, const char *name)
Definition: H5Gstab.c:351
H5B2_found_t found_op
Definition: H5Gpkg.h:274
H5_DLL herr_t H5G__stab_insert_real(H5F_t *f, const H5O_stab_t *stab, const char *name, H5O_link_t *obj_lnk, H5O_type_t obj_type, const void *crt_info)
Definition: H5Gstab.c:258
H5_DLL herr_t H5G__name_init(H5G_name_t *name, const char *path)
Definition: H5Gname.c:425
H5_DLL herr_t H5G__stab_count(const struct H5O_loc_t *oloc, hsize_t *num_objs)
H5G_cache_type_t type
Definition: H5Gpkg.h:104
H5G_name_t path
Definition: H5Gpkg.h:139
H5_DLL herr_t H5G__get_info_by_name(const H5G_loc_t *loc, const char *name, H5G_info_t *grp_info)
Definition: H5Gint.c:1272
struct H5G_cache_t::@15 slink
H5_DLL herr_t H5G__ent_decode_vec(const H5F_t *f, const uint8_t **pp, const uint8_t *p_end, H5G_entry_t *ent, unsigned n)
Definition: H5Gent.c:95
H5F_t * f
Definition: H5Gpkg.h:269
herr_t H5G__new_dense_info_test(hid_t gid, hsize_t *name_count, hsize_t *corder_count)
Definition: H5Gtest.c:420
uint32_t
Definition: H5overflow.txt:38
H5_DLL herr_t H5G__link_to_loc(const H5G_loc_t *grp_loc, const H5O_link_t *lnk, H5G_loc_t *obj_loc)
Definition: H5Glink.c:374
haddr_t src_heap_addr
Definition: H5Gpkg.h:221
H5_DLL herr_t H5G__ent_debug(const H5G_entry_t *ent, FILE *stream, int indent, int fwidth, const H5HL_t *heap)
Definition: H5Gent.c:539
H5_DLL herr_t H5G__dense_remove(H5F_t *f, const H5O_linfo_t *linfo, H5RS_str_t *grp_full_path_r, const char *name)
Definition: H5Gdense.c:1395
H5_DLL herr_t H5G__loc_addr(const H5G_loc_t *loc, const char *name, haddr_t *addr)
Definition: H5Gloc.c:753
Definition: H5Gpublic.h:136
CATCH haddr_t
Definition: H5EAdblock.c:162
H5G_cache_t cache
Definition: H5Gpkg.h:292
*s *s indent
Definition: H5HLdbg.c:111
H5G_cache_type_t
Definition: H5Gpkg.h:70
H5_DLL htri_t H5G__dense_lookup(H5F_t *f, const H5O_linfo_t *linfo, const char *name, H5O_link_t *lnk)
Definition: H5Gdense.c:525
H5_DLLVAR const H5B2_class_t H5G_BT2_NAME[1]
Definition: H5Gpkg.h:313
struct H5G_bt_rm_t H5G_bt_rm_t
htri_t H5G__has_stab_test(hid_t gid)
Definition: H5Gtest.c:284
H5_DLL herr_t H5G__dense_delete(H5F_t *f, H5O_linfo_t *linfo, hbool_t adj_link)
Definition: H5Gdense.c:1709
void * op_data
Definition: H5Gpkg.h:198
H5_DLL herr_t H5G__compact_iterate(const H5O_loc_t *oloc, const H5O_linfo_t *linfo, H5_index_t idx_type, H5_iter_order_t order, hsize_t skip, hsize_t *last_lnk, H5G_lib_iterate_t op, void *op_data)
Definition: H5Gcompact.c:404
H5_DLL htri_t H5G__obj_get_linfo(const H5O_loc_t *grp_oloc, H5O_linfo_t *linfo)
Definition: H5Gobj.c:313
#define H5_DLLVAR
Definition: H5api_adpt.h:235
Definition: H5Oprivate.h:701
H5_DLL herr_t H5G__link_sort_table(H5G_link_table_t *ltable, H5_index_t idx_type, H5_iter_order_t order)
Definition: H5Glink.c:422
H5O_loc_t oloc
Definition: H5Gpkg.h:138
H5T_path_t ** path
Definition: H5T.c:558
H5_DLL herr_t H5G__dense_iterate(H5F_t *f, const H5O_linfo_t *linfo, H5_index_t idx_type, H5_iter_order_t order, hsize_t skip, hsize_t *last_lnk, H5G_lib_iterate_t op, void *op_data)
Definition: H5Gdense.c:968
htri_t H5G__is_new_dense_test(hid_t gid)
Definition: H5Gtest.c:343
Definition: H5Gprivate.h:144
unsigned char uint8_t
Definition: H5private.h:429
H5_DLL void H5G__ent_reset(H5G_entry_t *ent)
Definition: H5Gent.c:364
H5_DLLVAR const H5B2_class_t H5G_BT2_CORDER[1]
Definition: H5Gpkg.h:316
hsize_t * final_ent
Definition: H5Gpkg.h:215
hbool_t mounted
Definition: H5Gpkg.h:129
#define H5G_DENSE_FHEAP_ID_LEN
Definition: H5Gpkg.h:45
int64_t
Definition: H5overflow.txt:35
H5G_link_table_t * ltable
Definition: H5Gpkg.h:242
H5G_bt_find_op_t op
Definition: H5Gpkg.h:232
Definition: H5Bprivate.h:111
H5O_type_t obj_type
Definition: H5Gpkg.h:173
haddr_t heap_addr
Definition: H5Gpkg.h:89
size_t alloc_nlinks
Definition: H5Gpkg.h:238
int htri_t
Definition: H5public.h:160
H5_DLL herr_t H5G__node_iterate_size(H5F_t *f, const void *_lt_key, haddr_t addr, const void *_rt_key, void *_udata)
uint32_t hash
Definition: H5Gpkg.h:252
H5_iter_order_t
Definition: H5public.h:295
hsize_t skip
Definition: H5Gpkg.h:210
uint32_t name_hash
Definition: H5Gpkg.h:272
struct H5G_bt_it_it_t H5G_bt_it_it_t
union H5G_cache_t H5G_cache_t
H5_DLL herr_t H5G__stab_delete(H5F_t *f, const H5O_stab_t *stab)
Definition: H5Gstab.c:465
H5O_copy_t * cpy_info
Definition: H5Gpkg.h:224
H5O_copy_file_ud_common_t common
Definition: H5Gpkg.h:297
H5G_cache_t cache
Definition: H5Gpkg.h:105
H5_DLL herr_t H5G__stab_remove_by_idx(const H5O_loc_t *oloc, H5RS_str_t *grp_full_path_r, H5_iter_order_t order, hsize_t n)
Definition: H5Gstab.c:403
Definition: H5Oprivate.h:748
H5_DLL int H5G__node_build_table(H5F_t *f, const void *_lt_key, haddr_t addr, const void *_rt_key, void *_udata)
int64_t hid_t
Definition: H5Ipublic.h:55
int64_t corder
Definition: H5Gpkg.h:259
H5G_cache_t cache
Definition: H5Gpkg.h:299
Definition: H5private.h:621
H5_DLL herr_t H5G__link_release_table(H5G_link_table_t *ltable)
Definition: H5Glink.c:527
H5HL_t * heap
Definition: H5Gpkg.h:239
H5_DLL herr_t H5G__obj_info(const H5O_loc_t *oloc, H5G_info_t *grp_info)
Definition: H5Gobj.c:719
H5_DLL herr_t H5G__dense_remove_by_idx(H5F_t *f, const H5O_linfo_t *linfo, H5RS_str_t *grp_full_path_r, H5_index_t idx_type, H5_iter_order_t order, hsize_t n)
Definition: H5Gdense.c:1600
void * found_op_data
Definition: H5Gpkg.h:275
Definition: H5public.h:326
herr_t H5G__lheap_size_test(hid_t gid, size_t *lheap_size)
Definition: H5Gtest.c:510
H5_DLL herr_t H5G__get_info_by_idx(const H5G_loc_t *loc, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5G_info_t *grp_info)
Definition: H5Gint.c:1322
H5_DLL herr_t H5G__ent_convert(H5F_t *f, H5HL_t *heap, const char *name, const H5O_link_t *lnk, H5O_type_t obj_type, const void *crt_info, H5G_entry_t *ent)
Definition: H5Gent.c:394
herr_t H5G__user_path_test(hid_t obj_id, char *user_path, size_t *user_path_len, unsigned *obj_hidden)
Definition: H5Gtest.c:567
H5_DLL herr_t H5G__ent_to_link(H5O_link_t *lnk, const H5HL_t *heap, const H5G_entry_t *ent, const char *name)
Definition: H5Glink.c:226
size_t lval_offset
Definition: H5Gpkg.h:93
Invalid arguments to routine Resource unavailable Internal File accessibility Low level I O Function entry exit Object atom Object cache Links B Tree node Symbol table Heap Object header Datatype Dataspace Dataset Data storage Property lists Attribute Data filters External file list References Virtual File Layer Virtual Object Layer Ternary Search Trees Reference Counted Strings Error API Skip Lists Free Space Manager Shared Object Header Messages Extensible Array Fixed Array Plugin for dynamically loaded library Page Buffering API Context Map No error Argument errors Resource errors File accessibility errors FILE
Definition: H5err.txt:88
Definition: H5Oprivate.h:666
@ H5G_CACHED_SLINK
Definition: H5Gpkg.h:74
Definition: H5Oprivate.h:172
haddr_t header
Definition: H5Gpkg.h:107
H5_DLL herr_t H5G__stab_create(H5O_loc_t *grp_oloc, const H5O_ginfo_t *ginfo, H5O_stab_t *stab)
Definition: H5Gstab.c:203
H5_DLL int H5G__node_by_idx(H5F_t *f, const void *_lt_key, haddr_t addr, const void *_rt_key, void *_udata)
H5_DLL herr_t H5G__loc_insert(H5G_loc_t *grp_loc, const char *name, H5G_loc_t *obj_loc, H5O_type_t obj_type, const void *crt_info)
Definition: H5Gloc.c:588
H5_DLL herr_t H5G__node_init(H5F_t *f)
Definition: H5Gnode.c:1145
H5_DLL herr_t H5G__obj_iterate(const H5O_loc_t *grp_oloc, H5_index_t idx_type, H5_iter_order_t order, hsize_t skip, hsize_t *last_lnk, H5G_lib_iterate_t op, void *op_data)
Definition: H5Gobj.c:650
struct H5G_bt2_ud_ins_t H5G_bt2_ud_ins_t
herr_t(* H5B2_found_t)(const void *record, void *op_data)
Definition: H5B2private.h:63
struct H5G_bt_lkp_t H5G_bt_lkp_t
int fo_count
Definition: H5Gpkg.h:128
haddr_t btree_addr
Definition: H5Gpkg.h:88
H5_DLL herr_t H5G__dense_lookup_by_idx(H5F_t *f, const H5O_linfo_t *linfo, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_link_t *lnk)
Definition: H5Gdense.c:666
hsize_t num_objs
Definition: H5Gpkg.h:231
struct H5G_node_t H5G_node_t
*s *s fwidth
Definition: H5HLdbg.c:111
@ H5G_CACHED_STAB
Definition: H5Gpkg.h:73
H5_DLL herr_t H5G__dense_build_table(H5F_t *f, const H5O_linfo_t *linfo, H5_index_t idx_type, H5_iter_order_t order, H5G_link_table_t *ltable)
Definition: H5Gdense.c:817
H5_DLL htri_t H5G__compact_lookup(const H5O_loc_t *grp_oloc, const char *name, H5O_link_t *lnk)
Definition: H5Gcompact.c:496
H5HL_t * heap
Definition: H5Gpkg.h:209
herr_t H5G__verify_cached_stabs_test(hid_t gid)
Definition: H5Gtest.c:823
H5_DLL herr_t H5G__stab_insert(const H5O_loc_t *grp_oloc, const char *name, H5O_link_t *obj_lnk, H5O_type_t obj_type, const void *crt_info)
Definition: H5Gstab.c:313
H5_DLL ssize_t H5G__compact_get_name_by_idx(const H5O_loc_t *oloc, const H5O_linfo_t *linfo, H5_index_t idx_type, H5_iter_order_t order, hsize_t idx, char *name, size_t size)
Definition: H5Gcompact.c:220
H5_DLL herr_t H5G__ent_encode_vec(const H5F_t *f, uint8_t **pp, const H5G_entry_t *ent, unsigned n)
Definition: H5Gent.c:203
H5AC_info_t cache_info
Definition: H5Gpkg.h:117
H5G_bt_find_op_t op
Definition: H5Gpkg.h:197
H5_DLL H5G_t * H5G__create(H5F_t *file, H5G_obj_create_t *gcrt_info)
Definition: H5Gint.c:188
H5_DLL herr_t H5G__link_iterate_table(const H5G_link_table_t *ltable, hsize_t skip, hsize_t *last_lnk, const H5G_lib_iterate_t op, void *op_data)
Definition: H5Glink.c:478
const char * name
Definition: H5Gpkg.h:161
struct H5G_bt_common_t H5G_bt_common_t
Definition: H5Gprivate.h:130
hid_t gcpl_id
Definition: H5Gpkg.h:290
struct H5G_bt_it_idx_common_t H5G_bt_it_idx_common_t
H5_DLL herr_t H5G__stab_lookup_by_idx(const H5O_loc_t *grp_oloc, H5_iter_order_t order, hsize_t n, H5O_link_t *lnk)
Definition: H5Gstab.c:966
Definition: H5Oprivate.h:291
H5_DLL herr_t H5G__node_free(H5G_node_t *sym)
Definition: H5Gnode.c:279
@ H5G_NCACHED
Definition: H5Gpkg.h:76
H5_DLL herr_t H5G__compact_remove(const H5O_loc_t *oloc, H5RS_str_t *grp_full_path_r, const char *name)
Definition: H5Gcompact.c:314
htri_t H5G__is_empty_test(hid_t gid)
Definition: H5Gtest.c:96
H5_DLL htri_t H5G__obj_lookup(const H5O_loc_t *grp_oloc, const char *name, H5O_link_t *lnk)
Definition: H5Gobj.c:1111
H5_DLL herr_t H5G__traverse_special(const H5G_loc_t *grp_loc, const H5O_link_t *lnk, unsigned target, hbool_t last_comp, H5G_loc_t *obj_loc, hbool_t *obj_exists)
Definition: H5Gtraverse.c:364
H5G_bt2_ud_common_t common
Definition: H5Gpkg.h:284
#define H5_DLL
Definition: H5api_adpt.h:234
H5_DLL herr_t H5G__dense_create(H5F_t *f, H5O_linfo_t *linfo, const H5O_pline_t *pline)
Definition: H5Gdense.c:259
@ H5G_CACHED_ERROR
Definition: H5Gpkg.h:71
H5_DLL herr_t H5G__link_name_replace(H5F_t *file, H5RS_str_t *grp_full_path_r, const H5O_link_t *lnk)
Definition: H5Glink.c:570
H5_DLL herr_t H5G__obj_create_real(H5F_t *f, const H5O_ginfo_t *ginfo, const H5O_linfo_t *linfo, const H5O_pline_t *pline, H5G_obj_create_t *gcrt_info, H5O_loc_t *oloc)
Definition: H5Gobj.c:178
const H5O_link_t * lnk
Definition: H5Gpkg.h:172
int64_t corder
Definition: H5Gpkg.h:273
size_t node_size
Definition: H5Gpkg.h:119
H5G_bt_common_t common
Definition: H5Gpkg.h:196
Definition: H5Oprivate.h:354
CATCH unable to release unprotect heap
Definition: H5HLdbg.c:119
H5G_bt_common_t common
Definition: H5Gpkg.h:183
H5O_link_t * lnks
Definition: H5Gpkg.h:148
H5_DLL H5G_t * H5G__create_named(const H5G_loc_t *loc, const char *name, hid_t lcpl_id, hid_t gcpl_id)
Definition: H5Gint.c:131
H5_DLL const char * H5G__component(const char *name, size_t *size_p)
Definition: H5Gname.c:132
H5_DLL herr_t H5G__compact_lookup_by_idx(const H5O_loc_t *oloc, const H5O_linfo_t *linfo, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_link_t *lnk)
Definition: H5Gcompact.c:542
struct H5G_bt_ins_t H5G_bt_ins_t
htri_t H5G__has_links_test(hid_t gid, unsigned *nmsgs)
Definition: H5Gtest.c:217
H5_copy_depth_t
Definition: H5private.h:615
H5_DLL herr_t H5G__dense_insert(H5F_t *f, const H5O_linfo_t *linfo, const H5O_link_t *lnk)
Definition: H5Gdense.c:377
const H5O_stab_t * dst_stab
Definition: H5Gpkg.h:223
H5RS_str_t * grp_full_path_r
Definition: H5Gpkg.h:184
struct H5G_dense_bt2_name_rec_t H5G_dense_bt2_name_rec_t
H5_DLLVAR H5B_class_t H5B_SNODE[1]
Definition: H5Gpkg.h:310
*s *s n
Definition: H5HLdbg.c:111
const H5O_loc_t * src_oloc
Definition: H5Gpkg.h:220
H5F_t * dst_file
Definition: H5Gpkg.h:222
H5_DLL ssize_t H5G__dense_get_name_by_idx(H5F_t *f, H5O_linfo_t *linfo, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, char *name, size_t size)
Definition: H5Gdense.c:1170
H5G_shared_t * shared
Definition: H5Gpkg.h:137
const char * name
Definition: H5Gpkg.h:271
H5_DLL int H5G__node_copy(H5F_t *f, const void *_lt_key, haddr_t addr, const void *_rt_key, void *_udata)
H5G_lib_iterate_t op
Definition: H5Gpkg.h:211
struct H5G_bt2_ud_common_t H5G_bt2_ud_common_t
int herr_t
Definition: H5public.h:128
void * op_data
Definition: H5Gpkg.h:212
struct H5G_obj_create_t H5G_obj_create_t
H5_DLL herr_t H5G__stab_lookup(const H5O_loc_t *grp_oloc, const char *name, H5O_link_t *lnk)
Definition: H5Gstab.c:864
bool hbool_t
Definition: H5public.h:159
H5G_bt_common_t common
Definition: H5Gpkg.h:171
H5_DLL H5G_t * H5G__open_name(const H5G_loc_t *loc, const char *name)
Definition: H5Gint.c:259
Definition: H5Cprivate.h:1597
herr_t(* H5G_bt_find_op_t)(const H5G_entry_t *ent, void *operator_data)
Definition: H5Gpkg.h:188
Definition: H5HFpkg.h:459
size_t name_off
Definition: H5Gpkg.h:106
hsize_t
Definition: H5overflow.txt:44
H5G_entry_t * entry
Definition: H5Gpkg.h:121
H5_DLL ssize_t H5G__stab_get_name_by_idx(const H5O_loc_t *oloc, H5_iter_order_t order, hsize_t n, char *name, size_t size)
Definition: H5Gstab.c:741
H5HF_t * fheap
Definition: H5Gpkg.h:270
H5_DLL int H5G__node_sumup(H5F_t *f, const void *_lt_key, haddr_t addr, const void *_rt_key, void *_udata)
Definition: H5B2private.h:82
H5G_cache_type_t cache_type
Definition: H5Gpkg.h:291
hsize_t idx
Definition: H5Gpkg.h:230
H5_index_t
Definition: H5public.h:316
H5_DLL herr_t H5G__stab_valid(H5O_loc_t *grp_oloc, H5O_stab_t *alt_stab)
Definition: H5Gstab.c:1049
size_t nlinks
Definition: H5Gpkg.h:147
H5_DLL herr_t H5G__compact_insert(const H5O_loc_t *grp_oloc, H5O_link_t *obj_lnk)
Definition: H5Gcompact.c:187
H5_DLL herr_t H5G__stab_create_components(H5F_t *f, H5O_stab_t *stab, size_t size_hint)
Definition: H5Gstab.c:136
H5_DLL herr_t H5G__stab_iterate(const H5O_loc_t *oloc, H5_iter_order_t order, hsize_t skip, hsize_t *last_lnk, H5G_lib_iterate_t op, void *op_data)
Definition: H5Gstab.c:521
@ H5G_NOTHING_CACHED
Definition: H5Gpkg.h:72
Definition: H5Gpublic.h:54
struct H5G_bt_it_cpy_t H5G_bt_it_cpy_t
H5HL_t * heap
Definition: H5Gpkg.h:162
H5_DLL void H5G__ent_copy(H5G_entry_t *dst, const H5G_entry_t *src, H5_copy_depth_t depth)
Definition: H5Gent.c:325
H5O_type_t
Definition: H5Opublic.h:102
H5_DLL herr_t H5G__compact_remove_by_idx(const H5O_loc_t *oloc, const H5O_linfo_t *linfo, H5RS_str_t *grp_full_path_r, H5_index_t idx_type, H5_iter_order_t order, hsize_t n)
Definition: H5Gcompact.c:352