Lines Matching refs:upper
239 XConvertCase(xkb_keysym_t sym, xkb_keysym_t *lower, xkb_keysym_t *upper);
244 xkb_keysym_t lower, upper; in xkb_keysym_is_lower() local
246 XConvertCase(ks, &lower, &upper); in xkb_keysym_is_lower()
248 if (lower == upper) in xkb_keysym_is_lower()
257 xkb_keysym_t lower, upper; in xkb_keysym_is_upper() local
259 XConvertCase(ks, &lower, &upper); in xkb_keysym_is_upper()
261 if (lower == upper) in xkb_keysym_is_upper()
264 return (ks == upper ? true : false); in xkb_keysym_is_upper()
270 xkb_keysym_t lower, upper; in xkb_keysym_to_lower() local
272 XConvertCase(ks, &lower, &upper); in xkb_keysym_to_lower()
280 xkb_keysym_t lower, upper; in xkb_keysym_to_upper() local
282 XConvertCase(ks, &lower, &upper); in xkb_keysym_to_upper()
284 return upper; in xkb_keysym_to_upper()
303 UCSConvertCase(uint32_t code, xkb_keysym_t *lower, xkb_keysym_t *upper) in UCSConvertCase() argument
463 *upper = code; in UCSConvertCase()
470 *upper -= 0x20; in UCSConvertCase()
476 *upper -= 0x20; in UCSConvertCase()
478 *upper = 0x0178; in UCSConvertCase()
480 *upper = 0x039c; in UCSConvertCase()
489 *upper = code & ~1; in UCSConvertCase()
497 *upper -= 1; in UCSConvertCase()
502 *upper = 0x0049; in UCSConvertCase()
506 *upper = 0x0053; in UCSConvertCase()
516 *upper -= 1; in UCSConvertCase()
523 *upper &= ~1; in UCSConvertCase()
527 *upper = LatinExtB_upper_mapping[code - 0x0180]; in UCSConvertCase()
530 *upper = 0x018e; in UCSConvertCase()
533 *upper = 0x01f1; in UCSConvertCase()
536 *upper = 0x01f1; in UCSConvertCase()
548 *upper = IPAExt_upper_mapping[code - 0x0253]; in UCSConvertCase()
553 *upper = 0x0399; in UCSConvertCase()
559 *upper = Greek_upper_mapping[code - 0x0370]; in UCSConvertCase()
560 if (*upper == 0) in UCSConvertCase()
561 *upper = code; in UCSConvertCase()
574 *upper -= 0x20; in UCSConvertCase()
576 *upper -= 0x50; in UCSConvertCase()
582 *upper &= ~1; in UCSConvertCase()
589 *upper -= 1; in UCSConvertCase()
598 *upper -= 0x30; in UCSConvertCase()
605 *upper &= ~1; in UCSConvertCase()
609 *upper = 0x1e60; in UCSConvertCase()
615 *upper = GreekExt_upper_mapping[code - 0x1f00]; in UCSConvertCase()
616 if (*upper == 0) in UCSConvertCase()
617 *upper = code; in UCSConvertCase()
634 *upper -= 0x10; in UCSConvertCase()
639 *upper -= 0x1a; in UCSConvertCase()
644 *upper -= 0x20; in UCSConvertCase()
649 *upper -= 0x28; in UCSConvertCase()
653 XConvertCase(xkb_keysym_t sym, xkb_keysym_t *lower, xkb_keysym_t *upper) in XConvertCase() argument
657 UCSConvertCase(sym, lower, upper); in XConvertCase()
663 UCSConvertCase((sym & 0x00ffffff), lower, upper); in XConvertCase()
664 *upper |= 0x01000000; in XConvertCase()
672 *upper = sym; in XConvertCase()
686 *upper = XKB_KEY_Aogonek; in XConvertCase()
688 *upper -= (XKB_KEY_lstroke - XKB_KEY_Lstroke); in XConvertCase()
690 *upper -= (XKB_KEY_scaron - XKB_KEY_Scaron); in XConvertCase()
692 *upper -= (XKB_KEY_zcaron - XKB_KEY_Zcaron); in XConvertCase()
696 *upper -= (XKB_KEY_racute - XKB_KEY_Racute); in XConvertCase()
705 *upper -= (XKB_KEY_hstroke - XKB_KEY_Hstroke); in XConvertCase()
707 *upper -= (XKB_KEY_gbreve - XKB_KEY_Gbreve); in XConvertCase()
711 *upper -= (XKB_KEY_cabovedot - XKB_KEY_Cabovedot); in XConvertCase()
718 *upper -= (XKB_KEY_rcedilla - XKB_KEY_Rcedilla); in XConvertCase()
722 *upper = XKB_KEY_ENG; in XConvertCase()
726 *upper -= (XKB_KEY_amacron - XKB_KEY_Amacron); in XConvertCase()
733 *upper += (XKB_KEY_Serbian_DJE - XKB_KEY_Serbian_dje); in XConvertCase()
737 *upper += (XKB_KEY_Cyrillic_YU - XKB_KEY_Cyrillic_yu); in XConvertCase()
746 *upper -= (XKB_KEY_Greek_alphaaccent - XKB_KEY_Greek_ALPHAaccent); in XConvertCase()
751 *upper -= (XKB_KEY_Greek_alpha - XKB_KEY_Greek_ALPHA); in XConvertCase()
757 *upper = XKB_KEY_OE; in XConvertCase()