Lines Matching refs:rc
128 ESR_ReturnCode rc;
130 rc = PStackTraceIsInitialized(&isInit);
131 if (rc == ESR_SUCCESS && isInit)
137 rc = PStackTraceGetValue(stackTrace, &bufferLen);
138 if (rc == ESR_SUCCESS)
142 rc = PStackTracePopLevel(stackTrace);
143 if (rc != ESR_SUCCESS)
145 pfprintf(PSTDERR, "[%s:%d] PStackTracePopLevel failed with %s\n", __FILE__, __LINE__, ESR_rc2str(rc));
157 else if (rc == ESR_NOT_SUPPORTED)
159 else if (rc != ESR_SUCCESS)
161 pfprintf(PSTDERR, "[%s:%d] PStackTraceGetValue failed with %s\n", __FILE__, __LINE__, ESR_rc2str(rc));
170 return rc;
341 ESR_ReturnCode rc;
350 /* CHK(rc, gFile->hideMemoryAllocation(gFile));*/
352 rc = PMemReport(gFile);
353 if (rc != ESR_SUCCESS)
355 pfprintf(PSTDERR, L("%s: PMemDumpLogFile() at %s:%d"), ESR_rc2str(rc), __FILE__, __LINE__);
360 /* rc = gFile->destroy(gFile);
361 if (rc != ESR_SUCCESS)
363 pfprintf(PSTDERR, L("%s: PMemDumpLogFile() at %s:%d"), ESR_rc2str(rc), __FILE__, __LINE__);
374 return rc;
393 ESR_ReturnCode rc;
436 rc = getStackTrace(stackTrace, &len);
437 if (rc != ESR_SUCCESS)
439 pfprintf(PSTDERR, "[%s:%d] getStackTrace failed with %s\n", __FILE__, __LINE__, ESR_rc2str(rc));
455 return rc;
584 ESR_ReturnCode rc;
627 rc = PStackTraceIsInitialized(&isInit);
628 if (rc != ESR_SUCCESS)
635 rc = getStackTrace(stackTrace, &stackTraceSize);
636 if (rc != ESR_SUCCESS)
861 ESR_ReturnCode rc;
863 rc = getStackTrace(stackTrace, &len);
864 if (rc != ESR_SUCCESS)
866 pfprintf(PSTDERR, "[%s:%d] getStackTrace failed with %s\n", __FILE__, __LINE__, ESR_rc2str(rc));
932 ESR_ReturnCode rc;
934 rc = getStackTrace(stackTrace, &len);
935 if (rc != ESR_SUCCESS)
937 pfprintf(PSTDERR, "[%s:%d] getStackTrace failed with %s\n", __FILE__, __LINE__, ESR_rc2str(rc));