![]() |
HDF5
1.12.0
|
#include "H5EAmodule.h"#include "H5private.h"#include "H5Eprivate.h"#include "H5EApkg.h"#include "H5FLprivate.h"#include "H5MMprivate.h"#include "H5VMprivate.h"Typedefs | |
| typedef herr_t(* | H5EA__unprotect_func_t) (void *thing, unsigned cache_flags) |
Functions | |
| H5FL_DEFINE_STATIC (H5EA_t) | |
| H5FL_BLK_DEFINE (ea_native_elmt) | |
| BEGIN_FUNC (STATIC, CATCH if(hdr &&H5EA__hdr_unprotect(ERR, CATCH if(hdr &&H5EA__hdr_unprotect(H5EA_t *, H5EA_t *ea=NULL, H5EA_t *ea=NULL, H5EA__new(H5F_t *f, haddr_t ea_addr, hbool_t from_open, void *ctx_udata)) | |
| if (NULL==(iblock=H5EA__iblock_protect(hdr, thing_acc))) | |
| if (sblk_idx< iblock->nsblks) | |
| if (!H5F_addr_defined(iblock->sblk_addrs[sblk_off])) | |
| if (sblock->dblk_npages) | |
| CATCH | if (ret_value< 0) |
| if (stats_changed) | |
| CATCH | H5EA_get (const H5EA_t *ea, hsize_t idx, void *elmt)) H5EA_hdr_t *hdr |
| HDassert (ea) | |
| HDassert (hdr) | |
| if (idx >=hdr->stats.stored.max_idx_set) | |
| CATCH | H5EA_depend (H5EA_t *ea, H5AC_proxy_entry_t *parent)) H5EA_hdr_t *hdr |
| HDassert (parent) | |
| CATCH | END_FUNC (BEGIN_FUNC(PRIV) |
| CATCH | H5EA_iterate (H5EA_t *ea, H5EA_operator_t op, void *udata)) uint8_t *elmt |
| HDassert (op) | |
| HDassert (udata) | |
Variables | |
| hbool_t | H5_PKG_INIT_VAR = FALSE |
| const H5EA_class_t *const | H5EA_client_class_g [] |
| else | |
| size_t | dblk_idx |
| hsize_t | elmt_idx = idx - (hdr->cparam.idx_blk_elmts + hdr->sblk_info[sblk_idx].start_idx) |
| sblk_idx = H5EA__dblock_sblk_idx(hdr, idx) | |
| sblk_off = sblk_idx - iblock->nsblks | |
| * | thing_elmt_buf = (uint8_t *)dblock->elmts |
| * | thing_elmt_idx = elmt_idx |
| * | thing_unprot_func = (H5EA__unprotect_func_t)H5EA__dblock_unprotect |
| HDassert * | thing = NULL |
| CATCH | ERR |
| CATCH | herr_t |
| CATCH | SUCCEED |
| CATCH | FAIL |
| hdr | f = ea->f |
| ea = (H5EA_t *)H5FL_FREE(H5EA_t, ea) | |
| CATCH | int |
| CATCH | H5_ITER_CONT |
| CATCH | H5_ITER_ERROR |
| hsize_t | u |
| int | cb_ret = H5_ITER_CONT |
| typedef herr_t(* H5EA__unprotect_func_t) (void *thing, unsigned cache_flags) |
| BEGIN_FUNC | ( | STATIC | , |
| CATCH if(hdr && H5EA__hdr_unprotect( | ERR, | ||
| CATCH if(hdr && H5EA__hdr_unprotect( | H5EA_t *, | ||
| H5EA_t *ea = | NULL, | ||
| H5EA_t *ea = | NULL, | ||
| H5EA__new(H5F_t *f, haddr_t ea_addr, hbool_t from_open, void *ctx_udata) | |||
| ) |
| CATCH END_FUNC | ( | BEGIN_FUNC( | PRIV | ) |
| CATCH H5EA_depend | ( | H5EA_t * | ea, |
| H5AC_proxy_entry_t * | parent | ||
| ) |
| CATCH H5EA_iterate | ( | H5EA_t * | ea, |
| H5EA_operator_t | op, | ||
| void * | udata | ||
| ) |
| H5FL_BLK_DEFINE | ( | ea_native_elmt | ) |
| H5FL_DEFINE_STATIC | ( | H5EA_t | ) |
| HDassert | ( | ea | ) |
| HDassert | ( | hdr | ) |
| HDassert | ( | op | ) |
| HDassert | ( | parent | ) |
| HDassert | ( | udata | ) |
| if | ( | ! | H5F_addr_definediblock->sblk_addrs[sblk_off] | ) |
| if | ( | idx >=hdr->stats.stored. | max_idx_set | ) |
| if | ( | NULL | = = (iblock = H5EA__iblock_protect(hdr, thing_acc)) | ) |
| if | ( | ) |
| if | ( | sblock-> | dblk_npages | ) |
| if | ( | stats_changed | ) |
| int cb_ret = H5_ITER_CONT |
| size_t dblk_idx |
| else |
| CATCH ERR |
| CATCH FAIL |
| CATCH H5_ITER_CONT |
| CATCH H5_ITER_ERROR |
| const H5EA_class_t* const H5EA_client_class_g[] |
| CATCH int |
| sblk_idx = H5EA__dblock_sblk_idx(hdr, idx) |
| CATCH SUCCEED |
| void * thing = NULL |
| H5EA__unprotect_func_t thing_unprot_func = (H5EA__unprotect_func_t)H5EA__dblock_unprotect |
| hsize_t u |
1.8.18