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

12

/external/libxml2/
H A Dtestchar.c15 int lastError; variable
18 if ((unused == NULL) && (err != NULL) && (lastError == 0)) {
19 lastError = err->code;
32 lastError = 0;
40 if ((lastError == 0) || (res != NULL))
47 if ((lastError == 0) || (res != NULL))
53 if ((lastError != XML_ERR_INVALID_CHAR) && (res != NULL))
73 lastError = 0;
83 if ((lastError == 0) || (res != NULL))
94 if ((lastError
[all...]
H A DparserInternals.c1824 if (ctxt->lastError.message != NULL)
1825 xmlFree(ctxt->lastError.message);
1826 if (ctxt->lastError.file != NULL)
1827 xmlFree(ctxt->lastError.file);
1828 if (ctxt->lastError.str1 != NULL)
1829 xmlFree(ctxt->lastError.str1);
1830 if (ctxt->lastError.str2 != NULL)
1831 xmlFree(ctxt->lastError.str2);
1832 if (ctxt->lastError.str3 != NULL)
1833 xmlFree(ctxt->lastError
[all...]
H A Derror.c520 to = &ctxt->lastError;
922 if (ctxt->lastError.code == XML_ERR_OK)
924 return (&ctxt->lastError);
942 if (ctxt->lastError.code == XML_ERR_OK)
944 xmlResetError(&ctxt->lastError);
H A Dxpointer.c109 xmlResetError(&ctxt->context->lastError);
111 ctxt->context->lastError.domain = XML_FROM_XPOINTER;
112 ctxt->context->lastError.code = error;
113 ctxt->context->lastError.level = XML_ERR_ERROR;
114 ctxt->context->lastError.str1 = (char *) xmlStrdup(ctxt->base);
115 ctxt->context->lastError.int1 = ctxt->cur - ctxt->base;
116 ctxt->context->lastError.node = ctxt->context->debugNode;
119 &ctxt->context->lastError);
H A Dxpath.c633 ctxt->lastError.message = (char *) xmlStrdup(buf);
635 ctxt->lastError.message = (char *)
638 ctxt->lastError.domain = XML_FROM_XPATH;
639 ctxt->lastError.code = XML_ERR_NO_MEMORY;
641 ctxt->error(ctxt->userData, &ctxt->lastError);
710 xmlResetError(&ctxt->context->lastError);
712 ctxt->context->lastError.domain = XML_FROM_XPATH;
713 ctxt->context->lastError.code = error + XML_XPATH_EXPRESSION_OK -
715 ctxt->context->lastError.level = XML_ERR_ERROR;
716 ctxt->context->lastError
[all...]
H A Dtestrecurse.c692 if ((doc != NULL) || (ctxt->lastError.code != XML_ERR_ENTITY_LOOP)) {
/external/autotest/client/site_tests/documentscan_AppTestWithFakeLorgnette/document_scan_test_app/
H A Dscan.js35 console.log(chrome.runtime.lastError);
42 if (chrome.runtime.lastError) {
43 console.log('Scan failed: ' + chrome.runtime.lastError.message);
/external/deqp/framework/delibs/deutil/
H A DdeProcess.c53 char* lastError; member in struct:deProcess_s
174 deFree(process->lastError);
180 return process->lastError ? process->lastError : "No error";
190 if (process->lastError)
192 deFree(process->lastError);
193 process->lastError = DE_NULL;
196 process->lastError = deStrdup(error);
197 return process->lastError != DE_NULL;
522 char* lastError; member in struct:deProcess_s
[all...]
/external/lzma/CPP/7zip/UI/Common/
H A DArchiveOpenCallback.cpp120 DWORD lastError = ::GetLastError(); local
121 if (lastError == 0)
123 return HRESULT_FROM_WIN32(lastError);
/external/deqp/framework/platform/null/
H A DtcuNullRenderContext.cpp97 GLenum lastError; member in class:tcu::null::Context
123 , lastError (GL_NO_ERROR)
285 const GLenum lastErr = ctx->lastError;
287 ctx->lastError = GL_NO_ERROR;
474 ctx->lastError = GL_INVALID_ENUM;
489 ctx->lastError = GL_INVALID_VALUE;
495 ctx->lastError = GL_INVALID_ENUM;
637 if (ctx->lastError == GL_NO_ERROR)
638 ctx->lastError = GL_INVALID_OPERATION;
661 if (ctx->lastError
[all...]
/external/swiftshader/third_party/PowerVR_SDK/Examples/Beginner/01_HelloAPI/OGLES2/
H A DOGLES2HelloAPI_OSX.mm79 GLenum lastError = glGetError();
80 if (lastError != GL_NO_ERROR)
82 NSLog(@"%s failed (%x).\n", functionLastCalled, lastError);
101 EGLint lastError = eglGetError();
102 if (lastError != EGL_SUCCESS)
104 NSLog(@"%s failed (%x).\n", functionLastCalled, lastError);
H A DOGLES2HelloAPI_LinuxX11.cpp58 EGLint lastError = eglGetError(); local
59 if (lastError != EGL_SUCCESS)
61 printf("%s failed (%x).\n", functionLastCalled, lastError);
102 GLenum lastError = glGetError(); local
103 if (lastError != GL_NO_ERROR)
105 printf("%s failed (%x).\n", functionLastCalled, lastError);
/external/freetype/src/psaux/
H A Dpsintrp.c460 * even if continuing would be safe. In this case, `lastError' is
480 /* lastError is used for errors that are immediately tested */
481 FT_Error lastError = FT_Err_Ok; local
604 lastError = FT_THROW( Out_Of_Memory );
696 lastError = FT_THROW( Invalid_Glyph_Format );
718 lastError = FT_THROW( Invalid_Glyph_Format );
744 lastError = FT_THROW( Invalid_Glyph_Format );
754 lastError = font->cffload->blend_build_vector( &font->blend,
758 if ( lastError )
766 lastError
[all...]
H A Dpsfont.c492 FT_Error lastError = FT_Err_Ok; local
561 cf2_setError( &font->error, lastError );
/external/icu/icu4c/source/test/intltest/
H A Dwinnmtst.cpp195 DWORD lastError = GetLastError(); local
197 if (lastError == ERROR_INSUFFICIENT_BUFFER) {
209 DWORD lastError = GetLastError(); local
211 if (lastError == ERROR_INSUFFICIENT_BUFFER) {
/external/libxml2/python/tests/
H A DtstLastError.py25 when the exception is raised, check the libxml2.lastError for
32 e = libxml2.lastError()
34 self.fail("lastError not set")
/external/webrtc/webrtc/modules/audio_processing/agc/legacy/
H A Danalog_agc.h58 int16_t lastError; member in struct:__anon30842
H A Danalog_agc.c1244 stt->lastError = AGC_UNINITIALIZED_ERROR;
1250 stt->lastError = AGC_BAD_PARAMETER_ERROR;
1257 stt->lastError = AGC_BAD_PARAMETER_ERROR;
1301 stt->lastError = AGC_NULL_POINTER_ERROR;
1307 stt->lastError = AGC_UNINITIALIZED_ERROR;
1328 stt->lastError = 0;
1361 stt->lastError = AGC_UNINITIALIZED_ERROR;
1499 stt->lastError = AGC_UNSPECIFIED_ERROR;
/external/lzma/CPP/7zip/Common/
H A DFileStreams.cpp23 DWORD lastError = ::GetLastError();
24 if (lastError == 0)
26 return HRESULT_FROM_WIN32(lastError);
/external/autotest/client/cros/networking/chrome_testing/network_test_ext/
H A Dbackground.js33 var error = chrome.runtime.lastError;
/external/mdnsresponder/mDNSWindows/
H A DmDNSWin32.h62 DWORD lastError; member in struct:TCPSocket_struct
/external/icu/icu4c/source/i18n/
H A Dwinnmfmt.cpp411 DWORD lastError = GetLastError(); local
413 if (lastError == ERROR_INSUFFICIENT_BUFFER) {
/external/lzma/CPP/7zip/UI/Console/
H A DList.cpp1002 HRESULT lastError = 0; local
1019 lastError = HRESULT_FROM_WIN32(lastError);;
1085 lastError = result;
1284 if (numErrors == 1 && lastError != 0)
1285 return lastError;
/external/libxml2/include/libxml/
H A Dxpath.h345 xmlError lastError; /* the last error */ member in struct:_xmlXPathContext
H A Dparser.h301 xmlError lastError; member in struct:_xmlParserCtxt

Completed in 734 milliseconds

12