Lines Matching refs:lower

86 wchar_t *lower;
758 if((lower = (wchar_t *)malloc(MAXLIN*sizeof(wchar_t))) == (wchar_t *)0)
1046 while(current <= last && (isascii(c = lower[current]) || c <= 0377 && iscntrl(c))) {
1049 if(lower[current] != upper[current]) {
1068 if(upper[current] == lower[current])
1069 x1 = mchar(lower[current]);
1071 length = wctomb(multic1, lower[current]);
1163 lower[current] = c;
1169 /* sort lower and upper bounds of ranges */
1170 qsort((char *)lower, nel, sizeof(wchar_t), compare);
1176 if(upper[i] >= lower[i+1] - 1)
1179 lower[++current] = lower[i+1];
1186 while(i <= current && isascii(c=lower[i]) || c <= 0377 && iscntrl(c))
1191 lower[i] = maxmin(WCHAR_CS2, 0);
1195 lower[i] = maxmin(WCHAR_CS3, 0);
1198 lower[i] = maxmin(WCHAR_CS1, 0);
1205 if((lower = (wchar_t *)realloc(lower, maxwclin *sizeof(wchar_t))) == (wchar_t *)0 ||
1209 if(eucw2 && lower[i] > maxmin(WCHAR_CS2, 0)) {
1210 lower[next] = maxmin(WCHAR_CS2, 0);
1211 if((lower[i] & WCHAR_CSMASK) != WCHAR_CS2) {
1213 if((lower[i] & WCHAR_CSMASK) == WCHAR_CS1 && eucw3) {
1214 lower[next] = maxmin(WCHAR_CS3, 0);
1217 if(lower[i] > maxmin(lower[i] & WCHAR_CSMASK, 0)) {
1218 lower[next] = maxmin(lower[i] & WCHAR_CSMASK, 0);
1219 upper[next++] = lower[i] - 1;
1222 upper[next++] = lower[i] - 1;
1223 } else if(lower[i] > maxmin(lower[i] & WCHAR_CSMASK, 0)) {
1224 lower[next] = maxmin(lower[i] & WCHAR_CSMASK, 0);
1225 upper[next++] = lower[i] - 1;
1229 lower[next] = upper[j] + 1;
1230 if((upper[j] & WCHAR_CSMASK) != (lower[j+1] & WCHAR_CSMASK)) {
1232 if(eucw3 && (upper[j] & WCHAR_CSMASK) == WCHAR_CS2 && (lower[j+1] & WCHAR_CSMASK) == WCHAR_CS1) {
1233 lower[next] = maxmin(WCHAR_CS3, 0);
1236 if(lower[j+1] > maxmin(lower[j+1] & WCHAR_CSMASK, 0)) {
1237 lower[next] = maxmin(lower[j+1] & WCHAR_CSMASK, 0);
1238 upper[next++] = lower[j+1] - 1;
1241 upper[next++] = lower[j+1] - 1;
1242 } else if(lower[j+1] > maxmin(lower[j+1], 0)) {
1243 lower[next] = maxmin(lower[j+1], 0);
1244 upper[next++] = lower[j+1] - 1;
1248 lower[next] = upper[current] + 1;
1253 lower[next] = maxmin(WCHAR_CS3, 0);
1256 lower[next] = maxmin(WCHAR_CS1, 0);
1260 lower[i] = lower[j];