ReactOS 0.4.16-dev-41-ge8c7597
|
#include "precomp.h"
Go to the source code of this file.
Macros | |
#define | okCURSOR(hCon, c) |
#define | ATTR (FOREGROUND_BLUE | FOREGROUND_GREEN | FOREGROUND_RED) |
#define | ChangeOutputCP(CodePage) ChangeOutputCP_(__FILE__, __LINE__, CodePage) |
#define | cmpThreadLangId(file, line, ExpectedLangId) |
#define | doTest_CP_ThreadLang(...) doTest_CP_ThreadLang_(__FILE__, __LINE__, ##__VA_ARGS__) |
Functions | |
static BOOL | IsCJKCodePage (_In_ UINT CodePage) |
static __inline LANGID | MapCJKCPToLangId (_In_ UINT CodePage) |
static BOOL | ChangeOutputCP_ (_In_ const char *file, _In_ int line, _In_ UINT CodePage) |
static BOOL | doTest_CP_ThreadLang_ (_In_ const char *file, _In_ int line, _In_ UINT CodePage, _In_ LANGID ExpectedLangId) |
static VOID | test_CP_ThreadLang (VOID) |
static void | test_cp855 (HANDLE hConOut) |
static void | test_cp932 (HANDLE hConOut) |
START_TEST (ConsoleCP) | |
Variables | |
static const WCHAR | u0414 [] = {0x0414, 0} |
static const WCHAR | u9580 [] = {0x9580, 0} |
static const WCHAR | space [] = {L' ', 0} |
static const WCHAR | ideograph_space = (WCHAR)0x3000 |
static const WCHAR | s_str [] = {L'A', 0x9580, 'B', 0} |
static const LCID | lcidJapanese = MAKELCID(MAKELANGID(LANG_JAPANESE, SUBLANG_DEFAULT), SORT_DEFAULT) |
static const LCID | lcidRussian = MAKELCID(MAKELANGID(LANG_RUSSIAN , SUBLANG_DEFAULT), SORT_DEFAULT) |
static UINT | s_uOEMCP |
static BOOL | s_bIs8Plus |
#define ATTR (FOREGROUND_BLUE | FOREGROUND_GREEN | FOREGROUND_RED) |
Definition at line 20 of file ConsoleCP.c.
#define ChangeOutputCP | ( | CodePage | ) | ChangeOutputCP_(__FILE__, __LINE__, CodePage) |
Definition at line 89 of file ConsoleCP.c.
Definition at line 93 of file ConsoleCP.c.
#define doTest_CP_ThreadLang | ( | ... | ) | doTest_CP_ThreadLang_(__FILE__, __LINE__, ##__VA_ARGS__) |
Definition at line 128 of file ConsoleCP.c.
Definition at line 11 of file ConsoleCP.c.
Definition at line 66 of file ConsoleCP.c.
Referenced by doTest_CP_ThreadLang_().
|
static |
Definition at line 105 of file ConsoleCP.c.
Definition at line 33 of file ConsoleCP.c.
Definition at line 48 of file ConsoleCP.c.
Referenced by test_CP_ThreadLang().
START_TEST | ( | ConsoleCP | ) |
Definition at line 1511 of file ConsoleCP.c.
Definition at line 206 of file ConsoleCP.c.
Referenced by START_TEST().
Definition at line 420 of file ConsoleCP.c.
Referenced by START_TEST().
Definition at line 131 of file ConsoleCP.c.
Referenced by START_TEST().
Definition at line 25 of file ConsoleCP.c.
Referenced by test_cp855(), and test_cp932().
|
static |
Definition at line 27 of file ConsoleCP.c.
Referenced by START_TEST().
|
static |
Definition at line 28 of file ConsoleCP.c.
Referenced by START_TEST().
|
static |
Definition at line 31 of file ConsoleCP.c.
Referenced by START_TEST(), and test_cp932().
Definition at line 26 of file ConsoleCP.c.
Referenced by test_cp932().
|
static |
Definition at line 30 of file ConsoleCP.c.
Referenced by START_TEST(), and test_CP_ThreadLang().
Definition at line 22 of file ConsoleCP.c.
Referenced by test_cp855(), and test_cp932().
Definition at line 23 of file ConsoleCP.c.
Referenced by test_cp855(), and test_cp932().