|
| | BEGIN_FUNC (PKG, CATCH if(&&cls->dst_dbg_ctx(dbg_ctx)< 0) if(hdr &&H5EA__hdr_unprotect(hdr ERR, CATCH if(&&cls->dst_dbg_ctx(dbg_ctx)< 0) if(hdr &&H5EA__hdr_unprotect(hdr herr_t, CATCH if(&&cls->dst_dbg_ctx(dbg_ctx)< 0) if(hdr &&H5EA__hdr_unprotect(hdr SUCCEED, CATCH if(&&cls->dst_dbg_ctx(dbg_ctx)< 0) if(hdr &&H5EA__hdr_unprotect(hdr FAIL, H5EA__hdr_debug(H5F_t *f, haddr_t addr, FILE *stream, int indent, int fwidth, const H5EA_class_t *cls, haddr_t obj_addr)) |
| |
| | if (iblock->ndblk_addrs > 0) |
| |
| CATCH | if (dbg_ctx &&cls->dst_dbg_ctx(dbg_ctx)< 0) if(iblock &&H5EA__iblock_unprotect(iblock |
| |
| CATCH H5AC__NO_FLAGS_SET< 0) if(hdr &&H5EA__hdr_unprotect(hdr, H5AC__NO_FLAGS_SET)< 0) END_FUNC(PKG) BEGIN_FUNC(PKG, ERR, herr_t, SUCCEED, FAIL, H5EA__sblock_debug(H5F_t *f, haddr_t addr, FILE *stream, int indent, int fwidth, const H5EA_class_t *cls, haddr_t hdr_addr, unsigned sblk_idx, haddr_t obj_addr)) H5EA_hdr_t *hdr=NULL;H5EA_sblock_t *sblock=NULL;void *dbg_ctx=NULL;HDassert(f);HDassert(H5F_addr_defined(addr));HDassert(stream);HDassert(indent > | HDassert (fwidth >=0) |
| |
| | HDassert (cls) |
| |
| | HDassert (H5F_addr_defined(hdr_addr)) |
| |
| | HDassert (H5F_addr_defined(obj_addr)) |
| |
| | if (cls->crt_dbg_ctx) if(NULL |
| |
| | HDfprintf (stream, "%*s%-*s %s\n", indent, "", fwidth, "Array class ID:", hdr->cparam.cls->name) |
| |
| | HDfprintf (stream, "%*s%-*s %Zu\n", indent, "", fwidth, "Super Block size:", sblock->size) |
| |
| | HDfprintf (stream, "%*s%-*s %Zu\n", indent, "", fwidth, "# of data block addresses in super block:", sblock->ndblks) |
| |
| | HDfprintf (stream, "%*s%-*s %Zu\n", indent, "", fwidth, "# of elements in data blocks from this super block:", sblock->dblk_nelmts) |
| |
| | if (sblock->ndblks > 0) |
| |
| | HDassert (dblk_nelmts > 0) |
| |
| | HDfprintf (stream, "%*s%-*s %Zu\n", indent, "", fwidth, "Data Block size:", dblock->size) |
| |
| | HDfprintf (stream, "%*sElements:\n", indent, "") |
| |
| | for (u=0;u< dblk_nelmts;u++) |
| |