| /vbox/include/iprt/ |
| H A D | handle.h | 43 * @param ph Pointer to the generic handle. The structure handle 47 RTDECL(int) RTHandleClose(PRTHANDLE ph); variable 54 * @param ph Pointer to the generic handle. This will contain 57 RTDECL(int) RTHandleGetStandard(RTHANDLESTD enmStdHandle, PRTHANDLE ph);
|
| /vbox/src/VBox/Runtime/common/misc/ |
| H A D | handle.cpp | 40 RTDECL(int) RTHandleClose(PRTHANDLE ph) argument 43 if (ph) 45 switch (ph->enmType) 48 rc = RTFileClose(ph->u.hFile); 49 ph->u.hFile = NIL_RTFILE; 53 rc = RTPipeClose(ph->u.hPipe); 54 ph->u.hPipe = NIL_RTPIPE; 68 AssertMsgFailed(("Invalid type %d\n", ph->enmType));
|
| H A D | handletablectx.cpp | 45 RTDECL(int) RTHandleTableAllocWithCtx(RTHANDLETABLE hHandleTable, void *pvObj, void *pvCtx, uint32_t *ph) argument 56 AssertPtrReturn(ph, VERR_INVALID_POINTER); 57 *ph = pThis->uBase - 1; 88 *ph = i + pThis->uBase;
|
| H A D | handletablesimple.cpp | 45 RTDECL(int) RTHandleTableAlloc(RTHANDLETABLE hHandleTable, void *pvObj, uint32_t *ph) argument 53 AssertPtrReturn(ph, VERR_INVALID_POINTER); 54 *ph = pThis->uBase - 1; 84 *ph = i + pThis->uBase;
|
| /vbox/src/VBox/Runtime/r3/posix/ |
| H A D | RTHandleGetStandard-posix.cpp | 55 RTDECL(int) RTHandleGetStandard(RTHANDLESTD enmStdHandle, PRTHANDLE ph) argument 60 AssertPtrReturn(ph, VERR_INVALID_POINTER); 128 *ph = h;
|
| /vbox/src/VBox/Runtime/r3/win/ |
| H A D | RTHandleGetStandard-win.cpp | 45 RTDECL(int) RTHandleGetStandard(RTHANDLESTD enmStdHandle, PRTHANDLE ph) argument 50 AssertPtrReturn(ph, VERR_INVALID_POINTER); 122 *ph = h;
|
| /vbox/src/VBox/Main/src-server/ |
| H A D | ClientWatcher.cpp | 293 HANDLE ph = OpenProcess(SYNCHRONIZE, FALSE, pid); local 294 AssertMsg(ph != NULL, ("OpenProcess (pid=%d) failed with %d\n", 296 if (ph != NULL) 299 handles[1 + cnt + cntSpawned] = ph;
|
| /vbox/src/VBox/NetworkServices/NAT/ |
| H A D | proxy_rtadvd.c | 287 struct pbuf *ph, *pp; local 290 ph = pbuf_alloc(PBUF_IP, 0, PBUF_RAM); 291 if (ph == NULL) { 299 pbuf_free(ph); 303 pbuf_chain(ph, pp); 305 error = ip6_output_if(ph, 317 pbuf_free(ph);
|
| /vbox/src/VBox/Devices/Network/lwip-new/src/netif/ppp/ |
| H A D | ppp_oe.c | 298 struct pppoehdr *ph; local 326 ph = (struct pppoehdr *) (ethhdr + 1); 327 if (ph->vertype != PPPOE_VERTYPE) { 328 printf("pppoe: unknown version/type packet: 0x%x\n", ph->vertype); 331 session = ntohs(ph->session); 332 plen = ntohs(ph->plen); 333 off += sizeof(*ph); 410 switch (ph->code) { 537 (u16_t)ph->code, session); 539 printf("pppoe: unknown code (0x%"X16_F") session = 0x%"X16_F"\n", (u16_t)ph 565 struct pppoehdr *ph; local [all...] |
| /vbox/src/VBox/Devices/Graphics/shaderlib/wine/vbox/ |
| H A D | VBoxDbgGl.c | 120 void dbglGetTexImage2D(const struct wined3d_gl_info *gl_info, GLint texTarget, GLint texName, GLint level, GLvoid **ppvImage, GLint *pw, GLint *ph, GLenum format, GLenum type) argument 194 *ph = dsth;
|
| /vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/vbox/ |
| H A D | VBoxDbgGl.c | 129 void dbglGetTexImage2D(const struct wined3d_gl_info *gl_info, GLint texTarget, GLint texName, GLint level, GLvoid **ppvImage, GLint *pw, GLint *ph, GLenum format, GLenum type) argument 203 *ph = dsth;
|
| /vbox/src/VBox/Additions/WINNT/Graphics/Wine/vbox/ |
| H A D | VBoxDbgGl.c | 120 void dbglGetTexImage2D(const struct wined3d_gl_info *gl_info, GLint texTarget, GLint texName, GLint level, GLvoid **ppvImage, GLint *pw, GLint *ph, GLenum format, GLenum type) argument 194 *ph = dsth;
|
| /vbox/src/VBox/Main/src-client/ |
| H A D | DisplayImplLegacy.cpp | 53 static unsigned mapCoordsToScreen(DISPLAYFBINFO *pInfos, unsigned cInfos, int *px, int *py, int *pw, int *ph) argument 57 LogSunlover(("mapCoordsToScreen: %d,%d %dx%d\n", *px, *py, *pw, *ph));
|
| H A D | DisplayImpl.cpp | 961 static void i_checkCoordBounds(int *px, int *py, int *pw, int *ph, int cx, int cy) argument 975 *py += *ph; /* Compute xBottom, which is also the new height. */ 977 *ph = (*py < 0)? 0: *py; 988 if (*py + *ph > cy) 990 *ph = cy > *py? cy - *py: 0;
|
| /vbox/src/VBox/Storage/ |
| H A D | VDICore.h | 267 #define GET_MAJOR_HEADER_VERSION(ph) (VDI_GET_VERSION_MAJOR((ph)->uVersion)) 268 #define GET_MINOR_HEADER_VERSION(ph) (VDI_GET_VERSION_MINOR((ph)->uVersion)) 295 DECLINLINE(VDIIMAGETYPE) getImageType(PVDIHEADER ph) argument 297 switch (GET_MAJOR_HEADER_VERSION(ph)) 299 case 0: return (VDIIMAGETYPE)ph->u.v0.u32Type; 300 case 1: return (VDIIMAGETYPE)ph->u.v1.u32Type; 306 DECLINLINE(unsigned) getImageFlags(PVDIHEADER ph) argument 308 switch (GET_MAJOR_HEADER_VERSION(ph)) 321 getImageComment(PVDIHEADER ph) argument 332 getImageBlocksOffset(PVDIHEADER ph) argument 343 getImageDataOffset(PVDIHEADER ph) argument 355 setImageDataOffset(PVDIHEADER ph, uint32_t offData) argument 365 getImageLCHSGeometry(PVDIHEADER ph) argument 384 getImageDiskSize(PVDIHEADER ph) argument 395 setImageDiskSize(PVDIHEADER ph, uint64_t cbDisk) argument 405 getImageBlockSize(PVDIHEADER ph) argument 416 getImageExtraBlockSize(PVDIHEADER ph) argument 427 getImageBlocks(PVDIHEADER ph) argument 438 setImageBlocks(PVDIHEADER ph, unsigned cBlocks) argument 449 getImageBlocksAllocated(PVDIHEADER ph) argument 460 setImageBlocksAllocated(PVDIHEADER ph, unsigned cBlocks) argument 470 getImageCreationUUID(PVDIHEADER ph) argument 481 getImageModificationUUID(PVDIHEADER ph) argument 492 getImageParentUUID(PVDIHEADER ph) argument 503 getImageParentModificationUUID(PVDIHEADER ph) argument [all...] |
| /vbox/src/VBox/Additions/common/VBoxService/ |
| H A D | VBoxServiceControlProcess.cpp | 51 static int gstcntlProcessSetupPipe(const char *pszHowTo, int fd, PRTHANDLE ph, PRTHANDLE *pph, PRTPIPE phPipe); 895 * @param ph The pipe's handle to initialize. 898 static int gstcntlProcessInitPipe(PRTHANDLE ph, PRTPIPE phPipe) argument 900 AssertPtrReturn(ph, VERR_INVALID_PARAMETER); 903 ph->enmType = RTHANDLETYPE_PIPE; 904 ph->u.hPipe = NIL_RTPIPE; 918 * @param ph The generic handle that @a pph may be set 926 PRTHANDLE ph, PRTHANDLE *pph, PRTPIPE phPipe) 928 AssertPtrReturn(ph, VERR_INVALID_POINTER); 934 ph 925 gstcntlProcessSetupPipe(const char *pszHowTo, int fd, PRTHANDLE ph, PRTHANDLE *pph, PRTPIPE phPipe) argument [all...] |
| /vbox/src/VBox/HostServices/SharedOpenGL/crserverlib/ |
| H A D | server_misc.c | 629 void crDbgGetTexImage2D(GLint texTarget, GLint texName, GLvoid **ppvImage, GLint *pw, GLint *ph) argument 703 *ph = dsth;
|
| /vbox/src/VBox/ValidationKit/utils/TestExecServ/ |
| H A D | TestExecService.cpp | 2230 * @param ph The generic handle that @a pph may be set 2237 static int txsExecSetupRedir(PTXSEXEC pTxsExec, const char *pszHowTo, const char *pszStdWhat, int fd, PRTHANDLE ph, PRTHANDLE *pph, PRTPIPE phPipe) argument 2239 ph->enmType = RTHANDLETYPE_PIPE; 2240 ph->u.hPipe = NIL_RTPIPE; 2251 rc = RTPipeCreate(&ph->u.hPipe, phPipe, RTPIPE_C_INHERIT_READ); 2253 rc = RTPipeCreate(phPipe, &ph->u.hPipe, RTPIPE_C_INHERIT_WRITE); 2256 ph->enmType = RTHANDLETYPE_PIPE; 2257 *pph = ph; 2269 ph->enmType = RTHANDLETYPE_FILE; 2270 ph [all...] |