Searched refs:expected (Results 26 - 50 of 3852) sorted by relevance

1234567891011>>

/external/webrtc/webrtc/test/testsupport/
H A Dperf_test_unittest.cc21 std::string expected = "RESULT measurementmodifier: trace= 42 units\n"; local
24 EXPECT_EQ(expected, output);
27 expected += "*RESULT foobar: baz= 7 widgets\n";
29 EXPECT_EQ(expected, output);
/external/tensorflow/tensorflow/core/lib/monitoring/
H A Dsampler_test.cc26 void EqHistograms(const Histogram& expected, argument
31 EXPECT_EQ(expected.ToString(), actual.ToString());
46 Histogram expected({10.0, 20.0, DBL_MAX});
50 expected.Add(-1.0);
52 expected.Add(10.0);
54 expected.Add(20.0);
56 expected.Add(31.0);
58 EqHistograms(expected, cell->value());
78 Histogram expected({1.5, 2.8, DBL_MAX});
81 expected
[all...]
/external/flatbuffers/tests/FlatBuffers.Test/
H A DAssert.cs30 public AssertFailedException(object expected, object actual) argument
32 _expected = expected;
48 public AssertArrayFailedException(int index, object expected, object actual) argument
51 _expected = expected;
65 public AssertUnexpectedThrowException(object expected) argument
67 _expected = expected;
78 public static void AreEqual<T>(T expected, T actual) argument
80 if (!expected.Equals(actual))
82 throw new AssertFailedException(expected, actual);
86 public static void ArrayEqual<T>(T[] expected, argument
[all...]
/external/tensorflow/tensorflow/java/src/gen/cc/
H A Dsource_writer_test.cc27 const char* expected = "You say goodbye and I say hello!"; local
28 ASSERT_STREQ(expected, writer.str().data());
35 const char* expected = "You say goodbye\nand I say hello!"; local
36 ASSERT_STREQ(expected, writer.str().data());
43 const char* expected = " You say goodbye\nand I say hello!"; local
44 ASSERT_STREQ(expected, writer.str().data());
51 const char* expected = "--You say goodbye\nand I say hello!"; local
52 ASSERT_STREQ(expected, writer.str().data());
59 const char* expected = " --You say goodbye\nand I say hello!"; local
60 ASSERT_STREQ(expected, write
67 const char* expected = "You say goodbye and I say hello!"; local
75 const char* expected = "You say goodbye\\nand I say hello!"; local
83 const char* expected = " You say goodbye\\n and I say hello!"; local
91 const char* expected = "--You say goodbye\\n--and I say hello!"; local
99 const char* expected = " --You say goodbye\\n --and I say hello!"; local
107 const char* expected = "You say goodbye\\nand I say hello!"; local
118 const char* expected = "You say goodbye\\n and I say hello!"; local
132 const char* expected = "You say goodbye\\n and I say hello!\\nHello, hello!"; local
143 const char* expected = "You say goodbye\\n--and I say hello!"; local
157 const char* expected = "You say goodbye\\n--and I say hello!\\nHello, hello!"; local
173 const char* expected = "You say goodbye\\n --and I say hello!\\nHello, hello!"; local
184 const char* expected = "You say goodbye\\nand I say hello!"; local
198 const char* expected = local
210 const char* expected = "You say goodbye\\nand I say hello!"; local
[all...]
/external/boringssl/src/crypto/
H A Drefcount_c11.c39 uint32_t expected = atomic_load(count); local
41 while (expected != CRYPTO_REFCOUNT_MAX) {
42 uint32_t new_value = expected + 1;
43 if (atomic_compare_exchange_weak(count, &expected, new_value)) {
51 uint32_t expected = atomic_load(count); local
54 if (expected == 0) {
56 } else if (expected == CRYPTO_REFCOUNT_MAX) {
59 const uint32_t new_value = expected - 1;
60 if (atomic_compare_exchange_weak(count, &expected, new_value)) {
/external/tensorflow/tensorflow/core/kernels/
H A Dresize_nearest_neighbor_op_test.cc66 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 1, 1, 1}));
69 test::FillValues<float>(&expected, {1});
72 test::ExpectTensorEqual<float>(expected, *GetOutput(0));
84 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 1, 1, 1}));
87 test::FillValues<float>(&expected, {1});
90 test::ExpectTensorEqual<float>(expected, *GetOutput(0));
101 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 3, 3, 1}));
104 test::FillValues<float>(&expected,
110 test::ExpectTensorEqual<float>(expected, *GetOutput(0));
122 Tensor expected(allocato
[all...]
/external/parameter-framework/upstream/test/tokenizer/
H A DTest.cpp50 Expected expected{"a", "bcd", "ef"};
53 CHECK(tokenizer.split() == expected);
59 Expected expected{};
62 CHECK(tokenizer.split() == expected);
68 Expected expected{"a", "bc"};
71 CHECK(tokenizer.split() == expected);
78 Expected expected{"a", "bcd", "ef g", "h"};
81 CHECK(tokenizer.split() == expected);
89 Expected expected{};
92 CHECK(tokenizer.split() == expected);
[all...]
/external/llvm/test/MC/Mips/dsp/
H A Dinvalid.s4 extp $2, $ac1, -1 # CHECK: :[[@LINE]]:18: error: expected 5-bit unsigned immediate
5 extp $2, $ac1, 32 # CHECK: :[[@LINE]]:18: error: expected 5-bit unsigned immediate
6 extpdp $2, $ac1, -1 # CHECK: :[[@LINE]]:20: error: expected 5-bit unsigned immediate
7 extpdp $2, $ac1, 32 # CHECK: :[[@LINE]]:20: error: expected 5-bit unsigned immediate
8 extr.w $2, $ac1, -1 # CHECK: :[[@LINE]]:20: error: expected 5-bit unsigned immediate
9 extr.w $2, $ac1, 32 # CHECK: :[[@LINE]]:20: error: expected 5-bit unsigned immediate
10 extr_r.w $2, $ac1, -1 # CHECK: :[[@LINE]]:22: error: expected 5-bit unsigned immediate
11 extr_r.w $2, $ac1, 32 # CHECK: :[[@LINE]]:22: error: expected 5-bit unsigned immediate
12 extr_rs.w $2, $ac1, -1 # CHECK: :[[@LINE]]:23: error: expected 5-bit unsigned immediate
13 extr_rs.w $2, $ac1, 32 # CHECK: :[[@LINE]]:23: error: expected
[all...]
/external/libese/libapdu/tests/
H A Dapdu_test.cpp32 const std::vector<uint8_t> expected{1, 2, 3, 4};
33 ASSERT_EQ(expected.size(), apdu.size());
34 ASSERT_TRUE(std::equal(apdu.begin(), apdu.end(), expected.begin(), expected.end()));
39 const std::vector<uint8_t> expected{4, 3, 2, 1, 3};
40 ASSERT_EQ(expected.size(), apdu.size());
41 ASSERT_TRUE(std::equal(apdu.begin(), apdu.end(), expected.begin(), expected.end()));
46 const std::vector<uint8_t> expected{4, 3, 2, 1, 0};
47 ASSERT_EQ(expected
173 const uint8_t expected[] = {1, 2, 3, 9, 8, 7}; local
[all...]
/external/junit/src/main/java/junit/framework/
H A DTestCase.java31 * with the fixture. Verify the expected results with assertions specified
243 public static void assertEquals(String message, Object expected, Object actual) { argument
244 Assert.assertEquals(message, expected, actual);
252 public static void assertEquals(Object expected, Object actual) { argument
253 Assert.assertEquals(expected, actual);
260 public static void assertEquals(String message, String expected, String actual) { argument
261 Assert.assertEquals(message, expected, actual);
268 public static void assertEquals(String expected, String actual) { argument
269 Assert.assertEquals(expected, actual);
274 * an AssertionFailedError is thrown with the given message. If the expected
278 assertEquals(String message, double expected, double actual, double delta) argument
287 assertEquals(double expected, double actual, double delta) argument
297 assertEquals(String message, float expected, float actual, float delta) argument
306 assertEquals(float expected, float actual, float delta) argument
315 assertEquals(String message, long expected, long actual) argument
323 assertEquals(long expected, long actual) argument
332 assertEquals(String message, boolean expected, boolean actual) argument
340 assertEquals(boolean expected, boolean actual) argument
349 assertEquals(String message, byte expected, byte actual) argument
357 assertEquals(byte expected, byte actual) argument
366 assertEquals(String message, char expected, char actual) argument
374 assertEquals(char expected, char actual) argument
383 assertEquals(String message, short expected, short actual) argument
391 assertEquals(short expected, short actual) argument
400 assertEquals(String message, int expected, int actual) argument
408 assertEquals(int expected, int actual) argument
455 assertSame(String message, Object expected, Object actual) argument
464 assertSame(Object expected, Object actual) argument
474 assertNotSame(String message, Object expected, Object actual) argument
483 assertNotSame(Object expected, Object actual) argument
493 failNotSame(String message, Object expected, Object actual) argument
498 failNotEquals(String message, Object expected, Object actual) argument
503 format(String message, Object expected, Object actual) argument
[all...]
/external/easymock/src/org/easymock/internal/matchers/
H A DSame.java27 private final Object expected; field in class:Same
29 public Same(Object expected) { argument
30 this.expected = expected;
34 return expected == actual;
39 ArgumentToString.appendArgument(expected, buffer);
/external/webrtc/webrtc/modules/audio_processing/beamformer/
H A Dmatrix_test_helpers.h30 static void ValidateMatrixEquality(const Matrix<T>& expected, argument
32 EXPECT_EQ(expected.num_rows(), actual.num_rows());
33 EXPECT_EQ(expected.num_columns(), actual.num_columns());
35 const T* const* expected_elements = expected.elements();
37 for (size_t i = 0; i < expected.num_rows(); ++i) {
38 for (size_t j = 0; j < expected.num_columns(); ++j) {
44 static void ValidateMatrixEqualityFloat(const Matrix<float>& expected, argument
46 EXPECT_EQ(expected.num_rows(), actual.num_rows());
47 EXPECT_EQ(expected.num_columns(), actual.num_columns());
49 const float* const* expected_elements = expected
58 ValidateMatrixEqualityComplexFloat( const Matrix<complex<float> >& expected, const Matrix<complex<float> >& actual) argument
78 ValidateMatrixNearEqualityComplexFloat( const Matrix<complex<float> >& expected, const Matrix<complex<float> >& actual, float tolerance) argument
[all...]
/external/libmojo/mojo/android/javatests/src/org/chromium/mojo/bindings/
H A DBindingsVersioningTest.java53 MultiVersionStruct expected = new MultiVersionStruct();
54 expected.fInt32 = 123;
57 assertEquals(expected, output);
66 MultiVersionStruct expected = new MultiVersionStruct();
67 expected.fInt32 = 123;
68 expected.fRect = newRect(5);
71 assertEquals(expected, output);
81 MultiVersionStruct expected = new MultiVersionStruct();
82 expected.fInt32 = 123;
83 expected
[all...]
/external/libnetfilter_conntrack/utils/
H A Dexpect_delete.c13 struct nf_conntrack *expected; local
16 expected = nfct_new();
17 if (!expected) {
22 nfct_set_attr_u8(expected, ATTR_L3PROTO, AF_INET);
23 nfct_set_attr_u32(expected, ATTR_IPV4_SRC, inet_addr("1.1.1.1"));
24 nfct_set_attr_u32(expected, ATTR_IPV4_DST, inet_addr("2.2.2.2"));
26 nfct_set_attr_u8(expected, ATTR_L4PROTO, IPPROTO_TCP);
27 nfct_set_attr_u16(expected, ATTR_PORT_SRC, 0);
28 nfct_set_attr_u16(expected, ATTR_PORT_DST, htons(10241));
33 nfct_destroy(expected);
[all...]
/external/tensorflow/tensorflow/core/framework/
H A Dkernel_def_builder_test.cc27 KernelDef expected; local
29 &expected);
30 EXPECT_EQ(def->DebugString(), expected.DebugString());
39 KernelDef expected; local
43 &expected);
45 EXPECT_EQ(def->DebugString(), expected.DebugString());
58 &expected);
59 EXPECT_EQ(def->DebugString(), expected.DebugString());
70 &expected);
71 EXPECT_EQ(def->DebugString(), expected
81 KernelDef expected; local
[all...]
/external/curl/tests/libtest/
H A Dlib557.c66 const char *expected; /* expected string */ member in struct:unsshort_st
73 const char *expected; /* expected string */ member in struct:sigshort_st
80 const char *expected; /* expected string */ member in struct:unsint_st
87 const char *expected; /* expected string */ member in struct:sigint_st
94 const char *expected; /* expected strin member in struct:unslong_st
101 const char *expected; /* expected string */ member in struct:siglong_st
108 const char *expected; /* expected string */ member in struct:curloff_st
[all...]
/external/clang/bindings/python/tests/cindex/
H A Dtest_code_completion.py3 def check_completion_results(cr, expected):
9 for c in expected:
30 expected = [
35 check_completion_results(cr, expected)
59 expected = [
66 check_completion_results(cr, expected)
69 expected = [
75 check_completion_results(cr, expected)
/external/clang/test/Sema/
H A Ddecl-invalid.c4 typedef union <anonymous> __mbstate_t; // expected-error {{declaration of anonymous union must be a definition}} expected-warning {{typedef requires a name}}
10 int r[x()]; // expected-error {{size of array has non-integer type 'void'}}
12 static y ?; // expected-error{{unknown type name 'y'}} \
13 expected-error{{expected identifier or '('}}
16 int; // expected-warning {{declaration does not declare anything}}
17 typedef int; // expected-warning {{typedef requires a name}}
18 const int; // expected-warning {{declaration does not declare anything}}
19 struct; // expected
[all...]
/external/compiler-rt/test/builtins/Unit/
H A Dabsvdi2_test.c27 di_int expected = a; local
28 if (expected < 0)
29 expected = -expected;
30 if (x != expected || expected < 0)
31 printf("error in __absvdi2(0x%llX) = %lld, expected positive %lld\n",
32 a, x, expected);
33 return x != expected;
/external/compiler-rt/test/builtins/Unit/ppc/
H A Dfloatditf_test.c12 DD expected; local
16 expected.hi = tests[i].hi;
17 expected.lo = tests[i].lo;
20 if ((computed.hi != expected.hi) || (computed.lo != expected.lo))
23 printf("\tExpected %La = ( %a , %a )\n", expected.ld, expected.hi, expected.lo);
H A Dfloatunditf_test.c12 DD expected; local
16 expected.hi = tests[i].hi;
17 expected.lo = tests[i].lo;
20 if ((computed.hi != expected.hi) || (computed.lo != expected.lo))
23 printf("\tExpected %La = ( %a , %a )\n", expected.ld, expected.hi, expected.lo);
/external/junit/src/main/java/org/junit/internal/
H A DExactComparisonCriteria.java7 protected void assertElementsEqual(Object expected, Object actual) { argument
8 Assert.assertEquals(expected, actual);
/external/llvm/test/MC/Mips/dspr2/
H A Dinvalid.s5 append $2, $3, -1 # CHECK: :[[@LINE]]:18: error: expected 5-bit unsigned immediate
6 append $2, $3, 32 # CHECK: :[[@LINE]]:18: error: expected 5-bit unsigned immediate
7 balign $2, $3, -1 # CHECK: :[[@LINE]]:18: error: expected 2-bit unsigned immediate
8 balign $2, $3, 4 # CHECK: :[[@LINE]]:18: error: expected 2-bit unsigned immediate
9 precr_sra.ph.w $24, $25, -1 # CHECK: :[[@LINE]]:28: error: expected 5-bit unsigned immediate
10 precr_sra.ph.w $24, $25, 32 # CHECK: :[[@LINE]]:28: error: expected 5-bit unsigned immediate
11 precr_sra_r.ph.w $25 ,$26, -1 # CHECK: :[[@LINE]]:30: error: expected 5-bit unsigned immediate
12 precr_sra_r.ph.w $25 ,$26, 32 # CHECK: :[[@LINE]]:30: error: expected 5-bit unsigned immediate
13 prepend $2, $3, -1 # CHECK: :[[@LINE]]:19: error: expected 5-bit unsigned immediate
14 prepend $2, $3, 32 # CHECK: :[[@LINE]]:19: error: expected
[all...]
/external/mesa3d/src/compiler/glsl/glcpp/tests/
H A D139-define-without-macro-name.c5 Errors expected because no macro name is ever given!
/external/testng/src/main/java/org/testng/internal/junit/
H A DExactComparisonCriteria.java7 protected void assertElementsEqual(Object expected, Object actual) { argument
8 AssertJUnit.assertEquals(expected, actual);

Completed in 3052 milliseconds

1234567891011>>