Home
last modified time | relevance | path

Searched refs:ptr2real (Results 1 – 9 of 9) sorted by relevance

/external/quake/quake/src/WinQuake/
Ddos_v2.cpp53 unsigned int ptr2real(void *ptr) in ptr2real() function
72 return ((ptr2real(ptr)&~0xf) << 12) + (ptr2real(ptr) & 0xf); in ptr2far()
165 segment = ptr2real(ptr) >> 4; in dos_freememory()
Dnet_ipx.cpp176 regs.x.es = ptr2real(ecb) >> 4; in IPX_ListenForPacket()
177 regs.x.si = ptr2real(ecb) & 0xf; in IPX_ListenForPacket()
259 lowmem_bufoff = ptr2real(lowmem_buffer) & 0xf; in IPX_Init()
260 lowmem_bufseg = ptr2real(lowmem_buffer) >> 4; in IPX_Init()
277 lma->socketbuffer[s][n].ecb.fragOff = ptr2real(&lma->socketbuffer[s][n].header) & 0xf; in IPX_Init()
278 lma->socketbuffer[s][n].ecb.fragSeg = ptr2real(&lma->socketbuffer[s][n].header) >> 4; in IPX_Init()
540 regs.x.es = ptr2real(&lma->socketbuffer[handle][0].ecb) >> 4; in IPX_Write()
541 regs.x.si = ptr2real(&lma->socketbuffer[handle][0].ecb) & 0xf; in IPX_Write()
567 regs.x.es = ptr2real(&lma->socketbuffer[handle][0].ecb) >> 4; in IPX_Write()
568 regs.x.si = ptr2real(&lma->socketbuffer[handle][0].ecb) & 0xf; in IPX_Write()
Dvid_ext.cpp204 regs.x.es = ptr2real(ppal) >> 4; in VID_SetVESAPalette()
205 regs.x.di = ptr2real(ppal) & 0xf; in VID_SetVESAPalette()
311 regs.x.es = ptr2real(pinfoblock) >> 4; in VID_InitExtra()
312 regs.x.di = ptr2real(pinfoblock) & 0xf; in VID_InitExtra()
454 regs.x.es = ptr2real(infobuf) >> 4; in VID_ExtraGetModeInfo()
455 regs.x.di = ptr2real(infobuf) & 0xf; in VID_ExtraGetModeInfo()
Dcd_audio.cpp855 cdRequestSegment = ptr2real(cdRequest) >> 4; in CDAudio_Init()
856 cdRequestOffset = ptr2real(cdRequest) & 0xf; in CDAudio_Init()
859 readInfoSegment = ptr2real(readInfo) >> 4; in CDAudio_Init()
860 readInfoOffset = ptr2real(readInfo) & 0xf; in CDAudio_Init()
Ddosisms.h73 unsigned int ptr2real(void *ptr);
Dsnd_dos.cpp282 realaddr = ptr2real(dma_buffer); in StartDMA()
448 realaddr = ptr2real(dma_buffer); in BLASTER_Init()
Dsnd_gus.cpp874 RealAddr = ptr2real(dma_buffer); in GUS_StartDMA()
1128 RealAddr = ptr2real(dma_buffer); in GUS_Init()
1184 RealAddr = ptr2real(dma_buffer); in GUS_Init()
Dnet_bw.cpp323 lowmem_bufoff = ptr2real(lowmem_buffer) & 0xf; in BW_Init()
324 lowmem_bufseg = ptr2real(lowmem_buffer) >> 4; in BW_Init()
/external/quake/quake/src/QW/client/
Dcd_audio.c851 cdRequestSegment = ptr2real(cdRequest) >> 4; in CDAudio_Init()
852 cdRequestOffset = ptr2real(cdRequest) & 0xf; in CDAudio_Init()
855 readInfoSegment = ptr2real(readInfo) >> 4; in CDAudio_Init()
856 readInfoOffset = ptr2real(readInfo) & 0xf; in CDAudio_Init()