Searched refs:x_shminfo (Results 1 - 3 of 3) sorted by relevance

/external/quake/quake/src/QW/client/
H A Dvid_x.c90 //static XShmSegmentInfo x_shminfo;
99 static XShmSegmentInfo x_shminfo[2]; variable
311 XShmDetach(x_disp, &x_shminfo[frm]);
313 shmdt(x_shminfo[frm].shmaddr);
323 &x_shminfo[frm],
335 x_shminfo[frm].shmid = shmget((key_t)key, size, IPC_CREAT|0777);
336 if (x_shminfo[frm].shmid==-1)
340 x_shminfo[frm].shmaddr =
341 (void *) shmat(x_shminfo[frm].shmid, 0, 0);
343 printf("VID: shared memory id=%d, addr=0x%lx\n", x_shminfo[fr
[all...]
/external/quake/quake/src/WinQuake/
H A Dvid_sunx.cpp131 //static XShmSegmentInfo x_shminfo;
140 static XShmSegmentInfo x_shminfo[2]; variable
445 XShmDetach(x_disp, &x_shminfo[frm]);
447 shmdt(x_shminfo[frm].shmaddr);
457 &x_shminfo[frm],
469 x_shminfo[frm].shmid = shmget((key_t)key, size, IPC_CREAT|0777);
470 if (x_shminfo[frm].shmid==-1)
474 x_shminfo[frm].shmaddr =
475 (void *) shmat(x_shminfo[frm].shmid, 0, 0);
477 printf("VID: shared memory id=%d, addr=0x%x\n", x_shminfo[fr
[all...]
H A Dvid_x.cpp84 //static XShmSegmentInfo x_shminfo;
93 static XShmSegmentInfo x_shminfo[2]; variable
390 XShmDetach(x_disp, &x_shminfo[frm]);
392 shmdt(x_shminfo[frm].shmaddr);
402 &x_shminfo[frm],
414 x_shminfo[frm].shmid = shmget((key_t)key, size, IPC_CREAT|0777);
415 if (x_shminfo[frm].shmid==-1)
419 x_shminfo[frm].shmaddr =
420 (void *) shmat(x_shminfo[frm].shmid, 0, 0);
422 printf("VID: shared memory id=%d, addr=0x%lx\n", x_shminfo[fr
[all...]

Completed in 47 milliseconds