Home
last modified time | relevance | path

Searched refs:lastError (Results 1 – 25 of 33) sorted by relevance

12

/external/libxml2/
Dtestchar.c15 int lastError; variable
18 if ((unused == NULL) && (err != NULL) && (lastError == 0)) { in errorHandler()
19 lastError = err->code; in errorHandler()
32 lastError = 0; in testDocumentRangeByte1()
40 if ((lastError == 0) || (res != NULL)) in testDocumentRangeByte1()
47 if ((lastError == 0) || (res != NULL)) in testDocumentRangeByte1()
53 if ((lastError != XML_ERR_INVALID_CHAR) && (res != NULL)) in testDocumentRangeByte1()
73 lastError = 0; in testDocumentRangeByte2()
83 if ((lastError == 0) || (res != NULL)) in testDocumentRangeByte2()
94 if ((lastError == 0) || (res != NULL)) in testDocumentRangeByte2()
[all …]
DparserInternals.c1820 if (ctxt->lastError.message != NULL) in xmlFreeParserCtxt()
1821 xmlFree(ctxt->lastError.message); in xmlFreeParserCtxt()
1822 if (ctxt->lastError.file != NULL) in xmlFreeParserCtxt()
1823 xmlFree(ctxt->lastError.file); in xmlFreeParserCtxt()
1824 if (ctxt->lastError.str1 != NULL) in xmlFreeParserCtxt()
1825 xmlFree(ctxt->lastError.str1); in xmlFreeParserCtxt()
1826 if (ctxt->lastError.str2 != NULL) in xmlFreeParserCtxt()
1827 xmlFree(ctxt->lastError.str2); in xmlFreeParserCtxt()
1828 if (ctxt->lastError.str3 != NULL) in xmlFreeParserCtxt()
1829 xmlFree(ctxt->lastError.str3); in xmlFreeParserCtxt()
Derror.c520 to = &ctxt->lastError; in __xmlRaiseError()
922 if (ctxt->lastError.code == XML_ERR_OK) in xmlCtxtGetLastError()
924 return (&ctxt->lastError); in xmlCtxtGetLastError()
942 if (ctxt->lastError.code == XML_ERR_OK) in xmlCtxtResetLastError()
944 xmlResetError(&ctxt->lastError); in xmlCtxtResetLastError()
Dxpointer.c102 ctxt->context->lastError.domain = XML_FROM_XPOINTER; in xmlXPtrErr()
103 ctxt->context->lastError.code = error; in xmlXPtrErr()
104 ctxt->context->lastError.level = XML_ERR_ERROR; in xmlXPtrErr()
105 ctxt->context->lastError.str1 = (char *) xmlStrdup(ctxt->base); in xmlXPtrErr()
106 ctxt->context->lastError.int1 = ctxt->cur - ctxt->base; in xmlXPtrErr()
107 ctxt->context->lastError.node = ctxt->context->debugNode; in xmlXPtrErr()
110 &ctxt->context->lastError); in xmlXPtrErr()
Dxpath.c644 ctxt->lastError.message = (char *) xmlStrdup(buf); in xmlXPathErrMemory()
646 ctxt->lastError.message = (char *) in xmlXPathErrMemory()
649 ctxt->lastError.domain = XML_FROM_XPATH; in xmlXPathErrMemory()
650 ctxt->lastError.code = XML_ERR_NO_MEMORY; in xmlXPathErrMemory()
652 ctxt->error(ctxt->userData, &ctxt->lastError); in xmlXPathErrMemory()
721 xmlResetError(&ctxt->context->lastError); in xmlXPathErr()
723 ctxt->context->lastError.domain = XML_FROM_XPATH; in xmlXPathErr()
724 ctxt->context->lastError.code = error + XML_XPATH_EXPRESSION_OK - in xmlXPathErr()
726 ctxt->context->lastError.level = XML_ERR_ERROR; in xmlXPathErr()
727 ctxt->context->lastError.str1 = (char *) xmlStrdup(ctxt->base); in xmlXPathErr()
[all …]
Dparser.c133 if (ctxt->lastError.code == XML_ERR_ENTITY_LOOP) in xmlParserEntityCheck()
219 if (((ctxt->lastError.code != XML_ERR_UNDECLARED_ENTITY) && in xmlParserEntityCheck()
220 (ctxt->lastError.code != XML_WAR_UNDECLARED_ENTITY)) || in xmlParserEntityCheck()
2797 if ((ctxt->lastError.code == XML_ERR_ENTITY_LOOP) || in xmlStringLenDecodeEntities()
2798 (ctxt->lastError.code == XML_ERR_INTERNAL_ERROR)) in xmlStringLenDecodeEntities()
2820 if ((ctxt->lastError.code == XML_ERR_ENTITY_LOOP) || in xmlStringLenDecodeEntities()
2821 (ctxt->lastError.code == XML_ERR_INTERNAL_ERROR)) in xmlStringLenDecodeEntities()
2854 if (ctxt->lastError.code == XML_ERR_ENTITY_LOOP) in xmlStringLenDecodeEntities()
13443 if (ctxt->lastError.code != XML_ERR_OK) in xmlParseExternalEntityPrivate()
13444 xmlCopyError(&ctxt->lastError, &oldctxt->lastError); in xmlParseExternalEntityPrivate()
[all …]
Dtestrecurse.c692 if ((doc != NULL) || (ctxt->lastError.code != XML_ERR_ENTITY_LOOP)) { in recursiveDetectTest()
/external/deqp/framework/delibs/deutil/
DdeProcess.c53 char* lastError; member
174 deFree(process->lastError); in deProcess_destroy()
180 return process->lastError ? process->lastError : "No error"; in deProcess_getLastError()
190 if (process->lastError) in deProcess_setError()
192 deFree(process->lastError); in deProcess_setError()
193 process->lastError = DE_NULL; in deProcess_setError()
196 process->lastError = deStrdup(error); in deProcess_setError()
197 return process->lastError != DE_NULL; in deProcess_setError()
522 char* lastError; member
533 if (process->lastError) in deProcess_setError()
[all …]
/external/deqp/framework/platform/null/
DtcuNullRenderContext.cpp97 GLenum lastError; member in tcu::null::Context
123 , lastError (GL_NO_ERROR) in Context()
270 const GLenum lastErr = ctx->lastError; in glGetError()
272 ctx->lastError = GL_NO_ERROR; in glGetError()
459 ctx->lastError = GL_INVALID_ENUM; in glGetString()
474 ctx->lastError = GL_INVALID_VALUE; in glGetStringi()
480 ctx->lastError = GL_INVALID_ENUM; in glGetStringi()
622 if (ctx->lastError == GL_NO_ERROR) in glMapBufferRange()
623 ctx->lastError = GL_INVALID_OPERATION; in glMapBufferRange()
646 if (ctx->lastError == GL_NO_ERROR) in glReadPixels()
[all …]
/external/autotest/client/site_tests/documentscan_AppTestWithFakeLorgnette/document_scan_test_app/
Dscan.js35 console.log(chrome.runtime.lastError);
42 if (chrome.runtime.lastError) {
43 console.log('Scan failed: ' + chrome.runtime.lastError.message);
/external/freetype/src/cff/
Dcf2intrp.c432 FT_Error lastError = FT_Err_Ok; in cf2_interpT2CharString() local
533 lastError = FT_THROW( Out_Of_Memory ); in cf2_interpT2CharString()
574 lastError = FT_THROW( Invalid_Glyph_Format ); in cf2_interpT2CharString()
758 lastError = FT_THROW( Invalid_Glyph_Format ); in cf2_interpT2CharString()
782 lastError = FT_THROW( Invalid_Glyph_Format ); in cf2_interpT2CharString()
797 lastError = FT_THROW( Invalid_Glyph_Format ); in cf2_interpT2CharString()
812 lastError = FT_THROW( Invalid_Glyph_Format ); in cf2_interpT2CharString()
1107 lastError = FT_THROW( Invalid_Glyph_Format ); in cf2_interpT2CharString()
1120 lastError = error2; /* pass FreeType error through */ in cf2_interpT2CharString()
1136 lastError = error2; /* pass FreeType error through */ in cf2_interpT2CharString()
[all …]
Dcf2font.c437 FT_Error lastError = FT_Err_Ok; in cf2_getGlyphOutline() local
506 cf2_setError( &font->error, lastError ); in cf2_getGlyphOutline()
/external/pdfium/third_party/freetype/src/cff/
Dcf2intrp.c432 FT_Error lastError = FT_Err_Ok; in cf2_interpT2CharString() local
533 lastError = FT_THROW( Out_Of_Memory ); in cf2_interpT2CharString()
574 lastError = FT_THROW( Invalid_Glyph_Format ); in cf2_interpT2CharString()
758 lastError = FT_THROW( Invalid_Glyph_Format ); in cf2_interpT2CharString()
782 lastError = FT_THROW( Invalid_Glyph_Format ); in cf2_interpT2CharString()
797 lastError = FT_THROW( Invalid_Glyph_Format ); in cf2_interpT2CharString()
812 lastError = FT_THROW( Invalid_Glyph_Format ); in cf2_interpT2CharString()
1107 lastError = FT_THROW( Invalid_Glyph_Format ); in cf2_interpT2CharString()
1120 lastError = error2; /* pass FreeType error through */ in cf2_interpT2CharString()
1136 lastError = error2; /* pass FreeType error through */ in cf2_interpT2CharString()
[all …]
Dcf2font.c437 FT_Error lastError = FT_Err_Ok; in cf2_getGlyphOutline() local
506 cf2_setError( &font->error, lastError ); in cf2_getGlyphOutline()
/external/icu/icu4c/source/test/intltest/
Dwinnmtst.cpp190 DWORD lastError = GetLastError(); in getWindowsFormat() local
192 if (lastError == ERROR_INSUFFICIENT_BUFFER) { in getWindowsFormat()
204 DWORD lastError = GetLastError(); in getWindowsFormat() local
206 if (lastError == ERROR_INSUFFICIENT_BUFFER) { in getWindowsFormat()
/external/opencv3/samples/winrt/JavaScript/sample-utils/
Dsample-utils.js16 var lastError = "";
122 lastError = message;
190 return lastError;
/external/lzma/CPP/Windows/
DFileFind.cpp395 DWORD lastError = GetLastError(); in Find() local
396 if (lastError == ERROR_BAD_NETPATH || in Find()
397 lastError == ERROR_FILE_NOT_FOUND || in Find()
398lastError == ERROR_INVALID_NAME // for "\\SERVER\shared" paths that are translated to "\\?\UNC\SER… in Find()
428 ::SetLastError(lastError); in Find()
/external/webrtc/webrtc/modules/audio_processing/agc/legacy/
Danalog_agc.c1244 stt->lastError = AGC_UNINITIALIZED_ERROR; in WebRtcAgc_set_config()
1250 stt->lastError = AGC_BAD_PARAMETER_ERROR; in WebRtcAgc_set_config()
1257 stt->lastError = AGC_BAD_PARAMETER_ERROR; in WebRtcAgc_set_config()
1301 stt->lastError = AGC_NULL_POINTER_ERROR; in WebRtcAgc_get_config()
1307 stt->lastError = AGC_UNINITIALIZED_ERROR; in WebRtcAgc_get_config()
1328 stt->lastError = 0; in WebRtcAgc_Create()
1361 stt->lastError = AGC_UNINITIALIZED_ERROR; in WebRtcAgc_Init()
1499 stt->lastError = AGC_UNSPECIFIED_ERROR; in WebRtcAgc_Init()
Danalog_agc.h58 int16_t lastError; member
/external/lzma/CPP/7zip/Common/
DFileStreams.cpp23 DWORD lastError = ::GetLastError(); in ConvertBoolToHRESULT() local
24 if (lastError == 0) in ConvertBoolToHRESULT()
26 return HRESULT_FROM_WIN32(lastError); in ConvertBoolToHRESULT()
/external/icu/icu4c/source/i18n/
Dwinnmfmt.cpp312 DWORD lastError = GetLastError(); in format() local
314 if (lastError == ERROR_INSUFFICIENT_BUFFER) { in format()
/external/libxml2/python/tests/
DtstLastError.py32 e = libxml2.lastError()
/external/autotest/client/cros/networking/chrome_testing/network_test_ext/
Dbackground.js33 var error = chrome.runtime.lastError;
/external/libxml2/include/libxml/
Dxpath.h345 xmlError lastError; /* the last error */ member
/external/icu/icu4c/source/common/
Dputil.cpp2173 DWORD lastError = GetLastError(); in uprv_dlsym_func() local
2174 if(lastError == ERROR_PROC_NOT_FOUND) { in uprv_dlsym_func()

12