82#define TEST_PATTERN 1.3333
83#ifdef HAVE_LONG_LONG_INT
84#define LONG_LONG_TEST 0x0102030405060708LL
86#define LONG_TEST 0x01020304
87#define INT_TEST 0x01020304
88#define SHORT_TEST 0x0102
98static const unsigned char dbl_cmpr[] = {0x3f, 0xf5, 0x55, 0x32,
99 0x61, 0x7c, 0x1b, 0xda};
101static const unsigned char flt_cmpr[] = {0x3f, 0xaa, 0xa9, 0x93};
102static const unsigned char off_t_cmpr[] = {0x01, 0x02, 0x03, 0x04,
103 0x05, 0x06, 0x07, 0x08};
104static const unsigned char lng_cmpr[] = {0x01, 0x02, 0x03, 0x04};
105static const unsigned char int_cmpr[] = {0x01, 0x02, 0x03, 0x04};
106static const unsigned char shrt_cmpr[] = {0x01, 0x02};
139 for (i = 0; i < size; i++)
146static int find_offsets(
const void *
pattern,
unsigned char *
cnvrt,
148 const char *
typename)
213#ifdef HAVE_LONG_LONG_INT
216 G_fatal_error(
"Internal error: can't construct an off_t literal");
void void void void G_fatal_error(const char *,...) __attribute__((format(printf
#define PORT_DOUBLE
Sizes of types used in portable format (different names used in Vlib/ and diglib/ for the same thing)
#define ENDIAN_LITTLE
Endian check.
unsigned char flt_cnvrt[sizeof(float)]
unsigned char dbl_cnvrt[sizeof(double)]
unsigned char lng_cnvrt[sizeof(long)]
unsigned char off_t_cnvrt[sizeof(off_t)]
unsigned char shrt_cnvrt[sizeof(short)]
void port_init(void)
Initialize Port_info structures.
unsigned char int_cnvrt[sizeof(int)]