HDF5  1.12.0
Macros | Functions
H5HFtiny.c File Reference
#include "H5HFmodule.h"
#include "H5private.h"
#include "H5Eprivate.h"
#include "H5HFpkg.h"
#include "H5MMprivate.h"

Macros

#define H5HF_TINY_LEN_SHORT   16 /* Max. length able to be encoded in first heap ID byte */
 
#define H5HF_TINY_MASK_SHORT   0x0F /* Mask for length in first heap ID byte */
 
#define H5HF_TINY_MASK_EXT   0x0FFF /* Mask for length in two heap ID bytes */
 
#define H5HF_TINY_MASK_EXT_1   0x0F00 /* Mask for length in first byte of two heap ID bytes */
 
#define H5HF_TINY_MASK_EXT_2   0x00FF /* Mask for length in second byte of two heap ID bytes */
 

Functions

herr_t H5HF_tiny_init (H5HF_hdr_t *hdr)
 
herr_t H5HF_tiny_insert (H5HF_hdr_t *hdr, size_t obj_size, const void *obj, void *_id)
 
herr_t H5HF_tiny_get_obj_len (H5HF_hdr_t *hdr, const uint8_t *id, size_t *obj_len_p)
 
herr_t H5HF_tiny_read (H5HF_hdr_t *hdr, const uint8_t *id, void *obj)
 
herr_t H5HF_tiny_op (H5HF_hdr_t *hdr, const uint8_t *id, H5HF_operator_t op, void *op_data)
 
herr_t H5HF_tiny_remove (H5HF_hdr_t *hdr, const uint8_t *id)
 

Macro Definition Documentation

◆ H5HF_TINY_LEN_SHORT

#define H5HF_TINY_LEN_SHORT   16 /* Max. length able to be encoded in first heap ID byte */

◆ H5HF_TINY_MASK_EXT

#define H5HF_TINY_MASK_EXT   0x0FFF /* Mask for length in two heap ID bytes */

◆ H5HF_TINY_MASK_EXT_1

#define H5HF_TINY_MASK_EXT_1   0x0F00 /* Mask for length in first byte of two heap ID bytes */

◆ H5HF_TINY_MASK_EXT_2

#define H5HF_TINY_MASK_EXT_2   0x00FF /* Mask for length in second byte of two heap ID bytes */

◆ H5HF_TINY_MASK_SHORT

#define H5HF_TINY_MASK_SHORT   0x0F /* Mask for length in first heap ID byte */

Function Documentation

◆ H5HF_tiny_get_obj_len()

herr_t H5HF_tiny_get_obj_len ( H5HF_hdr_t hdr,
const uint8_t id,
size_t obj_len_p 
)

◆ H5HF_tiny_init()

herr_t H5HF_tiny_init ( H5HF_hdr_t hdr)

◆ H5HF_tiny_insert()

herr_t H5HF_tiny_insert ( H5HF_hdr_t hdr,
size_t  obj_size,
const void *  obj,
void *  _id 
)

◆ H5HF_tiny_op()

herr_t H5HF_tiny_op ( H5HF_hdr_t hdr,
const uint8_t id,
H5HF_operator_t  op,
void *  op_data 
)

◆ H5HF_tiny_read()

herr_t H5HF_tiny_read ( H5HF_hdr_t hdr,
const uint8_t id,
void *  obj 
)

◆ H5HF_tiny_remove()

herr_t H5HF_tiny_remove ( H5HF_hdr_t hdr,
const uint8_t id 
)