Home
last modified time | relevance | path

Searched refs:checkError (Results 1 – 25 of 50) sorted by relevance

12

/third_party/jerryscript/tests/jerry/es2015/
Dfor-of.js24 function checkError (obj) { function
59 checkError(5)
63 checkError (obj);
69 checkError (obj);
77 checkError(obj);
84 checkError(obj);
95 checkError(obj);
/third_party/node/test/js-native-api/test_error/
Dtest.js18 assert.strictEqual(test_error.checkError(theError), true);
21 assert.strictEqual(test_error.checkError(theTypeError), true);
24 assert.strictEqual(test_error.checkError(theSyntaxError), true);
27 assert.strictEqual(test_error.checkError(theRangeError), true);
30 assert.strictEqual(test_error.checkError(theReferenceError), true);
33 assert.strictEqual(test_error.checkError(theURIError), true);
36 assert.strictEqual(test_error.checkError(theEvalError), true);
39 assert.strictEqual(test_error.checkError(myError), true);
42 assert.strictEqual(test_error.checkError({}), false);
45 assert.strictEqual(test_error.checkError('non-object'), false);
Dtest_error.c6 static napi_value checkError(napi_env env, napi_callback_info info) { in checkError() function
171 DECLARE_NODE_API_PROPERTY("checkError", checkError), in Init()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArrayTex3DValidation.cpp93 if (!checkError(GL_NO_ERROR, "glTexImage3D() call failed when called with valid arguments - ")) in iterate()
102 if (!checkError(GL_NO_ERROR, "glTexStorage3D() call failed when called with valid arguments - ")) in iterate()
119 …if (!checkError(GL_INVALID_VALUE, "glTexImage3D() call generated an invalid error code when width … in iterate()
128 if (!checkError(GL_INVALID_VALUE, "glTexStorage3D() call generated an invalid error code " in iterate()
145 if (!checkError(GL_INVALID_VALUE, "glTexImage3D() call generated an invalid error code" in iterate()
158 if (!checkError(GL_INVALID_VALUE, "glTexStorage3D() call generated an invalid error " in iterate()
175 …if (!checkError(GL_INVALID_OPERATION, "glTexStorage3D() call generated an invalid error code when … in iterate()
204 bool TextureCubeMapArrayTex3DValidation::checkError(glw::GLint expectedError, const char* message) in checkError() function in glcts::TextureCubeMapArrayTex3DValidation
DesextcTextureCubeMapArrayTex3DValidation.hpp71 bool checkError(glw::GLint expectedError, const char* message);
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fFboApiTest.cpp64 static void checkError (tcu::TestContext& testCtx, sglr::Context& ctx, GLenum expect) in checkError() function
171 checkError(testCtx, context, levels[ndx] == 0 ? GL_NO_ERROR : GL_INVALID_VALUE); in textureLevelsTest()
191 checkError(testCtx, context, de::inBounds(levels[ndx], 0, 16) ? GL_NO_ERROR : GL_INVALID_VALUE); in textureLevelsWithRenderToMipmapTest()
211 checkError(testCtx, context, GL_NO_ERROR); in validTex2DAttachmentsTest()
243 checkError(testCtx, context, GL_NO_ERROR); in validTexCubeAttachmentsTest()
265 checkError(testCtx, context, GL_NO_ERROR); in validRboAttachmentsTest()
276 checkError(testCtx, context, GL_INVALID_OPERATION); in attachToDefaultFramebufferTest()
283 checkError(testCtx, context, GL_INVALID_OPERATION); in attachToDefaultFramebufferTest()
295 checkError(testCtx, context, GL_INVALID_OPERATION); in invalidTex2DAttachmentTest()
300 checkError(testCtx, context, GL_INVALID_OPERATION); in invalidTex2DAttachmentTest()
[all …]
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fFboApiTests.cpp59 static void checkError (tcu::TestContext& testCtx, sglr::Context& ctx, GLenum expect) in checkError() function
166checkError(testCtx, context, levels[ndx] >= 0 && levels[ndx] <= log2MaxTexSize ? GL_NO_ERROR : GL_… in textureLevelsTest()
186 checkError(testCtx, context, GL_NO_ERROR); in validTex2DAttachmentsTest()
218 checkError(testCtx, context, GL_NO_ERROR); in validTexCubeAttachmentsTest()
240 checkError(testCtx, context, GL_NO_ERROR); in validRboAttachmentsTest()
251 checkError(testCtx, context, GL_INVALID_OPERATION); in attachToDefaultFramebufferTest()
258 checkError(testCtx, context, GL_INVALID_OPERATION); in attachToDefaultFramebufferTest()
270 checkError(testCtx, context, GL_INVALID_OPERATION); in invalidTex2DAttachmentTest()
275 checkError(testCtx, context, GL_INVALID_OPERATION); in invalidTex2DAttachmentTest()
286 checkError(testCtx, context, GL_INVALID_OPERATION); in invalidTexCubeAttachmentTest()
[all …]
Des3fFboColorbufferTests.cpp131 checkError(); in render()
135 checkError(); in render()
196 checkError(); in render()
272 checkError(); in render()
397 checkError(); in render()
406 checkError(); in render()
446 checkError(); in render()
463 checkError(); in render()
533 checkError(); in render()
572 checkError(); in render()
[all …]
Des3fFboDepthbufferTests.cpp97 checkError(); in render()
189 checkError(); in render()
275 checkError(); in render()
Des3fFramebufferBlitTests.cpp105 checkError(); in render()
394 checkError(); in render()
421 checkError(); in render()
550 checkError(); in render()
681 checkError(); in render()
810 checkError(); in render()
851 checkError(); in render()
863 checkError(); in render()
874 checkError(); in render()
Des3fFboTestCase.hpp62 void checkError (void);
Des3fFboStencilbufferTests.cpp96 checkError(); in render()
193 checkError(); in render()
/third_party/vk-gl-cts/framework/egl/
DegluDefs.hpp28 #define EGLU_CHECK(EGLW) eglu::checkError((EGLW).getError(), DE_NULL, __FILE__, __LINE__)
29 #define EGLU_CHECK_MSG(EGLW, MSG) eglu::checkError((EGLW).getError(), MSG, __FILE__, __LINE__)
30 #define EGLU_CHECK_CALL(EGLW, CALL) do { (EGLW).CALL; eglu::checkError((EGLW).getError(), #CALL, …
31 #define EGLU_CHECK_CALL_FPTR(EGLW, CALL) do { CALL; eglu::checkError((EGLW).getError(), #CALL, __FI…
60 void checkError (deUint32 err, const char* msg, const char* file, int line);
/third_party/vk-gl-cts/modules/glshared/
DglsStateQueryUtil.cpp43 static bool checkError (tcu::ResultCollector& result, glu::CallLogWrapper& gl, const char* msg) in checkError() function
279 if (!checkError(result, gl, "glIsEnabled")) in queryState()
294 if (!checkError(result, gl, "glGetBooleanv")) in queryState()
311 if (!checkError(result, gl, "glGetIntegerv")) in queryState()
326 if (!checkError(result, gl, "glGetInteger64v")) in queryState()
341 if (!checkError(result, gl, "glGetFloatv")) in queryState()
366 if (!checkError(result, gl, "glGetBooleani_v")) in queryIndexedState()
392 if (!checkError(result, gl, "glGetIntegeri_v")) in queryIndexedState()
407 if (!checkError(result, gl, "glGetInteger64i_v")) in queryIndexedState()
421 if (!checkError(result, gl, "glIsEnabledi")) in queryIndexedState()
[all …]
/third_party/python/Lib/test/
Dtest_regrtest.py46 def checkError(self, args, msg): member in ParseArgsTestCase
62 self.checkError(['--timeout'], 'expected one argument')
63 self.checkError(['--timeout', 'foo'], 'invalid float value')
72 self.checkError(['--worker-args'], 'expected one argument')
79 self.checkError([opt], 'expected one argument')
135 self.checkError(['--randseed'], 'expected one argument')
136 self.checkError(['--randseed', 'foo'], 'invalid int value')
143 self.checkError([opt], 'expected one argument')
144 self.checkError([opt, 'foo', '-s'], "don't go together")
157 self.checkError([opt, '-f', 'foo'], "don't go together")
[all …]
/third_party/vk-gl-cts/framework/opengl/
DgluDefs.cpp65 void checkError (const RenderContext& context, const char* msg, const char* file, int line) in checkError() function
67 checkError(context.getFunctions().getError(), msg, file, line); in checkError()
70 void checkError (deUint32 err, const char* msg, const char* file, int line) in checkError() function
DgluDefs.hpp29 #define GLU_EXPECT_NO_ERROR(ERR, MSG) glu::checkError((ERR), MSG, __FILE__, __LINE__)
74 void checkError (deUint32 err, const char* msg, const char* file, int line);
75 void checkError (const RenderContext& context, const char* msg, const char* file, int line);
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fDrawTests.cpp924 glu::checkError(ctx.getError(), "", __FILE__, __LINE__); in renderTo()
938 glu::checkError(ctx.getError(), "", __FILE__, __LINE__); in renderTo()
1399 glu::checkError(gl.getError(), "create draw command", __FILE__, __LINE__); in createDrawCommand()
1467 glu::checkError(gl.getError(), "", __FILE__, __LINE__); in createDrawData()
1494 glu::checkError(gl.getError(), "", __FILE__, __LINE__); in createDrawIndices()
1546 glu::checkError(gl.getError(), "", __FILE__, __LINE__); in renderTo()
1549 glu::checkError(gl.getError(), "", __FILE__, __LINE__); in renderTo()
1552 glu::checkError(gl.getError(), "", __FILE__, __LINE__); in renderTo()
1642 glu::checkError(gl.getError(), "use compute shader", __FILE__, __LINE__); in runComputeShader()
1682 glu::checkError(gl.getError(), "setup buffers", __FILE__, __LINE__); in runComputeShader()
[all …]
Des31fFboColorbufferTests.cpp161 checkError(); in render()
191 checkError(); in render()
274 checkError(); in render()
315 checkError(); in render()
335 checkError(); in render()
Des31fFboTestCase.hpp62 void checkError (void);
/third_party/node/lib/internal/streams/
Ddestroy.js23 function checkError(err, w, r) { function
56 checkError(err, w, r);
89 checkError(err, w, r);
/third_party/vk-gl-cts/modules/gles31/stress/
Des31sDrawTests.cpp191 glu::checkError(gl.glGetError(), "gen vao", __FILE__, __LINE__); in iterate()
205 glu::checkError(gl.glGetError(), "", __FILE__, __LINE__); in iterate()
218 glu::checkError(gl.glGetError(), "", __FILE__, __LINE__); in iterate()
231 glu::checkError(gl.glGetError(), "", __FILE__, __LINE__); in iterate()
255 glu::checkError(gl.glGetError(), "", __FILE__, __LINE__); in iterate()
279 glu::checkError(gl.glGetError(), "", __FILE__, __LINE__); in iterate()
/third_party/vk-gl-cts/modules/egl/
DteglQueryConfigTests.cpp118 eglu::checkError(eglGetError(), DE_NULL, __FILE__, __LINE__); in checkGetConfigsBounds()
253 eglu::checkError(eglGetError(), DE_NULL, __FILE__, __LINE__); in iterate()
275 eglu::checkError(eglGetError(), DE_NULL, __FILE__, __LINE__); in getValue()
414 eglu::checkError(eglGetError(), DE_NULL, __FILE__, __LINE__); in executeTest()
DteglGetProcAddressTests.cpp199 eglu::checkError(eglGetError(), "eglGetProcAddress()", __FILE__, __LINE__); in executeTest()
326 eglu::checkError(eglGetError(), "eglGetProcAddress()", __FILE__, __LINE__); in executeTest()
/third_party/skia/third_party/externals/angle2/src/common/
Dangleutils.h78 checkError();
85 void checkError();

12