Home | History | Annotate | Download | only in include

Lines Matching refs:tp

73 #define NUM_BOOLEANS(tp) (tp)->num_Booleans
74 #define NUM_NUMBERS(tp) (tp)->num_Numbers
75 #define NUM_STRINGS(tp) (tp)->num_Strings
76 #define EXT_NAMES(tp,i,limit,index,table) (i >= limit) ? tp->ext_Names[index] : table[i]
78 #define NUM_BOOLEANS(tp) BOOLCOUNT
79 #define NUM_NUMBERS(tp) NUMCOUNT
80 #define NUM_STRINGS(tp) STRCOUNT
81 #define EXT_NAMES(tp,i,limit,index,table) table[i]
84 #define NUM_EXT_NAMES(tp) ((tp)->ext_Booleans + (tp)->ext_Numbers + (tp)->ext_Strings)
86 #define for_each_boolean(n,tp) for(n = 0; n < NUM_BOOLEANS(tp); n++)
87 #define for_each_number(n,tp) for(n = 0; n < NUM_NUMBERS(tp); n++)
88 #define for_each_string(n,tp) for(n = 0; n < NUM_STRINGS(tp); n++)
90 #define ExtBoolname(tp,i,names) EXT_NAMES(tp, i, BOOLCOUNT, (i - (tp->num_Booleans - tp->ext_Booleans)), names)
91 #define ExtNumname(tp,i,names) EXT_NAMES(tp, i, NUMCOUNT, (i - (tp->num_Numbers - tp->ext_Numbers)) + tp->ext_Booleans, names)
92 #define ExtStrname(tp,i,names) EXT_NAMES(tp, i, STRCOUNT, (i - (tp->num_Strings - tp->ext_Strings)) + (tp->ext_Numbers + tp->ext_Booleans), names)