/reactos/sdk/tools/unicode/ |
H A D | sortkey.c | 47 WCHAR wch = dummy[i]; in wine_get_sortkey() local 57 if (flags & NORM_IGNORECASE) wch = tolowerW(wch); in wine_get_sortkey() 59 ce = collation_table[collation_table[wch >> 8] + (wch & 0xff)]; in wine_get_sortkey() 74 if (wch >> 8) key_len[0]++; in wine_get_sortkey() 104 WCHAR wch = dummy[i]; in wine_get_sortkey() local 114 if (flags & NORM_IGNORECASE) wch = tolowerW(wch); in wine_get_sortkey() 116 ce = collation_table[collation_table[wch >> 8] + (wch & 0xff)]; in wine_get_sortkey() 132 if (wch >> 8) *key_ptr[3]++ = wch >> 8; in wine_get_sortkey() 133 if (wch & 0xff) *key_ptr[3]++ = wch & 0xff; in wine_get_sortkey() 140 if (wch >> 8) *key_ptr[0]++ = wch >> 8; in wine_get_sortkey() [all …]
|
H A D | wctomb.c | 35 return (table->cp2uni[ch] == wch); in is_valid_sbcs_mapping() 53 WCHAR wch = *src; in get_length_sbcs() local 84 ch = uni2cp_low[uni2cp_high[wch >> 8] + (wch & 0xff)]; in get_length_sbcs() 178 WCHAR wch = *src; in wcstombs_sbcs_slow() local 208 *dst = uni2cp_low[uni2cp_high[wch >> 8] + (wch & 0xff)]; in wcstombs_sbcs_slow() 235 return (table->cp2uni[ch & 0xff] == wch); in is_valid_dbcs_mapping() 273 WCHAR wch = *src; in get_length_dbcs() local 305 res = uni2cp_low[uni2cp_high[wch >> 8] + (wch & 0xff)]; in get_length_dbcs() 306 if (!is_valid_dbcs_mapping( table, flags, wch, res )) in get_length_dbcs() 358 WCHAR wch = *src; in wcstombs_dbcs_slow() local [all …]
|
/reactos/dll/win32/kernel32/winnls/string/ |
H A D | sortkey.c | 50 WCHAR wch = dummy[i]; in wine_get_sortkey() local 60 if (flags & NORM_IGNORECASE) wch = tolowerW(wch); in wine_get_sortkey() 62 ce = collation_table[collation_table[wch >> 8] + (wch & 0xff)]; in wine_get_sortkey() 77 if (wch >> 8) key_len[0]++; in wine_get_sortkey() 107 WCHAR wch = dummy[i]; in wine_get_sortkey() local 117 if (flags & NORM_IGNORECASE) wch = tolowerW(wch); in wine_get_sortkey() 119 ce = collation_table[collation_table[wch >> 8] + (wch & 0xff)]; in wine_get_sortkey() 135 if (wch >> 8) *key_ptr[3]++ = wch >> 8; in wine_get_sortkey() 136 if (wch & 0xff) *key_ptr[3]++ = wch & 0xff; in wine_get_sortkey() 143 if (wch >> 8) *key_ptr[0]++ = wch >> 8; in wine_get_sortkey() [all …]
|
H A D | locale.c | 3280 WCHAR wch = *src; in map_to_hiragana() local 3281 if ((0x30A1 <= wch && wch <= 0x30F3) || in map_to_hiragana() 3282 wch == 0x30F4 || wch == 0x30F5 || wch == 0x30FD || wch == 0x30FE) in map_to_hiragana() 3304 WCHAR wch = *src; in map_to_katakana() local 3305 if ((0x3041 <= wch && wch <= 0x3093) || in map_to_katakana() 3306 wch == 3094 || wch == 0x3095 || wch == 0x309D || wch == 0x309E) in map_to_katakana() 3498 WCHAR wch = *src; in map_to_lowercase() local 3513 WCHAR wch = *src; in map_to_uppercase() local 3569 WCHAR wch = *src; in map_to_simplified_chinese() local 3582 WCHAR wch = *src; in map_to_traditional_chinese() local [all …]
|
H A D | nls.c | 1102 IntIsValidSBCSMapping(PCPTABLEINFO CodePageTable, DWORD Flags, WCHAR wch, UCHAR ch) in IntIsValidSBCSMapping() argument 1106 return (CodePageTable->MultiByteTable[ch] == wch); in IntIsValidSBCSMapping() 1114 return (wch == CodePageTable->TransUniDefaultChar); in IntIsValidSBCSMapping() 1125 IntIsValidDBCSMapping(PCPTABLEINFO CodePageTable, DWORD Flags, WCHAR wch, USHORT ch) in IntIsValidDBCSMapping() argument 1128 if (ch == CodePageTable->TransDefaultChar && wch != CodePageTable->TransUniDefaultChar) in IntIsValidDBCSMapping() 1138 return (CodePageTable->DBCSOffsets[uOffset + (ch & 0xff)] == wch); in IntIsValidDBCSMapping() 1141 return (CodePageTable->MultiByteTable[ch] == wch); in IntIsValidDBCSMapping()
|
/reactos/win32ss/user/ntuser/ |
H A D | keyboard.c | 332 WCHAR wch; in IntTranslateChar() local 383 wch = pVkToVch->wch[dwModNumber]; in IntTranslateChar() 609 WCHAR wch; in IntVkToChar() local 618 &wch, in IntVkToChar() 621 return wch; in IntVkToChar() 1281 WCHAR wch[3] = { 0 }; in IntTranslateKbdMessage() local 1342 wch, in IntTranslateKbdMessage() 1343 sizeof(wch) / sizeof(wch[0]), in IntTranslateKbdMessage() 1362 TRACE("Msg: %x '%lc' (%04x) %08x\n", NewMsg.message, wch[i], wch[i], NewMsg.lParam); in IntTranslateKbdMessage() 1710 WCHAR wch, in NtUserVkKeyScanEx() argument [all …]
|
/reactos/win32ss/user/user32/windows/ |
H A D | message.c | 265 WCHAR wch = wParam; in map_wparam_char_WtoA() local 285 WCHAR wch[2]; in map_wparam_AtoW() local 287 wch[0] = wch[1] = 0; in map_wparam_AtoW() 308 RtlMultiByteToUnicodeN( wch, sizeof(wch), NULL, ch, 2 ); in map_wparam_AtoW() 316 RtlMultiByteToUnicodeN( wch, sizeof(wch), NULL, ch, 2 ); in map_wparam_AtoW() 323 RtlMultiByteToUnicodeN( wch, sizeof(wch), NULL, ch, 1 ); in map_wparam_AtoW() 339 wparam = MAKEWPARAM(wch[0], wch[1]); in map_wparam_AtoW() 352 RtlMultiByteToUnicodeN( wch, sizeof(wch), NULL, ch, 2 ); in map_wparam_AtoW() 353 wparam = MAKEWPARAM(wch[0], wch[1]); in map_wparam_AtoW() 359 else RtlMultiByteToUnicodeN( wch, sizeof(wch[0]), NULL, ch + 1, 1 ); in map_wparam_AtoW() [all …]
|
H A D | accel.c | 354 WCHAR wch; in TranslateAcceleratorA() local 355 MultiByteToWideChar(CP_ACP, 0, &ch, 1, &wch, 1); in TranslateAcceleratorA() 356 msgW.wParam = MAKEWPARAM(wch, HIWORD(lpMsg->wParam)); in TranslateAcceleratorA()
|
/reactos/dll/win32/browseui/ |
H A D | travellog.cpp | 172 WCHAR wch[MAX_PATH * 2]; in Update() local 173 GetToolTipText(punk, wch); in Update() 174 TRACE("Updating entry with display name: %S\n", wch); in Update() 205 WCHAR wch[MAX_PATH * 2]; in Update() local 206 GetToolTipText(punk, wch); in Update() 207 TRACE("Updated entry display name is now: %S\n", wch); in Update()
|
/reactos/sdk/include/ndk/ |
H A D | kbd.h | 36 WCHAR wch[i]; \ 80 WCHAR wch[i]; \
|
/reactos/win32ss/user/rtl/ |
H A D | text.c | 335 FORCEINLINE BOOL IsCJKT(WCHAR wch) in IsCJKT() argument 337 if (0x0E00 <= wch && wch <= 0x0E7F) in IsCJKT() 340 if (0x3000 <= wch && wch <= 0x9FFF) in IsCJKT() 343 if (0xAC00 <= wch && wch <= 0xD7FF) in IsCJKT() 346 if (0xFF00 <= wch && wch <= 0xFFEF) in IsCJKT()
|
/reactos/win32ss/user/winsrv/consrv/include/ |
H A D | conio.h | 341 #define IS_FULL_WIDTH(wch) \ argument 342 (((USHORT)(wch) >= 0x0080) && (mk_wcwidth_cjk(wch) == 2))
|
/reactos/base/shell/cmd/ |
H A D | console.c | 333 #define IS_FULL_WIDTH(wch) \ argument 334 (((USHORT)(wch) >= 0x0080) && (mk_wcwidth_cjk(wch) == 2))
|
/reactos/dll/win32/jscript/ |
H A D | global.c | 466 static inline int hex_to_int(const WCHAR wch) { in hex_to_int() argument 467 if(towupper(wch)>='A' && towupper(wch)<='F') return towupper(wch)-'A'+10; in hex_to_int() 468 if(iswdigit(wch)) return wch-'0'; in hex_to_int()
|
H A D | number.c | 289 WCHAR wch; in Number_toString() local 292 wch = buf[beg]; in Number_toString() 294 buf[end--] = wch; in Number_toString()
|
/reactos/dll/win32/shell32/folders/ |
H A D | CDesktopFolder.cpp | 315 WCHAR wch = *lpszDisplayName; in _ParseDisplayNameByParent() local 316 if (((L'A' <= wch && wch <= L'Z') || (L'a' <= wch && wch <= L'z')) && in _ParseDisplayNameByParent()
|
/reactos/base/applications/charmap/ |
H A D | precomp.h | 85 VOID UpdateStatusBar(WCHAR wch);
|
H A D | charmap.c | 310 UpdateStatusBar(WCHAR wch) in UpdateStatusBar() argument 315 GetUName(wch, szDesc); in UpdateStatusBar() 316 wsprintfW(buff, L"U+%04X: %s", wch, szDesc); in UpdateStatusBar()
|
/reactos/base/applications/taskmgr/ |
H A D | procpage.c | 348 WCHAR wch = wszGrouping[i]; in SH_FormatInteger() local 350 if (wch >= L'0' && wch <= L'9') in SH_FormatInteger() 351 nf.Grouping = nf.Grouping * 10 + (wch - L'0'); in SH_FormatInteger() 352 else if (wch != L';') in SH_FormatInteger()
|
/reactos/dll/win32/shell32/dialogs/ |
H A D | filedefext.cpp | 207 WCHAR wch = wszGrouping[i]; in SH_FormatInteger() local 209 if (wch >= L'0' && wch <= L'9') in SH_FormatInteger() 210 nf.Grouping = nf.Grouping * 10 + (wch - L'0'); in SH_FormatInteger() 211 else if (wch != L';') in SH_FormatInteger()
|
/reactos/dll/win32/shell32/wine/ |
H A D | shellord.c | 2918 WCHAR wch; in LimitEditWindowProc() local 2968 wch = (WCHAR)wParam; in LimitEditWindowProc() 2969 if (GetKeyState(VK_CONTROL) < 0 && wch == L'V') in LimitEditWindowProc() 2972 if (!IsWindowUnicode(hwnd) && HIBYTE(wch) != 0) in LimitEditWindowProc() 2974 CHAR data[] = {HIBYTE(wch), LOBYTE(wch)}; in LimitEditWindowProc() 2975 MultiByteToWideChar(CP_ACP, 0, data, 2, &wch, 1); in LimitEditWindowProc() 2980 if (wcschr(pInfo->pwszInvalidChars, wch) != NULL) in LimitEditWindowProc() 2988 if (wcschr(pInfo->pwszValidChars, wch) == NULL) in LimitEditWindowProc()
|
/reactos/base/setup/reactos/ |
H A D | drivepage.c | 186 WCHAR wch = (WCHAR)wParam; in InstallDirEditProc() local 203 if (!IsWindowUnicode(hWnd) && HIBYTE(wch) != 0) in InstallDirEditProc() 205 CHAR data[] = {HIBYTE(wch), LOBYTE(wch)}; in InstallDirEditProc() 206 MultiByteToWideChar(CP_ACP, 0, data, 2, &wch, 1); in InstallDirEditProc() 211 if (!IS_VALID_INSTALL_PATH_CHAR(wch)) in InstallDirEditProc()
|
/reactos/dll/win32/imm32/ |
H A D | keymsg.c | 991 WCHAR wch; in ImmTranslateMessage() local 1050 wch = 0; in ImmTranslateMessage() 1051 kret = ToUnicode(vk, HIWORD(lKeyData), abKeyState, &wch, 1, 0); in ImmTranslateMessage() 1053 vk = MAKELONG(LOBYTE(vk), wch); in ImmTranslateMessage()
|
H A D | softkbd.c | 167 WCHAR wch; in T1_GetTextMetric() local 200 wch = 0x4E11; /* U+4E11: 丑 */ in T1_GetTextMetric() 201 if (GetTextExtentPoint32W(hDC, &wch, 1, &textSize) && textSize.cx > ptm->tmMaxCharWidth) in T1_GetTextMetric() 927 WCHAR wch = pT1->chKeyChar[iKey] = pData->wCode[0][gT1K2VK[iKey]]; in T1_SetData() local 929 ExtTextOutW(hMemDC, x, y, ETO_OPAQUE, &rc, &wch, wch != 0, NULL); in T1_SetData() 1609 WCHAR wch = 0xFF; in C1_OnButtonDown() local 1625 wch = pC1->Data[!(pC1->dwFlags & 1)][iPressedKey]; in C1_OnButtonDown() 1626 if (!wch) in C1_OnButtonDown()
|
/reactos/modules/rostests/apitests/gdi32/ |
H A D | GetGlyphOutline.c | 17 WCHAR wch; member 347 …dwRet = GetGlyphOutlineW(hDC, pEntry->wch, pEntry->uFormat, &gm, pEntry->cbBuffer, pEntry->lpvBuff… in DoEntry() 351 …dwRet = GetGlyphOutlineW(hDC, pEntry->wch, pEntry->uFormat, NULL, pEntry->cbBuffer, pEntry->lpvBuf… in DoEntry()
|