Home
last modified time | relevance | path

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

123

/third_party/flutter/skia/third_party/externals/sdl/test/
Dtestautomation_sdltest.c157 char *lastError; in sdltest_randomBoundaryNumberUint8() local
226 lastError = (char *)SDL_GetError(); in sdltest_randomBoundaryNumberUint8()
228 …SDLTest_AssertCheck(lastError == NULL || lastError[0] == '\0', "Validate no error message was set"… in sdltest_randomBoundaryNumberUint8()
236 lastError = (char *)SDL_GetError(); in sdltest_randomBoundaryNumberUint8()
238 …SDLTest_AssertCheck(lastError == NULL || lastError[0] == '\0', "Validate no error message was set"… in sdltest_randomBoundaryNumberUint8()
246 lastError = (char *)SDL_GetError(); in sdltest_randomBoundaryNumberUint8()
248 SDLTest_AssertCheck(lastError != NULL && SDL_strcmp(lastError, expectedError) == 0, in sdltest_randomBoundaryNumberUint8()
251 lastError); in sdltest_randomBoundaryNumberUint8()
267 char *lastError; in sdltest_randomBoundaryNumberUint16() local
336 lastError = (char *)SDL_GetError(); in sdltest_randomBoundaryNumberUint16()
[all …]
Dtestautomation_platform.c284 char *lastError; in platform_testGetSetClearError() local
290 lastError = (char *)SDL_GetError(); in platform_testGetSetClearError()
292 SDLTest_AssertCheck(lastError != NULL, in platform_testGetSetClearError()
294 if (lastError != NULL) in platform_testGetSetClearError()
296 len = SDL_strlen(lastError); in platform_testGetSetClearError()
304 lastError = (char *)SDL_GetError(); in platform_testGetSetClearError()
305 SDLTest_AssertCheck(lastError != NULL, in platform_testGetSetClearError()
307 if (lastError != NULL) in platform_testGetSetClearError()
309 len = SDL_strlen(lastError); in platform_testGetSetClearError()
314 SDLTest_AssertCheck(SDL_strcmp(lastError, testError) == 0, in platform_testGetSetClearError()
[all …]
Dtestautomation_video.c543 char *lastError; in video_getWindowBrightnessNegative() local
550 lastError = (char *)SDL_GetError(); in video_getWindowBrightnessNegative()
552 SDLTest_AssertCheck(lastError != NULL, "Verify error message is not NULL"); in video_getWindowBrightnessNegative()
553 if (lastError != NULL) { in video_getWindowBrightnessNegative()
554 SDLTest_AssertCheck(SDL_strcmp(lastError, invalidWindowError) == 0, in video_getWindowBrightnessNegative()
557 lastError); in video_getWindowBrightnessNegative()
602 char *lastError; in _checkInvalidWindowError() local
604 lastError = (char *)SDL_GetError(); in _checkInvalidWindowError()
606 SDLTest_AssertCheck(lastError != NULL, "Verify error message is not NULL"); in _checkInvalidWindowError()
607 if (lastError != NULL) { in _checkInvalidWindowError()
[all …]
/third_party/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.c1835 if (ctxt->lastError.message != NULL) in xmlFreeParserCtxt()
1836 xmlFree(ctxt->lastError.message); in xmlFreeParserCtxt()
1837 if (ctxt->lastError.file != NULL) in xmlFreeParserCtxt()
1838 xmlFree(ctxt->lastError.file); in xmlFreeParserCtxt()
1839 if (ctxt->lastError.str1 != NULL) in xmlFreeParserCtxt()
1840 xmlFree(ctxt->lastError.str1); in xmlFreeParserCtxt()
1841 if (ctxt->lastError.str2 != NULL) in xmlFreeParserCtxt()
1842 xmlFree(ctxt->lastError.str2); in xmlFreeParserCtxt()
1843 if (ctxt->lastError.str3 != NULL) in xmlFreeParserCtxt()
1844 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()
/third_party/vk-gl-cts/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 …]
/third_party/vk-gl-cts/framework/platform/null/
DtcuNullRenderContext.cpp97 GLenum lastError; member in tcu::null::Context
123 , lastError (GL_NO_ERROR) in Context()
290 const GLenum lastErr = ctx->lastError; in glGetError()
292 ctx->lastError = GL_NO_ERROR; in glGetError()
479 ctx->lastError = GL_INVALID_ENUM; in glGetString()
494 ctx->lastError = GL_INVALID_VALUE; in glGetStringi()
500 ctx->lastError = GL_INVALID_ENUM; in glGetStringi()
642 if (ctx->lastError == GL_NO_ERROR) in glMapBufferRange()
643 ctx->lastError = GL_INVALID_OPERATION; in glMapBufferRange()
666 if (ctx->lastError == GL_NO_ERROR) in glReadPixels()
[all …]
/third_party/flutter/skia/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/rendering/
DShaderUtil.java71 int lastError = GLES20.GL_NO_ERROR; in checkGLError() local
76 lastError = error; in checkGLError()
78 if (lastError != GLES20.GL_NO_ERROR) { in checkGLError()
79 throw new RuntimeException(label + ": glError " + lastError); in checkGLError()
/third_party/node/deps/npm/node_modules/pacote/
Dtarball.js28 let lastError = null
30 if (hasTouchedOutput && lastError) {
31 throw lastError
43 lastError = err
/third_party/freetype/src/psaux/
Dpsintrp.c481 FT_Error lastError = FT_Err_Ok; in cf2_interpT2CharString() local
604 lastError = FT_THROW( Out_Of_Memory ); in cf2_interpT2CharString()
697 lastError = FT_THROW( Invalid_Glyph_Format ); in cf2_interpT2CharString()
719 lastError = FT_THROW( Invalid_Glyph_Format ); in cf2_interpT2CharString()
745 lastError = FT_THROW( Invalid_Glyph_Format ); in cf2_interpT2CharString()
755 lastError = font->cffload->blend_build_vector( &font->blend, in cf2_interpT2CharString()
759 if ( lastError ) in cf2_interpT2CharString()
767 lastError = FT_THROW( Invalid_Glyph_Format ); in cf2_interpT2CharString()
985 lastError = FT_THROW( Invalid_Glyph_Format ); in cf2_interpT2CharString()
1021 lastError = FT_THROW( Invalid_Glyph_Format ); in cf2_interpT2CharString()
[all …]
Dpsfont.c491 FT_Error lastError = FT_Err_Ok; in cf2_getGlyphOutline() local
560 cf2_setError( &font->error, lastError ); in cf2_getGlyphOutline()
/third_party/skia/third_party/externals/freetype/src/psaux/
Dpsintrp.c481 FT_Error lastError = FT_Err_Ok; in cf2_interpT2CharString() local
604 lastError = FT_THROW( Out_Of_Memory ); in cf2_interpT2CharString()
697 lastError = FT_THROW( Invalid_Glyph_Format ); in cf2_interpT2CharString()
719 lastError = FT_THROW( Invalid_Glyph_Format ); in cf2_interpT2CharString()
745 lastError = FT_THROW( Invalid_Glyph_Format ); in cf2_interpT2CharString()
755 lastError = font->cffload->blend_build_vector( &font->blend, in cf2_interpT2CharString()
759 if ( lastError ) in cf2_interpT2CharString()
767 lastError = FT_THROW( Invalid_Glyph_Format ); in cf2_interpT2CharString()
985 lastError = FT_THROW( Invalid_Glyph_Format ); in cf2_interpT2CharString()
1021 lastError = FT_THROW( Invalid_Glyph_Format ); in cf2_interpT2CharString()
[all …]
Dpsfont.c491 FT_Error lastError = FT_Err_Ok; in cf2_getGlyphOutline() local
560 cf2_setError( &font->error, lastError ); in cf2_getGlyphOutline()
/third_party/flutter/skia/third_party/externals/freetype/src/psaux/
Dpsintrp.c481 FT_Error lastError = FT_Err_Ok; in cf2_interpT2CharString() local
604 lastError = FT_THROW( Out_Of_Memory ); in cf2_interpT2CharString()
697 lastError = FT_THROW( Invalid_Glyph_Format ); in cf2_interpT2CharString()
719 lastError = FT_THROW( Invalid_Glyph_Format ); in cf2_interpT2CharString()
745 lastError = FT_THROW( Invalid_Glyph_Format ); in cf2_interpT2CharString()
755 lastError = font->cffload->blend_build_vector( &font->blend, in cf2_interpT2CharString()
759 if ( lastError ) in cf2_interpT2CharString()
767 lastError = FT_THROW( Invalid_Glyph_Format ); in cf2_interpT2CharString()
985 lastError = FT_THROW( Invalid_Glyph_Format ); in cf2_interpT2CharString()
1021 lastError = FT_THROW( Invalid_Glyph_Format ); in cf2_interpT2CharString()
[all …]
Dpsfont.c492 FT_Error lastError = FT_Err_Ok; in cf2_getGlyphOutline() local
561 cf2_setError( &font->error, lastError ); in cf2_getGlyphOutline()
/third_party/node/deps/npm/lib/search/
Dall-package-metadata.js310 var lastError = null
312 if (err !== lastError) {
313 lastError = err
319 if (err !== lastError) {
320 lastError = err
/third_party/skia/samplecode/
DSampleFitCubicToCircle.cpp234 double lastError = -1; in onChar() local
235 for (double theta = fTheta; lastError != 0; theta /= 2) { in onChar()
246 if (lastError > 0) { in onChar()
247 SkDebugf(" (%17.14fx improvement)", lastError / error); in onChar()
250 lastError = error; in onChar()
/third_party/icu/icu4c/source/test/intltest/
Dwinnmtst.cpp195 DWORD lastError = GetLastError(); in getWindowsFormat() local
197 if (lastError == ERROR_INSUFFICIENT_BUFFER) { in getWindowsFormat()
209 DWORD lastError = GetLastError(); in getWindowsFormat() local
211 if (lastError == ERROR_INSUFFICIENT_BUFFER) { in getWindowsFormat()
/third_party/flutter/skia/third_party/externals/sdl/test/nacl/
Dcommon.js205 updateStatus('ERROR [' + moduleEl.lastError + ']');
220 window.handleCrash(common.naclModule.lastError);
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DHLSLCompiler.cpp164 DWORD lastError = GetLastError(); in ensureInitialized() local
165 ERR() << "D3D Compiler LoadLibrary failed. GetLastError=" << lastError; in ensureInitialized()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DHLSLCompiler.cpp164 DWORD lastError = GetLastError(); in ensureInitialized() local
165 ERR() << "D3D Compiler LoadLibrary failed. GetLastError=" << lastError; in ensureInitialized()
/third_party/libxml2/python/tests/
DtstLastError.py35 e = libxml2.lastError()
/third_party/skia/third_party/externals/icu/source/i18n/
Dwinnmfmt.cpp412 DWORD lastError = GetLastError(); in format() local
414 if (lastError == ERROR_INSUFFICIENT_BUFFER) { in format()
/third_party/icu/icu4c/source/i18n/
Dwinnmfmt.cpp417 DWORD lastError = GetLastError(); in format() local
419 if (lastError == ERROR_INSUFFICIENT_BUFFER) { in format()

123