Searched defs:rc (Results 101 - 125 of 1806) sorted by relevance

1234567891011>>

/vbox/src/VBox/Devices/PC/ipxe/src/drivers/nvs/
H A Dthreewire.c40 * @ret rc Return status code
46 int rc; local
53 if ( ( rc = bus->rw ( bus, device, THREEWIRE_READ, address,
56 device, strerror ( rc ) );
57 return rc;
70 * @ret rc Return status code
76 int rc; local
84 if ( ( rc = bus->rw ( bus, device, THREEWIRE_EWEN,
87 device, strerror ( rc ) );
88 return rc;
116 int rc; local
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/hci/commands/
H A Dlogin_cmd.c48 * @ret rc Return status code
52 int rc; local
55 if ( ( rc = parse_options ( argc, argv, &login_cmd, &opts ) ) != 0 )
56 return rc;
59 if ( ( rc = login_ui() ) != 0 ) {
61 strerror ( rc ) );
62 return rc;
H A Droute_cmd.c48 * @ret rc Return status code
52 int rc; local
55 if ( ( rc = parse_options ( argc, argv, &route_cmd, &opts ) ) != 0 )
56 return rc;
/vbox/src/VBox/Devices/PC/ipxe/src/image/
H A Dembedded.c50 int rc; local
72 if ( ( rc = register_image ( image ) ) != 0 ) {
74 "%s\n", image->name, strerror ( rc ) );
81 if ( ( rc = image_select ( image ) ) != 0 ) {
83 image->name, strerror ( rc ) );
/vbox/src/VBox/Devices/PC/ipxe/src/net/
H A Dicmp.c43 * @ret rc Return status code
51 int rc; local
57 rc = -EINVAL;
67 rc = -EINVAL;
74 rc = 0;
86 if ( ( rc = tcpip_tx ( iob_disown ( iobuf ), &icmp_protocol, st_dest,
89 strerror ( rc ) );
95 return rc;
/vbox/src/VBox/Devices/PC/ipxe/src/tests/
H A Dentropy_sample.c45 int rc; local
51 rc = entropy_enable();
52 ok ( rc == 0 );
54 rc = get_noise ( &samples[j] );
55 ok ( rc == 0 );
/vbox/src/VBox/Devices/PC/ipxe/src/usr/
H A Ddhcpmgmt.c44 int rc; local
47 if ( ( rc = ifopen ( netdev ) ) != 0 )
48 return rc;
51 if ( ( rc = iflinkwait ( netdev, LINK_WAIT_MS ) ) != 0 )
52 return rc;
61 if ( ( rc = start_dhcp ( &monojob, netdev ) ) == 0 ) {
62 rc = monojob_wait ( "" );
63 } else if ( rc > 0 ) {
65 rc = 0;
68 return rc;
72 int rc; local
[all...]
H A Dfcmgmt.c54 printf ( " down: %s]\n", strerror ( port->link.rc ) );
73 printf ( " down: %s]\n", strerror ( peer->link.rc ) );
86 printf ( " down: %s", strerror ( ulp->link.rc ) );
98 * @ret rc Return status code
102 int rc; local
107 if ( ( rc = fc_els_request ( &monojob, port, peer_port_id,
109 printf ( "%s\n", strerror ( rc ) );
110 return rc;
H A Dimgtrust.c42 * @ret rc Return status code
50 int rc; local
59 rc = -ENOMEM;
65 if ( ( rc = cms_signature ( data, len, &sig ) ) != 0 )
74 if ( ( rc = cms_verify ( sig, image->data, image->len,
94 image->name, strerror ( rc ) );
95 return rc;
/vbox/src/VBox/Devices/build/
H A DVBoxDD.cpp54 int rc; local
56 rc = pCallbacks->pfnRegister(pCallbacks, &g_DevicePCI);
57 if (RT_FAILURE(rc))
58 return rc;
59 rc = pCallbacks->pfnRegister(pCallbacks, &g_DevicePciIch9);
60 if (RT_FAILURE(rc))
61 return rc;
62 rc = pCallbacks->pfnRegister(pCallbacks, &g_DevicePcArch);
63 if (RT_FAILURE(rc))
64 return rc;
218 int rc = pCallbacks->pfnRegister(pCallbacks, &g_DrvMouseQueue); local
393 int rc = VINF_SUCCESS; local
[all...]
/vbox/src/VBox/Frontends/VirtualBox/src/platform/darwin/
H A DtstDarwinKeyboard.cpp41 int rc = RTR3InitExe(argc, &argv, 0); local
42 AssertReleaseRCReturn(rc, 1);
/vbox/src/VBox/GuestHost/DragAndDrop/
H A DDnDDir.cpp44 int rc = RTPathAppend(pszDropDir, cbDropDir, "VirtualBox Dropped Files"); local
45 if (RT_FAILURE(rc))
46 return rc;
51 rc = RTDirCreateFullPath(pszDropDir, RTFS_UNIX_IRWXU);
52 if (RT_FAILURE(rc))
53 return rc;
62 rc = DnDPathSanitizeFilename(pszTime, sizeof(pszTime));
63 if (RT_FAILURE(rc))
64 return rc;
66 rc
84 int rc = RTPathTemp(szTemp, sizeof(szTemp)); local
[all...]
/vbox/src/VBox/Runtime/testcase/
H A DtstRTCoreDump.cpp59 int rc; local
60 RTTESTI_CHECK_RC(rc = RTCoreDumperSetup(NULL, RTCOREDUMPER_FLAGS_REPLACE_SYSTEM_DUMP | RTCOREDUMPER_FLAGS_LIVE_CORE),
62 if (RT_SUCCESS(rc))
H A DtstRTFileAppend-1.cpp47 int rc = RTFileOpen(&hFile, local
55 RTTESTI_CHECK_RC_RETV(rc, VINF_SUCCESS);
59 RTTESTI_CHECK_RC(rc = RTFileSeek(hFile, off, RTFILE_SEEK_CURRENT, &offActual), VINF_SUCCESS);
60 RTTESTI_CHECK_MSG(offActual == 0 || RT_FAILURE(rc), ("offActual=%llu", offActual));
66 RTTESTI_CHECK_RC(rc = RTFileSeek(hFile, off, RTFILE_SEEK_CURRENT, &offActual), VINF_SUCCESS);
67 RTTESTI_CHECK_MSG(offActual == 10 || RT_FAILURE(rc), ("offActual=%llu", offActual));
72 rc = RTFileRead(hFile, szBuf, 1, &cb);
73 RTTESTI_CHECK_MSG(rc == VERR_ACCESS_DENIED || rc == VERR_INVALID_HANDLE, ("rc
201 int rc = RTTestInitAndCreate("tstRTFileAppend-1", &hTest); local
[all...]
H A DtstRTFileModeStringToFlags.cpp39 int rc = RTTestInitAndCreate("tstRTStrVersion", &hTest); local
40 if (rc)
41 return rc;
H A DtstRTProcQueryUsername.cpp67 int rc = RTTestInitAndCreate("tstRTProcQueryUsername", &hTest); local
68 if (rc)
69 return rc;
H A DtstRTR0MemUserKernel.cpp93 int rc = RTR0MemUserCopyFrom(pbKrnlBuf, R3Ptr, PAGE_SIZE); local
94 if (rc == VINF_SUCCESS)
96 rc = RTR0MemUserCopyTo(R3Ptr, pbKrnlBuf, PAGE_SIZE);
97 if (rc == VINF_SUCCESS)
128 RTStrPrintf(pszErr, cchErr, "! #2 - RTR0MemUserCopyTo -> %Rrc expected %Rrc", rc, VINF_SUCCESS);
131 RTStrPrintf(pszErr, cchErr, "! #1 - RTR0MemUserCopyFrom -> %Rrc expected %Rrc", rc, VINF_SUCCESS);
138 int rc = RTR0MemUserCopyFrom(pbKrnlBuf, R3Ptr + (off), (size)); \
139 if (rc != (rcExpect)) \
142 (off), (size), rc, (rcExpect)); \
145 rc
[all...]
H A DtstRTSystemQueryOsInfo.cpp46 int rc = RTTestInitAndCreate("tstRTSystemQueryOsInfo", &hTest); local
47 if (rc)
48 return rc;
56 rc = RTSystemQueryOSInfo(RTSYSOSINFO_PRODUCT, szInfo, sizeof(szInfo));
57 RTTestIPrintf(RTTESTLVL_ALWAYS, "PRODUCT: \"%s\", rc=%Rrc\n", szInfo, rc);
59 rc = RTSystemQueryOSInfo(RTSYSOSINFO_RELEASE, szInfo, sizeof(szInfo));
60 RTTestIPrintf(RTTESTLVL_ALWAYS, "RELEASE: \"%s\", rc=%Rrc\n", szInfo, rc);
62 rc
[all...]
H A DtstThread-1.cpp64 int rc = RTThreadCreate(&ahThreads[i], tstThread1ReturnImmediately, &ahThreads[i], 0, RTTHREADTYPE_DEFAULT, RTTHREADFLAGS_WAITABLE, "TEST1"); local
65 if (RT_FAILURE(rc))
67 RTPrintf("tstThread-1: FAILURE(%d) - %d/%d RTThreadCreate failed, rc=%Rrc\n", __LINE__, i, j, rc);
80 int rc = RTThreadWait(ahThreads[i], RT_INDEFINITE_WAIT, &rc2); local
81 if (RT_FAILURE(rc))
83 RTPrintf("tstThread-1: FAILURE(%d) - %d/%d RTThreadWait failed, rc=%Rrc\n", __LINE__, j, i, rc);
/vbox/src/VBox/Runtime/tools/
H A DRTShutdown.cpp43 int rc = RTR3InitExe(argc, &argv, 0); local
44 if (RT_FAILURE(rc))
45 return RTMsgInitFailure(rc);
65 rc = RTGetOptInit(&GetState, argc, argv, s_aOptions, RT_ELEMENTS(s_aOptions), 1,
70 rc = RTGetOpt(&GetState, &ValueUnion);
71 if (rc == 0)
73 switch (rc)
91 return RTGetOptPrintError(rc, &ValueUnion);
98 rc = RTSystemShutdown(cMsDelay, fFlags, pszMsg);
99 if (RT_FAILURE(rc))
[all...]
/vbox/src/VBox/Runtime/win/
H A Derrmsgwin.cpp78 * @param rc The status code.
80 RTDECL(PCRTWINERRMSG) RTErrWinGet(long rc) argument
84 if (g_aStatusMsgs[i].iCode == rc)
93 if (g_aStatusMsgs[i].iCode == HRESULT_CODE(rc))
96 RTStrPrintf(&g_aszUnknownStr[iMsg][0], sizeof(g_aszUnknownStr[iMsg]), "%s 0x%X", g_aStatusMsgs[i].pszDefine, rc);
104 RTStrPrintf(&g_aszUnknownStr[iMsg][0], sizeof(g_aszUnknownStr[iMsg]), "Unknown Status 0x%X", rc);
109 RTDECL(PCRTCOMERRMSG) RTErrCOMGet(uint32_t rc) argument
111 return RTErrWinGet((long)rc);
/vbox/src/VBox/VMM/VMMAll/
H A DPDMAllNetShaper.cpp45 int rc = PDMCritSectEnter(&pBwGroup->Lock, VERR_SEM_BUSY); AssertRC(rc); local
46 if (RT_UNLIKELY(rc == VERR_SEM_BUSY))
74 rc = PDMCritSectLeave(&pBwGroup->Lock); AssertRC(rc);
/vbox/src/VBox/Runtime/common/asn1/
H A Dasn1-ut-bitstring-decode.cpp49 int rc = RTAsn1CursorReadHdr(pCursor, &pThis->Asn1Core, pszErrorTag); local
50 if (RT_SUCCESS(rc))
52 rc = RTAsn1CursorMatchTagClassFlagsString(pCursor, &pThis->Asn1Core, ASN1_TAG_BIT_STRING,
55 if (RT_SUCCESS(rc))
76 rc = RTAsn1CursorSetInfo(pCursor, VERR_ASN1_INVALID_BITSTRING_ENCODING,
94 rc = RTAsn1CursorSetInfo(pCursor, VERR_ASN1_INVALID_BITSTRING_ENCODING,
99 rc = RTAsn1CursorSetInfo(pCursor, VERR_ASN1_INVALID_BITSTRING_ENCODING,
104 rc = RTAsn1CursorSetInfo(pCursor, VERR_ASN1_INVALID_BITSTRING_ENCODING,
109 rc = RTAsn1CursorSetInfo(pCursor, VERR_ASN1_CONSTRUCTED_STRING_NOT_IMPL,
114 return rc;
[all...]
H A Dasn1-ut-dyntype-decode.cpp48 int rc = RTAsn1CursorReadHdr(pCursor, &pDynType->u.Core, pszErrorTag); local
49 if (RT_SUCCESS(rc))
207 rc = RTAsn1Integer_DecodeAsn1(pCursor, 0, &pDynType->u.Integer, pszErrorTag);
210 rc = RTAsn1Boolean_DecodeAsn1(pCursor, 0, &pDynType->u.Boolean, pszErrorTag);
213 rc = RTAsn1ObjId_DecodeAsn1(pCursor, 0, &pDynType->u.ObjId, pszErrorTag);
216 rc = RTAsn1BitString_DecodeAsn1(pCursor, 0, &pDynType->u.BitString, pszErrorTag);
219 rc = RTAsn1OctetString_DecodeAsn1(pCursor, 0, &pDynType->u.OctetString, pszErrorTag);
222 rc = RTAsn1Null_DecodeAsn1(pCursor, 0, &pDynType->u.Asn1Null, pszErrorTag);
225 rc = RTAsn1Time_DecodeAsn1(pCursor, 0, &pDynType->u.Time, pszErrorTag);
228 rc
[all...]
H A Dasn1-ut-integer-decode.cpp42 int rc = RTAsn1CursorReadHdr(pCursor, &pThis->Asn1Core, pszErrorTag); local
43 if (RT_SUCCESS(rc))
45 rc = RTAsn1CursorMatchTagClassFlags(pCursor, &pThis->Asn1Core, ASN1_TAG_INTEGER,
48 if (RT_SUCCESS(rc))
70 return rc;

Completed in 84 milliseconds

1234567891011>>