Home
last modified time | relevance | path

Searched refs:Size (Results 1 – 25 of 1361) sorted by relevance

12345678910>>...55

/reactos/modules/rostests/apitests/gdi32/
H A DGetFontResourceInfoW.c162 Size = 0; in Test_GetFontResourceInfoW_case0()
175 Size = 0; in Test_GetFontResourceInfoW_case0()
198 Size = 0; in Test_GetFontResourceInfoW_case1()
211 Size = 0; in Test_GetFontResourceInfoW_case1()
250 Size = 0; in Test_GetFontResourceInfoW_case2()
262 Size = 0; in Test_GetFontResourceInfoW_case2()
299 Size = 0; in Test_GetFontResourceInfoW_case3()
311 Size = 0; in Test_GetFontResourceInfoW_case3()
335 Size = 0; in Test_GetFontResourceInfoW_case4()
347 Size = 0; in Test_GetFontResourceInfoW_case4()
[all …]
/reactos/modules/rostests/apitests/ntdll/
H A DNtAllocateVirtualMemory.c53 SIZE_T Size; in Allocate() local
72 ASSERT(RtlCompareMemoryUlong(FirstPageStart, Size, 0) == Size); in Allocate()
210 SIZE_T Size; in CheckSize() local
214 Size = InSize; in CheckSize()
233 SIZE_T Size; in CheckAlignment() local
254 ok(Size == 0x3000, "Got back wrong size: 0x%Ix", Size); in CheckAlignment()
278 ok(Size == 0x1000, "Got back wrong size: 0x%Ix", Size); in CheckAlignment()
291 ok(Size == 0x1000, "Got back wrong size: 0x%Ix", Size); in CheckAlignment()
345 ok(Size == 0x6000, "Got back wrong size: 0x%Ix", Size); in CheckAlignment()
370 SIZE_T Size; in CheckAdjacentVADs() local
[all …]
H A DRtlReAllocateHeap.c14 SIZE_T Size, in CheckBuffer() argument
20 for (i = 0; i < Size; i++) in CheckBuffer()
33 SIZE_T Size, in ReAllocBuffer() argument
44 Size); in ReAllocBuffer()
52 if (OldSize < Size) in ReAllocBuffer()
55 …heckBuffer(NewBuffer + OldSize, Size - OldSize, 0), "HEAP_ZERO_MEMORY not respected for 0x%lx -> 0… in ReAllocBuffer()
59 …ok(CheckBuffer(NewBuffer, Size, 0x7a), "CheckBuffer failed at size 0x%lx -> 0x%lx\n", OldSize, Siz… in ReAllocBuffer()
61 *OldSizePtr = Size; in ReAllocBuffer()
69 SIZE_T Size; in START_TEST() local
95 for (Size = 0x78000; Size < 0x90000 && Continue; Size += 0x100) in START_TEST()
[all …]
/reactos/subsystems/mvdm/ntvdm/bios/
H A Dumamgr.c30 ULONG Size; member
55 ASSERT(Size > 0); in CreateUmaDescriptor()
61 UmaDesc->Size = Size; in CreateUmaDescriptor()
106 if (UmaDesc->Size > MaxSize) MaxSize = UmaDesc->Size; in UmaDescReserve()
194 *Size = (FoundUmaDesc->Size >> 4); in UmaDescReserve()
244 FoundUmaDesc->Size += NextDesc->Size; in UmaDescRelease()
250 PrevDesc->Size += FoundUmaDesc->Size; in UmaDescRelease()
282 if (UmaDesc->Size > MaxSize) MaxSize = UmaDesc->Size; in UmaDescReallocate()
343 FoundUmaDesc->Size + NextDesc->Size >= RequestSize) in UmaDescReallocate()
363 *Size = (FoundUmaDesc->Size >> 4); in UmaDescReallocate()
[all …]
/reactos/modules/rostests/apitests/kernel32/
H A DDeviceIoControl.c29 Size = 0; in GetDiskGeometry()
34 ok_type(Size == 0, "Invalid output size: %ld\n", Size); in GetDiskGeometry()
36 Size = 0; in GetDiskGeometry()
47 Size = 0; in GetDiskGeometry()
52 ok_type(Size == 0, "Invalid output size: %ld\n", Size); in GetDiskGeometry()
54 Size = 0; in GetDiskGeometry()
59 Size = 0; in GetDiskGeometry()
83 Size = 0; in QueryDeviceName()
110 Size = 0; in QueryDeviceName()
149 Size = 0; in QueryUniqueId()
[all …]
H A DGetComputerNameEx.c20 DWORD Size; in TestGetComputerNameEx() local
59 Size = 0x55555555; in TestGetComputerNameEx()
65 ok(Size == 0x55555555, "[%d] Got Size %lu\n", NameType, Size); in TestGetComputerNameEx()
67 Size = 0x55555555; in TestGetComputerNameEx()
73 ok(Size == 0x55555555, "[%d] Got Size %lu\n", NameType, Size); in TestGetComputerNameEx()
93 Size = 0; in TestGetComputerNameEx()
101 Size = 0; in TestGetComputerNameEx()
111 Size = 0; in TestGetComputerNameEx()
121 Size = 0; in TestGetComputerNameEx()
132 Size = ReferenceLen; in TestGetComputerNameEx()
[all …]
/reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/
H A Dmemory.c122 CurrentMcb->Size += NextMcb->Size + 1; in DosCombineFreeBlocks()
177 if (CurrentMcb->Size < Size) goto Next; in DosAllocateMemory()
243 if (CurrentMcb->Size > Size) in DosAllocateMemory()
252 NextMcb->Size = CurrentMcb->Size - Size - 1; in DosAllocateMemory()
257 CurrentMcb->Size = Size; in DosAllocateMemory()
265 Result += CurrentMcb->Size - Size; in DosAllocateMemory()
270 CurrentMcb->Size = Size; in DosAllocateMemory()
275 PreviousMcb->Size -= Size + 1; in DosAllocateMemory()
375 NextMcb->Size = Mcb->Size - NewSize - 1; in DosResizeMemory()
392 NextMcb->Size = Mcb->Size - NewSize - 1; in DosResizeMemory()
[all …]
H A Dhimem.c178 return Entry->Size ? Entry : NULL; in GetXmsHandleRecord()
261 HandleEntry->Size = Size; in XmsAlloc()
264 FreeBlocks -= Size; in XmsAlloc()
294 if (NewSize < HandleEntry->Size) in XmsRealloc()
299 HandleEntry->Size = NewSize; in XmsRealloc()
313 HandleEntry->Size = NewSize; in XmsRealloc()
375 FreeBlocks += HandleEntry->Size; in XmsFree()
708 setDX(HandleEntry->Size); in XmsBopProcedure()
735 setDX(Size); in XmsBopProcedure()
764 if (Size > 0) in XmsBopProcedure()
[all …]
/reactos/sdk/lib/cmlib/
H A Dhivecell.c98 LONG Size; in HvGetCellSize() local
103 Size = CellHeader->Size * -1; in HvGetCellSize()
374 Size = ROUND_UP(Size + sizeof(HCELL), 16); in HvAllocateCell()
398 if ((ULONG)FreeCell->Size > Size + 16) in HvAllocateCell()
401 NewCell->Size = FreeCell->Size - Size; in HvAllocateCell()
402 FreeCell->Size = Size; in HvAllocateCell()
411 FreeCell->Size = -FreeCell->Size; in HvAllocateCell()
487 Free->Size = -Free->Size; in HvFreeCell()
504 Free->Size += Neighbor->Size; in HvFreeCell()
523 Neighbor->Size += Free->Size; in HvFreeCell()
[all …]
/reactos/sdk/lib/rtl/
H A Dheap.c400 FreeEntry->Size = Size; in RtlpInsertFreeBlock()
656 UcrDescriptor->Size += Size; in RtlpInsertUnCommittedPages()
667 Size += UcrDescriptor->Size; in RtlpInsertUnCommittedPages()
690 UcrDescriptor->Size = Size; in RtlpInsertUnCommittedPages()
720 if (UcrDescriptor->Size >= *Size && in RtlpFindAndCommitPages()
755 UcrDescriptor->Size -= *Size; in RtlpFindAndCommitPages()
784 FreeEntry->Size = (*Size) >> HEAP_ENTRY_SHIFT; in RtlpFindAndCommitPages()
1403 FreeEntry->Size >= Size) in RtlpExtendHeap()
2104 if (Size) in RtlAllocateHeap()
2472 FreeSize = InUseEntry->Size + FreeEntry->Size; in RtlpGrowBlockInPlace()
[all …]
H A Dnls.c52 ULONG Size = 0; in RtlCustomCPToUnicodeN() local
237 ULONG Size = 0; in RtlMultiByteToUnicodeN() local
379 ULONG Size = 0; in RtlOemToUnicodeN() local
489 ULONG Size = 0; in RtlUnicodeToCustomCPN() local
532 ULONG Size = 0; in RtlUnicodeToMultiByteN() local
559 for (i = MbSize, Size = UnicodeSize / sizeof(WCHAR); i && Size; i--, Size--) in RtlUnicodeToMultiByteN()
649 ULONG Size = 0; in RtlUnicodeToOemN() local
661 Size++; in RtlUnicodeToOemN()
740 ULONG Size = 0; in RtlUpcaseUnicodeToCustomCPN() local
785 ULONG Size = 0; in RtlUpcaseUnicodeToMultiByteN() local
[all …]
/reactos/hal/halx86/generic/
H A Dx86bios.c152 _In_ ULONG *Size, in x86BiosAllocateBuffer() argument
171 *Size = PAGE_SIZE; in x86BiosAllocateBuffer()
208 _In_ ULONG Size) in x86BiosReadMemory() argument
235 _In_ ULONG Size) in x86BiosWriteMemory() argument
263 ULONG Size) in x86MemRead() argument
284 ULONG Size) in x86MemWrite() argument
301 UCHAR Size, in ValidatePort() argument
311 case 0x3C5: return (Size <= 2); in ValidatePort()
315 case 0x3CF: return (Size <= 2); in ValidatePort()
317 case 0x3D5: return (Size <= 2); in ValidatePort()
[all …]
/reactos/modules/rostests/apitests/include/
H A Dapitest_guard.h14 SIZE_T Size = PAGE_ROUND_UP(SizeRequested + PAGE_SIZE); in AllocateGuarded() local
23 Size -= PAGE_SIZE; in AllocateGuarded()
24 if (Size) in AllocateGuarded()
29 Size = 0; in AllocateGuarded()
30 Status = NtFreeVirtualMemory(NtCurrentProcess(), &VirtualMemory, &Size, MEM_RELEASE); in AllocateGuarded()
37 StartOfBuffer += Size - SizeRequested; in AllocateGuarded()
50 SIZE_T Size = 0; in FreeGuarded() local
52 Status = NtFreeVirtualMemory(NtCurrentProcess(), &VirtualMemory, &Size, MEM_RELEASE); in FreeGuarded()
64 SIZE_T Size = PAGE_ROUND_UP(SizeRequested); in MakeReadOnly() local
67 if (Size) in MakeReadOnly()
[all …]
/reactos/boot/freeldr/freeldr/arch/i386/pc98/
H A Dpc98hw.c157 ULONG Size; in DetectBiosFloppyPeripheral() local
232 ULONG Size; in DetectBiosFloppyController() local
321 ULONG Size; in Pc98GetHarddiskConfigurationData() local
383 ULONG Size; in DetectBiosDisks() local
472 ULONG Size; in DetectPointerPeripheral() local
509 ULONG Size; in DetectPointerController() local
588 ULONG Size; in DetectKeyboardPeripheral() local
659 ULONG Size; in DetectKeyboardController() local
721 ULONG Size; in DetectParallelPorts() local
808 ULONG Size; in DetectSerialPorts() local
[all …]
/reactos/drivers/bus/acpi/acpica/utilities/
H A Duttrack.c73 ACPI_SIZE Size,
141 ACPI_SIZE Size, in AcpiUtAllocateAndTrack() argument
152 if (!Size) in AcpiUtAllocateAndTrack()
156 Size = 1; in AcpiUtAllocateAndTrack()
179 AcpiGbl_GlobalList->TotalSize += (UINT32) Size; in AcpiUtAllocateAndTrack()
210 ACPI_SIZE Size, in AcpiUtAllocateZeroedAndTrack() argument
221 if (!Size) in AcpiUtAllocateZeroedAndTrack()
225 Size = 1; in AcpiUtAllocateZeroedAndTrack()
229 Size + sizeof (ACPI_DEBUG_MEM_HEADER)); in AcpiUtAllocateZeroedAndTrack()
406 ACPI_SIZE Size, in AcpiUtTrackAllocation() argument
[all …]
/reactos/boot/freeldr/freeldr/lib/mm/
H A Dheap.c45 USHORT Size; member
127 Block->Size = 0; in FrLdrHeapCreate()
165 Block->Size != 0; in FrLdrHeapVerify()
194 Block->Size != 0; in FrLdrHeapRelease()
216 if (Block->Size == 0) in FrLdrHeapRelease()
357 Block->Size != 0; in FrLdrHeapAllocateEx()
502 ((Block->Size + NextBlock->Size + 1) <= MAXUSHORT)) in FrLdrHeapFreeEx()
505 Block->Size += NextBlock->Size + 1; in FrLdrHeapFreeEx()
513 ((PrevBlock->Size + Block->Size + 1) <= MAXUSHORT)) in FrLdrHeapFreeEx()
516 PrevBlock->Size += Block->Size + 1; in FrLdrHeapFreeEx()
[all …]
/reactos/subsystems/mvdm/ntvdm/
H A Dmemory.c197 Size = min(Size, MAX_ADDRESS - Address); in EmulatorWriteMemory()
261 HeapBufferSize = Size; in EmulatorCopyMemory()
360 if (Size == 0) return FALSE; in MemRemoveFastMemoryHook()
417 IN ULONG Size, in MGetVdmPointer() argument
442 IN ULONG Size, in VdmFlushCache() argument
608 IN ULONG Size) in VDDAllocMem() argument
624 if (Size == 0) return FALSE; in VDDAllocMem()
656 IN ULONG Size) in VDDFreeMem() argument
672 if (Size == 0) return FALSE; in VDDFreeMem()
702 IN ULONG Size) in VDDIncludeMem() argument
[all …]
/reactos/drivers/sac/driver/
H A Dmemory.c48 Entry->Size = GlobalMemoryList->Size - sizeof(SAC_MEMORY_ENTRY); in InitializeMemoryManagement()
124 GlobalSize = GlobalDescriptor->Size; in MyAllocatePool()
139 LocalDescriptor->Size + in MyAllocatePool()
178 LocalDescriptor->Size = in MyAllocatePool()
196 NextDescriptor->Size = in MyAllocatePool()
214 LocalDescriptor->Size = PoolSize; in MyAllocatePool()
246 ASSERT(LocalDescriptor->Size > 0); in MyFreePool()
277 ThisDescriptor->Size + in MyFreePool()
302 LocalSize = LocalDescriptor->Size; in MyFreePool()
316 LocalDescriptor->Size += in MyFreePool()
[all …]
/reactos/win32ss/drivers/displays/vga/objects/
H A Doffscreen.c99 Previous->Size += SavedBits->Size; in VGADDI_FreeSavedScreenBits()
113 SavedBits->Size += Next->Size; in VGADDI_FreeSavedScreenBits()
121 VGADDI_AllocSavedScreenBits(ULONG Size) in VGADDI_AllocSavedScreenBits() argument
134 if (Current->Free && Current->Size >= Size && in VGADDI_AllocSavedScreenBits()
135 (Best == NULL || (Current->Size - Size) < (Best->Size - Size))) in VGADDI_AllocSavedScreenBits()
146 if (Best->Size == Size) in VGADDI_AllocSavedScreenBits()
155 New->Offset = Best->Offset + Size; in VGADDI_AllocSavedScreenBits()
156 New->Size = Size; in VGADDI_AllocSavedScreenBits()
157 Best->Size -= Size; in VGADDI_AllocSavedScreenBits()
175 FreeBits->Size = Length; in VGADDI_InitializeOffScreenMem()
/reactos/sdk/tools/mkhive/
H A Dreginf.c129 ULONG Size, Total; // In bytes in append_multi_sz_value() local
159 Total = Size; in append_multi_sz_value()
177 if (Total != Size) in append_multi_sz_value()
207 ULONG Size; in do_reg_operation() local
282 Size = 0; in do_reg_operation()
284 if (Size) in do_reg_operation()
312 Size = 0; in do_reg_operation()
314 if (Size) in do_reg_operation()
367 Size = 0; in do_reg_operation()
369 if (Size) in do_reg_operation()
[all …]
/reactos/sdk/include/ddk/
H A Dstorduid.h31 ULONG Size; member
40 ULONG Size; member
66 Duid2->Size < sizeof(STORAGE_DEVICE_UNIQUE_IDENTIFIER)) in CompareStorageDuids()
88 if (Duid1->Size == Duid2->Size) in CompareStorageDuids()
90 if (memcmp(Duid1, Duid2, Duid1->Size) == 0) in CompareStorageDuids()
116 if (idDesc1->Size == idDesc2->Size) in CompareStorageDuids()
118 if (memcmp(idDesc1, idDesc2, idDesc1->Size) == 0) in CompareStorageDuids()
162 if (desc1->Size < sizeof(STORAGE_DEVICE_DESCRIPTOR) || in CompareStorageDuids()
163 desc2->Size < sizeof(STORAGE_DEVICE_DESCRIPTOR)) in CompareStorageDuids()
168 if (desc1->Size == desc2->Size) in CompareStorageDuids()
[all …]
/reactos/sdk/lib/inflib/
H A Dbuilddep.h19 #define MALLOC(Size) malloc((size_t)(Size)) argument
20 #define ZEROMEMORY(Area, Size) memset((Area), '\0', (size_t)(Size)) argument
21 #define MEMCPY(Dest, Src, Size) memcpy((Dest), (Src), (size_t)(Size)) argument
73 #define MALLOC(Size) RtlAllocateHeap(InfpHeap, 0, (Size)) argument
74 #define ZEROMEMORY(Area, Size) RtlZeroMemory((Area), (Size)) argument
75 #define MEMCPY(Dest, Src, Size) RtlCopyMemory((Dest), (Src), (Size)) argument
/reactos/sdk/lib/drivers/wdf/kmdf/inc/private/
H A Dwdf19.h223 ULONG Size; member
252 ULONG Size; member
345 ULONG Size; member
390 ULONG Size; member
443 ULONG Size; member
523 ULONG Size; member
701 ULONG Size; member
741 ULONG Size; member
763 ULONG Size; member
814 ULONG Size; member
[all …]
H A Dwdf11.h211 ULONG Size; member
240 ULONG Size; member
333 ULONG Size; member
412 ULONG Size; member
590 ULONG Size; member
630 ULONG Size; member
650 ULONG Size; member
693 ULONG Size; member
726 ULONG Size; member
773 ULONG Size; member
[all …]
/reactos/drivers/ksfilter/ks/
H A Dconnectivity.c70 ULONG Size; in KspValidateConnectRequest() local
83 Size = sizeof(KSPIN_CONNECT); in KspValidateConnectRequest()
242 ULONG Size; in KspReadMediaCategory() local
335 ULONG Size, Index; in KspPinPropertyHandler() local
433 Item->Size = Size; in KspPinPropertyHandler()
440 Item->Size = Size; in KspPinPropertyHandler()
533 Size = sizeof(GUID); in KspPinPropertyHandler()
711 ULONG Size; in KsPinDataIntersection() local
780 ULONG Size; in KsHandleSizedListQuery() local
804 Item->Size = Size; in KsHandleSizedListQuery()
[all …]

12345678910>>...55