Go to the source code of this file.
◆ KMT_EMULATE_KERNEL
◆ START_TEST()
Definition at line 255 of file RtlUnicodeString.c.
256{
259}
static VOID TestFindCharInUnicodeString(VOID)
static VOID TestUpcaseUnicodeString(VOID)
◆ TestFindCharInUnicodeString()
static VOID TestFindCharInUnicodeString |
( |
VOID |
| ) |
|
|
static |
Definition at line 13 of file RtlUnicodeString.c.
14{
15#ifdef KMT_USER_MODE
25
27
28
33
38
43
48
49
54
59
64
69
70
75
80
85
90
91
92 LongPosition = 0x55555555;
96
97
102
107
112
113
119
120
128
129
135
136
142
143
144
145#if 0
146
152#endif
153
154
161
162
167
168
173#endif
174}
#define ok_eq_hex(value, expected)
#define ok_eq_ulong(value, expected)
#define ok_eq_uint(value, expected)
#define KmtEndSeh(ExpectedStatus)
NTSYSAPI VOID NTAPI RtlInitUnicodeString(PUNICODE_STRING DestinationString, PCWSTR SourceString)
NTSTATUS NTAPI RtlFindCharInUnicodeString(_In_ ULONG Flags, _In_ PCUNICODE_STRING SearchString, _In_ PCUNICODE_STRING MatchString, _Out_ PUSHORT Position)
#define STATUS_ACCESS_VIOLATION
#define RTL_CONSTANT_STRING(s)
#define STATUS_INVALID_PARAMETER
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFSTRING String
Referenced by START_TEST().
◆ TestUpcaseUnicodeString()
static VOID TestUpcaseUnicodeString |
( |
VOID |
| ) |
|
|
static |
Definition at line 178 of file RtlUnicodeString.c.
179{
184
186
188 {
189 RtlInitEmptyUnicodeString(&Lower,
NULL, 0);
197
198 RtlInitEmptyUnicodeString(&Lower,
Buffer, 0);
206
207 RtlInitEmptyUnicodeString(&Lower,
Buffer,
sizeof(
WCHAR));
216 }
217
218 RtlInitEmptyUnicodeString(&Lower,
Buffer,
sizeof(
WCHAR));
229
230 RtlInitEmptyUnicodeString(&Lower,
Buffer,
sizeof(
WCHAR));
241
251
253}
NTSTATUS RtlUpcaseUnicodeString(PUNICODE_STRING dst, PUNICODE_STRING src, BOOLEAN Alloc)
#define RtlFillMemory(Dest, Length, Fill)
VOID KmtFreeGuarded(PVOID Pointer)
BOOLEAN BOOLEAN VOID VOID BOOLEAN BOOLEAN PVOID KmtAllocateGuarded(SIZE_T SizeRequested)
BOOLEAN KmtIsCheckedBuild
NTSYSAPI VOID NTAPI RtlFreeUnicodeString(PUNICODE_STRING UnicodeString)
Referenced by START_TEST().