Lines Matching refs:err_code
161 void ProcessParseError(FX_DWORD err_code) in ProcessParseError() argument
164 switch (err_code) { in ProcessParseError()
166 err_code = FPDF_ERR_FILE; in ProcessParseError()
169 err_code = FPDF_ERR_FORMAT; in ProcessParseError()
172 err_code = FPDF_ERR_PASSWORD; in ProcessParseError()
175 err_code = FPDF_ERR_SECURITY; in ProcessParseError()
178 SetLastError(err_code); in ProcessParseError()
191 FX_DWORD err_code = pParser->StartParse((FX_LPCSTR)file_path); in FPDF_LoadDocument() local
192 if (err_code) { in FPDF_LoadDocument()
194 ProcessParseError(err_code); in FPDF_LoadDocument()
200 extern void CheckUnSupportError(CPDF_Document * pDoc, FX_DWORD err_code);
231 FX_DWORD err_code = pParser->StartParse(pMemFile); in FPDF_LoadMemDocument() local
232 if (err_code) { in FPDF_LoadMemDocument()
234 ProcessParseError(err_code); in FPDF_LoadMemDocument()
239 CheckUnSupportError(pDoc, err_code); in FPDF_LoadMemDocument()
248 FX_DWORD err_code = pParser->StartParse(pFile); in FPDF_LoadCustomDocument() local
249 if (err_code) { in FPDF_LoadCustomDocument()
251 ProcessParseError(err_code); in FPDF_LoadCustomDocument()
256 CheckUnSupportError(pDoc, err_code); in FPDF_LoadCustomDocument()