Home
last modified time | relevance | path

Searched refs:StringBuffer (Results 1 – 20 of 20) sorted by relevance

/reactos/modules/rostests/apitests/ntdll/
H A DLdrEnumResources.c31 WCHAR StringBuffer[20]; member
65 DirEntry->Name = Resource->StringIndex * 2 + FIELD_OFFSET(TEST_RESOURCES, StringBuffer); in InitializeNamedEntry()
70 Resource->StringBuffer[Resource->StringIndex] = (USHORT)wcslen(Name); in InitializeNamedEntry()
71 wcscpy(&Resource->StringBuffer[Resource->StringIndex + 1], Name); in InitializeNamedEntry()
72 Resource->StringIndex += Resource->StringBuffer[Resource->StringIndex] * 2 + 1; in InitializeNamedEntry()
112 memset(Resource->StringBuffer, 0, sizeof(Resource->StringBuffer)); in InitializeTestResource()
242 ok_ptr((PVOID)EnumRes[0].Data, TestImage->Resources.StringBuffer); in Test_Data()
245 ok_enumres(&EnumRes[0], 1, L"TEST", 0x409, TestImage->Resources.StringBuffer, 2) in Test_Data()
246 ok_enumres(&EnumRes[1], 1, L"TEST", 0x407, TestImage->Resources.StringBuffer + 2, 4) in Test_Data()
247 ok_enumres(&EnumRes[2], 1, 7, 0x408, TestImage->Resources.StringBuffer + 4, 6) in Test_Data()
[all …]
/reactos/ntoskrnl/io/iomgr/
H A Derror.c158 PCHAR StringBuffer; in IopLogWorker() local
221 StringBuffer = (PCHAR)&ErrorMessage->EntryData + in IopLogWorker()
227 StringBuffer = (PCHAR)ErrorMessage + MessageLength; in IopLogWorker()
231 StringBuffer = ALIGN_UP_POINTER(StringBuffer, WCHAR); in IopLogWorker()
234 ErrorMessage->DriverNameOffset = (ULONG)(StringBuffer - in IopLogWorker()
240 (ULONG_PTR)StringBuffer); in IopLogWorker()
320 RtlCopyMemory(StringBuffer, p, DriverNameLength); in IopLogWorker()
328 StringBuffer += DriverNameLength; in IopLogWorker()
390 RtlCopyMemory(StringBuffer, NameString, DeviceNameLength); in IopLogWorker()
405 StringBuffer += DeviceNameLength; in IopLogWorker()
[all …]
/reactos/modules/rostests/apitests/apphelp/
H A Dregister.cpp126 WCHAR StringBuffer[200]; in ok_keys_() local
148 ULONG nChars = _countof(StringBuffer); in ok_keys_()
149 Status = key.QueryStringValue(L"DatabaseDescription", StringBuffer, &nChars); in ok_keys_()
152 …mp(DisplayName, StringBuffer), "Expected DatabaseDescription to be %s, was %s\n", wine_dbgstr_w(Di… in ok_keys_()
154 nChars = _countof(StringBuffer); in ok_keys_()
155 Status = key.QueryStringValue(L"DatabasePath", StringBuffer, &nChars); in ok_keys_()
158 …etest_ok(!wcscmp(Path, StringBuffer), "Expected DatabasePath to be %s, was %s\n", wine_dbgstr_w(Pa… in ok_keys_()
/reactos/win32ss/user/winsrv/consrv/condrv/
H A Dtext.c780 ASSERT((StringBuffer != NULL) || (StringBuffer == NULL && NumCharsToWrite == 0)); in ConDrvWriteConsole()
838 OUT PVOID StringBuffer, in IntReadConsoleOutputStringChars() argument
906 OUT PWORD StringBuffer, in IntReadConsoleOutputStringAttributes() argument
927 ++StringBuffer; in IntReadConsoleOutputStringAttributes()
946 OUT PVOID StringBuffer, in ConDrvReadConsoleOutputString() argument
958 ASSERT((StringBuffer != NULL) || (StringBuffer == NULL && NumCodesToRead == 0)); in ConDrvReadConsoleOutputString()
1019 IN PVOID StringBuffer, in IntWriteConsoleOutputStringChars() argument
1123 IN PWORD StringBuffer, in IntWriteConsoleOutputStringAttribute() argument
1146 ++StringBuffer; in IntWriteConsoleOutputStringAttribute()
1165 IN PVOID StringBuffer, in ConDrvWriteConsoleOutputString() argument
[all …]
/reactos/drivers/bus/pcix/pci/
H A Did.c208 PWCHAR StringBuffer; in PciQueryId() local
362 StringBuffer = ExAllocatePoolWithTag(PagedPool, IdBuffer.TotalLength, 'BicP'); in PciQueryId()
363 if (!StringBuffer) return STATUS_INSUFFICIENT_RESOURCES; in PciQueryId()
367 DestinationString.Buffer = StringBuffer; in PciQueryId()
388 *Buffer = StringBuffer; in PciQueryId()
/reactos/base/applications/cmdutils/tasklist/
H A Dtasklist.c53 WCHAR StringBuffer[RES_STR_MAXLEN]; in PrintResString() local
54 LoadStringW(hInstance, uID, StringBuffer, _countof(StringBuffer)); in PrintResString()
55 PrintString(StringBuffer, MaxWidth, bAlignLeft); in PrintResString()
/reactos/drivers/bus/acpi/acpica/include/
H A Dacconvert.h73 char *StringBuffer,
79 char *StringBuffer);
/reactos/base/applications/cmdutils/more/
H A Dmore.c957 PWCHAR StringBuffer = NULL; in wmain() local
1053 &StringBuffer, &StringBufferLength, in wmain()
1066 StringBuffer, dwReadChars); in wmain()
1146 &StringBuffer, &StringBufferLength, in wmain()
1169 StringBuffer, dwReadChars); in wmain()
1200 if (StringBuffer) HeapFree(GetProcessHeap(), 0, StringBuffer); in wmain()
/reactos/ntoskrnl/ex/
H A Dinit.c1351 PCHAR StringBuffer, EndBuffer, BeginBuffer, MpString = ""; in Phase1InitializationDiscard() local
1433 StringBuffer = InitBuffer->VersionBuffer; in Phase1InitializationDiscard()
1434 BeginBuffer = StringBuffer; in Phase1InitializationDiscard()
1435 EndBuffer = StringBuffer; in Phase1InitializationDiscard()
1440 Status = RtlStringCbPrintfExA(StringBuffer, in Phase1InitializationDiscard()
1464 StringBuffer = InitBuffer->VersionNumber; in Phase1InitializationDiscard()
1465 Status = RtlStringCbPrintfA(StringBuffer, in Phase1InitializationDiscard()
1486 StringBuffer, in Phase1InitializationDiscard()
1600 StringBuffer = InitBuffer->VersionBuffer; in Phase1InitializationDiscard()
1601 Status = RtlStringCbPrintfA(StringBuffer, in Phase1InitializationDiscard()
[all …]
/reactos/drivers/sac/driver/
H A Dconmgr.c581 WCHAR StringBuffer[2]; in ConMgrSerialPortConsumer() local
810 swprintf(StringBuffer, L"\b%c", Char); in ConMgrSerialPortConsumer()
811 SacPutString(StringBuffer); in ConMgrSerialPortConsumer()
824 swprintf(StringBuffer, L"%c", Char); in ConMgrSerialPortConsumer()
825 SacPutString(StringBuffer); in ConMgrSerialPortConsumer()
H A Dutil.c284 PWCHAR StringBuffer; in PreloadGlobalMessageTable() local
337 StringBuffer = (PWCHAR)(&GlobalMessageTable[GlobalMessageTableCount]); in PreloadGlobalMessageTable()
352 GlobalMessageTable[i].Buffer = StringBuffer; in PreloadGlobalMessageTable()
359 SacFormatMessage(StringBuffer, (PWCHAR)MessageEntry->Text, TextSize); in PreloadGlobalMessageTable()
360 ASSERT((ULONG)(wcslen(StringBuffer)*sizeof(WCHAR)) <= TextSize); in PreloadGlobalMessageTable()
363 StringBuffer += (TextSize / sizeof(WCHAR)); in PreloadGlobalMessageTable()
/reactos/hal/halx86/generic/
H A Dkdpci.c335 WCHAR StringBuffer[16]; in HalpRegisterPciDebuggingDeviceInfo() local
369 RtlInitEmptyUnicodeString(&KeyName, StringBuffer, sizeof(StringBuffer)); in HalpRegisterPciDebuggingDeviceInfo()
/reactos/ntoskrnl/ob/
H A Doblife.c383 PWCHAR _SEH2_VOLATILE StringBuffer = NULL; in ObpCaptureObjectName() local
421 StringBuffer = ObpAllocateObjectNameBuffer(StringLength, in ObpCaptureObjectName()
424 if (!StringBuffer) in ObpCaptureObjectName()
432 RtlCopyMemory(StringBuffer, LocalName.Buffer, StringLength); in ObpCaptureObjectName()
433 StringBuffer[StringLength / sizeof(WCHAR)] = UNICODE_NULL; in ObpCaptureObjectName()
442 if (StringBuffer) in ObpCaptureObjectName()
/reactos/dll/ntdll/ldr/
H A Dverifier.c487 WCHAR StringBuffer[MAX_PATH + 11]; in AVrfpLoadAndInitializeProvider() local
493 RtlInitEmptyUnicodeString(&DllPath, StringBuffer, sizeof(StringBuffer)); in AVrfpLoadAndInitializeProvider()
H A Dldrpe.c1134 WCHAR StringBuffer[MAX_PATH]; in LdrpSnapThunk() local
1138 RtlInitEmptyUnicodeString(&StaticString, StringBuffer, sizeof(StringBuffer)); in LdrpSnapThunk()
H A Dldrapi.c318 WCHAR StringBuffer[MAX_PATH]; in LdrLoadDll() local
327 RtlInitEmptyUnicodeString(&StaticString, StringBuffer, sizeof(StringBuffer)); in LdrLoadDll()
H A Dldrinit.c41 WCHAR StringBuffer[156]; variable
2064 FullPath.Buffer = StringBuffer; in LdrpInitializeProcess()
2066 FullPath.MaximumLength = sizeof(StringBuffer); in LdrpInitializeProcess()
2116 RtlInitUnicodeString(&LdrpKnownDllPath, StringBuffer); in LdrpInitializeProcess()
2243 NtLdrEntry->FullDllName.Buffer = StringBuffer; in LdrpInitializeProcess()
/reactos/win32ss/user/winsrv/consrv/
H A Dconoutput.c405 IN PVOID StringBuffer,
707 OUT PVOID StringBuffer,
795 IN PVOID StringBuffer,
/reactos/sdk/lib/rtl/
H A Datom.c616 WCHAR StringBuffer[sizeof(RTL_ATOM_TABLE_ENTRY) / sizeof(WCHAR) + 12]; in RtlQueryAtomInAtomTable() member
H A Dunicode.c37 RtlMultiAppendUnicodeStringBuffer(OUT PRTL_UNICODE_STRING_BUFFER StringBuffer, in RtlMultiAppendUnicodeStringBuffer() argument