Home
last modified time | relevance | path

Searched refs:OldLength (Results 1 – 7 of 7) sorted by relevance

/reactos/drivers/filesystems/udfs/Include/
H A Dmem_tools.cpp774 IN ULONG OldLength, in MyReallocPool() argument
791 if(OldLength == NewLength) return OldLength; in MyReallocPool()
835 if(OldLength > NewLength) OldLength = NewLength; in MyReallocPool()
836 RtlCopyMemory(new_buff, addr, OldLength); in MyReallocPool()
847 return OldLength; in MyReallocPool()
H A Dmem_tools.h65 ULONG MyReallocPool( PCHAR addr, ULONG OldLength, PCHAR* NewBuff, ULONG NewLength, USHORT Src, USHO…
72 ULONG __fastcall MyReallocPool( PCHAR addr, ULONG OldLength, PCHAR* NewBuff, ULONG NewLength);
/reactos/modules/rostests/kmtests/include/
H A Dkmt_test.h320 LONG OldLength; in KmtAddToLogBuffer() local
328 OldLength = Buffer->LogBufferLength; in KmtAddToLogBuffer()
329 NewLength = OldLength + (ULONG)Length; in KmtAddToLogBuffer()
332 … } while (InterlockedCompareExchange(&Buffer->LogBufferLength, NewLength, OldLength) != OldLength); in KmtAddToLogBuffer()
334 memcpy(&Buffer->LogBuffer[OldLength], String, Length); in KmtAddToLogBuffer()
/reactos/ntoskrnl/io/pnpmgr/
H A Dpnpres.c868 ULONG OldLength = 0; in IopUpdateResourceMap() local
879 &OldLength); in IopUpdateResourceMap()
882 ASSERT(OldLength); in IopUpdateResourceMap()
884 NameU.Buffer = ExAllocatePool(PagedPool, OldLength + TranslatedSuffix.Length); in IopUpdateResourceMap()
892 NameU.MaximumLength = (USHORT)OldLength + TranslatedSuffix.Length; in IopUpdateResourceMap()
898 &OldLength); in IopUpdateResourceMap()
918 NameU.Length = (USHORT)OldLength - sizeof(UNICODE_NULL); /* Remove final NULL */ in IopUpdateResourceMap()
936 NameU.Length = (USHORT)OldLength - sizeof(UNICODE_NULL); /* Remove final NULL */ in IopUpdateResourceMap()
/reactos/base/shell/cmd/
H A Dcmd.c1451 size_t OldLength, NewLength; in SubstituteVar() local
1465 OldLength = Src++ - Old; in SubstituteVar()
1466 if (OldLength == 0) in SubstituteVar()
1476 if (_tcsnicmp(&Var[i], Old, OldLength) == 0) in SubstituteVar()
1481 i += OldLength; in SubstituteVar()
/reactos/drivers/storage/mountmgr/
H A Ddevice.c823 USHORT DeviceLength, OldLength; in MountMgrQueryDosVolumePath() local
902 OldLength = DeviceLength; in MountMgrQueryDosVolumePath()
920 …tlCopyMemory(&DeviceString[AssociatedDevice->String.Length / sizeof(WCHAR)], OldBuffer, OldLength); in MountMgrQueryDosVolumePath()
937 OldLength = DeviceLength; in MountMgrQueryDosVolumePath()
957 RtlCopyMemory(&DeviceString[2], OldBuffer, OldLength); in MountMgrQueryDosVolumePath()
/reactos/drivers/filesystems/udfs/udf_info/
H A Dudf_info.h17 IN uint32 OldLength, // old buffer size