/reactos/dll/win32/samsrv/ |
H A D | samsrv.c | 167 if (Ptr == NULL) in SamIFree_SAMPR_ALIAS_INFO_BUFFER() 207 if (Ptr == NULL) in SamIFree_SAMPR_DISPLAY_INFO_BUFFER() 302 if (Ptr == NULL) in SamIFree_SAMPR_DOMAIN_INFO_BUFFER() 380 if (Ptr == NULL) in SamIFree_SAMPR_ENUMERATION_BUFFER() 402 if (Ptr == NULL) in SamIFree_SAMPR_GET_GROUPS_BUFFER() 416 if (Ptr == NULL) in SamIFree_SAMPR_GET_MEMBERS_BUFFER() 435 if (Ptr == NULL) in SamIFree_SAMPR_GROUP_INFO_BUFFER() 474 if (Ptr == NULL) in SamIFree_SAMPR_PSID_ARRAY() 490 if (Ptr == NULL) in SamIFree_SAMPR_RETURNED_USTRING_ARRAY() 512 if (Ptr == NULL) in SamIFree_SAMPR_SR_SECURITY_DESCRIPTOR() [all …]
|
/reactos/modules/rosapps/applications/sysutils/utils/pnpdump/ |
H A D | pnpdump.c | 325 Ptr++; in PnpDecodeIrq() 350 Ptr++; in PnpDecodeDma() 376 Ptr++; in PnpDecodeIoPort() 378 Ptr++; in PnpDecodeIoPort() 380 Ptr++; in PnpDecodeIoPort() 382 Ptr++; in PnpDecodeIoPort() 384 Ptr++; in PnpDecodeIoPort() 386 Ptr++; in PnpDecodeIoPort() 402 Ptr++; in PnpDecodeFixedIoPort() 404 Ptr++; in PnpDecodeFixedIoPort() [all …]
|
/reactos/sdk/include/reactos/ |
H A D | probe.h | 32 #define ProbeForWriteUchar(Ptr) ProbeForWriteGenericType(Ptr, UCHAR) argument 33 #define ProbeForWriteChar(Ptr) ProbeForWriteGenericType(Ptr, CHAR) argument 34 #define ProbeForWriteUshort(Ptr) ProbeForWriteGenericType(Ptr, USHORT) argument 35 #define ProbeForWriteShort(Ptr) ProbeForWriteGenericType(Ptr, SHORT) argument 36 #define ProbeForWriteUlong(Ptr) ProbeForWriteGenericType(Ptr, ULONG) argument 37 #define ProbeForWriteLong(Ptr) ProbeForWriteGenericType(Ptr, LONG) argument 38 #define ProbeForWriteUint(Ptr) ProbeForWriteGenericType(Ptr, UINT) argument 39 #define ProbeForWriteInt(Ptr) ProbeForWriteGenericType(Ptr, INT) argument 62 #define ProbeForReadChar(Ptr) ProbeForReadGenericType(Ptr, CHAR, 0) argument 66 #define ProbeForReadLong(Ptr) ProbeForReadGenericType(Ptr, LONG, 0) argument [all …]
|
/reactos/dll/win32/lsasrv/ |
H A D | lsasrv.c | 24 if (Ptr == NULL) in LsaIFree_LSAPR_ACCOUNT_ENUM_BUFFER() 27 if (Ptr->Information != NULL) in LsaIFree_LSAPR_ACCOUNT_ENUM_BUFFER() 35 midl_user_free(Ptr); in LsaIFree_LSAPR_ACCOUNT_ENUM_BUFFER() 44 if (Ptr != NULL) in LsaIFree_LSAPR_CR_CIPHER_VALUE() 45 midl_user_free(Ptr); in LsaIFree_LSAPR_CR_CIPHER_VALUE() 163 if (Ptr != NULL) in LsaIFree_LSAPR_PRIVILEGE_ENUM_BUFFER() 183 if (Ptr != NULL) in LsaIFree_LSAPR_PRIVILEGE_SET() 197 if (Ptr != NULL) in LsaIFree_LSAPR_REFERENCED_DOMAIN_LIST() 223 if (Ptr != NULL) in LsaIFree_LSAPR_SR_SECURITY_DESCRIPTOR() 240 if (Ptr != NULL) in LsaIFree_LSAPR_TRANSLATED_NAMES() [all …]
|
H A D | session.c | 404 PUCHAR Ptr; in LsapGetLogonSessionData() local 437 TRACE("LocalSessionData: %p Ptr: %p\n", LocalSessionData, Ptr); in LsapGetLogonSessionData() 453 Ptr = (PUCHAR)((ULONG_PTR)Ptr + Session->UserName.MaximumLength); in LsapGetLogonSessionData() 464 Ptr = (PUCHAR)((ULONG_PTR)Ptr + Session->LogonDomain.MaximumLength); in LsapGetLogonSessionData() 475 Ptr = (PUCHAR)((ULONG_PTR)Ptr + Session->AuthenticationPackage.MaximumLength); in LsapGetLogonSessionData() 484 RtlCopyMemory(Ptr, Session->Sid, SidLength); in LsapGetLogonSessionData() 487 Ptr = (PUCHAR)((ULONG_PTR)Ptr + SidLength); in LsapGetLogonSessionData() 501 Ptr = (PUCHAR)((ULONG_PTR)Ptr + Session->LogonServer.MaximumLength); in LsapGetLogonSessionData() 512 Ptr = (PUCHAR)((ULONG_PTR)Ptr + Session->DnsDomainName.MaximumLength); in LsapGetLogonSessionData() 520 RtlCopyMemory(Ptr, Session->Upn.Buffer, Session->Upn.MaximumLength); in LsapGetLogonSessionData() [all …]
|
/reactos/base/setup/lib/utils/ |
H A D | inicache.c | 298 return (*Ptr == 0) ? NULL : Ptr; in IniCacheSkipWhitespace() 306 while (*Ptr != 0 && *Ptr != '[') in IniCacheSkipToNextSection() 316 return (*Ptr == 0) ? NULL : Ptr; in IniCacheSkipToNextSection() 339 while (*Ptr != 0 && *Ptr != ']') in IniCacheGetSectionName() 371 while (Ptr && *Ptr) in IniCacheGetKeyName() 378 while (isspace(*Ptr) || *Ptr == '\n' || *Ptr == '\r') in IniCacheGetKeyName() 389 while (*Ptr != 0 && !isspace(*Ptr) && *Ptr != '=' && *Ptr != ';') in IniCacheGetKeyName() 396 while (*Ptr != 0 && *Ptr != '\r' && *Ptr != '\n') in IniCacheGetKeyName() 456 while (*Ptr && *Ptr != '\r' && *Ptr != '\n') in IniCacheGetKeyValue() 465 while (*Ptr != 0 && *Ptr != '\r' && *Ptr != ';') in IniCacheGetKeyValue() [all …]
|
/reactos/drivers/filesystems/fastfat/ |
H A D | dumpsup.c | 21 VOID FatDump(IN PVOID Ptr); 24 VOID FatDumpVcb(IN PVCB Ptr); 25 VOID FatDumpFcb(IN PFCB Ptr); 26 VOID FatDumpCcb(IN PCCB Ptr); 83 IN PVOID Ptr in FatDump() argument 115 FatDumpVcb(Ptr); in FatDump() 161 PFAT_DATA Ptr; in FatDumpDataHeader() local 164 Ptr = &FatData; in FatDumpDataHeader() 192 IN PVCB Ptr in FatDumpVcb() argument 255 IN PFCB Ptr in FatDumpFcb() argument [all …]
|
/reactos/ntoskrnl/ex/ |
H A D | pushlock.c | 101 NewValue.Ptr = InterlockedCompareExchangePointer(&PushLock->Ptr, in ExfWakePushLock() 149 NewValue.Ptr = InterlockedCompareExchangePointer(&PushLock->Ptr, in ExfWakePushLock() 284 NewValue.Ptr = InterlockedCompareExchangePointer(&PushLock->Ptr, in ExpOptimizePushLockList() 442 NewValue.Ptr = InterlockedCompareExchangePointer(&PushLock->Ptr, in ExBlockPushLock() 445 if (OldValue.Ptr == NewValue.Ptr) break; in ExBlockPushLock() 575 NewValue.Ptr = InterlockedCompareExchangePointer(&PushLock->Ptr, in ExfAcquirePushLockExclusive() 675 NewValue.Ptr = InterlockedCompareExchangePointer(&PushLock->Ptr, in ExfAcquirePushLockShared() 739 NewValue.Ptr = InterlockedCompareExchangePointer(&PushLock->Ptr, in ExfAcquirePushLockShared() 742 if (NewValue.Ptr != OldValue.Ptr) in ExfAcquirePushLockShared() 978 NewValue.Ptr = InterlockedCompareExchangePointer(&PushLock->Ptr, in ExfReleasePushLockShared() [all …]
|
/reactos/base/services/dnsrslvr/ |
H A D | hostsfile.c | 317 if (*Ptr == 0 || *Ptr == '#') in ReadHostsFile() 323 Ptr = Ptr + 1; in ReadHostsFile() 327 Ptr = Ptr + 1; in ReadHostsFile() 333 if (*Ptr == 0 || *Ptr == '#') in ReadHostsFile() 339 Ptr = Ptr + 1; in ReadHostsFile() 343 Ptr = Ptr + 1; in ReadHostsFile() 349 if (*Ptr == 0 || *Ptr == '#') in ReadHostsFile() 355 Ptr = Ptr + 1; in ReadHostsFile() 359 Ptr = Ptr + 1; in ReadHostsFile() 365 if (*Ptr == 0 || *Ptr == '#') in ReadHostsFile() [all …]
|
/reactos/dll/win32/kernel32/client/ |
H A D | heapmem.c | 400 return Ptr; in GlobalAlloc() 458 if (!Ptr) in GlobalAlloc() 490 return Ptr; in GlobalAlloc() 614 LPVOID Ptr; in GlobalFree() local 673 if (Ptr) in GlobalFree() 758 LPVOID Ptr; in GlobalLock() local 820 return Ptr; in GlobalLock() 831 LPVOID Ptr; in GlobalReAlloc() local 1450 if (!Ptr) in LocalAlloc() 1501 return Ptr; in LocalAlloc() [all …]
|
/reactos/dll/win32/netapi32/ |
H A D | netlogon.c | 188 Ptr = Ptr + AnsiString.Length + sizeof(CHAR); in DsAddressToSiteNamesA() 367 Ptr = Ptr + AnsiString.Length + sizeof(CHAR); in DsAddressToSiteNamesExA() 413 Ptr = Ptr + AnsiString.Length + sizeof(CHAR); in DsAddressToSiteNamesExA() 651 PSTR Ptr; in DsEnumerateDomainTrustsA() local 759 Ptr = (PSTR)((ULONG_PTR)Ptr + SidLength); in DsEnumerateDomainTrustsA() 885 PSTR Ptr; in DsGetDcNameWithAccountA() local 1005 Ptr = (PSTR)((ULONG_PTR)Ptr + AnsiString.Length + sizeof(CHAR)); in DsGetDcNameWithAccountA() 1024 Ptr = (PSTR)((ULONG_PTR)Ptr + AnsiString.Length + sizeof(CHAR)); in DsGetDcNameWithAccountA() 1043 Ptr = (PSTR)((ULONG_PTR)Ptr + AnsiString.Length + sizeof(CHAR)); in DsGetDcNameWithAccountA() 1062 Ptr = (PSTR)((ULONG_PTR)Ptr + AnsiString.Length + sizeof(CHAR)); in DsGetDcNameWithAccountA() [all …]
|
H A D | user.c | 572 LPWSTR Ptr; in BuildUserInfoBuffer() local 756 Ptr = (LPWSTR)((ULONG_PTR)Ptr + UserInfo->UserName.Length + sizeof(WCHAR)); in BuildUserInfoBuffer() 799 Ptr = (LPWSTR)((ULONG_PTR)Ptr + UserInfo->UserName.Length + sizeof(WCHAR)); in BuildUserInfoBuffer() 900 Ptr = (LPWSTR)((ULONG_PTR)Ptr + LogonServer.Length + sizeof(WCHAR)); in BuildUserInfoBuffer() 1019 Ptr = (LPWSTR)((ULONG_PTR)Ptr + LogonServer.Length + sizeof(WCHAR)); in BuildUserInfoBuffer() 1156 Ptr = (LPWSTR)((ULONG_PTR)Ptr + LogonServer.Length + sizeof(WCHAR)); in BuildUserInfoBuffer() 1293 Ptr = (LPWSTR)((ULONG_PTR)Ptr + LogonServer.Length + sizeof(WCHAR)); in BuildUserInfoBuffer() 2408 LPWSTR Ptr; in NetUserChangePassword() local 2471 Ptr = (LPWSTR)((ULONG_PTR)Ptr + RequestBuffer->DomainName.MaximumLength); in NetUserChangePassword() 2482 Ptr = (LPWSTR)((ULONG_PTR)Ptr + RequestBuffer->AccountName.MaximumLength); in NetUserChangePassword() [all …]
|
/reactos/dll/appcompat/shims/genral/ |
H A D | ignorefreelib.c | 25 char Buffer[MAX_PATH], *Ptr = Buffer; in SHIM_OBJ_NAME() local 34 if (Ptr != Buffer) in SHIM_OBJ_NAME() 35 ShimLib_ShimFree(Ptr); in SHIM_OBJ_NAME() 37 Ptr = ShimLib_ShimMalloc(wanted); in SHIM_OBJ_NAME() 38 if (!Ptr) in SHIM_OBJ_NAME() 42 if (Ptr && len) in SHIM_OBJ_NAME() 48 ModuleName = Ptr + len; in SHIM_OBJ_NAME() 57 if (Ptr && Ptr != Buffer) in SHIM_OBJ_NAME() 58 ShimLib_ShimFree(Ptr); in SHIM_OBJ_NAME() 64 if (Ptr && Ptr != Buffer) in SHIM_OBJ_NAME() [all …]
|
/reactos/win32ss/user/winsrv/consrv/condrv/ |
H A D | text.c | 297 PCHAR_INFO Ptr; in ConioFillRegion() local 342 ++Ptr; in ConioFillRegion() 364 PCHAR_INFO Ptr; in ConioResizeBuffer() local 546 ++Ptr; in ConDrvChangeScreenBufferAttributes() 627 ++Ptr; in ConDrvReadConsoleOutput() 690 ++Ptr; in ConDrvWriteConsoleOutput() 754 ++Ptr; in ConDrvWriteConsoleOutputVDM() 886 ++Ptr; in IntReadConsoleOutputStringChars() 925 ++Ptr; in IntReadConsoleOutputStringAttributes() 1097 ++Ptr; in IntWriteConsoleOutputStringChars() [all …]
|
/reactos/win32ss/user/winsrv/consrv/ |
H A D | conoutput.h | 12 #define ConSrvGetTextModeBuffer(ProcessData, Handle, Ptr, Access, LockConsole) \ argument 13 ConSrvGetObject((ProcessData), (Handle), (PCONSOLE_IO_OBJECT*)(Ptr), NULL, \ 15 #define ConSrvGetTextModeBufferAndHandleEntry(ProcessData, Handle, Ptr, Entry, Access, LockConsole)… argument 16 … ConSrvGetObject((ProcessData), (Handle), (PCONSOLE_IO_OBJECT*)(Ptr), (Entry), \ 19 #define ConSrvGetGraphicsBuffer(ProcessData, Handle, Ptr, Access, LockConsole) \ argument 20 ConSrvGetObject((ProcessData), (Handle), (PCONSOLE_IO_OBJECT*)(Ptr), NULL, \ 22 #define ConSrvGetGraphicsBufferAndHandleEntry(ProcessData, Handle, Ptr, Entry, Access, LockConsole)… argument 23 … ConSrvGetObject((ProcessData), (Handle), (PCONSOLE_IO_OBJECT*)(Ptr), (Entry), \ 26 #define ConSrvGetScreenBuffer(ProcessData, Handle, Ptr, Access, LockConsole) \ argument 27 ConSrvGetObject((ProcessData), (Handle), (PCONSOLE_IO_OBJECT*)(Ptr), NULL, \ [all …]
|
/reactos/modules/rostests/apitests/shell32/ |
H A D | AddCommas.cpp | 22 PWSTR Ptr; in START_TEST() local 30 Ptr = AddCommasW(0, Number); in START_TEST() 31 ok(Ptr == Number, "Ptr = %p, expected %p\n", Ptr, Number); in START_TEST() 63 Ptr = AddCommasW(123456789, Number); in START_TEST() 64 ok(Ptr == Number, "Ptr = %p, expected %p\n", Ptr, Number); in START_TEST() 70 Ptr = AddCommasW(4294967295U, Number); in START_TEST() 71 ok(Ptr == Number, "Ptr = %p, expected %p\n", Ptr, Number); in START_TEST()
|
/reactos/win32ss/user/winsrv/consrv/frontends/ |
H A D | terminal.c | 512 PCHAR_INFO Ptr; in ConioWriteConsole() local 609 Ptr->Char.UnicodeChar = L' '; in ConioWriteConsole() 620 Ptr->Char.UnicodeChar = L' '; in ConioWriteConsole() 654 Ptr->Char.UnicodeChar = L' '; in ConioWriteConsole() 659 ++Ptr; in ConioWriteConsole() 753 Ptr->Char.UnicodeChar = L' '; in ConioWriteConsole() 767 Ptr->Char.UnicodeChar = Buffer[i]; in ConioWriteConsole() 770 Ptr->Attributes &= ~COMMON_LVB_SBCSDBCS; in ConioWriteConsole() 784 Ptr->Char.UnicodeChar = Buffer[i]; in ConioWriteConsole() 790 ++Ptr; in ConioWriteConsole() [all …]
|
/reactos/modules/rostests/kmtests/ntos_ex/ |
H A D | ExPools.c | 29 PVOID Ptr; in PoolsTest() local 49 if (!Ptr) break; in PoolsTest() 52 RtlFillMemory(Ptr, AllocSize, 0xAB); in PoolsTest() 55 ExFreePoolWithTag(Ptr, TAG_POOLTEST); in PoolsTest() 74 if (!Ptr) break; in PoolsTest() 77 RtlFillMemory(Ptr, AllocSize, 0xAB); in PoolsTest() 80 ExFreePoolWithTag(Ptr, TAG_POOLTEST); in PoolsTest() 114 PULONG Ptr; in PoolsCorruption() local 122 RtlZeroMemory(Ptr, AllocSize); in PoolsCorruption() 145 Ptr[2020] = 0xdeadb33f; in PoolsCorruption() [all …]
|
/reactos/win32ss/user/user32/include/ |
H A D | user_x.h | 4 SharedPtrToUser(PVOID Ptr) in SharedPtrToUser() argument 6 ASSERT(Ptr != NULL); in SharedPtrToUser() 8 return (PVOID)((ULONG_PTR)Ptr - gSharedInfo.ulSharedDelta); in SharedPtrToUser() 12 DesktopPtrToUser(PVOID Ptr) in DesktopPtrToUser() argument 20 ASSERT(Ptr != NULL); in DesktopPtrToUser() 22 if ((ULONG_PTR)Ptr >= (ULONG_PTR)pdi->pvDesktopBase && in DesktopPtrToUser() 23 (ULONG_PTR)Ptr < (ULONG_PTR)pdi->pvDesktopLimit) in DesktopPtrToUser() 25 return (PVOID)((ULONG_PTR)Ptr - pci->ulClientDelta); in DesktopPtrToUser() 32 return (PVOID)NtUserxGetDesktopMapping(Ptr); in DesktopPtrToUser()
|
/reactos/dll/win32/iphlpapi/ |
H A D | address.c | 239 PIP_ADAPTER_DNS_SERVER_ADDRESS** Ptr = Data; in EnumerateServerName() local 265 *Ptr = &ServerAddress->Next; in EnumerateServerName() 330 BYTE* Ptr = (BYTE*)pAdapterAddresses; in GetAdaptersAddresses() local 342 if(!Ptr || *pOutBufLen < MIN_SIZE) in GetAdaptersAddresses() 369 if (Ptr) in GetAdaptersAddresses() 370 ZeroMemory(Ptr, RemainingSize); in GetAdaptersAddresses() 495 Ptr = (BYTE*)(CurrentAA + 1); in GetAdaptersAddresses() 499 CurrentAA->AdapterName = (PCHAR)Ptr; in GetAdaptersAddresses() 505 CurrentAA->DnsSuffix = (PWCHAR)Ptr; in GetAdaptersAddresses() 708 Ptr += Size; in GetAdaptersAddresses() [all …]
|
/reactos/sdk/lib/rtl/ |
H A D | srw.c | 192 InterlockedAndPointer(&SRWLock->Ptr, in RtlpReleaseWaitBlockLock() 206 PrevValue = InterlockedOrPointer(&SRWLock->Ptr, in RtlpAcquireWaitBlockLock() 239 CurrentValue = *(volatile LONG_PTR *)&SRWLock->Ptr; in RtlpAcquireSRWLockExclusiveWait() 284 CurrentValue = *(volatile LONG_PTR *)&SRWLock->Ptr; in RtlpAcquireSRWLockSharedWait() 319 SRWLock->Ptr = NULL; in RtlInitializeSRWLock() 334 CurrentValue = *(volatile LONG_PTR *)&SRWLock->Ptr; in RtlAcquireSRWLockShared() 534 CurrentValue = *(volatile LONG_PTR *)&SRWLock->Ptr; in RtlReleaseSRWLockShared() 596 if (InterlockedBitTestAndSetPointer(&SRWLock->Ptr, in RtlAcquireSRWLockExclusive() 603 CurrentValue = *(volatile LONG_PTR *)&SRWLock->Ptr; in RtlAcquireSRWLockExclusive() 717 CurrentValue = *(volatile LONG_PTR *)&SRWLock->Ptr; in RtlReleaseSRWLockExclusive() [all …]
|
H A D | runonce.c | 13 RunOnce->Ptr = NULL; in RtlRunOnceInitialize() 29 ULONG_PTR val = (ULONG_PTR)RunOnce->Ptr; in RtlRunOnceBeginInitialize() 39 ULONG_PTR next, val = (ULONG_PTR)RunOnce->Ptr; in RtlRunOnceBeginInitialize() 44 if (!interlocked_cmpxchg_ptr( &RunOnce->Ptr, in RtlRunOnceBeginInitialize() 52 if (interlocked_cmpxchg_ptr( &RunOnce->Ptr, (void *)((ULONG_PTR)&next | 1), in RtlRunOnceBeginInitialize() 89 ULONG_PTR val = (ULONG_PTR)RunOnce->Ptr; in RtlRunOnceComplete() 94 … if (interlocked_cmpxchg_ptr( &RunOnce->Ptr, Context, (void *)val ) != (void *)val) break; in RtlRunOnceComplete() 106 if (interlocked_cmpxchg_ptr( &RunOnce->Ptr, Context, (void *)val) != (void *)val) break; in RtlRunOnceComplete()
|
/reactos/modules/rostests/apitests/fontext/ |
H A D | GetDisplayNameOf.cpp | 93 WCHAR Buf[MAX_PATH], *Ptr; in Test_GetDisplayNameOf() local 103 Ptr = PathFindNextComponentW(Buf); in Test_GetDisplayNameOf() 106 ok(Ptr != (Buf + wcslen(Buf)), "Did not find a separator in '%s'!\n", wine_dbgstr_w(Buf)); in Test_GetDisplayNameOf() 113 Ptr = PathFindNextComponentW(Buf); in Test_GetDisplayNameOf() 116 ok(Ptr == (Buf + wcslen(Buf)), "Found a separator in '%s'!\n", wine_dbgstr_w(Buf)); in Test_GetDisplayNameOf() 123 Ptr = PathFindNextComponentW(Buf); in Test_GetDisplayNameOf() 126 ok(Ptr == (Buf + wcslen(Buf)), "Found a separator in '%s'!\n", wine_dbgstr_w(Buf)); in Test_GetDisplayNameOf() 133 Ptr = PathFindNextComponentW(Buf); in Test_GetDisplayNameOf() 144 ok(Ptr == (Buf + wcslen(Buf)), "Found a separator in '%s'!\n", wine_dbgstr_w(Buf)); in Test_GetDisplayNameOf() 152 Ptr = PathFindNextComponentW(Buf); in Test_GetDisplayNameOf() [all …]
|
/reactos/modules/rostests/apitests/sfc/ |
H A D | SfcGetFiles.c | 31 PCWSTR Ptr; in Test_GetFiles() local 48 Ptr = NULL; in Test_GetFiles() 51 Ptr = wcsstr(Entry->FileName, wszEnvVars[j]); in Test_GetFiles() 52 if (Ptr) in Test_GetFiles() 55 …ok(Ptr != NULL, "Expected to find one match from wszEnvVars in %s\n", wine_dbgstr_w(Entry->FileNam… in Test_GetFiles() 59 Ptr = wcsstr(Entry->InfName, L".inf"); in Test_GetFiles() 60 ok(Ptr == (Entry->InfName + wcslen(Entry->InfName) - 4), in Test_GetFiles()
|
/reactos/sdk/lib/tzlib/ |
H A D | tzlib.c | 29 LPWSTR Ptr, End; in GetTimeZoneListIndex() local 114 Ptr = Buffer; in GetTimeZoneListIndex() 115 while (*Ptr != 0) in GetTimeZoneListIndex() 117 Length = wcslen(Ptr); in GetTimeZoneListIndex() 118 if (wcstoul(Ptr, NULL, 16) == iLanguageID) in GetTimeZoneListIndex() 121 Ptr = Ptr + Length + 1; in GetTimeZoneListIndex() 122 if (*Ptr == 0) in GetTimeZoneListIndex() 127 *pIndex = wcstoul(Ptr, &End, 10); in GetTimeZoneListIndex() 132 Length = wcslen(Ptr); in GetTimeZoneListIndex() 133 Ptr = Ptr + Length + 1; in GetTimeZoneListIndex()
|