Lines Matching defs:rc

60     int rc = RTR3InitExe(argc, &argv, 0);
61 if (RT_FAILURE(rc))
62 return RTMsgInitFailure(rc);
107 rc = RTPathAppPrivateArch(szDTraceCmd, sizeof(szDTraceCmd));
108 if (RT_SUCCESS(rc))
109 rc = RTPathAppend(szDTraceCmd, sizeof(szDTraceCmd),
111 if (RT_SUCCESS(rc))
112 rc = RTPathAppend(szDTraceCmd, sizeof(szDTraceCmd), RTBldCfgTargetDotArch());
113 if (RT_SUCCESS(rc))
114 rc = RTPathAppend(szDTraceCmd, sizeof(szDTraceCmd), "VBoxDTraceCmd");
115 if (RT_SUCCESS(rc))
116 rc = RTStrCat(szDTraceCmd, sizeof(szDTraceCmd), RTLdrGetSuff());
117 if (RT_FAILURE(rc))
118 return RTMsgErrorExit(RTEXITCODE_FAILURE, "Error constructing extension pack path: %Rrc", rc);
130 rc = RTPathAppPrivateNoArch(szDTraceLibDir, sizeof(szDTraceLibDir));
131 if (RT_SUCCESS(rc))
132 rc = RTPathAppend(szDTraceLibDir, sizeof(szDTraceLibDir), "dtrace" RTPATH_SLASH_STR "lib");
133 if (RT_SUCCESS(rc))
134 rc = RTPathAppend(szDTraceLibDir, sizeof(szDTraceLibDir), RTBldCfgTargetArch());
135 if (RT_FAILURE(rc))
136 return RTMsgErrorExit(RTEXITCODE_FAILURE, "Error constructing dtrace library path for VBox: %Rrc", rc);
162 rc = RTProcCreate(szDTraceCmd, papszArgs, RTENV_DEFAULT, 0, &hProc);
163 if (RT_SUCCESS(rc))
166 rc = RTProcWait(hProc, RTPROCWAIT_FLAGS_BLOCK, &Status);
167 if (RT_SUCCESS(rc))
175 rcExit = RTMsgErrorExit(RTEXITCODE_FAILURE, "Error waiting for child process: %Rrc", rc);
178 rcExit = RTMsgErrorExit(RTEXITCODE_FAILURE, "Error executing '%s': %Rrc", szDTraceCmd, rc);
187 rc = SUPR3HardenedLdrLoadPlugIn(szDTraceCmd, &hMod, RTErrInfoInitStatic(&ErrInfo));
188 if (RT_SUCCESS(rc))
191 rc = RTLdrGetSymbol(hMod, "VBoxDTraceMain", (void **)&pfnVBoxDTraceMain);
192 if (RT_SUCCESS(rc))
195 rcExit = RTMsgErrorExit(RTEXITCODE_FAILURE, "Error locating 'VBoxDTraceMain' in '%s': %Rrc", szDTraceCmd, rc);
198 rcExit = RTMsgErrorExit(RTEXITCODE_FAILURE, "Error loading '%s': %Rrc (%s)", szDTraceCmd, rc, ErrInfo.szMsg);