Lines Matching refs:rc
48 ESR_ReturnCode rc;
58 CHKLOG(rc, PMemInit());
59 /* CHKLOG(rc, PFileSystemCreate());
60 CHKLOG(rc, PANSIFileSystemCreate());
61 CHKLOG(rc, PANSIFileSystemAddPath(L("/dev/ansi/"), L("/")));*/
62 CHKLOG(rc, PLogInit(NULL, 3));
65 /* CHKLOG(rc, PANSIFileSystemSetDefault(ESR_TRUE));*/
68 CHKLOG(rc, PANSIFileSystemGetcwd(cwd, &len));
69 CHKLOG(rc, PFileSystemChdir(cwd));*/
72 rc = ESR_CommandLineGetValue(argc, (const char **)argv, L("base"), base, &len);
73 if (rc==ESR_NO_MATCH_ERROR)
78 else if (rc!=ESR_SUCCESS)
80 PLogError(ESR_rc2str(rc));
85 rc = ESR_CommandLineGetValue(argc, (const char **)argv, L("out"), outFilename, &len);
86 if (rc==ESR_NO_MATCH_ERROR)
91 else if (rc!=ESR_SUCCESS)
93 PLogError(ESR_rc2str(rc));
114 CHKLOG(rc, SR_GrammarLoad(base, &grammar));
117 CHKLOG(rc, SR_GrammarSave(grammar, outFilename));
129 return rc;