• Home
  • Raw
  • Download

Lines Matching full:error

12 static void test_failure(skiatest::Reporter* r, const char* src, const char* error) {  in test_failure()  argument
22 SkSL::String skError(error); in test_failure()
24 SkDebugf("SKSL ERROR:\n source: %s\n expected: %s received: %s", src, error, in test_failure()
43 "error: 1: unknown identifier 'x'\n1 error\n"); in DEF_TEST()
49 "error: 1: unknown identifier 'foo'\n1 error\n"); in DEF_TEST()
55 "error: 1: call to 'sin' expected 1 argument, but found 2\n1 error\n"); in DEF_TEST()
58 "error: 1: no match for sin(bool)\n1 error\n"); in DEF_TEST()
67 "error: 1: call to 'foo' expected 1 argument, but found 2\n1 error\n"); in DEF_TEST()
74 "error: 1: expected 'float', but found 'bool'\n1 error\n"); in DEF_TEST()
80 "error: 1: expected 'bool', but found 'int'\n1 error\n"); in DEF_TEST()
86 "error: 1: expected 'bool', but found 'float2'\n1 error\n"); in DEF_TEST()
92 "error: 1: expected 'bool', but found 'float3'\n1 error\n"); in DEF_TEST()
98 "error: 1: expected 'bool', but found 'int'\n1 error\n"); in DEF_TEST()
104 "error: 1: expected 'float', but found 'bool'\n1 error\n"); in DEF_TEST()
107 "error: 1: 'bool2' is not a valid parameter to 'float2' constructor\n1 error\n"); in DEF_TEST()
110 "error: 1: 'float2' is not a valid parameter to 'bool2' constructor\n1 error\n"); in DEF_TEST()
113 "error: 1: cannot construct 'bool'\n1 error\n"); in DEF_TEST()
116 "error: 1: cannot construct 'foo'\n1 error\n"); in DEF_TEST()
119 …"error: 1: invalid argument to 'float' constructor (expected a number or bool, but found 'foo')\n1… in DEF_TEST()
122 "error: 1: 'foo' is not a valid parameter to 'float2' constructor\n1 error\n"); in DEF_TEST()
125 "error: 1: expected 'float', but found 'bool'\n1 error\n"); in DEF_TEST()
131 "error: 1: invalid arguments to 'float3' constructor (expected 3 scalars, but " in DEF_TEST()
132 "found 2)\n1 error\n"); in DEF_TEST()
135 … "error: 1: invalid arguments to 'float3' constructor (expected 3 scalars, but found " in DEF_TEST()
136 "4)\n1 error\n"); in DEF_TEST()
142 "error: 1: cannot swizzle value of type 'float'\n1 error\n"); in DEF_TEST()
148 "error: 1: cannot swizzle value of type 'float2x2'\n1 error\n"); in DEF_TEST()
154 "error: 1: invalid swizzle component 'z'\n1 error\n"); in DEF_TEST()
160 "error: 1: too many components in swizzle mask 'xxxxx'\n1 error\n"); in DEF_TEST()
166 "error: 1: cannot write to the same swizzle field more than once\n1 error\n"); in DEF_TEST()
172 "error: 1: expected 'int', but found 'float'\n1 error\n"); in DEF_TEST()
175 "error: 1: type mismatch: '=' cannot operate on 'int', 'float'\n1 error\n"); in DEF_TEST()
180 "error: 1: type mismatch: '*=' cannot operate on 'int3', 'float'\n1 error\n"); in DEF_TEST()
186 "error: 1: may not return a value from a void function\n1 error\n"); in DEF_TEST()
192 "error: 1: expected function to return 'int'\n1 error\n"); in DEF_TEST()
198 "error: 1: expected 'int', but found 'float'\n1 error\n"); in DEF_TEST()
204 "error: 1: duplicate definition of void main()\n1 error\n"); in DEF_TEST()
212 "error: 1: expected '(' to begin constructor invocation\n1 error\n"); in DEF_TEST()
215 "error: 1: expected '(' to begin function call\n1 error\n"); in DEF_TEST()
220 "error: 1: functions 'void main()' and 'int main()' differ only in return type\n1 " in DEF_TEST()
221 "error\n"); in DEF_TEST()
227 "error: 1: modifiers on parameter 1 differ between declaration and definition\n1 " in DEF_TEST()
228 "error\n"); in DEF_TEST()
234 "error: 1: symbol 'main' was already defined\n1 error\n"); in DEF_TEST()
238 "error: 1: symbol 'x' was already defined\n1 error\n"); in DEF_TEST()
246 "error: 1: type mismatch: '*' cannot operate on 'int', 'bool'\n1 error\n"); in DEF_TEST()
249 "error: 1: type mismatch: '||' cannot operate on 'int', 'float'\n1 error\n"); in DEF_TEST()
252 "error: 1: type mismatch: '==' cannot operate on 'float2', 'int'\n1 error\n"); in DEF_TEST()
255 "error: 1: type mismatch: '!=' cannot operate on 'float2', 'int'\n1 error\n"); in DEF_TEST()
261 "error: 1: 'x' is not a function\n1 error\n"); in DEF_TEST()
267 "error: 1: '++' cannot operate on 'float4x4'\n1 error\n"); in DEF_TEST()
270 "error: 1: '--' cannot operate on 'float3'\n1 error\n"); in DEF_TEST()
273 "error: 1: '++' cannot operate on 'float4x4'\n1 error\n"); in DEF_TEST()
276 "error: 1: '--' cannot operate on 'float3'\n1 error\n"); in DEF_TEST()
279 "error: 1: '!' cannot operate on 'int'\n1 error\n"); in DEF_TEST()
282 "error: 1: '+' cannot operate on 'foo'\n1 error\n"); in DEF_TEST()
285 "error: 1: '-' cannot operate on 'foo'\n1 error\n"); in DEF_TEST()
293 "error: 1: cannot assign to '1'\n1 error\n"); in DEF_TEST()
296 "error: 1: cannot modify immutable variable 'x'\n1 error\n"); in DEF_TEST()
299 "error: 1: cannot modify immutable variable 'x'\n1 error\n"); in DEF_TEST()
305 "error: 1: expected array, but found 'int'\n1 error\n"); in DEF_TEST()
308 "error: 1: expected array, but found 'float'\n1 error\n"); in DEF_TEST()
314 "error: 1: ternary operator result mismatch: 'bool', 'float'\n1 error\n"); in DEF_TEST()
317 "error: 1: ternary operator result mismatch: 'float3', 'float'\n1 error\n"); in DEF_TEST()
323 "error: 1: interface block fields may not have storage qualifiers\n1 error\n"); in DEF_TEST()
329 "error: 1: 'x' has not been assigned\n1 error\n"); in DEF_TEST()
332 "error: 1: 'i' has not been assigned\n1 error\n"); in DEF_TEST()
335 "error: 1: 'r' has not been assigned\n1 error\n"); in DEF_TEST()
338 "error: 1: 'x' has not been assigned\n1 error\n"); in DEF_TEST()
341 "error: 1: 'x' has not been assigned\n1 error\n"); in DEF_TEST()
345 "error: 1: 'x' has not been assigned\n1 error\n"); in DEF_TEST()
351 "error: 1: unreachable\n1 error\n"); in DEF_TEST()
354 "error: 1: unreachable\n1 error\n"); in DEF_TEST()
357 "error: 1: unreachable\n1 error\n");*/ in DEF_TEST()
360 "error: 1: unreachable\n1 error\n"); in DEF_TEST()
363 "error: 1: unreachable\n1 error\n"); in DEF_TEST()
369 "error: 1: function can exit without returning a value\n1 error\n"); in DEF_TEST()
375 "error: 1: break statement must be inside a loop or switch\n1 error\n"); in DEF_TEST()
381 "error: 1: continue statement must be inside a loop\n1 error\n"); in DEF_TEST()
384 "error: 1: continue statement must be inside a loop\n1 error\n"); in DEF_TEST()
391 "error: 1: unknown identifier 'x'\n1 error\n"); in DEF_TEST()
394 "error: 1: unknown identifier 'x'\n1 error\n"); in DEF_TEST()
397 "error: 1: unknown identifier 'x'\n1 error\n"); in DEF_TEST()
400 "error: 1: unknown identifier 'x'\n1 error\n"); in DEF_TEST()
406 "error: 1: unknown capability flag 'bugFreeDriver'\n1 error\n"); in DEF_TEST()
412 "error: 1: division by zero\n1 error\n"); in DEF_TEST()
415 "error: 1: division by zero\n1 error\n"); in DEF_TEST()
418 "error: 1: division by zero\n1 error\n"); in DEF_TEST()
421 "error: 1: division by zero\n1 error\n"); in DEF_TEST()
427 "error: 1: unknown identifier 'gl_FragCoord'\n1 error\n"); in DEF_TEST()
430 "error: 1: unknown identifier 'gl_FragColor'\n1 error\n"); in DEF_TEST()
436 "error: 1: expected 'int', but found 'float2'\n1 error\n"); in DEF_TEST()
439 "error: 1: expected 'int', but found 'float2'\n1 error\n"); in DEF_TEST()
445 "error: 1: case value must be a constant\n1 error\n"); in DEF_TEST()
451 "error: 1: duplicate case value\n1 error\n"); in DEF_TEST()
457 "error: 1: only the last entry in an interface block may be a runtime-sized " in DEF_TEST()
458 "array\n1 error\n"); in DEF_TEST()
468 "error: 1: static if has non-static test\n1 error\n"); in DEF_TEST()
488 "error: 1: static switch has non-static test\n1 error\n"); in DEF_TEST()
497 "error: 1: static switch contains non-static conditional break\n1 error\n"); in DEF_TEST()
505 "error: 1: unknown identifier 'x'\n1 error\n"); in DEF_TEST()
511 "error: 1: out location=0, index=0 is reserved for sk_FragColor\n1 error\n"); in DEF_TEST()