/reactos/base/system/smss/ |
H A D | pagefile.c | 100 LARGE_INTEGER MaxSize; member 142 ULONG MinSize = 0, MaxSize = 0; in SmpCreatePagingFileDescriptor() local 255 Descriptor->MaxSize.QuadPart = MaxSize * MEGABYTE; in SmpCreatePagingFileDescriptor() 525 MaxSize->QuadPart, in SmpCreatePagingFile() 753 ULONGLONG MinSize, MaxSize; in SmpValidatePagingFileSizes() local 764 MaxSize = Descriptor->MaxSize.QuadPart; in SmpValidatePagingFileSizes() 770 if (MinSize > MaxSize) in SmpValidatePagingFileSizes() 771 MaxSize = MinSize; in SmpValidatePagingFileSizes() 779 if (MaxSize > MaxPageFileSize) in SmpValidatePagingFileSizes() 782 MaxSize = MaxPageFileSize; in SmpValidatePagingFileSizes() [all …]
|
/reactos/sdk/lib/evtlib/ |
H A D | evtlib.c | 50 ASSERT(LogFile->CurrentSize <= LogFile->Header.MaxSize); in ReadLogBuffer() 300 IN ULONG MaxSize, in ElfpInitNewFile() argument 329 LogFile->Header.MaxSize = ROUND_UP(MaxSize, sizeof(ULONG)); in ElfpInitNewFile() 449 if (LogFile->CurrentSize > LogFile->Header.MaxSize) in ElfpInitExistingFile() 450 LogFile->Header.MaxSize = LogFile->CurrentSize; in ElfpInitExistingFile() 880 IN ULONG MaxSize, in ElfCreateFile() argument 973 LogFile->Header.MaxSize, in ElfReCreateFile() 1016 Header->MaxSize = LogFile->Header.MaxSize; in ElfBackupFile() 1315 UpperBound = LogFile->Header.MaxSize; in ElfWriteRecord() 1489 if (LogFile->CurrentSize < LogFile->Header.MaxSize) in ElfWriteRecord() [all …]
|
H A D | evtlib.h | 72 ULONG MaxSize; member 227 IN ULONG MaxSize,
|
/reactos/modules/rostests/win32/advapi32/eventlog/ |
H A D | EvtLogTest.c | 20 UINT MaxSize, in CreateEventLog() argument 30 …wprintf(L"Creating log %s of MaxSize 0x%x with %d sources...", EventLogName, MaxSize, SourcesCount… in CreateEventLog() 53 (LPBYTE)&MaxSize, sizeof(MaxSize)); in CreateEventLog() 186 ULONG MaxSize = max(0x30 + 0x28 + 0x200, 0x010000); in TestEventsGeneration() local 189 if (!CreateEventLog(EvtLog, MaxSize, ARRAYSIZE(Sources), Sources)) in TestEventsGeneration() 278 …MaxSize = 0xFC80 - sizeof(EVENTLOGRECORD); // With a StartOffset of 0x14, that should allow seeing… in TestEventsGeneration() 279 Data = HeapAlloc(GetProcessHeap(), 0, MaxSize); in TestEventsGeneration() 282 RtlFillMemory(Data, MaxSize, 0xCA); in TestEventsGeneration() 283 …eportEventW(hEventLog, EVENTLOG_INFORMATION_TYPE, 1, 1, NULL, 0 /* 1 */, MaxSize, NULL /* &String … in TestEventsGeneration()
|
/reactos/subsystems/mvdm/ntvdm/bios/ |
H A D | umamgr.c | 88 ULONG MaxSize = 0; in UmaDescReserve() local 106 if (UmaDesc->Size > MaxSize) MaxSize = UmaDesc->Size; in UmaDescReserve() 202 *Size = (MaxSize >> 4); in UmaDescReserve() 264 ULONG MaxSize = 0; in UmaDescReallocate() local 282 if (UmaDesc->Size > MaxSize) MaxSize = UmaDesc->Size; in UmaDescReallocate() 332 MaxSize = 0; in UmaDescReallocate() 353 MaxSize = 0; in UmaDescReallocate() 370 *Size = (MaxSize >> 4); in UmaDescReallocate()
|
/reactos/dll/cpl/sysdm/ |
H A D | virtmem.c | 200 INT MaxSize; in ParseMemSettings() local 222 MaxSize = -1; in ParseMemSettings() 229 &MaxSize); in ParseMemSettings() 234 PageFile->OldMaxSize = MaxSize; in ParseMemSettings() 236 PageFile->NewMaxSize = MaxSize; in ParseMemSettings() 496 UINT MaxSize = -1; in OnSet() local 536 MaxSize = GetDlgItemInt(pVirtMem->hSelf, in OnSet() 566 if ((MaxSize < MinSize) || in OnSet() 567 (MaxSize > maxPageFileSize)) in OnSet() 583 PageFile->NewMaxSize = MaxSize; in OnSet()
|
/reactos/dll/win32/iphlpapi/ |
H A D | iphlpapi_private.h | 106 CHAR MaxSize[sizeof(DWORD) + member 113 CHAR MaxSize[sizeof(TCP_REQUEST_SET_INFORMATION_EX) - 1 + member 120 CHAR MaxSize[sizeof(TCP_REQUEST_SET_INFORMATION_EX) - 1 + member
|
/reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/ |
H A D | memory.c | 138 WORD Result = 0, Segment = SysVars->FirstMcb, MaxSize = 0; in DosAllocateMemory() local 174 if (CurrentMcb->Size > MaxSize) MaxSize = CurrentMcb->Size; in DosAllocateMemory() 233 DPRINT("DosAllocateMemory FAILED. Maximum available: 0x%04X\n", MaxSize); in DosAllocateMemory() 235 if (MaxAvailable) *MaxAvailable = MaxSize; in DosAllocateMemory()
|
H A D | dosfiles.h | 128 BYTE DosReadLineBuffered(WORD FileHandle, DWORD Buffer, BYTE MaxSize);
|
H A D | dosfiles.c | 674 BYTE DosReadLineBuffered(WORD FileHandle, DWORD Buffer, BYTE MaxSize) in DosReadLineBuffered() argument 695 if (LineSize == MaxSize - 1 && Character != '\r' && Character != '\b') in DosReadLineBuffered()
|
/reactos/dll/win32/msi/ |
H A D | appsearch.c | 46 DWORD MaxSize; member 123 sig->MaxSize = MSI_RecordGetInteger(row,6); in get_signature() 124 if (sig->MaxSize == MSI_NULL_INTEGER) in get_signature() 125 sig->MaxSize = 0; in get_signature() 142 TRACE("MinSize is %lu, MaxSize is %lu\n", sig->MinSize, sig->MaxSize); in get_signature() 744 if (*matches && sig->MaxSize && findData->nFileSizeLow > sig->MaxSize) in file_matches_sig()
|
/reactos/modules/rosapps/applications/rosinternals/nfi/ |
H A D | nfi.c | 408 void PrintAttributeInfo(PNTFS_ATTR_RECORD Attribute, DWORD MaxSize) in PrintAttributeInfo() argument 414 …NameLength != 0 && Attribute->NameOffset < MaxSize && Attribute->NameOffset + Attribute->NameLengt… in PrintAttributeInfo()
|
/reactos/ntoskrnl/cache/ |
H A D | pinsup.c | 146 LARGE_INTEGER MaxSize; in CcpAllocateSection() local 148 MaxSize.QuadPart = Length; in CcpAllocateSection() 156 &MaxSize, in CcpAllocateSection()
|
/reactos/base/services/eventlog/ |
H A D | eventlog.h | 94 ULONG MaxSize,
|
H A D | file.c | 297 ULONG MaxSize, in LogfCreate() argument 389 MaxSize, in LogfCreate()
|
/reactos/base/setup/usetup/ |
H A D | usetup.c | 1855 ULONG MaxSize, in ShowPartitionSizeInputBox() argument 1890 sprintf(Buffer, MUIGetString(STRING_MAXSIZE), MaxSize); in ShowPartitionSizeInputBox() 1899 swprintf(InputBuffer, L"%lu", MaxSize); in ShowPartitionSizeInputBox() 2049 ULONG MaxSize; in CreatePartitionPage() local 2091 MaxSize = (ULONG)RoundingDivide(MaxPartSize, MB); in CreatePartitionPage() 2092 MaxSize = min(MaxSize, PARTITION_MAXSIZE); in CreatePartitionPage() 2095 MaxSize, InputBuffer, &Quit, &Cancel); in CreatePartitionPage() 2110 if ((PartSize < 1) || (PartSize > MaxSize)) in CreatePartitionPage() 2119 if (PartSize == MaxSize) in CreatePartitionPage()
|
/reactos/win32ss/user/user32/controls/ |
H A D | scrollbar.c | 278 INT MaxSize; in IntScrollDrawMovingThumb() local 282 MaxSize = ScrollBarInfo->rcScrollBar.bottom - ScrollBarInfo->rcScrollBar.top; in IntScrollDrawMovingThumb() 284 MaxSize = ScrollBarInfo->rcScrollBar.right - ScrollBarInfo->rcScrollBar.left; in IntScrollDrawMovingThumb() 286 …MaxSize -= ScrollBarInfo->dxyLineButton + ScrollBarInfo->xyThumbBottom - ScrollBarInfo->xyThumbTop; in IntScrollDrawMovingThumb() 290 else if (MaxSize < Pos) in IntScrollDrawMovingThumb() 291 Pos = MaxSize; in IntScrollDrawMovingThumb()
|
/reactos/sdk/lib/rtl/ |
H A D | unicode.c | 646 CONST SIZE_T MaxSize = (MAXUSHORT & ~1) - sizeof(UNICODE_NULL); // an even number in RtlInitUnicodeString() local 651 __analysis_assume(Size <= MaxSize); in RtlInitUnicodeString() 653 if (Size > MaxSize) in RtlInitUnicodeString() 654 Size = MaxSize; in RtlInitUnicodeString() 677 CONST SIZE_T MaxSize = (MAXUSHORT & ~1) - sizeof(WCHAR); // an even number in RtlInitUnicodeStringEx() local 682 if (Size > MaxSize) return STATUS_NAME_TOO_LONG; in RtlInitUnicodeStringEx()
|
/reactos/win32ss/user/ntuser/ |
H A D | winpos.h | 61 UINT FASTCALL co_WinPosGetMinMaxInfo(PWND Window, POINT* MaxSize, POINT* MaxPos, POINT* MinTrack, P…
|
H A D | winpos.c | 940 co_WinPosGetMinMaxInfo(PWND Window, POINT* MaxSize, POINT* MaxPos, in co_WinPosGetMinMaxInfo() argument 1049 if (MaxSize) in co_WinPosGetMinMaxInfo() 1050 *MaxSize = MinMax.ptMaxSize; in co_WinPosGetMinMaxInfo()
|
H A D | window.c | 2188 POINT MaxSize, MaxPos, MinTrack, MaxTrack; in co_UserCreateWindowEx() local 2367 co_WinPosGetMinMaxInfo(Window, &MaxSize, &MaxPos, &MinTrack, &MaxTrack); in co_UserCreateWindowEx()
|
/reactos/win32ss/user/user32/include/ |
H A D | user32p.h | 120 UINT WINAPI WinPosGetMinMaxInfo(HWND hWnd, POINT* MaxSize, POINT* MaxPos, POINT* MinTrack, POINT* M…
|
/reactos/dll/win32/ws2_32/src/ |
H A D | qshelpr.c | 749 Buffer.MaxSize = SetSize; in WSABuildQuerySetBufferA() 786 Buffer.MaxSize = SetSize; in WSABuildQuerySetBufferW()
|
/reactos/dll/win32/ws2_32/inc/ |
H A D | ws2_32p.h | 248 SIZE_T MaxSize; member
|
/reactos/boot/bootdata/ |
H A D | hivesys.inf | 1644 HKLM,"SYSTEM\CurrentControlSet\Services\EventLog\Application","MaxSize",0x00010003,5242880 1649 HKLM,"SYSTEM\CurrentControlSet\Services\EventLog\Security","MaxSize",0x00010003,5242880 1654 HKLM,"SYSTEM\CurrentControlSet\Services\EventLog\System","MaxSize",0x00010003,5242880
|