Searched refs:expected (Results 176 - 200 of 3852) sorted by relevance

1234567891011>>

/external/swiftshader/third_party/LLVM/unittests/ADT/
H A DStringRefTest.cpp145 SmallVector<StringRef, 5> expected; local
147 expected.push_back("ab"); expected.push_back("c");
149 EXPECT_TRUE(parts == expected);
151 expected.clear(); parts.clear();
152 expected.push_back(""); expected.push_back("ab"); expected.push_back("");
153 expected.push_back("c"); expected
[all...]
/external/tensorflow/tensorflow/core/kernels/
H A Dlogging_ops_test.cc49 Tensor expected(allocator(), DT_INT32, TensorShape({6}));
50 test::FillValues<int32>(&expected, {1, 2, 3, 4, 5, 6});
51 test::ExpectTensorEqual<int32>(expected, *GetOutput(0));
60 Tensor expected(allocator(), DT_INT32, TensorShape({6}));
61 test::FillValues<int32>(&expected, {1, 2, 3, 4, 5, 6});
62 test::ExpectTensorEqual<int32>(expected, *GetOutput(0));
71 Tensor expected(allocator(), DT_INT32, TensorShape({6}));
72 test::FillValues<int32>(&expected, {1, 2, 3, 4, 5, 6});
73 test::ExpectTensorEqual<int32>(expected, *GetOutput(0));
82 Tensor expected(allocato
[all...]
H A Dsparse_to_dense_op_test.cc66 Tensor expected(allocator(), DT_FLOAT, {5});
67 test::FillValues<float>(&expected, {-2, 2, -2, 2, 2});
68 test::ExpectTensorEqual<float>(expected, *GetOutput(0));
85 Tensor expected(allocator(), DT_DOUBLE, {5});
86 test::FillValues<double>(&expected, {-2, 2, -2, 2, 2});
87 test::ExpectTensorEqual<double>(expected, *GetOutput(0));
104 Tensor expected(allocator(), DT_FLOAT, {5});
105 test::FillValues<float>(&expected, {-2, 3, -2, 4, 5});
106 test::ExpectTensorEqual<float>(expected, *GetOutput(0));
123 Tensor expected(allocato
[all...]
/external/libxml2/python/tests/
H A Doutbuf.py27 expected = '''\
36 if f.getvalue() != expected:
39 print('expected: %s' % repr(expected))
45 expected = ('''\
60 if f.getvalue() != expected[i]:
63 print('expected: %s' % repr(expected[i]))
73 expected = '''\
81 if f.getvalue() != expected
[all...]
/external/llvm/test/MC/Mips/eva/
H A Dinvalid.s8 cachee -1, 255($7) # CHECK: :[[@LINE]]:12: error: expected 5-bit unsigned immediate
9 cachee 32, 255($7) # CHECK: :[[@LINE]]:12: error: expected 5-bit unsigned immediate
10 prefe -1, 255($7) # CHECK: :[[@LINE]]:11: error: expected 5-bit unsigned immediate
11 prefe 32, 255($7) # CHECK: :[[@LINE]]:11: error: expected 5-bit unsigned immediate
13 lle $4, 8($33) # CHECK: :[[@LINE]]:13: error: expected memory with 9-bit signed offset
14 lle $4, 512($5) # CHECK: :[[@LINE]]:13: error: expected memory with 9-bit signed offset
15 lle $4, -513($5) # CHECK: :[[@LINE]]:13: error: expected memory with 9-bit signed offset
17 lwe $4, 8($33) # CHECK: :[[@LINE]]:13: error: expected memory with 9-bit signed offset
18 lwe $4, 512($5) # CHECK: :[[@LINE]]:13: error: expected memory with 9-bit signed offset
19 lwe $4, -513($5) # CHECK: :[[@LINE]]:13: error: expected memor
[all...]
/external/llvm/test/MC/Mips/micromips64r6/
H A Dinvalid.s4 addiur1sp $7, 260 # CHECK: :[[@LINE]]:17: error: expected both 8-bit unsigned immediate and multiple of 4
5 addiur1sp $7, 241 # CHECK: :[[@LINE]]:17: error: expected both 8-bit unsigned immediate and multiple of 4
9 addius5 $2, -9 # CHECK: :[[@LINE]]:15: error: expected 4-bit signed immediate
10 addius5 $2, 8 # CHECK: :[[@LINE]]:15: error: expected 4-bit signed immediate
12 align $4, $2, $3, -1 # CHECK: :[[@LINE]]:21: error: expected 2-bit unsigned immediate
13 align $4, $2, $3, 4 # CHECK: :[[@LINE]]:21: error: expected 2-bit unsigned immediate
20 cache -1, 255($7) # CHECK: :[[@LINE]]:9: error: expected 5-bit unsigned immediate
21 cache 32, 255($7) # CHECK: :[[@LINE]]:9: error: expected 5-bit unsigned immediate
23 dext $2, $3, -1, 1 # CHECK: :[[@LINE]]:16: error: expected 6-bit unsigned immediate
24 dext $2, $3, 64, 1 # CHECK: :[[@LINE]]:16: error: expected
[all...]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
H A DShadowOpenGLMatrixTest.java16 @Test(expected = IllegalArgumentException.class)
21 @Test(expected = IllegalArgumentException.class)
26 @Test(expected = IllegalArgumentException.class)
31 @Test(expected = IllegalArgumentException.class)
36 @Test(expected = IllegalArgumentException.class)
41 @Test(expected = IllegalArgumentException.class)
46 @Test(expected = IllegalArgumentException.class)
51 @Test(expected = IllegalArgumentException.class)
56 @Test(expected = IllegalArgumentException.class)
118 final float[] expected
569 assertMatrixWithPrecision(float[] actual, float[] expected, float precision) argument
[all...]
/external/clang/test/SemaCXX/
H A Dwarn-memsize-comparison.cpp20 expected-warning{{size argument in 'memset' call is a comparison}} \
21 expected-note {{did you mean to compare}} \
22 expected-note {{explicitly cast the argument}}
26 expected-warning{{size argument in 'memmove' call is a comparison}} \
27 expected-note {{did you mean to compare}} \
28 expected-note {{explicitly cast the argument}}
32 expected-warning{{size argument in 'memcpy' call is a comparison}} \
33 expected-note {{did you mean to compare}} \
34 expected-note {{explicitly cast the argument}}
38 expected
[all...]
H A Dswitch-implicit-fallthrough-blocks.cpp13 expected-warning{{unannotated fall-through between switch labels}} \
14 expected-note{{insert 'break;' to avoid fall-through}}
/external/guava/guava-tests/test/com/google/common/io/
H A DCharSequenceReaderTest.java79 } catch (IndexOutOfBoundsException expected) {
85 } catch (IndexOutOfBoundsException expected) {
91 } catch (IndexOutOfBoundsException expected) {
97 } catch (IndexOutOfBoundsException expected) {
103 } catch (IndexOutOfBoundsException expected) {
109 } catch (IndexOutOfBoundsException expected) {
115 } catch (IllegalArgumentException expected) {
121 } catch (IllegalArgumentException expected) {
132 } catch (IOException expected) {
138 } catch (IOException expected) {
[all...]
/external/annotation-tools/asmx/src/org/objectweb/asm/tree/analysis/
H A DAnalyzerException.java50 final Object expected,
53 super((msg == null ? "Expected " : msg + ": expected ") + expected
48 AnalyzerException( final String msg, final Object expected, final Value encountered) argument
/external/brotli/tests/
H A Dcompatibility_test.sh13 expected=${file%.compressed*}
14 uncompressed=${TMP_DIR}/${expected##*/}.uncompressed
17 diff -q $uncompressed $expected
20 diff -q $uncompressed $expected
/external/compiler-rt/test/builtins/Unit/
H A Dabsvti2_test.c29 ti_int expected = a; local
30 if (expected < 0)
31 expected = -expected;
32 if (x != expected || expected < 0)
39 expectedt.all = expected;
41 "0x%llX%.16llX, expected positive 0x%llX%.16llX\n",
45 return x != expected;
/external/easymock/src/org/easymock/
H A DAbstractMatcher.java38 * Checks whether an expected argument matches an actual argument; the method
43 * @param expected
44 * the expected argument.
49 protected boolean argumentMatches(Object expected, Object actual) { argument
50 return expected.equals(actual);
68 * Checks whether an expected argument array matches an actual argument array.
76 * @param expected
77 * the expected arguments.
82 public boolean matches(Object[] expected, Object[] actual) { argument
83 if (expected
[all...]
/external/easymock/src/org/easymock/internal/
H A DArrayMatcher.java27 public boolean argumentMatches(Object expected, Object actual) { argument
28 return new ArrayEquals(expected).matches(actual);
H A DIMocksBehavior.java21 void addExpected(ExpectedInvocation expected, Result result, Range count); argument
23 void addStub(ExpectedInvocation expected, Result result); argument
/external/elfutils/tests/
H A Dhash.c27 check (const char *name, unsigned long int expected) argument
31 return actual != expected;
40 /* Check some names. We know what the expected result is. */
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
H A DListGetTester.java39 } catch (IndexOutOfBoundsException expected) {
47 } catch (IndexOutOfBoundsException expected) {
/external/guava/guava-tests/test/com/google/common/base/
H A DVerifyTest.java38 } catch (VerifyException expected) {
50 } catch (VerifyException expected) {
51 assertEquals("message", expected.getMessage());
63 } catch (VerifyException expected) {
64 checkMessage(expected);
79 } catch (VerifyException expected) {
92 } catch (VerifyException expected) {
93 checkMessage(expected);
/external/junit/src/main/java/org/junit/internal/
H A DComparisonCriteria.java22 * expected values.
41 Object expected = Array.get(expecteds, i);
44 if (isArray(expected) && isArray(actual)) {
46 arrayEquals(message, expected, actual);
53 assertElementsEqual(expected, actual);
61 private boolean isArray(Object expected) { argument
62 return expected != null && expected.getClass().isArray();
68 Assert.fail(header + "expected array was null");
76 Assert.fail(header + "array lengths differed, expected
82 assertElementsEqual(Object expected, Object actual) argument
[all...]
/external/libcxx/test/support/
H A Dcmpxchg_loop.h13 bool cmpxchg_weak_loop(A& atomic, T& expected, T desired) { argument
15 if (atomic.compare_exchange_weak(expected, desired) == true) {
24 bool cmpxchg_weak_loop(A& atomic, T& expected, T desired, argument
28 if (atomic.compare_exchange_weak(expected, desired, success,
38 bool c_cmpxchg_weak_loop(A* atomic, T* expected, T desired) { argument
40 if (std::atomic_compare_exchange_weak(atomic, expected, desired) == true) {
49 bool c_cmpxchg_weak_loop(A* atomic, T* expected, T desired, argument
53 if (std::atomic_compare_exchange_weak_explicit(atomic, expected, desired,
/external/libese/tools/ese_replay/
H A Dpayload.c32 if (buffer_init(&p->expected, exp_len))
41 buffer_free(&p->expected);
49 p->expected.len = 0;
54 if (!buffer_read_hex(&p->expected, fp, false)) {
55 p->expected.buffer[0] = 0x90;
56 p->expected.buffer[1] = 0x00;
57 p->expected.len = 2;
65 buffer_dump(&payload->expected, " ", "Expected", 240, fp);
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/core/command/
H A DStaticReplyCommandHandlerTest.java46 catch (AssertFailedException expected) {
47 LOG.info("Expected: " + expected);
59 catch (AssertFailedException expected) {
60 LOG.info("Expected: " + expected);
72 catch (AssertFailedException expected) {
73 LOG.info("Expected: " + expected);
123 catch (AssertFailedException expected) {
124 LOG.info("Expected: " + expected);
/external/mockftpserver/tags/2.0/src/test/java/org/mockftpserver/core/command/
H A DStaticReplyCommandHandlerTest.java45 catch (AssertFailedException expected) {
46 LOG.info("Expected: " + expected);
58 catch (AssertFailedException expected) {
59 LOG.info("Expected: " + expected);
71 catch (AssertFailedException expected) {
72 LOG.info("Expected: " + expected);
122 catch (AssertFailedException expected) {
123 LOG.info("Expected: " + expected);
/external/mockftpserver/tags/2.0/src/test/java/org/mockftpserver/core/util/
H A DPortParserTest.java67 catch (CommandSyntaxException expected) {
68 LOG.info("Expected: " + expected);
82 catch (CommandSyntaxException expected) {
83 LOG.info("Expected: " + expected);
97 catch (CommandSyntaxException expected) {
98 LOG.info("Expected: " + expected);
112 catch (CommandSyntaxException expected) {
113 LOG.info("Expected: " + expected);

Completed in 898 milliseconds

1234567891011>>