Lines Matching refs:UNIT
19 /* To store an array of string<UNIT> in continue space.
20 Since string<UNIT> itself is treated as an array of UNIT, this
21 class will ease our memory management for an array of string<UNIT>.
24 //template<typename UNIT>
25 #define COMPATCT_ARRAY(CompactArrays, UNIT) \
31 UNIT * data; /*the real space to hold strings*/ \
42 data = (UNIT *) realloc(data, sizeof(UNIT) * index[count]); \
44 UNIT * last(){return data + index[count - 1];} \
45 UNIT * dataOf(int32_t i){return data + index[i];} \