Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_mmap.py8 PAGESIZE = mmap.PAGESIZE variable
29 f.write('\0'* PAGESIZE)
31 f.write('\0'* (PAGESIZE-3) )
33 m = mmap.mmap(f.fileno(), 2 * PAGESIZE)
39 self.assertEqual(m.find('foo'), PAGESIZE)
41 self.assertEqual(len(m), 2*PAGESIZE)
52 m[PAGESIZE +3: PAGESIZE +3+3] = 'bar'
57 self.assertEqual(m[PAGESIZE-1 : PAGESIZE + 7], '\0foobar\0')
69 self.assertEqual(start, PAGESIZE)
70 self.assertEqual(end, PAGESIZE + 6)
[all …]
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Pei/
DUsbHcMem.c47 PageNumber = sizeof(USBHC_MEM_BLOCK)/PAGESIZE +1; in UsbHcAllocMemBlock()
69 PageNumber = (Block->BitsLen)/PAGESIZE +1; in UsbHcAllocMemBlock()
295 PageNumber = sizeof(USBHC_MEM_POOL)/PAGESIZE +1; in UsbHcInitMemPool()
DOhcPeim.h46 #define PAGESIZE 4096 macro
DOhcPeim.c1348 MemPages = sizeof (USB_OHCI_HC_DEV) / PAGESIZE + 1; in OhcPeimEntry()
1358 ZeroMem((VOID *)(UINTN)TempPtr, MemPages*PAGESIZE); in OhcPeimEntry()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/EhciPei/
DUsbHcMem.c46 PageNumber = sizeof(USBHC_MEM_BLOCK)/PAGESIZE +1; in UsbHcAllocMemBlock()
68 PageNumber = (Block->BitsLen)/PAGESIZE +1; in UsbHcAllocMemBlock()
292 PageNumber = sizeof(USBHC_MEM_POOL)/PAGESIZE +1; in UsbHcInitMemPool()
DEhcPeim.h45 #define PAGESIZE 4096 macro
DEhcPeim.c456 PageNumber = sizeof(PEI_URB)/PAGESIZE +1; in EhcInitHC()
1199 MemPages = sizeof (PEI_USB2_HC_DEV) / PAGESIZE + 1; in EhcPeimEntry()
1209 ZeroMem((VOID *)(UINTN)TempPtr, MemPages*PAGESIZE); in EhcPeimEntry()