13 #define TABLESIZE 4133
30 #define REFCOUNT_TYPE int
36 #if !defined(offsetof)
37 #define offsetof(type, member) (int)&(((type *)0)->member)
44 #define SS(x) ((shared_string *) ((x)-offsetof(shared_string, string)))
46 #define SS_DUMP_TABLE 1
47 #define SS_DUMP_TOTALS 2
57 } add_stats, add_ref_stats, free_stats, find_stats, hash_stats;
58 #define GATHER(n) (++n)
63 #define TOPBIT ((unsigned REFCOUNT_TYPE)1<<(sizeof(REFCOUNT_TYPE)*CHAR_BIT-1))
65 #define PADDING ((2*sizeof(long)-sizeof(REFCOUNT_TYPE))%sizeof(long))+1
union _shared_string::@3 u
struct Statistics statistics
struct _shared_string * previous
struct _shared_string * next
struct _shared_string ** array
unsigned REFCOUNT_TYPE refcount
struct _shared_string shared_string