/vbox/src/VBox/HostDrivers/Support/testcase/ |
H A D | tstInt.cpp | 49 int rc; local 59 rc = SUPR3Init(&pSession); 60 rcRet += rc != 0; 61 RTPrintf("tstInt: SUPR3Init -> rc=%Rrc\n", rc); 63 if (!rc) 65 rc = RTPathExecDir(szFile, sizeof(szFile) - sizeof("/VMMR0.r0")); 68 if (RT_SUCCESS(rc)) 71 rc = RTPathAbs(szFile, szAbsFile, sizeof(szAbsFile)); 73 if (RT_SUCCESS(rc)) [all...] |
H A D | tstSupSem-Zombie.cpp | 57 int rc = SUPSemEventWaitNoResume(g_pSession, hEvent, 120*1000); local 58 AssertReleaseMsgFailed(("%Rrc\n", rc)); 59 return rc; 67 int rc = SUPSemEventMultiWaitNoResume(g_pSession, hEventMulti, 120*1000); local 68 AssertReleaseMsgFailed(("%Rrc\n", rc)); 69 return rc; 77 int rc = SUPSemEventWaitNoResume(g_pSession, hEvent, RT_INDEFINITE_WAIT); local 78 AssertReleaseMsgFailed(("%Rrc\n", rc)); 79 return rc; 87 int rc local 97 int rc = RTR3InitExeNoArguments(RTR3INIT_FLAGS_SUPLIB); local 165 int rc = RTTestInitAndCreate("tstSupSem-Zombie", &hTest); local [all...] |
H A D | tstSupTscDelta.cpp | 86 int rc = SUPR3Init(&pSession); local 87 if (RT_SUCCESS(rc)) 172 rc = SUPR3TscDeltaMeasure(pGip->aCPUs[iCpu].idCpu, false /*fAsync*/, true /*fForce*/, 64, 16 /*ms*/); 173 if (RT_FAILURE(rc)) 174 RTTestFailed(hTest, "SUPR3TscDeltaMeasure failed on %#x: %Rrc", pGip->aCPUs[iCpu].idCpu, rc); 221 RTTestFailed(hTest, "SUPR3Init failed: %Rrc", rc);
|
/vbox/src/VBox/HostDrivers/VBoxUSB/solaris/ |
H A D | USBLib-solaris.cpp | 83 int rc = RTFileOpen(&File, VBOXUSB_DEVICE_NAME, RTFILE_O_READWRITE | RTFILE_O_OPEN | RTFILE_O_DENY_NONE); local 84 if (RT_FAILURE(rc)) 86 LogRel((USBLIBR3 ":failed to open the VBoxUSB monitor device node '%s' rc=%Rrc\n", VBOXUSB_DEVICE_NAME, rc)); 87 return rc; 97 rc = usblibDoIOCtl(VBOXUSBMON_IOCTL_GET_VERSION, &Req, sizeof(Req)); 98 if (RT_SUCCESS(rc)) 103 rc = VERR_VERSION_MISMATCH; 110 return rc; 115 LogRel((USBLIBR3 ":USBMonitor driver version query failed. rc 143 int rc = RTFileClose(File); local 157 int rc = usblibDoIOCtl(VBOXUSBMON_IOCTL_ADD_FILTER, &Req, sizeof(Req)); local 173 int rc = usblibDoIOCtl(VBOXUSBMON_IOCTL_REMOVE_FILTER, &Req, sizeof(Req)); local 194 int rc = usblibDoIOCtl(VBOXUSBMON_IOCTL_CLIENT_INFO, &Req, sizeof(Req)); local 223 int rc = usblibDoIOCtl(VBOXUSBMON_IOCTL_RESET_DEVICE, pReq, cbReq); local 245 int rc = ioctl(RTFileToNative(g_hFile), iFunction, &Hdr); local [all...] |
/vbox/src/VBox/HostDrivers/VBoxUSB/win/Install/ |
H A D | USBInstall.cpp | 74 int rc = usblibOsCreateService(); local 76 if (RT_SUCCESS(rc)) 92 rc = -1; 96 if (RT_SUCCESS(rc)) 97 rc = 0; 100 return rc; 123 int rc = RTErrConvertFromWin32(dwLastError); local 125 AssertMsg(hSMgrCreate, ("OpenSCManager(,,create) failed rc=%d\n", dwLastError)); 135 rc = RTErrConvertFromWin32(dwLastError); 157 rc 182 int rc = RTErrConvertFromWin32(dwLastError); local 187 int rc = RTPathExecDir(szDriver, sizeof(szDriver) - sizeof("\\\\VBoxUSBMon.sys")); local [all...] |
H A D | USBUninstall.cpp | 104 int rc = -1; local 107 AssertMsg(hSMgr, ("OpenSCManager(,,delete) failed rc=%d\n", LastError)); 119 rc = 0; 129 rc = 0; 141 rc = 0; 149 return rc; 164 int rc = -1; local 167 AssertMsg(hSMgr, ("OpenSCManager(,,delete) failed rc=%d\n", LastError)); 177 rc = 0; 186 rc [all...] |
/vbox/src/VBox/HostServices/SharedClipboard/ |
H A D | darwin.cpp | 58 int rc = queryNewPasteboardFormats (pCtx->pasteboard, &fFormats, &fChanged); local 59 if (RT_SUCCESS (rc) && fChanged) 65 return rc; 113 int rc = initPasteboard (&g_ctx.pasteboard); local 114 AssertRCReturn (rc, rc); 116 rc = RTThreadCreate (&g_ctx.thread, vboxClipboardThread, &g_ctx, 0, 118 if (RT_FAILURE (rc)) 124 return rc; 136 int rc local 169 int rc = vboxClipboardSync (pClient); local 183 int rc = vboxClipboardChanged (pClient->pCtx); local 237 int rc = readFromPasteboard (pClient->pCtx->pasteboard, u32Format, pv, cb, pcbActual); local [all...] |
/vbox/src/VBox/HostServices/SharedClipboard/testcase/ |
H A D | tstClipboardServiceHost.cpp | 40 int rc; local 43 rc = setupTable(&table); 44 RTTESTI_CHECK_MSG_RETV(RT_SUCCESS(rc), ("rc=%Rrc\n", rc)); local 47 rc = table.pfnHostCall(NULL, VBOX_SHARED_CLIPBOARD_HOST_FN_SET_MODE, 49 RTTESTI_CHECK_RC_OK(rc); 53 rc = table.pfnHostCall(NULL, VBOX_SHARED_CLIPBOARD_HOST_FN_SET_MODE, 55 RTTESTI_CHECK_RC(rc, VERR_INVALID_PARAMETER); 56 rc 84 int rc; local 88 RTTESTI_CHECK_MSG_RETV(RT_SUCCESS(rc), ("rc=%Rrc\\n", rc)); local [all...] |
/vbox/src/VBox/HostServices/SharedOpenGL/OpenGLTest/ |
H A D | OpenGLTestDarwin.cpp | 96 int rc = RTOnce(&s_Once, vboxOglIsOfflineRenderingAppropriateOnce, &s_fCached); local 97 AssertRC(rc);
|
/vbox/src/VBox/HostServices/auth/simple/ |
H A D | VBoxAuthSimple.cpp | 94 HRESULT rc; local 96 rc = virtualBox.createLocalObject(CLSID_VirtualBox); 97 if (SUCCEEDED(rc))
|
/vbox/src/VBox/Devices/PC/ipxe/src/hci/commands/ |
H A D | digest_cmd.c | 56 * @ret rc Return status code 70 int rc; local 73 if ( ( rc = parse_options ( argc, argv, &digest_cmd, &opts ) ) != 0 ) 74 return rc; 79 if ( ( rc = imgacquire ( argv[i], &image ) ) != 0 )
|
H A D | fcmgmt_cmd.c | 43 * @ret rc Return status code 65 * @ret rc Return status code 68 int rc; local 74 if ( ( rc = fc_id_aton ( text, port_id ) ) != 0 ) { 87 * @ret rc Return status code 116 * @ret rc Return status code 122 int rc; local 125 if ( ( rc = parse_options ( argc, argv, &fcstat_cmd, &opts ) ) != 0 ) 126 return rc; 162 * @ret rc Retur 168 int rc; local [all...] |
H A D | image_trust_cmd.c | 62 * @ret rc Return status code 66 int rc; local 69 if ( ( rc = parse_options ( argc, argv, &imgtrust_cmd, &opts ) ) != 0 ) 70 return rc; 73 if ( ( rc = image_set_trust ( ( ! opts.allow ), 76 strerror ( rc ) ); 77 return rc; 110 * @ret rc Return status code 118 int rc; local 121 if ( ( rc [all...] |
H A D | nvo_cmd.c | 53 * @ret rc Return status code 60 int rc; local 63 if ( ( rc = parse_options ( argc, argv, &show_cmd, &opts ) ) != 0 ) 64 return rc; 70 if ( ( rc = fetchf_named_setting ( name, name_buf, sizeof ( name_buf ), 74 name, strerror ( rc ) ); 75 return rc; 107 * @ret rc Return status code 115 int rc; local 118 if ( ( rc [all...] |
H A D | sanboot_cmd.c | 80 * @ret rc Return status code 89 int rc; local 96 if ( ( rc = reparse_options ( argc, argv, cmd, &opts ) ) != 0 ) 104 rc = -ENOMEM; 122 if ( ( rc = uriboot ( NULL, uri, opts.drive, flags ) ) != 0 ) 129 return rc; 137 * @ret rc Return status code 150 * @ret rc Return status code 162 * @ret rc Return status code
|
/vbox/src/VBox/Devices/PC/ipxe/src/image/ |
H A D | efi_image.c | 42 * @ret rc Return status code 115 * @ret rc Return status code 128 int rc; local 137 rc = -ENOEXEC; 147 rc = EFIRC_TO_RC ( efirc ); 152 if ( ( rc = efi_download_install ( &device_handle ) ) != 0 ) { 154 "protocol: %s\n", image, strerror ( rc ) ); 159 if ( ( rc = efi_image_make_cmdline ( image, &loaded.image->FilePath, 169 rc = EFIRC_TO_RC ( efirc ); 174 rc [all...] |
/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/ |
H A D | entropy.h | 65 * @ret rc Return status code 95 * @ret rc Return status code 140 int rc; local 200 if ( ( rc = get_entropy_input_tmp ( num_samples, tmp, tmp_len ) ) != 0 ) 201 return rc;
|
/vbox/src/VBox/Devices/PC/ipxe/src/interface/bofm/ |
H A D | bofm.c | 42 * @ret rc Return status code 83 * @ret rc Return status code 107 * @ret rc Return status code 110 int rc; local 113 if ( ( rc = pci_probe ( pci ) ) != 0 ) { 115 PCI_ARGS ( pci ), strerror ( rc ) ); 116 return rc; 176 * @ret rc Return status code 180 int rc; local 183 if ( ( rc 241 int rc; local [all...] |
/vbox/src/VBox/Devices/PC/ipxe/src/interface/smbios/ |
H A D | smbios_settings.c | 99 int rc; local 109 if ( ( rc = find_smbios_structure ( tag_type, &structure ) ) != 0 ) 110 return rc; 116 if ( ( rc = read_smbios_structure ( &structure, buf, 118 return rc; 152 int rc; local 154 if ( ( rc = register_settings ( &smbios_settings, NULL, 157 strerror ( rc ) );
|
/vbox/src/VBox/Devices/PC/ipxe/src/net/ |
H A D | fakedhcp.c | 43 * @ret rc Return status code 53 int rc; local 61 if ( ( rc = copy_encap_settings ( dest, source, 63 return rc; 77 if ( ( rc = dhcppkt_store ( dest, tag, buf, 79 return rc; 93 * @ret rc Return status code 106 * @ret rc Return status code 114 int rc; local 116 if ( ( rc 140 int rc; local 184 int rc; local [all...] |
H A D | fcns.c | 58 * @ret rc Return status code 82 * @v rc Reason for close 84 static void fc_ns_query_close ( struct fc_ns_query *query, int rc ) { 90 intf_shutdown ( &query->xchg, rc ); 99 * @ret rc Return status code 106 int rc; local 112 rc = -EINVAL; 123 rc = -EINVAL; 130 if ( ( rc = query->done ( query->peer, query->port, 142 rc 162 int rc; local [all...] |
H A D | ndp.c | 95 * @ret rc Status 106 int rc; local 136 if ( ( rc = icmp6_send_solicit ( netdev, src, dest ) ) != 0 ) { 137 return rc;
|
/vbox/src/VBox/Devices/PC/ipxe/src/net/infiniband/ |
H A D | ib_pathrec.c | 42 * @v rc Status code 49 int rc, union ib_mad *mad, 56 if ( ( rc == 0 ) && ( mad->hdr.status != htons ( IB_MGMT_STATUS_OK ) )) 57 rc = -ENETUNREACH; 58 if ( rc != 0 ) { 61 ibdev, IB_GID_ARGS ( dgid ), strerror ( rc ) ); 79 path->op->complete ( ibdev, path, rc, &path->av ); 202 * @v rc Status code 206 struct ib_path *path, int rc, 211 if ( rc ! 46 ib_path_complete( struct ib_device *ibdev, struct ib_mad_interface *mi, struct ib_mad_transaction *madx, int rc, union ib_mad *mad, struct ib_address_vector *av __unused ) argument 205 ib_cached_path_complete( struct ib_device *ibdev, struct ib_path *path, int rc, struct ib_address_vector *av __unused ) argument [all...] |
H A D | ib_sma.c | 54 int rc; local 73 if ( ( rc = ib_mi_send ( ibdev, mi, mad, av ) ) != 0 ) { 75 mi, strerror ( rc ) ); 96 int rc; local 111 if ( ( rc = ib_mi_send ( ibdev, mi, mad, av ) ) != 0 ) { 113 mi, strerror ( rc ) ); 131 int rc; local 140 if ( ( rc = ib_mi_send ( ibdev, mi, mad, av ) ) != 0 ) { 142 mi, strerror ( rc ) ); 153 * @ret rc Retur 161 int rc; local 201 int rc; local 258 int rc; local 287 int rc; local [all...] |
/vbox/src/VBox/Devices/PC/ipxe/src/net/tcp/ |
H A D | syslogs.c | 59 * @v rc Reason for close 61 static void syslogs_close ( struct interface *intf __unused, int rc ) { 63 DBG ( "SYSLOGS console disconnected: %s\n", strerror ( rc ) ); 151 int rc; local 165 if ( ( rc = xfer_printf ( &syslogs, "<%d>ipxe: %s\n", 170 strerror ( rc ) ); 202 * @ret rc Return status code 209 int rc; local 214 rc = len; 222 rc [all...] |