Lines Matching defs:idx
110 #define HAS_SLOT(flags, idx) ((flags)&(1<<(idx)))
111 #define SLOT_OFFSET(flags, idx) flagsOffset[(flags)&((1<<(idx))-1)]
114 * Get the value of an optional-value slot where HAS_SLOT(excWord, idx).
117 * @param idx (in) desired slot index
122 #define GET_SLOT_VALUE(excWord, idx, pExc16, value) \
124 (pExc16)+=SLOT_OFFSET(excWord, idx); \
127 (pExc16)+=2*SLOT_OFFSET(excWord, idx); \
178 int32_t idx;
180 idx=UCASE_EXC_TITLE;
182 idx=UCASE_EXC_UPPER;
186 GET_SLOT_VALUE(excWord, idx, pe, c);
248 int32_t idx, closureLength, fullLength, length;
253 for(idx=UCASE_EXC_LOWER; idx<=UCASE_EXC_TITLE; ++idx) {
254 if(HAS_SLOT(excWord, idx)) {
256 GET_SLOT_VALUE(excWord, idx, pe, c);
303 for(idx=0; idx<closureLength;) {
304 U16_NEXT_UNSAFE(closure, idx, c);
960 int32_t full, idx;
1025 idx=UCASE_EXC_TITLE;
1028 idx=UCASE_EXC_UPPER;
1032 GET_SLOT_VALUE(excWord, idx, pe2, result);
1106 int32_t idx;
1130 idx=UCASE_EXC_FOLD;
1132 idx=UCASE_EXC_LOWER;
1136 GET_SLOT_VALUE(excWord, idx, pe, c);
1170 int32_t full, idx;
1216 idx=UCASE_EXC_FOLD;
1218 idx=UCASE_EXC_LOWER;
1222 GET_SLOT_VALUE(excWord, idx, pe2, result);