84#define TEST_PATTERN 1.3333
85#ifdef HAVE_LONG_LONG_INT
86#define LONG_LONG_TEST 0x0102030405060708LL
88#define LONG_TEST 0x01020304
89#define INT_TEST 0x01020304
90#define SHORT_TEST 0x0102
100static const unsigned char dbl_cmpr[] = {0x3f, 0xf5, 0x55, 0x32,
101 0x61, 0x7c, 0x1b, 0xda};
103static const unsigned char flt_cmpr[] = {0x3f, 0xaa, 0xa9, 0x93};
104static const unsigned char off_t_cmpr[] = {0x01, 0x02, 0x03, 0x04,
105 0x05, 0x06, 0x07, 0x08};
106static const unsigned char lng_cmpr[] = {0x01, 0x02, 0x03, 0x04};
107static const unsigned char int_cmpr[] = {0x01, 0x02, 0x03, 0x04};
108static const unsigned char shrt_cmpr[] = {0x01, 0x02};
141 for (i = 0; i < size; i++)
148static int find_offsets(
const void *
pattern,
unsigned char *
cnvrt,
150 const char *
typename)
215#ifdef HAVE_LONG_LONG_INT
218 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)]