/reactos/dll/win32/netapi32/ |
H A D | netlogon.c | 118 ANSI_STRING AnsiString; in DsAddressToSiteNamesA() local 295 ANSI_STRING AnsiString; in DsAddressToSiteNamesExA() local 650 ANSI_STRING AnsiString; in DsEnumerateDomainTrustsA() local 884 ANSI_STRING AnsiString; in DsGetDcNameWithAccountA() local 992 AnsiString.Length = 0; in DsGetDcNameWithAccountA() 994 AnsiString.Buffer = Ptr; in DsGetDcNameWithAccountA() 1011 AnsiString.Length = 0; in DsGetDcNameWithAccountA() 1013 AnsiString.Buffer = Ptr; in DsGetDcNameWithAccountA() 1030 AnsiString.Length = 0; in DsGetDcNameWithAccountA() 1049 AnsiString.Length = 0; in DsGetDcNameWithAccountA() [all …]
|
H A D | misc.c | 144 ANSI_STRING AnsiString; in NetpAllocAnsiStrFromWStr() local 153 (PVOID*)&AnsiString.Buffer); in NetpAllocAnsiStrFromWStr() 157 Status = RtlUnicodeStringToAnsiString(&AnsiString, in NetpAllocAnsiStrFromWStr() 162 NetApiBufferFree(AnsiString.Buffer); in NetpAllocAnsiStrFromWStr() 166 return AnsiString.Buffer; in NetpAllocAnsiStrFromWStr() 207 ANSI_STRING AnsiString; in NetpAllocWStrFromAnsiStr() local 213 RtlInitAnsiString(&AnsiString, InString); in NetpAllocWStrFromAnsiStr() 215 Size = RtlAnsiStringToUnicodeSize(&AnsiString); in NetpAllocWStrFromAnsiStr() 222 &AnsiString, in NetpAllocWStrFromAnsiStr()
|
/reactos/dll/win32/kernel32/client/ |
H A D | atom.c | 37 ANSI_STRING AnsiString; in InternalAddAtom() local 70 RtlInitAnsiString(&AnsiString, AtomName ); in InternalAddAtom() 73 if (AnsiString.MaximumLength > 260) in InternalAddAtom() 138 ANSI_STRING AnsiString; in InternalFindAtom() local 171 RtlInitAnsiString(&AnsiString, AtomName); in InternalFindAtom() 174 if (AnsiString.MaximumLength > 260) in InternalFindAtom() 288 ANSI_STRING AnsiString; in InternalGetAtomName() local 398 AnsiString.Buffer = AtomName; in InternalGetAtomName() 399 AnsiString.Length = 0; in InternalGetAtomName() 400 AnsiString.MaximumLength = (USHORT)Size; in InternalGetAtomName() [all …]
|
H A D | dosdev.c | 170 ANSI_STRING AnsiString; in DefineDosDeviceA() local 176 RtlInitAnsiString(&AnsiString, lpDeviceName); in DefineDosDeviceA() 178 Status = RtlAnsiStringToUnicodeString(DeviceNameU, &AnsiString, FALSE); in DefineDosDeviceA() 199 RtlInitAnsiString(&AnsiString, lpTargetPath); in DefineDosDeviceA() 200 Status = RtlAnsiStringToUnicodeString(&TargetPathU, &AnsiString, TRUE); in DefineDosDeviceA() 430 ANSI_STRING AnsiString; in QueryDosDeviceA() local 440 RtlInitAnsiString(&AnsiString, lpDeviceName); in QueryDosDeviceA() 442 Status = RtlAnsiStringToUnicodeString(DeviceNameU, &AnsiString, FALSE); in QueryDosDeviceA() 504 AnsiString.Length = 0; in QueryDosDeviceA() 505 AnsiString.MaximumLength = CurrentLength + sizeof(ANSI_NULL); in QueryDosDeviceA() [all …]
|
H A D | utils.c | 191 ANSI_STRING AnsiString; in Basep8BitStringToStaticUnicodeString() local 195 Status = RtlInitAnsiStringEx(&AnsiString, String); in Basep8BitStringToStaticUnicodeString() 203 Status = Basep8BitStringToUnicodeString(StaticString, &AnsiString, FALSE); in Basep8BitStringToStaticUnicodeString() 228 ANSI_STRING AnsiString; in Basep8BitStringToDynamicUnicodeString() local 232 Status = RtlInitAnsiStringEx(&AnsiString, String); in Basep8BitStringToDynamicUnicodeString() 240 Status = Basep8BitStringToUnicodeString(UnicodeString, &AnsiString, TRUE); in Basep8BitStringToDynamicUnicodeString() 263 BasepAnsiStringToHeapUnicodeString(IN LPCSTR AnsiString, in BasepAnsiStringToHeapUnicodeString() argument 272 RtlInitAnsiString(&AnsiTemp, AnsiString); in BasepAnsiStringToHeapUnicodeString()
|
H A D | path.c | 1001 ANSI_STRING AnsiString; in GetFullPathNameA() local 1084 RtlFreeAnsiString(&AnsiString); in GetFullPathNameA() 2149 ANSI_STRING AnsiString; in GetCurrentDirectoryA() local 2178 AnsiString.Buffer = lpBuffer; in GetCurrentDirectoryA() 2179 AnsiString.MaximumLength = (USHORT)MaxLength; in GetCurrentDirectoryA() 2187 return AnsiString.Length; in GetCurrentDirectoryA() 2286 ANSI_STRING AnsiString; in GetSystemDirectoryA() local 2300 Status = BasepUnicodeStringTo8BitString(&AnsiString, in GetSystemDirectoryA() 2305 return AnsiString.Length; in GetSystemDirectoryA() 2370 ANSI_STRING AnsiString; in GetSystemWindowsDirectoryA() local [all …]
|
/reactos/boot/environ/lib/misc/ |
H A D | debug.c | 80 ANSI_STRING AnsiString; in BlStatusPrint() local 105 AnsiString.Length = 0; in BlStatusPrint() 106 AnsiString.MaximumLength = sizeof(AnsiBuffer); in BlStatusPrint() 107 AnsiString.Buffer = AnsiBuffer; in BlStatusPrint() 108 Status = RtlUnicodeStringToAnsiString(&AnsiString, &UnicodeString, FALSE); in BlStatusPrint() 112 DbgPrint(AnsiString.Buffer); in BlStatusPrint()
|
/reactos/dll/win32/ws2_32/src/ |
H A D | qshelpr.c | 68 UnicodeDupFromAnsi(IN LPCSTR AnsiString) in UnicodeDupFromAnsi() argument 81 AnsiString, in UnicodeDupFromAnsi() 354 LPSTR AnsiString; in CopyQuerySetIndirectA() local 357 AnsiString = AnsiSet->lpszServiceInstanceName; in CopyQuerySetIndirectA() 358 if (AnsiString) in CopyQuerySetIndirectA() 406 AnsiString = AnsiSet->lpszComment; in CopyQuerySetIndirectA() 407 if (AnsiString) in CopyQuerySetIndirectA() 439 AnsiString = AnsiSet->lpszContext; in CopyQuerySetIndirectA() 440 if (AnsiString) in CopyQuerySetIndirectA() 456 AnsiString = AnsiSet->lpszQueryString; in CopyQuerySetIndirectA() [all …]
|
/reactos/drivers/bus/pcix/pci/ |
H A D | id.c | 127 PANSI_STRING AnsiString; in PciIdPrintf() local 138 AnsiString = &IdBuffer->Strings[IdBuffer->Count]; in PciIdPrintf() 139 RtlInitAnsiString(AnsiString, IdBuffer->CharBuffer); in PciIdPrintf() 142 Size = RtlAnsiStringToUnicodeSize(AnsiString); in PciIdPrintf() 147 Length = AnsiString->Length + sizeof(ANSI_NULL); in PciIdPrintf() 164 PANSI_STRING AnsiString; in PciIdPrintfAppend() local 182 AnsiString = &IdBuffer->Strings[NextId]; in PciIdPrintfAppend() 183 AnsiString->Length += Length; in PciIdPrintfAppend() 184 AnsiString->MaximumLength += Length; in PciIdPrintfAppend() 187 Size = RtlAnsiStringToUnicodeSize(AnsiString); in PciIdPrintfAppend()
|
/reactos/sdk/lib/dnslib/ |
H A D | string.c | 75 if (OutputType == AnsiString) in Dns_StringCopy() 102 else if (InputType == AnsiString) in Dns_StringCopy() 105 if (OutputType == AnsiString) in Dns_StringCopy() 217 else if (InputType == AnsiString) in Dns_GetBufferLengthForStringCopy() 227 if (OutputType == AnsiString) in Dns_GetBufferLengthForStringCopy()
|
H A D | straddr.c | 123 AnsiString); in Dns_Ip4StringToAddress_W() 149 AnsiString); in Dns_Ip4ReverseNameToAddress_W() 186 AnsiString); in Dns_StringToAddressEx() 340 AnsiString); in Dns_StringToDnsAddrEx()
|
/reactos/drivers/serial/serenum/ |
H A D | misc.c | 24 ANSI_STRING AnsiString; in SerenumInitMultiSzString() local 36 RtlInitAnsiString(&AnsiString, Source); in SerenumInitMultiSzString() 37 DestinationSize += RtlAnsiStringToUnicodeSize(&AnsiString) in SerenumInitMultiSzString() 66 RtlInitAnsiString(&AnsiString, Source); in SerenumInitMultiSzString() 67 Status = RtlAnsiStringToUnicodeString(&UnicodeString, &AnsiString, FALSE); in SerenumInitMultiSzString()
|
/reactos/drivers/storage/port/scsiport/ |
H A D | pdo.c | 177 ANSI_STRING AnsiString; in PdoHandleQueryDeviceText() local 208 RtlInitAnsiString(&AnsiString, (PCSZ)&LocalBuffer); in PdoHandleQueryDeviceText() 221 RtlAnsiStringToUnicodeString(&DeviceDescription, &AnsiString, FALSE); in PdoHandleQueryDeviceText() 234 RtlInitAnsiString(&AnsiString, (PCSZ)&LocalBuffer); in PdoHandleQueryDeviceText() 247 RtlAnsiStringToUnicodeString(&DeviceDescription, &AnsiString, FALSE); in PdoHandleQueryDeviceText() 273 ANSI_STRING AnsiString; in PdoHandleQueryDeviceId() local 292 RtlInitAnsiString(&AnsiString, (PCSZ)Buffer); in PdoHandleQueryDeviceId() 295 Status = RtlAnsiStringToUnicodeString(&DeviceId, &AnsiString, TRUE); in PdoHandleQueryDeviceId() 317 ANSI_STRING AnsiString; in ConvertToUnicodeString() local 332 RtlInitAnsiString(&AnsiString, Buffer); in ConvertToUnicodeString() [all …]
|
/reactos/win32ss/user/ntuser/misc/ |
H A D | rtlstr.c | 71 ANSI_STRING AnsiString; in RtlLargeStringToUnicodeString() local 84 RtlInitAnsiString(&AnsiString, (LPSTR)SourceString->Buffer); in RtlLargeStringToUnicodeString() 85 return NT_SUCCESS(RtlAnsiStringToUnicodeString(DestinationString, &AnsiString, TRUE)); in RtlLargeStringToUnicodeString()
|
/reactos/win32ss/user/user32/misc/ |
H A D | rtlstr.c | 68 ANSI_STRING AnsiString; in RtlLargeStringToUnicodeString() local 73 RtlInitAnsiString(&AnsiString, (LPSTR)SourceString->Buffer); in RtlLargeStringToUnicodeString() 74 return NT_SUCCESS(RtlAnsiStringToUnicodeString(DestinationString, &AnsiString, TRUE)); in RtlLargeStringToUnicodeString()
|
/reactos/drivers/network/ndis/ndis/ |
H A D | string.c | 113 ANSI_STRING AnsiString; in NdisInitializeString() local 119 RtlInitAnsiString(&AnsiString, (PCSZ)SourceString); in NdisInitializeString() 121 RtlAnsiStringToUnicodeString((PUNICODE_STRING)DestinationString, &AnsiString, TRUE); in NdisInitializeString()
|
/reactos/win32ss/user/user32/windows/ |
H A D | message.c | 876 ANSI_STRING AnsiString; in MsgiUnicodeToAnsiMessage() local 928 CsA->lpszName = AnsiString.Buffer; in MsgiUnicodeToAnsiMessage() 939 CsA->lpszClass = AnsiString.Buffer; in MsgiUnicodeToAnsiMessage() 1083 cs->szClass = AnsiString.Buffer; in MsgiUnicodeToAnsiMessage() 1100 cs->szTitle = AnsiString.Buffer; in MsgiUnicodeToAnsiMessage() 1158 ANSI_STRING AnsiString; in MsgiUnicodeToAnsiCleanup() local 1193 RtlFreeAnsiString(&AnsiString); in MsgiUnicodeToAnsiCleanup() 1210 RtlFreeAnsiString(&AnsiString); in MsgiUnicodeToAnsiCleanup() 1224 RtlFreeAnsiString(&AnsiString); in MsgiUnicodeToAnsiCleanup() 1233 RtlFreeAnsiString(&AnsiString); in MsgiUnicodeToAnsiCleanup() [all …]
|
/reactos/sdk/lib/rtl/ |
H A D | unicode.c | 163 AnsiString->Buffer, in RtlxAnsiStringToUnicodeSize() 164 AnsiString->Length); in RtlxAnsiStringToUnicodeSize() 419 RtlFreeAnsiString(IN PANSI_STRING AnsiString) in RtlFreeAnsiString() argument 423 if (AnsiString->Buffer) in RtlFreeAnsiString() 831 ANSI_STRING AnsiString; in RtlIntegerToUnicodeString() local 838 AnsiString.Buffer = Buffer; in RtlIntegerToUnicodeString() 840 AnsiString.MaximumLength = sizeof(Buffer); in RtlIntegerToUnicodeString() 859 ANSI_STRING AnsiString; in RtlInt64ToUnicodeString() local 868 AnsiString.Buffer = Buffer; in RtlInt64ToUnicodeString() 2383 ANSI_STRING AnsiString; in RtlCreateUnicodeStringFromAsciiz() local [all …]
|
H A D | dbgbuffer.c | 139 ANSI_STRING AnsiString; in RtlpQueryRemoteProcessModules() local 255 AnsiString.Length = 0; in RtlpQueryRemoteProcessModules() 256 AnsiString.MaximumLength = 256; in RtlpQueryRemoteProcessModules() 257 AnsiString.Buffer = ModulePtr->FullPathName; in RtlpQueryRemoteProcessModules() 258 RtlUnicodeStringToAnsiString(&AnsiString, in RtlpQueryRemoteProcessModules()
|
/reactos/dll/win32/dnsapi/ |
H A D | query.c | 158 PCHAR AnsiString; in DnsWToC() local 169 AnsiString = RtlAllocateHeap(RtlGetProcessHeap(), 0, AnsiLen); in DnsWToC() 170 if (AnsiString == NULL) in DnsWToC() 178 AnsiString, in DnsWToC() 183 return AnsiString; in DnsWToC() 216 PCHAR AnsiString; in DnsWToUTF8() local 227 AnsiString = RtlAllocateHeap(RtlGetProcessHeap(), 0, AnsiLen); in DnsWToUTF8() 228 if (AnsiString == NULL) in DnsWToUTF8() 236 AnsiString, in DnsWToUTF8() 241 return AnsiString; in DnsWToUTF8()
|
/reactos/sdk/lib/rossym_new/ |
H A D | pe.c | 13 PANSI_STRING AnsiString = ANSI_NAME_STRING(&pe->sect[i]); in pesection() local 14 if (WantName.Length == AnsiString->Length && in pesection() 15 !memcmp(AnsiString->Buffer, name, WantName.Length)) { in pesection()
|
/reactos/sdk/lib/rossym/ |
H A D | pe.c | 22 PANSI_STRING AnsiString = ANSI_NAME_STRING(&pe->sect[i]); in pesection() local 23 if (WantName.Length == AnsiString->Length && in pesection() 24 !memcmp(AnsiString->Buffer, name, WantName.Length)) { in pesection()
|
/reactos/drivers/usb/usbstor/ |
H A D | pdo.c | 134 ANSI_STRING AnsiString; in USBSTOR_PdoHandleQueryDeviceText() local 154 RtlInitAnsiString(&AnsiString, (PCSZ)&LocalBuffer); in USBSTOR_PdoHandleQueryDeviceText() 165 RtlAnsiStringToUnicodeString(&DeviceDescription, &AnsiString, FALSE); in USBSTOR_PdoHandleQueryDeviceText() 189 ANSI_STRING AnsiString; in USBSTOR_PdoHandleQueryDeviceId() local 207 RtlInitAnsiString(&AnsiString, (PCSZ)Buffer); in USBSTOR_PdoHandleQueryDeviceId() 219 Status = RtlAnsiStringToUnicodeString(&DeviceId, &AnsiString, FALSE); in USBSTOR_PdoHandleQueryDeviceId() 240 ANSI_STRING AnsiString; in USBSTOR_ConvertToUnicodeString() local 254 RtlInitAnsiString(&AnsiString, Buffer); in USBSTOR_ConvertToUnicodeString() 256 Status = RtlAnsiStringToUnicodeString(&DeviceString, &AnsiString, FALSE); in USBSTOR_ConvertToUnicodeString()
|
H A D | disk.c | 236 ANSI_STRING AnsiString; in USBSTOR_HandleQueryProperty() local 351 AnsiString.Buffer = (PCHAR)Buffer; in USBSTOR_HandleQueryProperty() 352 AnsiString.Length = 0; in USBSTOR_HandleQueryProperty() 353 AnsiString.MaximumLength = FieldLengthSerialNumber * sizeof(WCHAR); in USBSTOR_HandleQueryProperty() 355 Status = RtlUnicodeStringToAnsiString(&AnsiString, &SerialNumber, FALSE); in USBSTOR_HandleQueryProperty()
|
/reactos/drivers/usb/usbstor_new/ |
H A D | disk.c | 256 ANSI_STRING AnsiString; in USBSTOR_HandleQueryProperty() local 447 AnsiString.Buffer = (PCHAR)Buffer; in USBSTOR_HandleQueryProperty() 448 AnsiString.Length = 0; in USBSTOR_HandleQueryProperty() 449 AnsiString.MaximumLength = FieldLengthSerialNumber * sizeof(WCHAR); in USBSTOR_HandleQueryProperty() 454 Status = RtlUnicodeStringToAnsiString(&AnsiString, &SerialNumber, FALSE); in USBSTOR_HandleQueryProperty()
|