/vbox/src/VBox/GuestHost/OpenGL/include/ |
H A D | cr_glext.h | 29 AssertCompile(sizeof (VBoxGLhandleARB) == sizeof (GLhandleARB)); variable
|
/vbox/src/VBox/HostDrivers/VBoxUSB/win/dev/ |
H A D | VBoxUsbDev.h | 43 AssertCompile(sizeof (ENMVBOXUSB_PNPSTATE) == sizeof (uint32_t)); variable
|
/vbox/src/VBox/GuestHost/OpenGL/glapi_parser/ |
H A D | apiutil.py | 654 def sizeof(type): function 686 size = sizeof(type)
|
/vbox/src/VBox/HostServices/SharedOpenGL/render/ |
H A D | renderspu_cocoa.c | 72 if (RTProcGetExecutablePath(pszName, sizeof(pszName))) 318 AssertCompile(sizeof (GLhandleARB) == sizeof (void*)); variable 369 paAttachments = crCalloc(maxCount * sizeof (*paAttachments));
|
H A D | renderspu.h | 43 AssertCompile(sizeof (Window) == sizeof (unsigned long)); variable
|
/vbox/src/VBox/Main/src-client/ |
H A D | EbmlWriter.cpp | 369 writeSize(sizeof(double)); 382 inline void writeUnsignedInteger(uint64_t value, size_t size = sizeof(uint64_t)) argument 386 write(reinterpret_cast<uint8_t*>(&value) + sizeof(value) - size, size); 655 RTStrPrintf(szVersion, sizeof(szVersion), "vpxenc%s",
|
/vbox/src/VBox/ValidationKit/utils/network/ |
H A D | NetPerf.cpp | 65 #define NETPERF_MIN_PKT_SIZE sizeof(NETPERFHDR) 215 AssertCompile(sizeof(g_szAck) == sizeof(g_szNegative)); variable 248 RTPathFilename(RTProcGetExecutablePath(szExec, sizeof(szExec)))); 308 RTStrPrintf(szOpt, sizeof(szOpt), "%s, -%c", g_aCmdOptions[i].pszLong, g_aCmdOptions[i].iShort); 340 size_t cch = RTStrPrintf(&szBuf[NETPERF_LEN_PREFIX], sizeof(szBuf) - NETPERF_LEN_PREFIX, 360 rc = RTTcpRead(hSocket, szBuf, sizeof(g_szAck) - 1, NULL); 363 szBuf[sizeof(g_szAck) - 1] = '\0'; 395 if (cch >= sizeof(szBuf)) 407 if ( strncmp(szBuf, g_szStartStats, sizeof(g_szStartStat [all...] |
/vbox/src/VBox/HostDrivers/VBoxNetFlt/win/drv/ |
H A D | VBoxNetFltCmn-win.h | 224 AssertCompile((sizeof(VBOXNETFLT_PACKET_INFO) & (sizeof(PVOID) - 1)) == 0); 521 AssertCompile(sizeof (VBOXNETFLT_PKTRSVD_TRANSFERDATA_PT) <= PROTOCOL_RESERVED_SIZE_IN_PACKET); 523 AssertCompile(sizeof (VBOXNETFLT_PKTRSVD_MP) <= RT_SIZEOFMEMB(NDIS_PACKET, MiniportReserved)); 525 AssertCompile(sizeof (NDIS_DEVICE_POWER_STATE) == sizeof (uint32_t)); variable 526 AssertCompile(sizeof (UINT) == sizeof (uint32_t)); variable
|
/vbox/src/VBox/HostDrivers/VBoxUSB/win/lib/ |
H A D | VBoxUsbLib-win.cpp | 125 if (!DeviceIoControl(hOut, SUPUSB_IOCTL_GET_VERSION, NULL, 0,&version, sizeof(version), &cbReturned, NULL)) 173 DevInfoData.cbSize = sizeof (DevInfoData); 174 /* the cbSize should contain the sizeof a fixed-size part according to the docs */ 175 pIfDetailData->cbSize = sizeof (*pIfDetailData); 190 strncpy(pVuDev->szName, pIfDetailData->DevicePath, sizeof (pVuDev->szName)); 195 sizeof (pVuDev->szDriverRegName), 199 AssertMsgFailed(("SetupDiGetDeviceRegistryPropertyA, cbRequired (%d), was (%d), winEr (%d)\n", cbDbgRequired, sizeof (pVuDev->szDriverRegName), winEr)); 242 IfData.cbSize = sizeof (IfData); 258 PVBOXUSB_DEV pVuDev = (PVBOXUSB_DEV)RTMemAllocZ(sizeof (*pVuDev)); 379 if (!DeviceIoControl(hHub, IOCTL_USB_GET_NODE_CONNECTION_DRIVERKEY_NAME, &Name, sizeof (Nam 1068 AssertCompile(sizeof (RTMSINTERVAL) == sizeof (DWORD)); variable [all...] |
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/d3d9/ |
H A D | device.c | 440 if (!(wined3d_caps = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*wined3d_caps)))) 443 memset(caps, 0, sizeof(*caps)); 857 object = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*object)); 892 object = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*object)); 926 object = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*object)); 975 object = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*object)); 1024 object = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*object)); 1061 object = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*object)); 1094 object = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*object)); 1126 object = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*objec 3893 AssertCompile(sizeof (struct wined3d_box) == sizeof (VBOXBOX3D)); variable [all...] |
/vbox/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/ |
H A D | VBoxDispD3D.cpp | 269 memset(pData->pAllocationList, 0, sizeof (D3DDDI_ALLOCATIONLIST)); 274 memset(pData->pPatchLocationList, 0, sizeof (D3DDDI_PATCHLOCATIONLIST)); 328 Assert(NscAdd.cbCommandBuffer >= sizeof (VBOXWDDM_DMA_PRIVATEDATA_BASEHDR)); 329 if (NscAdd.cbCommandBuffer < sizeof (VBOXWDDM_DMA_PRIVATEDATA_BASEHDR)) 334 NscAdd.pvCommandBuffer = (VOID*)(((uint8_t*)NscAdd.pvCommandBuffer) + sizeof (*pHdr)); 335 NscAdd.cbCommandBuffer -= sizeof (*pHdr); 340 memset(aDbgAllocs, 0, sizeof (aDbgAllocs)); 387 // RenderData.NewCommandBufferSize = sizeof (VBOXVDMACMD) + 4 * (100); 721 memset(pSwapchain, 0, sizeof (VBOXWDDMDISP_SWAPCHAIN)); 734 memset(&Buf.SwapchainInfo, 0, sizeof (Bu 2994 AssertCompile(sizeof (D3DDDIBOX) == sizeof (VBOXBOX3D)); variable 3156 AssertCompile(sizeof (RECT) == sizeof (D3DRECT)); variable 3381 AssertCompile(sizeof (D3DDDIBOX) == sizeof (D3DBOX)); variable 4788 AssertCompile(sizeof (D3DDDIVERTEXELEMENT) == sizeof (D3DVERTEXELEMENT9)); variable 5644 AssertCompile(sizeof (RECT) == sizeof (D3DDDIRECT)); variable [all...] |
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/d3d9/ |
H A D | device.c | 393 pWineCaps = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(WINED3DCAPS)); 399 memset(pCaps, 0, sizeof(*pCaps)); 503 object = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*object)); 836 object = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*object)); 874 object = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*object)); 899 AssertCompile(sizeof (WINED3DBOX) == sizeof (VBOXBOX3D)); variable 987 object = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*object)); 1025 object = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*object)); 1066 object = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*objec [all...] |