Home
last modified time | relevance | path

Searched refs:expected (Results 1 – 25 of 6049) sorted by relevance

12345678910>>...242

/external/curl/tests/libtest/
Dlib557.c66 const char *expected; /* expected string */ member
73 const char *expected; /* expected string */ member
80 const char *expected; /* expected string */ member
87 const char *expected; /* expected string */ member
94 const char *expected; /* expected string */ member
101 const char *expected; /* expected string */ member
108 const char *expected; /* expected string */ member
130 i = 1; us_test[i].num = 0xFFU; us_test[i].expected = "256"; in test_unsigned_short_formatting()
131 i++; us_test[i].num = 0xF0U; us_test[i].expected = "240"; in test_unsigned_short_formatting()
132 i++; us_test[i].num = 0x0FU; us_test[i].expected = "15"; in test_unsigned_short_formatting()
[all …]
/external/arm-neon-tests/
Dexpected_input4gcc.txt3 VECT_VAR_DECL(expected,int,8,8) [] = { 0xf0, 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7 };
4 VECT_VAR_DECL(expected,int,16,4) [] = { 0xfff0, 0xfff1, 0xfff2, 0xfff3 };
5 VECT_VAR_DECL(expected,int,32,2) [] = { 0xfffffff0, 0xfffffff1 };
6 VECT_VAR_DECL(expected,int,64,1) [] = { 0xfffffffffffffff0 };
7 VECT_VAR_DECL(expected,uint,8,8) [] = { 0xf0, 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7 };
8 VECT_VAR_DECL(expected,uint,16,4) [] = { 0xfff0, 0xfff1, 0xfff2, 0xfff3 };
9 VECT_VAR_DECL(expected,uint,32,2) [] = { 0xfffffff0, 0xfffffff1 };
10 VECT_VAR_DECL(expected,uint,64,1) [] = { 0xfffffffffffffff0 };
11 VECT_VAR_DECL(expected,poly,8,8) [] = { 0xf0, 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7 };
12 VECT_VAR_DECL(expected,poly,16,4) [] = { 0xfff0, 0xfff1, 0xfff2, 0xfff3 };
[all …]
Dexpected_input4gcc-nofp16.txt3 VECT_VAR_DECL(expected,int,8,8) [] = { 0xf0, 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7 };
4 VECT_VAR_DECL(expected,int,16,4) [] = { 0xfff0, 0xfff1, 0xfff2, 0xfff3 };
5 VECT_VAR_DECL(expected,int,32,2) [] = { 0xfffffff0, 0xfffffff1 };
6 VECT_VAR_DECL(expected,int,64,1) [] = { 0xfffffffffffffff0 };
7 VECT_VAR_DECL(expected,uint,8,8) [] = { 0xf0, 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7 };
8 VECT_VAR_DECL(expected,uint,16,4) [] = { 0xfff0, 0xfff1, 0xfff2, 0xfff3 };
9 VECT_VAR_DECL(expected,uint,32,2) [] = { 0xfffffff0, 0xfffffff1 };
10 VECT_VAR_DECL(expected,uint,64,1) [] = { 0xfffffffffffffff0 };
11 VECT_VAR_DECL(expected,poly,8,8) [] = { 0xf0, 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7 };
12 VECT_VAR_DECL(expected,poly,16,4) [] = { 0xfff0, 0xfff1, 0xfff2, 0xfff3 };
[all …]
/external/testng/src/main/java/org/testng/asserts/
DAssertion.java71 private final T expected; field in Assertion.SimpleAssert
78 public SimpleAssert(T actual, T expected) { in SimpleAssert() argument
79 this(actual, expected, null); in SimpleAssert()
82 public SimpleAssert(T actual, T expected, String message) { in SimpleAssert() argument
84 this.expected = expected; in SimpleAssert()
100 return expected; in getExpected()
171 public <T> void assertEquals(final T actual, final T expected, final String message) { in assertEquals() argument
172 doAssert(new SimpleAssert<T>(actual, expected, message) { in assertEquals()
175 org.testng.Assert.assertEquals(actual, expected, message); in assertEquals()
180 public <T> void assertEquals(final T actual, final T expected) { in assertEquals() argument
[all …]
/external/testng/src/main/java/org/testng/
DAssertJUnit.java73 static public void assertEquals(String message, Object expected, Object actual) { in assertEquals() argument
74 if((expected == null) && (actual == null)) { in assertEquals()
77 if((expected != null) && expected.equals(actual)) { in assertEquals()
80 failNotEquals(message, expected, actual); in assertEquals()
87 static public void assertEquals(Object expected, Object actual) { in assertEquals() argument
88 assertEquals(null, expected, actual); in assertEquals()
94 static public void assertEquals(String message, String expected, String actual) { in assertEquals() argument
95 if((expected == null) && (actual == null)) { in assertEquals()
98 if((expected != null) && expected.equals(actual)) { in assertEquals()
101 throw new AssertionError(format(message, expected, actual)); in assertEquals()
[all …]
DAssert.java111 static public void assertEquals(Object actual, Object expected, String message) { in assertEquals() argument
112 if (expected != null && expected.getClass().isArray()) { in assertEquals()
113 assertArrayEquals(actual, expected, message); in assertEquals()
116 assertEqualsImpl(actual, expected, message); in assertEquals()
124 private static void assertEqualsImpl(Object actual, Object expected, in assertEqualsImpl() argument
126 if((expected == null) && (actual == null)) { in assertEqualsImpl()
129 if(expected == null ^ actual == null) { in assertEqualsImpl()
130 failNotEquals(actual, expected, message); in assertEqualsImpl()
132 if (expected.equals(actual) && actual.equals(expected)) { in assertEqualsImpl()
135 failNotEquals(actual, expected, message); in assertEqualsImpl()
[all …]
/external/libcups/filter/
Dtestraster.c190 cups_page_header2_t *expected);
519 expected; /* Expected page header */ in do_raster_tests() local
684 memset(&expected, 0, sizeof(expected)); in do_raster_tests()
685 expected.cupsWidth = 256; in do_raster_tests()
686 expected.cupsHeight = 256; in do_raster_tests()
687 expected.cupsBytesPerLine = 256; in do_raster_tests()
688 expected.HWResolution[0] = 64; in do_raster_tests()
689 expected.HWResolution[1] = 64; in do_raster_tests()
690 expected.PageSize[0] = 288; in do_raster_tests()
691 expected.PageSize[1] = 288; in do_raster_tests()
[all …]
/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/bindings/
DValidationTestUtilTest.java53 ByteBuffer expected = ByteBuffer.allocateDirect(0); in testCorrectMessageParsing() local
54 expected.order(ByteOrder.LITTLE_ENDIAN); in testCorrectMessageParsing()
56 checkInputParser(input, true, expected, 0); in testCorrectMessageParsing()
61 ByteBuffer expected = ByteBuffer.allocateDirect(0); in testCorrectMessageParsing() local
62 expected.order(ByteOrder.nativeOrder()); in testCorrectMessageParsing()
64 checkInputParser(input, true, expected, 0); in testCorrectMessageParsing()
69 ByteBuffer expected = ByteBuffer.allocateDirect(17); in testCorrectMessageParsing() local
70 expected.order(ByteOrder.nativeOrder()); in testCorrectMessageParsing()
71 expected.put((byte) 0x10); in testCorrectMessageParsing()
72 expected.putShort((short) 65535); in testCorrectMessageParsing()
[all …]
/external/llvm/test/MC/Mips/msa/
Dinvalid.s8 addvi.b $w1, $w2, -1 # CHECK: :[[@LINE]]:23: error: expected 5-bit unsigned immediate
9 addvi.b $w1, $w2, 32 # CHECK: :[[@LINE]]:23: error: expected 5-bit unsigned immediate
10 addvi.h $w1, $w2, -1 # CHECK: :[[@LINE]]:23: error: expected 5-bit unsigned immediate
11 addvi.h $w1, $w2, 32 # CHECK: :[[@LINE]]:23: error: expected 5-bit unsigned immediate
12 addvi.w $w1, $w2, -1 # CHECK: :[[@LINE]]:23: error: expected 5-bit unsigned immediate
13 addvi.w $w1, $w2, 32 # CHECK: :[[@LINE]]:23: error: expected 5-bit unsigned immediate
14 addvi.d $w1, $w2, -1 # CHECK: :[[@LINE]]:23: error: expected 5-bit unsigned immediate
15 addvi.d $w1, $w2, 32 # CHECK: :[[@LINE]]:23: error: expected 5-bit unsigned immediate
16 andi.b $w1, $w2, -1 # CHECK: :[[@LINE]]:22: error: expected 8-bit unsigned immediate
17 andi.b $w1, $w2, 256 # CHECK: :[[@LINE]]:22: error: expected 8-bit unsigned immediate
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/Mips/msa/
Dinvalid.s8 addvi.b $w1, $w2, -1 # CHECK: :[[@LINE]]:23: error: expected 5-bit unsigned immediate
9 addvi.b $w1, $w2, 32 # CHECK: :[[@LINE]]:23: error: expected 5-bit unsigned immediate
10 addvi.h $w1, $w2, -1 # CHECK: :[[@LINE]]:23: error: expected 5-bit unsigned immediate
11 addvi.h $w1, $w2, 32 # CHECK: :[[@LINE]]:23: error: expected 5-bit unsigned immediate
12 addvi.w $w1, $w2, -1 # CHECK: :[[@LINE]]:23: error: expected 5-bit unsigned immediate
13 addvi.w $w1, $w2, 32 # CHECK: :[[@LINE]]:23: error: expected 5-bit unsigned immediate
14 addvi.d $w1, $w2, -1 # CHECK: :[[@LINE]]:23: error: expected 5-bit unsigned immediate
15 addvi.d $w1, $w2, 32 # CHECK: :[[@LINE]]:23: error: expected 5-bit unsigned immediate
16 andi.b $w1, $w2, -1 # CHECK: :[[@LINE]]:22: error: expected 8-bit unsigned immediate
17 andi.b $w1, $w2, 256 # CHECK: :[[@LINE]]:22: error: expected 8-bit unsigned immediate
[all …]
/external/junit/src/main/java/junit/framework/
DAssert.java71 static public void assertEquals(String message, Object expected, Object actual) { in assertEquals() argument
72 if (expected == null && actual == null) { in assertEquals()
75 if (expected != null && expected.equals(actual)) { in assertEquals()
78 failNotEquals(message, expected, actual); in assertEquals()
85 static public void assertEquals(Object expected, Object actual) { in assertEquals() argument
86 assertEquals(null, expected, actual); in assertEquals()
92 static public void assertEquals(String message, String expected, String actual) { in assertEquals() argument
93 if (expected == null && actual == null) { in assertEquals()
96 if (expected != null && expected.equals(actual)) { in assertEquals()
100 throw new ComparisonFailure(cleanMessage, expected, actual); in assertEquals()
[all …]
DTestCase.java243 public static void assertEquals(String message, Object expected, Object actual) { in assertEquals() argument
244 Assert.assertEquals(message, expected, actual); in assertEquals()
252 public static void assertEquals(Object expected, Object actual) { in assertEquals() argument
253 Assert.assertEquals(expected, actual); in assertEquals()
260 public static void assertEquals(String message, String expected, String actual) { in assertEquals() argument
261 Assert.assertEquals(message, expected, actual); in assertEquals()
268 public static void assertEquals(String expected, String actual) { in assertEquals() argument
269 Assert.assertEquals(expected, actual); in assertEquals()
278 public static void assertEquals(String message, double expected, double actual, double delta) { in assertEquals() argument
279 Assert.assertEquals(message, expected, actual, delta); in assertEquals()
[all …]
/external/libese/libapdu/tests/
Dapdu_test.cpp32 const std::vector<uint8_t> expected{1, 2, 3, 4}; in TEST() local
33 ASSERT_EQ(expected.size(), apdu.size()); in TEST()
34 ASSERT_TRUE(std::equal(apdu.begin(), apdu.end(), expected.begin(), expected.end())); in TEST()
39 const std::vector<uint8_t> expected{4, 3, 2, 1, 3}; in TEST() local
40 ASSERT_EQ(expected.size(), apdu.size()); in TEST()
41 ASSERT_TRUE(std::equal(apdu.begin(), apdu.end(), expected.begin(), expected.end())); in TEST()
46 const std::vector<uint8_t> expected{4, 3, 2, 1, 0}; in TEST() local
47 ASSERT_EQ(expected.size(), apdu.size()); in TEST()
48 ASSERT_TRUE(std::equal(apdu.begin(), apdu.end(), expected.begin(), expected.end())); in TEST()
53 const std::vector<uint8_t> expected{5, 6, 7, 8, 0, 1, 2}; in TEST() local
[all …]
/external/e2fsprogs/tests/j_long_revoke_trans_mcsum_64bit/
Dexpect22 Found expected sequence 1, type 1 (descriptor block) at block 1
23 Found expected sequence 1, type 1 (descriptor block) at block 64
24 Found expected sequence 1, type 1 (descriptor block) at block 127
25 Found expected sequence 1, type 1 (descriptor block) at block 190
26 Found expected sequence 1, type 1 (descriptor block) at block 253
27 Found expected sequence 1, type 1 (descriptor block) at block 316
28 Found expected sequence 1, type 1 (descriptor block) at block 379
29 Found expected sequence 1, type 1 (descriptor block) at block 442
30 Found expected sequence 1, type 1 (descriptor block) at block 505
31 Found expected sequence 1, type 1 (descriptor block) at block 568
[all …]
/external/llvm/test/MC/Mips/micromips/
Dinvalid.s4 …addiur1sp $7, 260 # CHECK: :[[@LINE]]:17: error: expected both 8-bit unsigned immediate and mult…
5 …addiur1sp $7, 241 # CHECK: :[[@LINE]]:17: error: expected both 8-bit unsigned immediate and mult…
7 addius5 $2, -9 # CHECK: :[[@LINE]]:15: error: expected 4-bit signed immediate
8 addius5 $2, 8 # CHECK: :[[@LINE]]:15: error: expected 4-bit signed immediate
9 break -1 # CHECK: :[[@LINE]]:9: error: expected 10-bit unsigned immediate
10 break 1024 # CHECK: :[[@LINE]]:9: error: expected 10-bit unsigned immediate
11 break -1, 5 # CHECK: :[[@LINE]]:9: error: expected 10-bit unsigned immediate
12 break 1024, 5 # CHECK: :[[@LINE]]:9: error: expected 10-bit unsigned immediate
13 break 7, -1 # CHECK: :[[@LINE]]:12: error: expected 10-bit unsigned immediate
14 break 7, 1024 # CHECK: :[[@LINE]]:12: error: expected 10-bit unsigned immediate
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dresize_nearest_neighbor_op_test.cc81 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 1, 1, 1})); in TEST_F() local
84 test::FillValues<float>(&expected, {1}); in TEST_F()
87 test::ExpectTensorEqual<float>(expected, *GetOutput(0)); in TEST_F()
99 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 1, 1, 1})); in TEST_F() local
102 test::FillValues<float>(&expected, {1}); in TEST_F()
105 test::ExpectTensorEqual<float>(expected, *GetOutput(0)); in TEST_F()
116 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 3, 3, 1})); in TEST_F() local
119 test::FillValues<float>(&expected, in TEST_F()
125 test::ExpectTensorEqual<float>(expected, *GetOutput(0)); in TEST_F()
137 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 3, 3, 1})); in TEST_F() local
[all …]
/external/e2fsprogs/tests/j_long_revoke_trans_mcsum_32bit/
Dexpect23 Found expected sequence 1, type 1 (descriptor block) at block 1
24 Found expected sequence 1, type 1 (descriptor block) at block 64
25 Found expected sequence 1, type 1 (descriptor block) at block 127
26 Found expected sequence 1, type 1 (descriptor block) at block 190
27 Found expected sequence 1, type 1 (descriptor block) at block 253
28 Found expected sequence 1, type 1 (descriptor block) at block 316
29 Found expected sequence 1, type 1 (descriptor block) at block 379
30 Found expected sequence 1, type 1 (descriptor block) at block 442
31 Found expected sequence 1, type 1 (descriptor block) at block 505
32 Found expected sequence 1, type 1 (descriptor block) at block 568
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/Mips/micromips/
Dinvalid.s4 …addiur1sp $7, 260 # CHECK: :[[@LINE]]:17: error: expected both 8-bit unsigned immediate and mult…
5 …addiur1sp $7, 241 # CHECK: :[[@LINE]]:17: error: expected both 8-bit unsigned immediate and mult…
7 addius5 $2, -9 # CHECK: :[[@LINE]]:15: error: expected 4-bit signed immediate
8 addius5 $2, 8 # CHECK: :[[@LINE]]:15: error: expected 4-bit signed immediate
9 break -1 # CHECK: :[[@LINE]]:9: error: expected 10-bit unsigned immediate
10 break 1024 # CHECK: :[[@LINE]]:9: error: expected 10-bit unsigned immediate
11 break -1, 5 # CHECK: :[[@LINE]]:9: error: expected 10-bit unsigned immediate
12 break 1024, 5 # CHECK: :[[@LINE]]:9: error: expected 10-bit unsigned immediate
13 break 7, -1 # CHECK: :[[@LINE]]:12: error: expected 10-bit unsigned immediate
14 break 7, 1024 # CHECK: :[[@LINE]]:12: error: expected 10-bit unsigned immediate
[all …]
/external/skia/tests/
DMatrixClipCollapseTest.cpp142 DrawOpType draw, SkTDArray<DrawType>* expected,
146 SkTDArray<DrawType>* expected, int accumulatedClips);
149 SkTDArray<DrawType>* expected);
194 static void add_clip(ClipType clip, MatType mat, SkTDArray<DrawType>* expected) { in add_clip() argument
195 if (nullptr == expected) { in add_clip()
204 *expected->append() = CONCAT; in add_clip()
205 *expected->append() = CLIP_RECT; in add_clip()
208 *expected->append() = CONCAT; in add_clip()
209 *expected->append() = CLIP_RRECT; in add_clip()
212 *expected->append() = CONCAT; in add_clip()
[all …]
/external/skqp/tests/
DMatrixClipCollapseTest.cpp142 DrawOpType draw, SkTDArray<DrawType>* expected,
146 SkTDArray<DrawType>* expected, int accumulatedClips);
149 SkTDArray<DrawType>* expected);
194 static void add_clip(ClipType clip, MatType mat, SkTDArray<DrawType>* expected) { in add_clip() argument
195 if (nullptr == expected) { in add_clip()
204 *expected->append() = CONCAT; in add_clip()
205 *expected->append() = CLIP_RECT; in add_clip()
208 *expected->append() = CONCAT; in add_clip()
209 *expected->append() = CLIP_RRECT; in add_clip()
212 *expected->append() = CONCAT; in add_clip()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowOpenGLMatrixTest.java15 @Test(expected = IllegalArgumentException.class)
20 @Test(expected = IllegalArgumentException.class)
25 @Test(expected = IllegalArgumentException.class)
30 @Test(expected = IllegalArgumentException.class)
35 @Test(expected = IllegalArgumentException.class)
40 @Test(expected = IllegalArgumentException.class)
45 @Test(expected = IllegalArgumentException.class)
50 @Test(expected = IllegalArgumentException.class)
55 @Test(expected = IllegalArgumentException.class)
117 final float[] expected = new float[]{ in multiplyMM() local
[all …]
/external/python/apitools/apitools/base/protorpclite/
Ddescriptor_test.py46 expected = descriptor.EnumValueDescriptor()
47 expected.name = 'MY_NAME'
48 expected.number = 10
52 self.assertEquals(expected, described)
61 expected = descriptor.EnumDescriptor()
62 expected.name = 'EmptyEnum'
66 self.assertEquals(expected, described)
74 expected = descriptor.EnumDescriptor()
75 expected.name = 'NestedEnum'
79 self.assertEquals(expected, described)
[all …]
/external/eigen/unsupported/test/
Dcxx11_tensor_symmetry.cpp51 …rrType e, int flags, int dummy, std::set<uint64_t>& found, std::map<uint64_t, int> const& expected) in doCheck_()
59 auto it = expected.find(value); in doCheck_()
60 VERIFY((it != expected.end())); in doCheck_()
72 …r<int> e, int flags, int dummy, std::set<uint64_t>& found, std::map<uint64_t, int> const& expected) in run()
74 return doCheck_(e, flags, dummy, found, expected); in run()
78 …nt, N> e, int flags, int dummy, std::set<uint64_t>& found, std::map<uint64_t, int> const& expected) in run()
80 return doCheck_(e, flags, dummy, found, expected); in run()
95 std::map<uint64_t, int> expected; in test_symgroups_static() local
96 expected[ 123456] = 0; in test_symgroups_static()
97 expected[1023456] = NegationFlag; in test_symgroups_static()
[all …]
/external/e2fsprogs/tests/j_long_trans_mcsum_64bit/
Dexpect22 Found expected sequence 1, type 1 (descriptor block) at block 1
23 Found expected sequence 1, type 1 (descriptor block) at block 64
24 Found expected sequence 1, type 1 (descriptor block) at block 127
25 Found expected sequence 1, type 1 (descriptor block) at block 190
26 Found expected sequence 1, type 1 (descriptor block) at block 253
27 Found expected sequence 1, type 1 (descriptor block) at block 316
28 Found expected sequence 1, type 1 (descriptor block) at block 379
29 Found expected sequence 1, type 1 (descriptor block) at block 442
30 Found expected sequence 1, type 1 (descriptor block) at block 505
31 Found expected sequence 1, type 1 (descriptor block) at block 568
[all …]
/external/deqp-deps/glslang/Test/
Dhlsl.intrinsics.negative.comp7 // asdouble(inF0, inF1); // expected error: only integer inputs
8 // CheckAccessFullyMapped(3.0); // expected error: only valid on integers
9 // clip(inF0); // expected error: only valid in pixel stage
10 // countbits(inF0); // expected error: only integer inputs
11 // cross(inF0, inF1); // expected error: only on float3 inputs
12 // D3DCOLORtoUBYTE4(inF0); // expected error: only on float4 inputs
13 // ddx(inF0); // expected error: only valid in pixel stage
14 // ddx_coarse(inF0); // expected error: only valid in pixel stage
15 // ddx_fine(inF0); // expected error: only valid in pixel stage
16 // ddy(inF0); // expected error: only valid in pixel stage
[all …]

12345678910>>...242