Home
last modified time | relevance | path

Searched defs:expected (Results 1 – 25 of 3470) sorted by relevance

12345678910>>...139

/external/google-java-format/core/src/test/java/com/google/googlejavaformat/java/
DJavadocFormattingTest.java39 String[] expected = { in notJavadoc() local
52 String[] expected = { in empty() local
65 String[] expected = { in emptyMultipleLines() local
77 String[] expected = { in simple() local
98 String[] expected = { in commentMostlyUntouched() local
139 String[] expected = { in moeComments() local
177 String[] expected = { in moeCommentBeginOnlyInMiddleOfDoc() local
199 String[] expected = { in moeCommentBeginOnlyAtEndOfDoc() local
216 String[] expected = { in moeCommentEndOnly() local
242 String[] expected = { in tableMostlyUntouched() local
[all …]
/external/libcxx/test/std/experimental/language.support/support.coroutines/end.to.end/
Dexpected.pass.cpp20 struct expected { struct
33 expected() {} in expected() function
34 expected(T val) : data{std::move(val),{}} {} in expected() argument
35 expected(struct error, Error error) : data{{}, std::move(error)} {} in expected() argument
36 expected(DataPtr & p) : data{std::move(p.p->val), std::move(p.p->error)} {} in expected() argument
58 expected<int> g() { return {0}; } in g() argument
/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()
82 public SimpleAssert(T actual, T expected, String message) { in SimpleAssert()
171 public <T> void assertEquals(final T actual, final T expected, final String message) { in assertEquals()
180 public <T> void assertEquals(final T actual, final T expected) { in assertEquals()
189 public void assertEquals(final String actual, final String expected, final String message) { in assertEquals()
197 public void assertEquals(final String actual, final String expected) { in assertEquals()
206 public void assertEquals(final double actual, final double expected, final double delta, in assertEquals()
216 public void assertEquals(final double actual, final double expected, final double delta) { in assertEquals()
225 public void assertEquals(final float actual, final float expected, final float delta, in assertEquals()
[all …]
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/writer/util/
DTryListBuilderTest.java56 List<? extends TryBlock> expected = ImmutableList.of(new ImmutableTryBlock(0, 10, in testSingleCatchAll_Beginning() local
70 List<? extends TryBlock> expected = ImmutableList.of(new ImmutableTryBlock(5, 5, in testSingleCatchAll_Middle() local
84 List<? extends TryBlock> expected = ImmutableList.of(new ImmutableTryBlock(0, 10, in testSingleCatch_Beginning() local
98 List<? extends TryBlock> expected = ImmutableList.of(new ImmutableTryBlock(5, 5, in testSingleCatch_Middle() local
113 List<? extends TryBlock> expected = ImmutableList.of( in testOverlap_End_After() local
131 List<? extends TryBlock> expected = ImmutableList.of( in testOverlap_After_After() local
149 List<? extends TryBlock> expected = ImmutableList.of( in testOverlap_Before_Start() local
167 List<? extends TryBlock> expected = ImmutableList.of( in testOverlap_Before_Before() local
185 List<? extends TryBlock> expected = ImmutableList.of( in testOverlap_Start_End() local
203 List<? extends TryBlock> expected = ImmutableList.of( in testOverlap_Start_Middle() local
[all …]
/external/tensorflow/tensorflow/compiler/xla/tests/
Dliteral_test_util.h156 /* static */ void LiteralTestUtil::ExpectR0Equal(NativeT expected, in ExpectR0Equal()
163 absl::Span<const NativeT> expected, const LiteralSlice& actual) { in ExpectR1Equal()
169 std::initializer_list<std::initializer_list<NativeT>> expected, in ExpectR2Equal()
176 std::initializer_list<std::initializer_list<std::initializer_list<NativeT>>> in ExpectR3Equal()
184 const Array2D<NativeT>& expected, const LiteralSlice& actual) { in ExpectR2EqualArray2D()
190 const Array3D<NativeT>& expected, const LiteralSlice& actual) { in ExpectR3EqualArray3D()
196 const Array4D<NativeT>& expected, const LiteralSlice& actual) { in ExpectR4EqualArray4D()
201 /* static */ void LiteralTestUtil::ExpectR0Near(NativeT expected, in ExpectR0Near()
209 absl::Span<const NativeT> expected, const LiteralSlice& actual, in ExpectR1Near()
216 std::initializer_list<std::initializer_list<NativeT>> expected, in ExpectR2Near()
[all …]
/external/llvm-project/libcxx/test/std/experimental/language.support/support.coroutines/end.to.end/
Dexpected.pass.cpp22 struct expected { struct
32 expected(T val) : data(std::make_shared<Data>(val, Error())) {} in expected() argument
33 expected(error_tag, Error error) : data(std::make_shared<Data>(T(), error)) {} in expected() function
34 expected(std::shared_ptr<Data> p) : data(p) {} in expected() argument
56 expected<int> g() { return {0}; } in g() argument
/external/angle/src/tests/preprocessor_tests/
Ddefine_test.cpp25 const char *expected = in TEST_F() local
46 const char *expected = in TEST_F() local
73 const char *expected = in TEST_F() local
88 const char *expected = in TEST_F() local
103 const char *expected = in TEST_F() local
119 const char *expected = in TEST_F() local
136 const char *expected = in TEST_F() local
153 const char *expected = in TEST_F() local
170 const char *expected = in TEST_F() local
186 const char *expected = in TEST_F() local
[all …]
/external/testng/src/main/java/org/testng/
DAssertJUnit.java73 static public void assertEquals(String message, Object expected, Object actual) { in assertEquals()
87 static public void assertEquals(Object expected, Object actual) { in assertEquals()
94 static public void assertEquals(String message, String expected, String actual) { in assertEquals()
107 static public void assertEquals(String expected, String actual) { in assertEquals()
116 static public void assertEquals(String message, double expected, double actual, double delta) { in assertEquals()
134 static public void assertEquals(double expected, double actual, double delta) { in assertEquals()
143 static public void assertEquals(String message, float expected, float actual, float delta) { in assertEquals()
161 static public void assertEquals(float expected, float actual, float delta) { in assertEquals()
169 static public void assertEquals(String message, long expected, long actual) { in assertEquals()
176 static public void assertEquals(long expected, long actual) { in assertEquals()
[all …]
/external/webrtc/modules/video_coding/utility/
Dsimulcast_rate_allocator_unittest.cc169 uint32_t expected[] = {codec_.minBitrate}; in TEST_F() local
177 uint32_t expected[] = {codec_.maxBitrate}; in TEST_F() local
189 uint32_t expected[] = {kMax}; in TEST_F() local
197 uint32_t expected[] = {bitrate}; in TEST_F() local
206 uint32_t expected[] = {0}; in TEST_F() local
223 uint32_t expected[] = {kMin}; in TEST_F() local
258 uint32_t expected[] = {kMax}; in TEST_F() local
274 uint32_t expected[] = {bitrate}; in TEST_F() local
318 uint32_t expected[] = {0}; in TEST_F() local
331 uint32_t expected[] = {bitrate, 0, 0}; in TEST_F() local
[all …]
/external/junit/src/main/java/junit/framework/
DAssert.java71 public static void assertEquals(String message, Object expected, Object actual) { in assertEquals()
85 public static void assertEquals(Object expected, Object actual) { in assertEquals()
92 public static void assertEquals(String message, String expected, String actual) { in assertEquals()
106 public static void assertEquals(String expected, String actual) { in assertEquals()
115 public static void assertEquals(String message, double expected, double actual, double delta) { in assertEquals()
128 public static void assertEquals(double expected, double actual, double delta) { in assertEquals()
137 public static void assertEquals(String message, float expected, float actual, float delta) { in assertEquals()
150 public static void assertEquals(float expected, float actual, float delta) { in assertEquals()
158 public static void assertEquals(String message, long expected, long actual) { in assertEquals()
165 public static void assertEquals(long expected, long actual) { in assertEquals()
[all …]
DTestCase.java237 public static void assertEquals(String message, Object expected, Object actual) { in assertEquals()
245 public static void assertEquals(Object expected, Object actual) { in assertEquals()
252 public static void assertEquals(String message, String expected, String actual) { in assertEquals()
259 public static void assertEquals(String expected, String actual) { in assertEquals()
268 public static void assertEquals(String message, double expected, double actual, double delta) { in assertEquals()
276 public static void assertEquals(double expected, double actual, double delta) { in assertEquals()
285 public static void assertEquals(String message, float expected, float actual, float delta) { in assertEquals()
293 public static void assertEquals(float expected, float actual, float delta) { in assertEquals()
301 public static void assertEquals(String message, long expected, long actual) { in assertEquals()
308 public static void assertEquals(long expected, long actual) { in assertEquals()
[all …]
/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/bindings/
DValidationTestUtilTest.java53 ByteBuffer expected = ByteBuffer.allocateDirect(0); in testCorrectMessageParsing() local
61 ByteBuffer expected = ByteBuffer.allocateDirect(0); in testCorrectMessageParsing() local
69 ByteBuffer expected = ByteBuffer.allocateDirect(17); in testCorrectMessageParsing() local
83 ByteBuffer expected = ByteBuffer.allocateDirect(15); in testCorrectMessageParsing() local
95 ByteBuffer expected = ByteBuffer.allocateDirect(3); in testCorrectMessageParsing() local
106 ByteBuffer expected = ByteBuffer.allocateDirect(12); in testCorrectMessageParsing() local
116 ByteBuffer expected = ByteBuffer.allocateDirect(14); in testCorrectMessageParsing() local
128 ByteBuffer expected = ByteBuffer.allocateDirect(8); in testCorrectMessageParsing() local
144 ByteBuffer expected = ByteBuffer.allocateDirect(0); in testCorrectMessageParsing() local
DBindingsVersioningTest.java64 MultiVersionStruct expected = new MultiVersionStruct(); in testOldToNew() local
77 MultiVersionStruct expected = new MultiVersionStruct(); in testOldToNew() local
92 MultiVersionStruct expected = new MultiVersionStruct(); in testOldToNew() local
109 MultiVersionStruct expected = new MultiVersionStruct(); in testOldToNew() local
132 MultiVersionStruct expected = new MultiVersionStruct(); in testOldToNew() local
159 MultiVersionStructV0 expected = new MultiVersionStructV0(); in testNewToOld() local
168 MultiVersionStructV1 expected = new MultiVersionStructV1(); in testNewToOld() local
178 MultiVersionStructV3 expected = new MultiVersionStructV3(); in testNewToOld() local
189 MultiVersionStructV5 expected = new MultiVersionStructV5(); in testNewToOld() local
202 MultiVersionStructV7 expected = new MultiVersionStructV7(); in testNewToOld() local
/external/parameter-framework/upstream/test/tokenizer/
DTest.cpp50 Expected expected{"a", "bcd", "ef"}; variable
59 Expected expected{}; variable
68 Expected expected{"a", "bc"}; variable
78 Expected expected{"a", "bcd", "ef g", "h"}; variable
89 Expected expected{}; variable
98 Expected expected{"", ""}; variable
107 Expected expected{"", "a", "", "b", "", "c", "d", ""}; variable
/external/openssh/regress/unittests/hostkeys/
Dtest_iterate.c25 struct expected { struct
38 const struct expected *expected; argument
56 const struct expected *expected; in check() local
148 prepare_expected(struct expected *expected, size_t n) in prepare_expected()
174 cleanup_expected(struct expected *expected, size_t n) in cleanup_expected()
/external/tensorflow/tensorflow/core/kernels/image/
Dresize_nearest_neighbor_op_test.cc107 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 1, 1, 1})); in TEST_P() local
125 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 1, 1, 1})); in TEST_P() local
142 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 3, 3, 1})); in TEST_P() local
163 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 3, 3, 1})); in TEST_P() local
185 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 2, 2, 1})); in TEST_P() local
207 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 2, 2, 1})); in TEST_P() local
226 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 2, 5, 1})); in TEST_P() local
249 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 3, 3, 1})); in TEST_P() local
274 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 3, 3, 1})); in TEST_P() local
294 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 5, 2, 1})); in TEST_P() local
[all …]
/external/tensorflow/tensorflow/java/src/gen/cc/
Dsource_writer_test.cc31 const char* expected = "You say goodbye and I say hello!"; in TEST() local
39 const char* expected = "You say goodbye\nand I say hello!"; in TEST() local
47 const char* expected = " You say goodbye\nand I say hello!"; in TEST() local
55 const char* expected = "--You say goodbye\nand I say hello!"; in TEST() local
63 const char* expected = " --You say goodbye\nand I say hello!"; in TEST() local
71 const char* expected = "You say goodbye and I say hello!"; in TEST() local
79 const char* expected = "You say goodbye\nand I say hello!"; in TEST() local
87 const char* expected = " You say goodbye\n and I say hello!"; in TEST() local
95 const char* expected = "--You say goodbye\n--and I say hello!"; in TEST() local
103 const char* expected = " --You say goodbye\n --and I say hello!"; in TEST() local
[all …]
/external/webrtc/modules/desktop_capture/
Ddesktop_frame_rotation_unittest.cc65 ArrayDesktopFrame expected(DesktopSize(3, 4), expected_pixels); in TEST() local
80 ArrayDesktopFrame expected(DesktopSize(4, 3), expected_pixels); in TEST() local
96 ArrayDesktopFrame expected(DesktopSize(3, 4), expected_pixels); in TEST() local
130 ArrayDesktopFrame expected(DesktopSize(3, 5), expected_pixels); in TEST() local
145 ArrayDesktopFrame expected(DesktopSize(5, 3), expected_pixels); in TEST() local
162 ArrayDesktopFrame expected(DesktopSize(3, 5), expected_pixels); in TEST() local
186 ArrayDesktopFrame expected(DesktopSize(5, 3), expected_pixels); in TEST() local
201 ArrayDesktopFrame expected(DesktopSize(5, 3), expected_pixels); in TEST() local
219 ArrayDesktopFrame expected(DesktopSize(3, 5), expected_pixels); in TEST() local
236 ArrayDesktopFrame expected(DesktopSize(3, 5), expected_pixels); in TEST() local
[all …]
/external/okio/okio/src/jvmTest/kotlin/okio/
DByteStringKotlinTest.kt30 val expected = ByteString.of(1, 2, 3, 4) in arrayToByteString() constant
36 val expected = ByteString.of(2, 3) in arraySubsetToByteString() constant
42 val expected = ByteString.of(1, 2, 3, 4) in byteBufferToByteString() constant
48 val expected = "a\uD83C\uDF69c".encodeUtf8() in stringEncodeByteStringDefaultCharset() constant
55 val expected = ByteString.of(1, 2, 3, 4) in streamReadByteString() constant
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowOpenGLMatrixTest.java117 final float[] expected = new float[]{ in multiplyMM() local
153 final float[] expected = new float[]{ in multiplyMMWithOffset() local
183 final float[] expected = new float[]{ in multiplyMMRandom() local
261 float[] expected = new float[]{14268, 15701, 17134, 18567}; in multiplyMV() local
281 float[] expected = new float[]{ in multiplyMVWithOffset() local
300 final float[] expected = new float[]{ in multiplyMVRandom() local
348 float[] expected = new float[]{ in testMultiplyMM() local
367 float[] expected = new float[]{ in testFrustumM() local
381 float[] expected = new float[]{ in testFrustumJB_MR1() local
394 float[] expected = new float[]{ in testPerspectiveM() local
[all …]
/external/rust/crates/quote/tests/
Dtest.rs27 let expected = concat!( in test_quote_impl() localVariable
49 let expected = concat!( in test_quote_spanned_impl() localVariable
65 let expected = "X < X > (X) [X] { X }"; in test_substitution() localVariable
115 let expected = concat!( in test_advanced() localVariable
155 let expected = "- 1i8 - 1i16 - 1i32 - 1i64 - 1i128 - 1isize 1u8 1u16 1u32 1u64 1u128 1usize"; in test_integer() localVariable
169 let expected = concat!("2.345f32 2.345f64"); in test_floating() localVariable
185 let expected = "'\\u{0}' '#' '\"' '\\'' '\\n' '\u{2764}'"; in test_char() localVariable
193 let expected = "\"\\u{0} a 'b \\\" c\""; in test_str() localVariable
201 let expected = "\"\\u{0} a 'b \\\" c\""; in test_string() localVariable
210 let expected = "struct Foo ; enum Bar7 { }"; in test_ident() localVariable
[all …]
/external/vixl/test/aarch64/
Dtest-assembler-aarch64.h293 #define ASSERT_EQUAL_NZCV(expected) \ argument
296 #define ASSERT_EQUAL_REGISTERS(expected) \ argument
299 #define ASSERT_EQUAL_FP16(expected, result) \ argument
302 #define ASSERT_EQUAL_32(expected, result) \ argument
305 #define ASSERT_EQUAL_FP32(expected, result) \ argument
308 #define ASSERT_EQUAL_64(expected, result) \ argument
311 #define ASSERT_NOT_EQUAL_64(expected, result) \ argument
314 #define ASSERT_EQUAL_FP64(expected, result) \ argument
320 #define ASSERT_LITERAL_POOL_SIZE(expected) \ argument
323 #define ASSERT_EQUAL_SVE_LANE(expected, result, lane) \ argument
[all …]
/external/tensorflow/tensorflow/core/kernels/
Droll_op_test.cc63 Tensor expected(allocator(), DT_FLOAT, TensorShape({5})); in TEST_F() local
78 Tensor expected(allocator(), DT_STRING, TensorShape({5})); in TEST_F() local
96 Tensor expected(allocator(), DT_COMPLEX64, TensorShape({5})); in TEST_F() local
115 Tensor expected(allocator(), DT_FLOAT, TensorShape({3, 5})); in TEST_F() local
133 Tensor expected(allocator(), DT_STRING, TensorShape({3, 5})); in TEST_F() local
150 Tensor expected(allocator(), DT_FLOAT, TensorShape({2, 2, 3})); in TEST_F() local
167 Tensor expected(allocator(), DT_STRING, TensorShape({2, 2, 3})); in TEST_F() local
184 Tensor expected(allocator(), DT_FLOAT, TensorShape({5, 3})); in TEST_F() local
202 Tensor expected(allocator(), DT_STRING, TensorShape({5, 3})); in TEST_F() local
219 Tensor expected(allocator(), DT_FLOAT, TensorShape({4, 1, 3})); in TEST_F() local
[all …]
/external/rust/crates/url/tests/
Dsetters_tests.json30 "expected": { object
38 "expected": { object
46 "expected": { object
55 "expected": { object
64 "expected": { object
73 "expected": { object
82 "expected": { object
90 "expected": { object
99 "expected": { object
108 "expected": { object
[all …]
/external/rust/crates/regex-syntax/src/hir/
Dmod.rs1639 let expected = vec![('a', 'c'), ('x', 'z')]; in class_canonicalize_unicode() localVariable
1643 let expected = vec![('a', 'c'), ('x', 'z')]; in class_canonicalize_unicode() localVariable
1647 let expected = vec![('w', 'z')]; in class_canonicalize_unicode() localVariable
1658 let expected = vec![('a', 'j'), ('l', 's')]; in class_canonicalize_unicode() localVariable
1662 let expected = vec![('u', 'z')]; in class_canonicalize_unicode() localVariable
1666 let expected = vec![('\x00', '\u{10FFFF}')]; in class_canonicalize_unicode() localVariable
1670 let expected = vec![('a', 'b')]; in class_canonicalize_unicode() localVariable
1677 let expected = vec![(b'a', b'c'), (b'x', b'z')]; in class_canonicalize_bytes() localVariable
1681 let expected = vec![(b'a', b'c'), (b'x', b'z')]; in class_canonicalize_bytes() localVariable
1685 let expected = vec![(b'w', b'z')]; in class_canonicalize_bytes() localVariable
[all …]

12345678910>>...139