/reactos/drivers/network/ndis/ndis/ |
H A D | string.c | 23 IN PANSI_STRING SourceString) in NdisAnsiStringToUnicodeString() argument 35 ASSERT(SourceString); in NdisAnsiStringToUnicodeString() 39 (PANSI_STRING)SourceString, FALSE); in NdisAnsiStringToUnicodeString() 80 IN PCSTR SourceString) in NdisInitAnsiString() argument 91 ASSERT(SourceString); in NdisInitAnsiString() 117 ASSERT(SourceString); in NdisInitializeString() 143 ASSERT(SourceString); in NdisInitUnicodeString() 168 ASSERT(SourceString); in NdisUnicodeStringToAnsiString() 172 (PUNICODE_STRING)SourceString, in NdisUnicodeStringToAnsiString() 184 IN PUNICODE_STRING SourceString) in NdisUpcaseUnicodeString() argument [all …]
|
/reactos/win32ss/user/user32/misc/ |
H A D | rtlstr.c | 18 IN PCSZ SourceString, in RtlInitLargeAnsiString() argument 23 if (SourceString) in RtlInitLargeAnsiString() 25 DestSize = strlen(SourceString); in RtlInitLargeAnsiString() 35 DestinationString->Buffer = (PCHAR)SourceString; in RtlInitLargeAnsiString() 42 IN PCWSTR SourceString, in RtlInitLargeUnicodeString() argument 47 if (SourceString) in RtlInitLargeUnicodeString() 49 DestSize = wcslen(SourceString) * sizeof(WCHAR); in RtlInitLargeUnicodeString() 59 DestinationString->Buffer = (PWSTR)SourceString; in RtlInitLargeUnicodeString() 66 PLARGE_STRING SourceString) in RtlLargeStringToUnicodeString() argument 71 if (DestinationString && SourceString && SourceString->bAnsi) in RtlLargeStringToUnicodeString() [all …]
|
/reactos/win32ss/user/ntuser/misc/ |
H A D | rtlstr.c | 19 IN PCSZ SourceString, in RtlInitLargeAnsiString() argument 24 if (SourceString) in RtlInitLargeAnsiString() 26 DestSize = (USHORT)strlen(SourceString); in RtlInitLargeAnsiString() 36 DestinationString->Buffer = (PCHAR)SourceString; in RtlInitLargeAnsiString() 44 IN PCWSTR SourceString, in RtlInitLargeUnicodeString() argument 49 if (SourceString) in RtlInitLargeUnicodeString() 51 DestSize = (USHORT)wcslen(SourceString) * sizeof(WCHAR); in RtlInitLargeUnicodeString() 61 DestinationString->Buffer = (PWSTR)SourceString; in RtlInitLargeUnicodeString() 69 PLARGE_STRING SourceString) in RtlLargeStringToUnicodeString() argument 74 if (!DestinationString || !SourceString) return FALSE; in RtlLargeStringToUnicodeString() [all …]
|
/reactos/drivers/storage/floppy/fdc/ |
H A D | misc.c | 21 IN PCUNICODE_STRING SourceString, in DuplicateUnicodeString() argument 26 if (SourceString == NULL || in DuplicateUnicodeString() 28 SourceString->Length > SourceString->MaximumLength || in DuplicateUnicodeString() 29 … (SourceString->Length == 0 && SourceString->MaximumLength > 0 && SourceString->Buffer == NULL) || in DuplicateUnicodeString() 36 if ((SourceString->Length == 0) && in DuplicateUnicodeString() 46 DestMaxLength = SourceString->Length; in DuplicateUnicodeString() 55 RtlCopyMemory(DestinationString->Buffer, SourceString->Buffer, SourceString->Length); in DuplicateUnicodeString() 56 DestinationString->Length = SourceString->Length; in DuplicateUnicodeString()
|
H A D | pdo.c | 50 PUNICODE_STRING SourceString; in FdcPdoQueryId() local 61 SourceString = &DeviceExtension->DeviceId; in FdcPdoQueryId() 66 SourceString = &DeviceExtension->HardwareIds; in FdcPdoQueryId() 71 SourceString = &DeviceExtension->CompatibleIds; in FdcPdoQueryId() 76 SourceString = &DeviceExtension->InstanceId; in FdcPdoQueryId() 87 SourceString, in FdcPdoQueryId()
|
/reactos/drivers/input/kbdclass/ |
H A D | misc.c | 32 IN PCUNICODE_STRING SourceString, in DuplicateUnicodeString() argument 35 if (SourceString == NULL || DestinationString == NULL in DuplicateUnicodeString() 36 || SourceString->Length > SourceString->MaximumLength in DuplicateUnicodeString() 37 || (SourceString->Length == 0 && SourceString->MaximumLength > 0 && SourceString->Buffer == NULL) in DuplicateUnicodeString() 44 if ((SourceString->Length == 0) in DuplicateUnicodeString() 54 USHORT DestMaxLength = SourceString->Length; in DuplicateUnicodeString() 63 RtlCopyMemory(DestinationString->Buffer, SourceString->Buffer, SourceString->Length); in DuplicateUnicodeString() 64 DestinationString->Length = SourceString->Length; in DuplicateUnicodeString()
|
/reactos/drivers/input/i8042prt/ |
H A D | misc.c | 33 IN PCUNICODE_STRING SourceString, in DuplicateUnicodeString() argument 36 if (SourceString == NULL || DestinationString == NULL in DuplicateUnicodeString() 37 || SourceString->Length > SourceString->MaximumLength in DuplicateUnicodeString() 38 || (SourceString->Length == 0 && SourceString->MaximumLength > 0 && SourceString->Buffer == NULL) in DuplicateUnicodeString() 45 if ((SourceString->Length == 0) in DuplicateUnicodeString() 55 USHORT DestMaxLength = SourceString->Length; in DuplicateUnicodeString() 64 RtlCopyMemory(DestinationString->Buffer, SourceString->Buffer, SourceString->Length); in DuplicateUnicodeString() 65 DestinationString->Length = SourceString->Length; in DuplicateUnicodeString()
|
/reactos/drivers/input/mouclass/ |
H A D | misc.c | 32 IN PCUNICODE_STRING SourceString, in DuplicateUnicodeString() argument 35 if (SourceString == NULL || DestinationString == NULL in DuplicateUnicodeString() 36 || SourceString->Length > SourceString->MaximumLength in DuplicateUnicodeString() 37 || (SourceString->Length == 0 && SourceString->MaximumLength > 0 && SourceString->Buffer == NULL) in DuplicateUnicodeString() 44 if ((SourceString->Length == 0) in DuplicateUnicodeString() 54 USHORT DestMaxLength = SourceString->Length; in DuplicateUnicodeString() 63 RtlCopyMemory(DestinationString->Buffer, SourceString->Buffer, SourceString->Length); in DuplicateUnicodeString() 64 DestinationString->Length = SourceString->Length; in DuplicateUnicodeString()
|
H A D | mouclass.h | 75 IN PCUNICODE_STRING SourceString,
|
/reactos/modules/rosapps/drivers/green/ |
H A D | green.c | 73 IN PCUNICODE_STRING SourceString, in GreenDuplicateUnicodeString() argument 76 if (SourceString == NULL || DestinationString == NULL in GreenDuplicateUnicodeString() 77 || SourceString->Length > SourceString->MaximumLength in GreenDuplicateUnicodeString() 78 … || (SourceString->Length == 0 && SourceString->MaximumLength > 0 && SourceString->Buffer == NULL) in GreenDuplicateUnicodeString() 85 if ((SourceString->Length == 0) in GreenDuplicateUnicodeString() 95 USHORT DestMaxLength = SourceString->Length; in GreenDuplicateUnicodeString() 104 RtlCopyMemory(DestinationString->Buffer, SourceString->Buffer, SourceString->Length); in GreenDuplicateUnicodeString() 105 DestinationString->Length = SourceString->Length; in GreenDuplicateUnicodeString()
|
/reactos/drivers/serial/serenum/ |
H A D | misc.c | 143 IN PCUNICODE_STRING SourceString, in DuplicateUnicodeString() argument 146 if (SourceString == NULL || DestinationString == NULL in DuplicateUnicodeString() 147 || SourceString->Length > SourceString->MaximumLength in DuplicateUnicodeString() 148 || (SourceString->Length == 0 && SourceString->MaximumLength > 0 && SourceString->Buffer == NULL) in DuplicateUnicodeString() 155 if ((SourceString->Length == 0) in DuplicateUnicodeString() 165 USHORT DestMaxLength = SourceString->Length; in DuplicateUnicodeString() 174 RtlCopyMemory(DestinationString->Buffer, SourceString->Buffer, SourceString->Length); in DuplicateUnicodeString() 175 DestinationString->Length = SourceString->Length; in DuplicateUnicodeString()
|
H A D | pdo.c | 36 PUNICODE_STRING SourceString; in SerenumPdoQueryId() local 49 SourceString = &DeviceExtension->DeviceId; in SerenumPdoQueryId() 55 SourceString = &DeviceExtension->HardwareIds; in SerenumPdoQueryId() 60 SourceString = &DeviceExtension->CompatibleIds; in SerenumPdoQueryId() 65 SourceString = &DeviceExtension->InstanceId; in SerenumPdoQueryId() 76 SourceString, in SerenumPdoQueryId()
|
/reactos/sdk/lib/rtl/ |
H A D | unicode.c | 578 if (SourceString) in RtlInitAnsiString() 601 if (SourceString) in RtlInitAnsiStringEx() 628 IN PCSZ SourceString) in RtlInitString() argument 643 IN PCWSTR SourceString) in RtlInitUnicodeString() argument 648 if (SourceString) in RtlInitUnicodeString() 674 IN PCWSTR SourceString) in RtlInitUnicodeStringEx() argument 679 if (SourceString) in RtlInitUnicodeStringEx() 2285 if (!SourceString) in RtlCopyString() 2324 if (!SourceString) in RtlCopyUnicodeString() 2561 SourceString->Length > SourceString->MaximumLength || in RtlDuplicateUnicodeString() [all …]
|
/reactos/drivers/bus/pci/ |
H A D | pci.c | 715 IN PCUNICODE_STRING SourceString, in PciDuplicateUnicodeString() argument 718 if (SourceString == NULL || in PciDuplicateUnicodeString() 720 SourceString->Length > SourceString->MaximumLength || in PciDuplicateUnicodeString() 721 … (SourceString->Length == 0 && SourceString->MaximumLength > 0 && SourceString->Buffer == NULL) || in PciDuplicateUnicodeString() 728 if ((SourceString->Length == 0) && in PciDuplicateUnicodeString() 738 USHORT DestMaxLength = SourceString->Length; in PciDuplicateUnicodeString() 747 RtlCopyMemory(DestinationString->Buffer, SourceString->Buffer, SourceString->Length); in PciDuplicateUnicodeString() 748 DestinationString->Length = SourceString->Length; in PciDuplicateUnicodeString()
|
/reactos/drivers/filesystems/npfs/ |
H A D | fsctrl.c | 659 UNICODE_STRING SourceString, Prefix; in NpWaitForNamedPipe() local 673 SourceString.Buffer = NULL; in NpWaitForNamedPipe() 700 SourceString.Buffer = ExAllocatePoolWithTag(PagedPool, in NpWaitForNamedPipe() 701 SourceString.Length, in NpWaitForNamedPipe() 703 if (!SourceString.Buffer) in NpWaitForNamedPipe() 709 SourceString.Buffer[0] = OBJ_NAME_PATH_SEPARATOR; in NpWaitForNamedPipe() 713 OriginalBuffer = SourceString.Buffer; in NpWaitForNamedPipe() 717 Fcb = NpFindPrefix(&SourceString, 1, &Prefix); in NpWaitForNamedPipe() 744 OriginalBuffer == SourceString.Buffer ? in NpWaitForNamedPipe() 745 NULL : &SourceString); in NpWaitForNamedPipe() [all …]
|
/reactos/win32ss/drivers/videoprt/ |
H A D | registry.c | 362 IN PCUNICODE_STRING SourceString, in IntDuplicateUnicodeString() argument 365 if (SourceString == NULL || in IntDuplicateUnicodeString() 367 SourceString->Length > SourceString->MaximumLength || in IntDuplicateUnicodeString() 368 … (SourceString->Length == 0 && SourceString->MaximumLength > 0 && SourceString->Buffer == NULL) || in IntDuplicateUnicodeString() 375 if ((SourceString->Length == 0) && in IntDuplicateUnicodeString() 385 USHORT DestMaxLength = SourceString->Length; in IntDuplicateUnicodeString() 394 RtlCopyMemory(DestinationString->Buffer, SourceString->Buffer, SourceString->Length); in IntDuplicateUnicodeString() 395 DestinationString->Length = SourceString->Length; in IntDuplicateUnicodeString()
|
/reactos/sdk/tools/mkhive/ |
H A D | rtl.c | 29 IN PCWSTR SourceString) in RtlInitUnicodeString() argument 33 if(SourceString) in RtlInitUnicodeString() 35 DestSize = strlenW(SourceString) * sizeof(WCHAR); in RtlInitUnicodeString() 45 DestinationString->Buffer = (PWCHAR)SourceString; in RtlInitUnicodeString()
|
/reactos/ntoskrnl/io/iomgr/ |
H A D | ramdisk.c | 37 WCHAR SourceString[54]; in IopStartRamdisk() local 224 _snwprintf(SourceString, in IopStartRamdisk() 225 sizeof(SourceString)/sizeof(WCHAR), in IopStartRamdisk() 235 RtlInitUnicodeString(&DeviceString, SourceString); in IopStartRamdisk()
|
/reactos/drivers/usb/usbport/ |
H A D | ioctl.c | 70 PWSTR SourceString; in USBPORT_GetSymbolicName() local 86 SourceString = ExAllocatePoolWithTag(PagedPool, LengthName, USB_PORT_TAG); in USBPORT_GetSymbolicName() 88 if (!SourceString) in USBPORT_GetSymbolicName() 94 RtlZeroMemory(SourceString, LengthName); in USBPORT_GetSymbolicName() 133 RtlCopyMemory(SourceString, in USBPORT_GetSymbolicName() 137 RtlInitUnicodeString(DestinationString, SourceString); in USBPORT_GetSymbolicName()
|
/reactos/sdk/lib/drivers/wdf/shared/support/ |
H A D | fxstring.cpp | 58 __in PCWSTR SourceString in Assign() argument 64 RtlInitUnicodeString(&string, SourceString); in Assign()
|
/reactos/sdk/include/xdk/ |
H A D | rtlfuncs.h | 346 _When_(SourceString != NULL, 349 _When_(SourceString == NULL, 419 _In_ PANSI_STRING SourceString, 1385 _In_z_ PCWSTR SourceString); 1414 _In_ PCOEM_STRING SourceString, 1450 _In_ PCOEM_STRING SourceString, 2590 _In_ PCWSTR SourceString, 2600 _In_ PCWSTR SourceString, 2609 _In_ PCWSTR SourceString, 2619 IN PCWSTR SourceString, [all …]
|
/reactos/sdk/include/psdk/ |
H A D | winternl.h | 606 PCSZ SourceString); 612 PCSZ SourceString); 618 PCWSTR SourceString); 639 PCANSI_STRING SourceString, 646 PCUNICODE_STRING SourceString, 653 PCUNICODE_STRING SourceString,
|
/reactos/drivers/filesystems/udfs/Include/ |
H A D | nt_native.h | 225 PCSZ SourceString 233 PCSZ SourceString 241 PCWSTR SourceString 250 PSTRING SourceString 284 PSTRING SourceString 296 PANSI_STRING SourceString, 306 PUNICODE_STRING SourceString, 343 PUNICODE_STRING SourceString, 353 PUNICODE_STRING SourceString
|
/reactos/sdk/include/ndk/ |
H A D | rtlfuncs.h | 1896 PCUNICODE_STRING SourceString, 1908 PCUNICODE_STRING SourceString, 1931 PCUNICODE_STRING SourceString, 2036 PCOEM_STRING SourceString, 2081 PCANSI_STRING SourceString, 2155 PCUNICODE_STRING SourceString 2163 PCWSTR SourceString 2314 _When_(SourceString != NULL, 2317 _When_(SourceString == NULL, 2330 _When_(SourceString != NULL, [all …]
|
/reactos/sdk/lib/drivers/wdf/shared/inc/private/common/ |
H A D | fxstring.hpp | 74 __in PCWSTR SourceString
|