/external/google-java-format/core/src/test/java/com/google/googlejavaformat/java/ |
D | JavadocFormattingTest.java | 39 String[] expected = { in notJavadoc() local 43 doFormatTest(input, expected); in notJavadoc() 52 String[] expected = { in empty() local 55 doFormatTest(input, expected); in empty() 65 String[] expected = { in emptyMultipleLines() local 68 doFormatTest(input, expected); in emptyMultipleLines() 77 String[] expected = { in simple() local 80 doFormatTest(input, expected); in simple() 98 String[] expected = { in commentMostlyUntouched() local 110 doFormatTest(input, expected); in commentMostlyUntouched() [all …]
|
/external/angle/src/tests/preprocessor_tests/ |
D | define_test.cpp | 25 const char *expected = in TEST_F() local 32 preprocess(input, expected); in TEST_F() 46 const char *expected = in TEST_F() local 65 preprocess(input, expected); in TEST_F() 73 const char *expected = in TEST_F() local 80 preprocess(input, expected); in TEST_F() 88 const char *expected = in TEST_F() local 95 preprocess(input, expected); in TEST_F() 103 const char *expected = in TEST_F() local 110 preprocess(input, expected); in TEST_F() [all …]
|
/external/curl/tests/libtest/ |
D | lib557.c | 66 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/testng/src/main/java/org/testng/ |
D | AssertJUnit.java | 73 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 …]
|
D | Assert.java | 111 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/cups/ |
D | testraster.c | 25 static void print_changes(cups_page_header2_t *header, cups_page_header2_t *expected); 132 expected; /* Expected page header */ in do_raster_tests() local 303 memset(&expected, 0, sizeof(expected)); in do_raster_tests() 304 expected.cupsWidth = 256; in do_raster_tests() 305 expected.cupsHeight = 256; in do_raster_tests() 306 expected.cupsBytesPerLine = 256; in do_raster_tests() 307 expected.HWResolution[0] = 64; in do_raster_tests() 308 expected.HWResolution[1] = 64; in do_raster_tests() 309 expected.PageSize[0] = 288; in do_raster_tests() 310 expected.PageSize[1] = 288; in do_raster_tests() [all …]
|
/external/arm-neon-tests/ |
D | expected_input4gcc.txt | 3 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 …]
|
D | expected_input4gcc-nofp16.txt | 3 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/ |
D | Assertion.java | 71 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/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/bindings/ |
D | ValidationTestUtilTest.java | 53 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/webrtc/modules/rtp_rtcp/source/ |
D | video_rtp_depacketizer_vp9_unittest.cc | 23 void VerifyHeader(const RTPVideoHeaderVP9& expected, in VerifyHeader() argument 25 EXPECT_EQ(expected.inter_layer_predicted, actual.inter_layer_predicted); in VerifyHeader() 26 EXPECT_EQ(expected.inter_pic_predicted, actual.inter_pic_predicted); in VerifyHeader() 27 EXPECT_EQ(expected.flexible_mode, actual.flexible_mode); in VerifyHeader() 28 EXPECT_EQ(expected.beginning_of_frame, actual.beginning_of_frame); in VerifyHeader() 29 EXPECT_EQ(expected.end_of_frame, actual.end_of_frame); in VerifyHeader() 30 EXPECT_EQ(expected.ss_data_available, actual.ss_data_available); in VerifyHeader() 31 EXPECT_EQ(expected.non_ref_for_inter_layer_pred, in VerifyHeader() 33 EXPECT_EQ(expected.picture_id, actual.picture_id); in VerifyHeader() 34 EXPECT_EQ(expected.max_picture_id, actual.max_picture_id); in VerifyHeader() [all …]
|
/external/junit/src/main/java/junit/framework/ |
D | Assert.java | 71 public static 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 public static void assertEquals(Object expected, Object actual) { in assertEquals() argument 86 assertEquals(null, expected, actual); in assertEquals() 92 public static 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 …]
|
/external/llvm/test/MC/Mips/msa/ |
D | invalid.s | 8 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/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/ |
D | side-effect-analysis-test.mlir | 8 // expected-remark@above {{ID: 13}} 13 // expected-remark@above {{ID: 11}} 14 // expected-remark@above {{Successors: {12}}} 17 // expected-remark@above {{ID: 9}} 18 // expected-remark@above {{Successors: {10}}} 20 // expected-remark@above {{ID: 0}} 21 // expected-remark@above {{Successors: {1}}} 23 // expected-remark@above {{ID: 1}} 24 // expected-remark@above {{Predecessors: {0}}} 25 // expected-remark@above {{Successors: {6}}} [all …]
|
/external/llvm-project/llvm/test/MC/Mips/msa/ |
D | invalid.s | 8 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/libese/libapdu/tests/ |
D | apdu_test.cpp | 32 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/ |
D | expect | 22 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/ |
D | invalid.s | 4 …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/openssh/regress/unittests/authopt/ |
D | tests.c | 87 const struct sshauthopt *expected) in compare_opts() argument 92 ASSERT_PTR_NE(expected, NULL); in compare_opts() 93 ASSERT_PTR_NE(expected, opts); /* bozo :) */ in compare_opts() 95 #define FLAG_EQ(x) ASSERT_INT_EQ(opts->x, expected->x) in compare_opts() 107 if (expected->x == NULL) \ in compare_opts() 108 ASSERT_PTR_EQ(opts->x, expected->x); \ in compare_opts() 110 ASSERT_STRING_EQ(opts->x, expected->x); \ in compare_opts() 120 ASSERT_SIZE_T_EQ(opts->nx, expected->nx); \ in compare_opts() 121 if (expected->nx == 0) \ in compare_opts() 123 for (i = 0; i < expected->nx; i++) \ in compare_opts() [all …]
|
/external/llvm-project/clang/test/SemaObjC/ |
D | crash-on-type-args-protocols.m | 17 …expected-error {{expected a type}} expected-error {{use of undeclared identifier 'P'}} expected-er… 19 } // expected-error {{expected '>'}} 23 …expected-error {{unknown type name 'P'}} expected-error {{unexpected interface name 'X': expected … 25 } // expected-error {{expected '>'}} 29 …expected-error {{unknown type name 'P'}} expected-error {{expected expression}} expected-error {{u… 31 } // expected-error {{expected '>'}} 35 …expected-error {{unknown type name 'P'}} expected-error {{expected ')'}} expected-note {{to match … 37 } // expected-error {{expected '>'}} 40 // expected-error {{expected parameter declarator}} // expected-error {{expected ')'}} // expected-…
|
/external/angle/third_party/abseil-cpp/absl/strings/internal/ |
D | cordz_info_statistics_test.cc | 206 CordzStatistics expected; in TEST() local 207 expected.size = flat->length; in TEST() 208 expected.estimated_memory_usage = SizeOf(flat); in TEST() 209 expected.estimated_fair_share_memory_usage = expected.estimated_memory_usage; in TEST() 210 expected.node_count = 1; in TEST() 211 expected.node_counts.flat = 1; in TEST() 212 expected.node_counts.flat_512 = 1; in TEST() 214 EXPECT_THAT(SampleCord(flat), EqStatistics(expected)); in TEST() 221 CordzStatistics expected; in TEST() local 222 expected.size = flat->length; in TEST() [all …]
|
/external/e2fsprogs/tests/j_long_revoke_trans_mcsum_32bit/ |
D | expect | 23 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/llvm-project/mlir/test/IR/ |
D | invalid.mlir | 6 func @illegaltype(i) // expected-error {{expected non-function type}} 11 …%0 = constant dense<0> : <vector 4 x f32> : vector<4 x f32> // expected-error {{expected non-funct… 16 func @nestedtensor(tensor<tensor<i8>>) -> () // expected-error {{invalid tensor element type}} 20 func @illegalmemrefelementtype(memref<?xtensor<i8>>) -> () // expected-error {{invalid memref eleme… 24 func @illegalunrankedmemrefelementtype(memref<*xtensor<i8>>) -> () // expected-error {{invalid memr… 28 func @indexvector(vector<4 x index>) -> () // expected-error {{vector elements must be int or float… 32 func @memrefs(memref<2x4xi8, >) // expected-error {{expected list element}} 36 func @memrefs(memref<2x4xi8, #map7>) // expected-error {{undefined symbol alias id 'map7'}} 40 func @memrefs(memref<2x4xi8, i8>) // expected-error {{expected affine map in memref type}} 46 func @memrefs(memref<2x4xi8, #map0, #map8>) // expected-error {{undefined symbol alias id 'map8'}} [all …]
|
/external/tensorflow/tensorflow/core/kernels/image/ |
D | resize_nearest_neighbor_op_test.cc | 107 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 1, 1, 1})); in TEST_P() local 110 test::FillValues<float>(&expected, {1}); in TEST_P() 113 test::ExpectTensorEqual<float>(expected, *GetOutput(0)); in TEST_P() 125 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 1, 1, 1})); in TEST_P() local 128 test::FillValues<float>(&expected, {1}); in TEST_P() 131 test::ExpectTensorEqual<float>(expected, *GetOutput(0)); in TEST_P() 142 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 3, 3, 1})); in TEST_P() local 145 test::FillValues<float>(&expected, in TEST_P() 151 test::ExpectTensorEqual<float>(expected, *GetOutput(0)); in TEST_P() 163 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 3, 3, 1})); in TEST_P() local [all …]
|
/external/llvm-project/llvm/test/MC/Mips/micromips/ |
D | invalid.s | 4 …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 …]
|