Searched refs:assert (Results 1 - 25 of 10240) sorted by relevance

1234567891011>>

/external/clang/test/SemaCXX/
H A Dwarn-string-conversion.cpp5 void assert(bool condition);
13 assert("error"); // expected-warning{{implicit conversion turns string literal into bool: 'const char [6]' to 'bool'}}
14 assert(0 || "error"); // expected-warning{{implicit conversion turns string literal into bool: 'const char [6]' to 'bool'}}
15 assert("error" || 0); // expected-warning{{implicit conversion turns string literal into bool: 'const char [6]' to 'bool'}}
16 assert(0 && "error");
17 assert("error" && 0);
/external/stlport/test/unit/
H A Dassert_header_test.c8 #include <assert.h>
/external/libcxx/test/depr/depr.c.headers/
H A Dassert_h.pass.cpp10 // test <assert.h>
12 #include <assert.h>
14 #ifndef assert
15 #error assert not defined
/external/libcxx/test/numerics/numarray/template.gslice.array/gslice.array.fill/
H A Dassign_value.pass.cpp32 assert(v1.size() == 41);
33 assert(v1[ 0] == 0);
34 assert(v1[ 1] == 1);
35 assert(v1[ 2] == 2);
36 assert(v1[ 3] == 51);
37 assert(v1[ 4] == 51);
38 assert(v1[ 5] == 51);
39 assert(v1[ 6] == 6);
40 assert(v1[ 7] == 51);
41 assert(v
[all...]
/external/libcxx/test/numerics/numarray/template.indirect.array/indirect.array.assign/
H A Dvalarray.pass.cpp35 assert(v1.size() == 41);
36 assert(v1[ 0] == 0);
37 assert(v1[ 1] == 1);
38 assert(v1[ 2] == 2);
39 assert(v1[ 3] == 0);
40 assert(v1[ 4] == -1);
41 assert(v1[ 5] == -2);
42 assert(v1[ 6] == 6);
43 assert(v1[ 7] == -3);
44 assert(v
[all...]
/external/libcxx/test/numerics/numarray/template.indirect.array/indirect.array.comp.assign/
H A Daddition.pass.cpp35 assert(v1.size() == 41);
36 assert(v1[ 0] == 0);
37 assert(v1[ 1] == 1);
38 assert(v1[ 2] == 2);
39 assert(v1[ 3] == 3);
40 assert(v1[ 4] == 3);
41 assert(v1[ 5] == 3);
42 assert(v1[ 6] == 6);
43 assert(v1[ 7] == 4);
44 assert(v
[all...]
H A Dand.pass.cpp35 assert(v1.size() == 41);
36 assert(v1[ 0] == 0);
37 assert(v1[ 1] == 1);
38 assert(v1[ 2] == 2);
39 assert(v1[ 3] == 1);
40 assert(v1[ 4] == 0);
41 assert(v1[ 5] == 1);
42 assert(v1[ 6] == 6);
43 assert(v1[ 7] == 4);
44 assert(v
[all...]
H A Ddivide.pass.cpp35 assert(v1.size() == 41);
36 assert(v1[ 0] == 0);
37 assert(v1[ 1] == 1);
38 assert(v1[ 2] == 2);
39 assert(v1[ 3] == 3);
40 assert(v1[ 4] == 2);
41 assert(v1[ 5] == 1);
42 assert(v1[ 6] == 6);
43 assert(v1[ 7] == 1);
44 assert(v
[all...]
H A Dmodulo.pass.cpp35 assert(v1.size() == 41);
36 assert(v1[ 0] == 0);
37 assert(v1[ 1] == 1);
38 assert(v1[ 2] == 2);
39 assert(v1[ 3] == 0);
40 assert(v1[ 4] == 0);
41 assert(v1[ 5] == 2);
42 assert(v1[ 6] == 6);
43 assert(v1[ 7] == 3);
44 assert(v
[all...]
H A Dmultiply.pass.cpp35 assert(v1.size() == 41);
36 assert(v1[ 0] == 0);
37 assert(v1[ 1] == 1);
38 assert(v1[ 2] == 2);
39 assert(v1[ 3] == 3);
40 assert(v1[ 4] == 8);
41 assert(v1[ 5] == 15);
42 assert(v1[ 6] == 6);
43 assert(v1[ 7] == 28);
44 assert(v
[all...]
H A Dor.pass.cpp35 assert(v1.size() == 41);
36 assert(v1[ 0] == 0);
37 assert(v1[ 1] == 1);
38 assert(v1[ 2] == 2);
39 assert(v1[ 3] == 3);
40 assert(v1[ 4] == 6);
41 assert(v1[ 5] == 7);
42 assert(v1[ 6] == 6);
43 assert(v1[ 7] == 7);
44 assert(v
[all...]
H A Dshift_left.pass.cpp35 assert(v1.size() == 41);
36 assert(v1[ 0] == 0);
37 assert(v1[ 1] == 1);
38 assert(v1[ 2] == 2);
39 assert(v1[ 3] == 6);
40 assert(v1[ 4] == 16);
41 assert(v1[ 5] == 40);
42 assert(v1[ 6] == 6);
43 assert(v1[ 7] == 112);
44 assert(v
[all...]
H A Dshift_right.pass.cpp35 assert(v1.size() == 41);
36 assert(v1[ 0] == 0);
37 assert(v1[ 1] == 1);
38 assert(v1[ 2] == 2);
39 assert(v1[ 3] == 1);
40 assert(v1[ 4] == 1);
41 assert(v1[ 5] == 0);
42 assert(v1[ 6] == 6);
43 assert(v1[ 7] == 0);
44 assert(v
[all...]
H A Dsubtraction.pass.cpp35 assert(v1.size() == 41);
36 assert(v1[ 0] == 0);
37 assert(v1[ 1] == 1);
38 assert(v1[ 2] == 2);
39 assert(v1[ 3] == 2);
40 assert(v1[ 4] == 2);
41 assert(v1[ 5] == 2);
42 assert(v1[ 6] == 6);
43 assert(v1[ 7] == 3);
44 assert(v
[all...]
H A Dxor.pass.cpp35 assert(v1.size() == 41);
36 assert(v1[ 0] == 0);
37 assert(v1[ 1] == 1);
38 assert(v1[ 2] == 2);
39 assert(v1[ 3] == 2);
40 assert(v1[ 4] == 6);
41 assert(v1[ 5] == 6);
42 assert(v1[ 6] == 6);
43 assert(v1[ 7] == 3);
44 assert(v
[all...]
/external/libcxx/test/numerics/numarray/template.indirect.array/indirect.array.fill/
H A Dassign_value.pass.cpp32 assert(v1.size() == 41);
33 assert(v1[ 0] == 0);
34 assert(v1[ 1] == 1);
35 assert(v1[ 2] == 2);
36 assert(v1[ 3] == 51);
37 assert(v1[ 4] == 51);
38 assert(v1[ 5] == 51);
39 assert(v1[ 6] == 6);
40 assert(v1[ 7] == 51);
41 assert(v
[all...]
/external/libcxx/test/numerics/numarray/template.slice.array/slice.arr.assign/
H A Dvalarray.pass.cpp26 assert(v1.size() == 16);
27 assert(v1[ 0] == 0);
28 assert(v1[ 1] == -1);
29 assert(v1[ 2] == 2);
30 assert(v1[ 3] == 3);
31 assert(v1[ 4] == -2);
32 assert(v1[ 5] == 5);
33 assert(v1[ 6] == 6);
34 assert(v1[ 7] == -3);
35 assert(v
[all...]
/external/libcxx/test/numerics/numarray/template.slice.array/slice.arr.comp.assign/
H A Daddition.pass.cpp26 assert(v1.size() == 16);
27 assert(v1[ 0] == 0);
28 assert(v1[ 1] == 0);
29 assert(v1[ 2] == 2);
30 assert(v1[ 3] == 3);
31 assert(v1[ 4] == 2);
32 assert(v1[ 5] == 5);
33 assert(v1[ 6] == 6);
34 assert(v1[ 7] == 4);
35 assert(v
[all...]
H A Dand.pass.cpp26 assert(v1.size() == 16);
27 assert(v1[ 0] == 0);
28 assert(v1[ 1] == 1);
29 assert(v1[ 2] == 2);
30 assert(v1[ 3] == 3);
31 assert(v1[ 4] == 0);
32 assert(v1[ 5] == 5);
33 assert(v1[ 6] == 6);
34 assert(v1[ 7] == 3);
35 assert(v
[all...]
H A Ddivide.pass.cpp26 assert(v1.size() == 16);
27 assert(v1[ 0] == 0);
28 assert(v1[ 1] == -1);
29 assert(v1[ 2] == 2);
30 assert(v1[ 3] == 3);
31 assert(v1[ 4] == -2);
32 assert(v1[ 5] == 5);
33 assert(v1[ 6] == 6);
34 assert(v1[ 7] == -2);
35 assert(v
[all...]
H A Dmodulo.pass.cpp26 assert(v1.size() == 16);
27 assert(v1[ 0] == 0);
28 assert(v1[ 1] == 0);
29 assert(v1[ 2] == 2);
30 assert(v1[ 3] == 3);
31 assert(v1[ 4] == 0);
32 assert(v1[ 5] == 5);
33 assert(v1[ 6] == 6);
34 assert(v1[ 7] == 1);
35 assert(v
[all...]
H A Dmultiply.pass.cpp26 assert(v1.size() == 16);
27 assert(v1[ 0] == 0);
28 assert(v1[ 1] == -1);
29 assert(v1[ 2] == 2);
30 assert(v1[ 3] == 3);
31 assert(v1[ 4] == -8);
32 assert(v1[ 5] == 5);
33 assert(v1[ 6] == 6);
34 assert(v1[ 7] == -21);
35 assert(v
[all...]
H A Dor.pass.cpp26 assert(v1.size() == 16);
27 assert(v1[ 0] == 0);
28 assert(v1[ 1] == 1);
29 assert(v1[ 2] == 2);
30 assert(v1[ 3] == 3);
31 assert(v1[ 4] == 6);
32 assert(v1[ 5] == 5);
33 assert(v1[ 6] == 6);
34 assert(v1[ 7] == 7);
35 assert(v
[all...]
H A Dshift_left.pass.cpp26 assert(v1.size() == 16);
27 assert(v1[ 0] == 0);
28 assert(v1[ 1] == 2);
29 assert(v1[ 2] == 2);
30 assert(v1[ 3] == 3);
31 assert(v1[ 4] == 16);
32 assert(v1[ 5] == 5);
33 assert(v1[ 6] == 6);
34 assert(v1[ 7] == 56);
35 assert(v
[all...]
H A Dshift_right.pass.cpp26 assert(v1.size() == 16);
27 assert(v1[ 0] == 0);
28 assert(v1[ 1] == 0);
29 assert(v1[ 2] == 2);
30 assert(v1[ 3] == 3);
31 assert(v1[ 4] == 1);
32 assert(v1[ 5] == 5);
33 assert(v1[ 6] == 6);
34 assert(v1[ 7] == 0);
35 assert(v
[all...]

Completed in 292 milliseconds

1234567891011>>