Macros | |
#define | gmp_printf mpz_printf |
Enumerations | |
enum | mpz_word_order { MPZ_MSWF = 1, MPZ_LSWF = -1 } |
enum | mpz_byte_order { MPZ_BIG_ENDIAN = 1, MPZ_HOST_ENDIAN = 0, MPZ_LITTLE_ENDIAN = -1 } |
Functions | |
int | mpz_printf (const char *format, const mpz_t value) |
void | mpz_bitmask (mpz_t rop, unsigned int width) |
void | mpz_init_bitmask (mpz_t rop, unsigned int width) |
void | mpz_prefixmask (mpz_t rop, unsigned int width, unsigned int prefix_len) |
void | mpz_lshift_ui (mpz_t rop, unsigned int n) |
void | mpz_rshift_ui (mpz_t rop, unsigned int n) |
uint64_t | mpz_get_uint64 (const mpz_t op) |
uint32_t | mpz_get_uint32 (const mpz_t op) |
uint16_t | mpz_get_uint16 (const mpz_t op) |
uint8_t | mpz_get_uint8 (const mpz_t op) |
uint64_t | mpz_get_be64 (const mpz_t op) |
uint32_t | mpz_get_be32 (const mpz_t op) |
uint16_t | mpz_get_be16 (const mpz_t op) |
void * | mpz_export_data (void *data, const mpz_t op, enum byteorder byteorder, unsigned int len) |
void | mpz_import_data (mpz_t rop, const void *data, enum byteorder byteorder, unsigned int len) |
void | mpz_switch_byteorder (mpz_t rop, unsigned int len) |
#define gmp_printf mpz_printf |
enum mpz_byte_order |
enum mpz_word_order |
References mpz_set_ui(), mpz_setbit(), and mpz_sub_ui().
Referenced by constant_expr_splice(), mpz_init_bitmask(), and mpz_prefixmask().
References BYTEORDER_BIG_ENDIAN, BYTEORDER_HOST_ENDIAN, data, MPZ_BIG_ENDIAN, mpz_export(), MPZ_HOST_ENDIAN, MPZ_MSWF, and NULL.
Referenced by constant_expr_join(), mpz_switch_byteorder(), netlink_gen_raw_data(), and symbolic_constant_print().
uint16_t mpz_get_be16 | ( | const mpz_t | op | ) |
References MPZ_BIG_ENDIAN, and mpz_get_type.
uint32_t mpz_get_be32 | ( | const mpz_t | op | ) |
References MPZ_BIG_ENDIAN, and mpz_get_type.
uint64_t mpz_get_be64 | ( | const mpz_t | op | ) |
References MPZ_BIG_ENDIAN, and mpz_get_type.
uint16_t mpz_get_uint16 | ( | const mpz_t | op | ) |
References mpz_get_type, and MPZ_HOST_ENDIAN.
uint32_t mpz_get_uint32 | ( | const mpz_t | op | ) |
References mpz_get_type, and MPZ_HOST_ENDIAN.
uint64_t mpz_get_uint64 | ( | const mpz_t | op | ) |
References mpz_get_type, and MPZ_HOST_ENDIAN.
uint8_t mpz_get_uint8 | ( | const mpz_t | op | ) |
References mpz_get_type, and MPZ_HOST_ENDIAN.
References BYTEORDER_BIG_ENDIAN, BYTEORDER_HOST_ENDIAN, MPZ_BIG_ENDIAN, MPZ_HOST_ENDIAN, mpz_import(), and MPZ_MSWF.
Referenced by constant_expr_alloc(), and mpz_switch_byteorder().
References mpz_bitmask(), and mpz_init2().
Referenced by interval_map_decompose(), and range_expr_value_high().
References mpz_mul_2exp().
Referenced by constant_expr_splice(), flag_expr_alloc(), and mpz_prefixmask().
int mpz_printf | ( | const char * | format, |
const mpz_t | value | ||
) |
References expr::base, len, mpz_get_str(), mpz_sizeinbase(), and NULL.
References mpz_tdiv_q_2exp().
Referenced by constant_expr_splice().
References BYTEORDER_BIG_ENDIAN, BYTEORDER_HOST_ENDIAN, data, len, mpz_export_data(), and mpz_import_data().