Home
last modified time | relevance | path

Searched refs:wch (Results 1 – 25 of 36) sorted by relevance

12

/reactos/sdk/tools/unicode/
H A Dsortkey.c47 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 Dwctomb.c35 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 Dsortkey.c50 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 Dlocale.c3280 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 Dnls.c1102 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 Dkeyboard.c332 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 Dmessage.c265 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 Daccel.c354 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 Dtravellog.cpp172 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 Dkbd.h36 WCHAR wch[i]; \
80 WCHAR wch[i]; \
/reactos/win32ss/user/rtl/
H A Dtext.c335 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 Dconio.h341 #define IS_FULL_WIDTH(wch) \ argument
342 (((USHORT)(wch) >= 0x0080) && (mk_wcwidth_cjk(wch) == 2))
/reactos/base/shell/cmd/
H A Dconsole.c333 #define IS_FULL_WIDTH(wch) \ argument
334 (((USHORT)(wch) >= 0x0080) && (mk_wcwidth_cjk(wch) == 2))
/reactos/dll/win32/jscript/
H A Dglobal.c466 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 Dnumber.c289 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 DCDesktopFolder.cpp315 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 Dprecomp.h85 VOID UpdateStatusBar(WCHAR wch);
H A Dcharmap.c310 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 Dprocpage.c348 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 Dfiledefext.cpp207 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 Dshellord.c2918 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 Ddrivepage.c186 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 Dkeymsg.c991 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 Dsoftkbd.c167 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 DGetGlyphOutline.c17 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()

12