#include "h5tools.h"#include "h5tools_dump.h"#include "h5tools_ref.h"#include "h5tools_utils.h"#include "H5private.h"
Include dependency graph for h5tools.c:Macros | |
| #define | NUM_VOLS (sizeof(volnames) / sizeof(volnames[0])) |
| #define | NUM_DRIVERS (sizeof(drivernames) / sizeof(drivernames[0])) |
Functions | |
| void | h5tools_init (void) |
| void | h5tools_error_report (void) |
| void | h5tools_close (void) |
| int | h5tools_set_data_output_file (const char *fname, int is_bin) |
| int | h5tools_set_attr_output_file (const char *fname, int is_bin) |
| int | h5tools_set_input_file (const char *fname, int is_bin) |
| int | h5tools_set_output_file (const char *fname, int is_bin) |
| int | h5tools_set_error_file (const char *fname, int is_bin) |
| herr_t | h5tools_set_fapl_vfd (hid_t fapl_id, h5tools_vfd_info_t *vfd_info) |
| herr_t | h5tools_set_fapl_vol (hid_t fapl_id, h5tools_vol_info_t *vol_info) |
| hid_t | h5tools_get_new_fapl (hid_t prev_fapl_id) |
| herr_t | h5tools_get_vfd_name (hid_t fid, hid_t fapl_id, char *drivername, size_t drivername_size) |
| hid_t | h5tools_fopen (const char *fname, unsigned flags, hid_t fapl_id, bool use_specific_driver, char *drivername, size_t drivername_size) |
| static H5_ATTR_PURE size_t | h5tools_count_ncols (const char *s) |
| htri_t | h5tools_detect_vlen (hid_t tid) |
| htri_t | h5tools_detect_vlen_str (hid_t tid) |
| void | h5tools_simple_prefix (FILE *stream, const h5tool_format_t *info, h5tools_context_t *ctx, hsize_t elmtno, int secnum) |
| void | h5tools_region_simple_prefix (FILE *stream, const h5tool_format_t *info, h5tools_context_t *ctx, hsize_t elmtno, hsize_t *ptdata, int secnum) |
| bool | h5tools_render_element (FILE *stream, const h5tool_format_t *info, h5tools_context_t *ctx, h5tools_str_t *buffer, hsize_t *curr_pos, size_t ncols, hsize_t local_elmt_counter, hsize_t elmt_counter) |
| bool | h5tools_render_region_element (FILE *stream, const h5tool_format_t *info, h5tools_context_t *ctx, h5tools_str_t *buffer, hsize_t *curr_pos, size_t ncols, hsize_t *ptdata, hsize_t local_elmt_counter, hsize_t elmt_counter) |
| void | init_acc_pos (unsigned ndims, const hsize_t *dims, hsize_t *acc, hsize_t *pos, hsize_t *p_min_idx) |
| hsize_t | calc_acc_pos (unsigned ndims, hsize_t elmtno, const hsize_t *acc, hsize_t *pos) |
| int | render_bin_output (FILE *stream, hid_t container, hid_t tid, void *_mem, hsize_t block_nelmts) |
| int | render_bin_output_region_data_blocks (hid_t region_id, FILE *stream, hid_t container, unsigned ndims, hid_t type_id, hsize_t nblocks, const hsize_t *ptdata) |
| bool | render_bin_output_region_blocks (hid_t region_space, hid_t region_id, FILE *stream, hid_t container) |
| int | render_bin_output_region_data_points (hid_t region_space, hid_t region_id, FILE *stream, hid_t container, unsigned ndims, hid_t type_id, hsize_t npoints) |
| bool | render_bin_output_region_points (hid_t region_space, hid_t region_id, FILE *stream, hid_t container) |
| H5_ATTR_PURE bool | h5tools_is_zero (const void *_mem, size_t size) |
| bool | h5tools_is_obj_same (hid_t loc_id1, const char *name1, hid_t loc_id2, const char *name2) |
Variables | |
| H5E_auto2_t | lib_func |
| H5E_auto2_t | tools_func |
| void * | lib_edata |
| void * | tools_edata |
| hid_t | H5tools_ERR_STACK_g = H5I_INVALID_HID |
| hid_t | H5tools_ERR_CLS_g = H5I_INVALID_HID |
| hid_t | H5E_tools_g = H5I_INVALID_HID |
| hid_t | H5E_tools_min_id_g = H5I_INVALID_HID |
| hid_t | H5E_tools_min_info_id_g = H5I_INVALID_HID |
| hid_t | H5E_tools_min_dbg_id_g = H5I_INVALID_HID |
| FILE * | rawattrstream = NULL |
| FILE * | rawdatastream = NULL |
| FILE * | rawinstream = NULL |
| FILE * | rawoutstream = NULL |
| FILE * | rawerrorstream = NULL |
| int | bin_output |
| int | bin_form = 0 |
| int | region_output |
| int | oid_output |
| int | data_output |
| int | attr_data_output |
| unsigned | packed_bits_num |
| unsigned | packed_data_offset |
| unsigned | packed_data_length |
| unsigned long long | packed_data_mask |
| int | enable_error_stack = 0 |
| H5_index_t | sort_by = H5_INDEX_NAME |
| H5_iter_order_t | sort_order = H5_ITER_INC |
| static int | h5tools_init_g |
| const char * | volnames [] |
| const char * | drivernames [] |
| #define NUM_DRIVERS (sizeof(drivernames) / sizeof(drivernames[0])) |
| void h5tools_close | ( | void | ) |
|
static |
| void h5tools_error_report | ( | void | ) |
| hid_t h5tools_fopen | ( | const char * | fname, |
| unsigned | flags, | ||
| hid_t | fapl_id, | ||
| bool | use_specific_driver, | ||
| char * | drivername, | ||
| size_t | drivername_size | ||
| ) |
| void h5tools_init | ( | void | ) |
| H5_ATTR_PURE bool h5tools_is_zero | ( | const void * | _mem, |
| size_t | size | ||
| ) |
| void h5tools_region_simple_prefix | ( | FILE * | stream, |
| const h5tool_format_t * | info, | ||
| h5tools_context_t * | ctx, | ||
| hsize_t | elmtno, | ||
| hsize_t * | ptdata, | ||
| int | secnum | ||
| ) |
| bool h5tools_render_element | ( | FILE * | stream, |
| const h5tool_format_t * | info, | ||
| h5tools_context_t * | ctx, | ||
| h5tools_str_t * | buffer, | ||
| hsize_t * | curr_pos, | ||
| size_t | ncols, | ||
| hsize_t | local_elmt_counter, | ||
| hsize_t | elmt_counter | ||
| ) |
| bool h5tools_render_region_element | ( | FILE * | stream, |
| const h5tool_format_t * | info, | ||
| h5tools_context_t * | ctx, | ||
| h5tools_str_t * | buffer, | ||
| hsize_t * | curr_pos, | ||
| size_t | ncols, | ||
| hsize_t * | ptdata, | ||
| hsize_t | local_elmt_counter, | ||
| hsize_t | elmt_counter | ||
| ) |
| int h5tools_set_attr_output_file | ( | const char * | fname, |
| int | is_bin | ||
| ) |
| int h5tools_set_data_output_file | ( | const char * | fname, |
| int | is_bin | ||
| ) |
| int h5tools_set_error_file | ( | const char * | fname, |
| int | is_bin | ||
| ) |
| herr_t h5tools_set_fapl_vfd | ( | hid_t | fapl_id, |
| h5tools_vfd_info_t * | vfd_info | ||
| ) |
| herr_t h5tools_set_fapl_vol | ( | hid_t | fapl_id, |
| h5tools_vol_info_t * | vol_info | ||
| ) |
| int h5tools_set_input_file | ( | const char * | fname, |
| int | is_bin | ||
| ) |
| int h5tools_set_output_file | ( | const char * | fname, |
| int | is_bin | ||
| ) |
| void h5tools_simple_prefix | ( | FILE * | stream, |
| const h5tool_format_t * | info, | ||
| h5tools_context_t * | ctx, | ||
| hsize_t | elmtno, | ||
| int | secnum | ||
| ) |
| void init_acc_pos | ( | unsigned | ndims, |
| const hsize_t * | dims, | ||
| hsize_t * | acc, | ||
| hsize_t * | pos, | ||
| hsize_t * | p_min_idx | ||
| ) |
| int render_bin_output | ( | FILE * | stream, |
| hid_t | container, | ||
| hid_t | tid, | ||
| void * | _mem, | ||
| hsize_t | block_nelmts | ||
| ) |
| bool render_bin_output_region_blocks | ( | hid_t | region_space, |
| hid_t | region_id, | ||
| FILE * | stream, | ||
| hid_t | container | ||
| ) |
| int render_bin_output_region_data_blocks | ( | hid_t | region_id, |
| FILE * | stream, | ||
| hid_t | container, | ||
| unsigned | ndims, | ||
| hid_t | type_id, | ||
| hsize_t | nblocks, | ||
| const hsize_t * | ptdata | ||
| ) |
| int render_bin_output_region_data_points | ( | hid_t | region_space, |
| hid_t | region_id, | ||
| FILE * | stream, | ||
| hid_t | container, | ||
| unsigned | ndims, | ||
| hid_t | type_id, | ||
| hsize_t | npoints | ||
| ) |
| bool render_bin_output_region_points | ( | hid_t | region_space, |
| hid_t | region_id, | ||
| FILE * | stream, | ||
| hid_t | container | ||
| ) |
| int attr_data_output |
| int bin_form = 0 |
| int bin_output |
| int data_output |
| int enable_error_stack = 0 |
| hid_t H5E_tools_g = H5I_INVALID_HID |
| hid_t H5E_tools_min_dbg_id_g = H5I_INVALID_HID |
| hid_t H5E_tools_min_id_g = H5I_INVALID_HID |
| hid_t H5E_tools_min_info_id_g = H5I_INVALID_HID |
| hid_t H5tools_ERR_CLS_g = H5I_INVALID_HID |
| hid_t H5tools_ERR_STACK_g = H5I_INVALID_HID |
|
static |
| void* lib_edata |
| H5E_auto2_t lib_func |
| int oid_output |
| unsigned packed_bits_num |
| unsigned packed_data_length |
| unsigned long long packed_data_mask |
| unsigned packed_data_offset |
| FILE* rawattrstream = NULL |
| FILE* rawdatastream = NULL |
| FILE* rawerrorstream = NULL |
| FILE* rawinstream = NULL |
| FILE* rawoutstream = NULL |
| int region_output |
| H5_index_t sort_by = H5_INDEX_NAME |
| H5_iter_order_t sort_order = H5_ITER_INC |
| void* tools_edata |
| H5E_auto2_t tools_func |
| const char* volnames[] |