Lines Matching refs:upper
87 wchar_t *upper;
760 if((upper = (wchar_t *)malloc(MAXLIN*sizeof(wchar_t))) == (wchar_t *)0)
1049 if(lower[current] != upper[current]) {
1051 chars[nxtchar++] = upper[current];
1068 if(upper[current] == lower[current])
1072 wctomb(multic2, upper[current]);
1160 upper[current-1] = c;
1164 upper[current++] = c;
1169 /* sort lower and upper bounds of ranges */
1171 qsort((char *)upper, nel, sizeof(wchar_t), compare);
1176 if(upper[i] >= lower[i+1] - 1)
1177 upper[current] = upper[i+1];
1180 upper[current] = upper[i+1];
1192 upper[i++] = maxmin(WCHAR_CS2, 1);
1196 upper[i++] = maxmin(WCHAR_CS3, 1);
1199 upper[i++] = maxmin(WCHAR_CS1, 1);
1206 (upper = (wchar_t *)realloc(upper, maxwclin * sizeof(wchar_t))) == (wchar_t *)0)
1212 upper[next++] = maxmin(WCHAR_CS2, 1);
1215 upper[next++] = maxmin(WCHAR_CS3, 1);
1219 upper[next++] = lower[i] - 1;
1222 upper[next++] = lower[i] - 1;
1225 upper[next++] = lower[i] - 1;
1228 if(upper[j] < maxmin(upper[j] & WCHAR_CSMASK, 1)) {
1229 lower[next] = upper[j] + 1;
1230 if((upper[j] & WCHAR_CSMASK) != (lower[j+1] & WCHAR_CSMASK)) {
1231 upper[next++] = maxmin(upper[j] & WCHAR_CSMASK, 1);
1232 if(eucw3 && (upper[j] & WCHAR_CSMASK) == WCHAR_CS2 && (lower[j+1] & WCHAR_CSMASK) == WCHAR_CS1) {
1234 upper[next++] = maxmin(WCHAR_CS3, 1);
1238 upper[next++] = lower[j+1] - 1;
1241 upper[next++] = lower[j+1] - 1;
1244 upper[next++] = lower[j+1] - 1;
1247 if(upper[current] < maxmin(upper[current] & WCHAR_CSMASK, 1)) {
1248 lower[next] = upper[current] + 1;
1249 upper[next++] = maxmin(upper[current] & WCHAR_CSMASK, 1);
1251 if((upper[current] & WCHAR_CSMASK) != WCHAR_CS1) {
1252 if((upper[current] & WCHAR_CSMASK) == WCHAR_CS2 && eucw3) {
1254 upper[next++] = maxmin(WCHAR_CS3, 1);
1257 upper[next++] = maxmin(WCHAR_CS1, 1);
1261 upper[i++] = upper[j];