/external/chromium-trace/catapult/telemetry/telemetry/web_perf/metrics/ |
D | v8_gc_latency_unittest.py | 106 expected = _GetEmptyResults() 108 self._AssertResultsEqual(expected, _ActualValues(results)) 129 expected = _GetEmptyResults() 130 expected['v8_gc_incremental_marking'] = ('ms', 6.0) 131 expected['v8_gc_incremental_marking_average'] = ('ms', 3.0) 132 expected['v8_gc_incremental_marking_count'] = ('count', 2) 133 expected['v8_gc_incremental_marking_max'] = ('ms', 4.0) 134 expected['v8_gc_incremental_marking_outside_idle'] = ('ms', 6.0) 135 expected['v8_gc_finalize_incremental'] = ('ms', 5.0) 136 expected['v8_gc_finalize_incremental_average'] = ('ms', 2.5) [all …]
|
/external/curl/tests/libtest/ |
D | lib557.c | 60 const char *expected; /* expected string */ member 67 const char *expected; /* expected string */ member 74 const char *expected; /* expected string */ member 81 const char *expected; /* expected string */ member 88 const char *expected; /* expected string */ member 95 const char *expected; /* expected string */ member 102 const char *expected; /* expected string */ member 124 i=1; us_test[i].num = 0xFFU; us_test[i].expected = "256"; in test_unsigned_short_formatting() 125 i++; us_test[i].num = 0xF0U; us_test[i].expected = "240"; in test_unsigned_short_formatting() 126 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/vogar/src/junit/framework/ |
D | Assert.java | 25 public static void assertEquals(String message, boolean expected, boolean actual) { in assertEquals() argument 26 if (actual != expected) { in assertEquals() 27 fail(message, "expected " + expected + " but was " + actual); in assertEquals() 31 public static void assertEquals(boolean expected, boolean actual) { in assertEquals() argument 32 assertEquals("", expected, actual); in assertEquals() 35 public static void assertEquals(String message, byte expected, byte actual) { in assertEquals() argument 36 if (actual != expected) { in assertEquals() 37 fail(message, "expected " + expected + " but was " + actual); in assertEquals() 41 public static void assertEquals(byte expected, byte actual) { in assertEquals() argument 42 assertEquals("", expected, actual); in assertEquals() [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/junit/src/junit/framework/ |
D | Assert.java | 62 static public void assertEquals(String message, Object expected, Object actual) { in assertEquals() argument 63 if (expected == null && actual == null) in assertEquals() 65 if (expected != null && expected.equals(actual)) in assertEquals() 67 failNotEquals(message, expected, actual); in assertEquals() 73 static public void assertEquals(Object expected, Object actual) { in assertEquals() argument 74 assertEquals(null, expected, actual); in assertEquals() 79 static public void assertEquals(String message, String expected, String actual) { in assertEquals() argument 80 if (expected == null && actual == null) in assertEquals() 82 if (expected != null && expected.equals(actual)) in assertEquals() 85 throw new ComparisonFailure(cleanMessage, expected, actual); in assertEquals() [all …]
|
/external/chromium-trace/catapult/third_party/closure_linter/closure_linter/ |
D | fixjsstyle_test.py | 79 expected = open(golden_filename, 'r') 85 self.assertEqual(actual.readlines(), expected.readlines()) 93 expected = [ 99 self._AssertFixes(original, expected, include_header=False) 106 self._AssertFixes(original, expected, include_header=False) 114 expected = [ 120 self._AssertFixes(original, expected, include_header=False) 127 self._AssertFixes(original, expected, include_header=False) 140 expected = [ 146 self._AssertFixes(original, expected, include_header=False) [all …]
|
/external/skia/tests/ |
D | MatrixClipCollapseTest.cpp | 142 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/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/ |
D | descriptor_test.py | 49 expected = descriptor.EnumValueDescriptor() 50 expected.name = 'MY_NAME' 51 expected.number = 10 55 self.assertEquals(expected, described) 64 expected = descriptor.EnumDescriptor() 65 expected.name = 'EmptyEnum' 69 self.assertEquals(expected, described) 76 expected = descriptor.EnumDescriptor() 77 expected.name = 'NestedEnum' 81 self.assertEquals(expected, described) [all …]
|
/external/llvm/test/MC/Mips/msa/ |
D | invalid.s | 8 insve.b $w25[-1], $w9[0] # CHECK: :[[@LINE]]:18: error: expected 4-bit unsigned immediate 9 insve.b $w25[16], $w9[0] # CHECK: :[[@LINE]]:18: error: expected 4-bit unsigned immediate 10 insve.h $w24[-1], $w2[0] # CHECK: :[[@LINE]]:18: error: expected 3-bit unsigned immediate 11 insve.h $w24[8], $w2[0] # CHECK: :[[@LINE]]:18: error: expected 3-bit unsigned immediate 12 insve.w $w0[-1], $w13[0] # CHECK: :[[@LINE]]:17: error: expected 2-bit unsigned immediate 13 insve.w $w0[4], $w13[0] # CHECK: :[[@LINE]]:17: error: expected 2-bit unsigned immediate 14 insve.d $w3[-1], $w18[0] # CHECK: :[[@LINE]]:17: error: expected 1-bit unsigned immediate 15 insve.d $w3[2], $w18[0] # CHECK: :[[@LINE]]:17: error: expected 1-bit unsigned immediate 16 insve.b $w25[3], $w9[1] # CHECK: :[[@LINE]]:26: error: expected '0' 17 insve.h $w24[2], $w2[1] # CHECK: :[[@LINE]]:26: error: expected '0' [all …]
|
D | invalid-64.s | 8 dlsa $2, $3, $4, 0 # CHECK: :[[@LINE]]:25: error: expected immediate in range 1 .. 4 9 dlsa $2, $3, $4, 5 # CHECK: :[[@LINE]]:25: error: expected immediate in range 1 .. 4 10 insve.b $w25[-1], $w9[0] # CHECK: :[[@LINE]]:18: error: expected 4-bit unsigned immediate 11 insve.b $w25[16], $w9[0] # CHECK: :[[@LINE]]:18: error: expected 4-bit unsigned immediate 12 insve.h $w24[-1], $w2[0] # CHECK: :[[@LINE]]:18: error: expected 3-bit unsigned immediate 13 insve.h $w24[8], $w2[0] # CHECK: :[[@LINE]]:18: error: expected 3-bit unsigned immediate 14 insve.w $w0[-1], $w13[0] # CHECK: :[[@LINE]]:17: error: expected 2-bit unsigned immediate 15 insve.w $w0[4], $w13[0] # CHECK: :[[@LINE]]:17: error: expected 2-bit unsigned immediate 16 insve.d $w3[-1], $w18[0] # CHECK: :[[@LINE]]:17: error: expected 1-bit unsigned immediate 17 insve.d $w3[2], $w18[0] # CHECK: :[[@LINE]]:17: error: expected 1-bit unsigned immediate [all …]
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | PreconditionsTest.java | 42 } catch (IllegalArgumentException expected) { in testCheckArgument_simple_failure() 54 } catch (IllegalArgumentException expected) { in testCheckArgument_simpleMessage_failure() 55 verifySimpleMessage(expected); in testCheckArgument_simpleMessage_failure() 63 } catch (IllegalArgumentException expected) { in testCheckArgument_nullMessage_failure() 64 assertEquals("null", expected.getMessage()); in testCheckArgument_nullMessage_failure() 76 } catch (IllegalArgumentException expected) { in testCheckArgument_complexMessage_failure() 77 verifyComplexMessage(expected); in testCheckArgument_complexMessage_failure() 89 } catch (IllegalStateException expected) { in testCheckState_simple_failure() 101 } catch (IllegalStateException expected) { in testCheckState_simpleMessage_failure() 102 verifySimpleMessage(expected); in testCheckState_simpleMessage_failure() [all …]
|
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/ |
D | PreconditionsTest.java | 40 } catch (IllegalArgumentException expected) { in testCheckArgument_simple_failure() 52 } catch (IllegalArgumentException expected) { in testCheckArgument_simpleMessage_failure() 53 verifySimpleMessage(expected); in testCheckArgument_simpleMessage_failure() 61 } catch (IllegalArgumentException expected) { in testCheckArgument_nullMessage_failure() 62 assertEquals("null", expected.getMessage()); in testCheckArgument_nullMessage_failure() 74 } catch (IllegalArgumentException expected) { in testCheckArgument_complexMessage_failure() 75 verifyComplexMessage(expected); in testCheckArgument_complexMessage_failure() 87 } catch (IllegalStateException expected) { in testCheckState_simple_failure() 99 } catch (IllegalStateException expected) { in testCheckState_simpleMessage_failure() 100 verifySimpleMessage(expected); in testCheckState_simpleMessage_failure() [all …]
|
/external/clang/test/Analysis/ |
D | global_region_invalidation.mm | 12 clang_analyzer_eval(p == 0); // expected-warning{{TRUE}} 20 clang_analyzer_eval(globalIntRef == 42); // expected-warning{{UNKNOWN}} 31 clang_analyzer_eval(globalInt == 42); // expected-warning{{UNKNOWN}} 32 clang_analyzer_eval(globalStruct.value == 43); // expected-warning{{UNKNOWN}} 38 clang_analyzer_eval(globalInt == 42); // expected-warning{{TRUE}} 39 clang_analyzer_eval(globalStruct.value == 43); // expected-warning{{TRUE}} 42 clang_analyzer_eval(globalInt == 42); // expected-warning{{UNKNOWN}} 43 clang_analyzer_eval(globalStruct.value == 43); // expected-warning{{UNKNOWN}} 50 clang_analyzer_eval(globalInt == 42); // expected-warning{{TRUE}} 51 clang_analyzer_eval(globalStruct.value == 43); // expected-warning{{TRUE}} [all …]
|
D | ctor.mm | 22 *(char *)0 = 1; // expected-warning{{Dereference of null pointer}} 35 clang_analyzer_eval(b.x == 42); // expected-warning{{TRUE}} 49 clang_analyzer_eval(b.x == 42); // expected-warning{{TRUE}} 87 clang_analyzer_eval(a == 1); // expected-warning{{TRUE}} 88 clang_analyzer_eval(b == 2); // expected-warning{{TRUE}} 89 clang_analyzer_eval(c == 3); // expected-warning{{TRUE}} 91 clang_analyzer_eval(obj.get() == 3); // expected-warning{{TRUE}} 95 clang_analyzer_eval(base->get() == 3); // expected-warning{{TRUE}} 103 clang_analyzer_checkInlined(true); // expected-warning{{TRUE}} 126 clang_analyzer_eval(result); // expected-warning{{TRUE}} [all …]
|
D | ivars.m | 15 clang_analyzer_eval(savedID == obj->uniqueID); // expected-warning{{TRUE}} 18 clang_analyzer_eval(savedID == obj->uniqueID); // expected-warning{{UNKNOWN}} 28 clang_analyzer_eval(savedID == self->uniqueID); // expected-warning{{TRUE}} 31 clang_analyzer_eval(savedID == self->uniqueID); // expected-warning{{UNKNOWN}} 61 clang_analyzer_eval(s.a == 1); // expected-warning{{TRUE}} 62 clang_analyzer_eval(s.b == 2); // expected-warning{{TRUE}} 63 clang_analyzer_eval(c == 3); // expected-warning{{TRUE}} 64 clang_analyzer_eval(d == 4); // expected-warning{{TRUE}} 68 clang_analyzer_eval(s.a == 1); // expected-warning{{TRUE}} 69 clang_analyzer_eval(s.b == 2); // expected-warning{{TRUE}} [all …]
|
/external/clang/test/SemaOpenCL/ |
D | invalid-logical-ops-1.1.cl | 10 int flaf = 0.0f && 0.0f; // expected-error {{invalid operands}} 11 int flof = 0.0f || 0.0f; // expected-error {{invalid operands}} 12 float fbaf = 0.0f & 0.0f; // expected-error {{invalid operands}} 13 float fbof = 0.0f | 0.0f; // expected-error {{invalid operands}} 14 float fbxf = 0.0f ^ 0.0f; // expected-error {{invalid operands}} 15 int flai = 0.0f && 0; // expected-error {{invalid operands}} 16 int floi = 0.0f || 0; // expected-error {{invalid operands}} 17 float ibaf = 0 & 0.0f; // expected-error {{invalid operands}} 18 float ibof = 0 | 0.0f; // expected-error {{invalid operands}} 19 float bnf = ~0.0f; // expected-error {{invalid argument type}} [all …]
|
/external/strace/tests/ |
D | uid.awk | 31 expected = "getuid" 42 if (expected == "getuid") { 44 expected = "setuid" 46 } else if (expected == "setuid") { 47 expected = "getresuid" 49 } else if (expected == "getresuid") { 50 expected = "setreuid" 52 } else if (expected == "setreuid") { 53 expected = "setresuid" 55 } else if (expected == "setresuid") { [all …]
|
/external/llvm/test/MC/Mips/micromips/ |
D | invalid.s | 4 break -1 # CHECK: :[[@LINE]]:9: error: expected 10-bit unsigned immediate 5 break 1024 # CHECK: :[[@LINE]]:9: error: expected 10-bit unsigned immediate 6 break -1, 5 # CHECK: :[[@LINE]]:9: error: expected 10-bit unsigned immediate 7 break 1024, 5 # CHECK: :[[@LINE]]:9: error: expected 10-bit unsigned immediate 8 break 7, -1 # CHECK: :[[@LINE]]:12: error: expected 10-bit unsigned immediate 9 break 7, 1024 # CHECK: :[[@LINE]]:12: error: expected 10-bit unsigned immediate 10 break16 -1 # CHECK: :[[@LINE]]:11: error: expected 4-bit unsigned immediate 11 break16 16 # CHECK: :[[@LINE]]:11: error: expected 4-bit unsigned immediate 12 cache -1, 255($7) # CHECK: :[[@LINE]]:9: error: expected 5-bit unsigned immediate 13 cache 32, 255($7) # CHECK: :[[@LINE]]:9: error: expected 5-bit unsigned immediate [all …]
|
/external/deqp/framework/delibs/decpp/ |
D | deRandom.cpp | 54 …static const bool expected[] = { true, false, false, false, true, true, false, false, false, false… in Random_selfTest() local 56 for (int i = 0; i < DE_LENGTH_OF_ARRAY(expected); i++) in Random_selfTest() 57 DE_TEST_ASSERT(expected[i] == rnd.getBool()); in Random_selfTest() 63 static const int expected[] = { -6628, -6483, 802, -7758, -8463, 3165, 9216, 3107, 1851, 8707 }; in Random_selfTest() local 65 for (int i = 0; i < DE_LENGTH_OF_ARRAY(expected); i++) in Random_selfTest() 66 DE_TEST_ASSERT(expected[i] == rnd.getInt(-10000, 10000)); in Random_selfTest() 72 …static const deUint32 expected[] = { 3694588092u, 3135240271u, 882874943u, 2108407657u, 376640368u… in Random_selfTest() local 74 for (int i = 0; i < DE_LENGTH_OF_ARRAY(expected); i++) in Random_selfTest() 75 DE_TEST_ASSERT(expected[i] == rnd.getUint32()); in Random_selfTest() 81 …static const deUint64 expected[] = { 15868135030466279503ull, 3791919008751271785ull, 161765806430… in Random_selfTest() local [all …]
|
/external/llvm/unittests/ADT/ |
D | StringRefTest.cpp | 152 SmallVector<StringRef, 5> expected; in TEST() local 154 expected.push_back("ab"); expected.push_back("c"); in TEST() 156 EXPECT_TRUE(parts == expected); in TEST() 158 expected.clear(); parts.clear(); in TEST() 159 expected.push_back(""); expected.push_back("ab"); expected.push_back(""); in TEST() 160 expected.push_back("c"); expected.push_back(""); in TEST() 162 EXPECT_TRUE(parts == expected); in TEST() 164 expected.clear(); parts.clear(); in TEST() 165 expected.push_back(""); in TEST() 167 EXPECT_TRUE(parts == expected); in TEST() [all …]
|
/external/clang/test/Parser/ |
D | objc-recover.mm | 5 int 123 // expected-error{{expected unqualified-id}} 9 int 123 // expected-error{{expected unqualified-id}} 15 int 123 // expected-error{{expected unqualified-id}} 16 - (void)foo; // expected-note{{here}} 17 int 456 // expected-error{{expected unqualified-id}} 18 + (void)bar; // expected-note{{here}} 22 int 123 // expected-error{{expected unqualified-id}} 23 - (id)foo {} // expected-warning{{conflicting return type}} 24 int 456 // expected-error{{expected unqualified-id}} 25 + (id)bar {} // expected-warning{{conflicting return type}} [all …]
|
/external/easymock/src/org/easymock/internal/matchers/ |
D | ArrayEquals.java | 26 public ArrayEquals(Object expected) { in ArrayEquals() argument 27 super(expected); in ArrayEquals() 32 Object expected = getExpected(); in matches() local 33 if (expected instanceof boolean[] in matches() 35 return Arrays.equals((boolean[]) expected, (boolean[]) actual); in matches() 36 } else if (expected instanceof byte[] in matches() 38 return Arrays.equals((byte[]) expected, (byte[]) actual); in matches() 39 } else if (expected instanceof char[] in matches() 41 return Arrays.equals((char[]) expected, (char[]) actual); in matches() 42 } else if (expected instanceof double[] in matches() [all …]
|
/external/clang/test/SemaObjC/ |
D | parameterized_classes_subst.m | 38 -(instancetype)initWithArray:(NSArray<T> *)array; // expected-note{{passing argument}} 39 - (void)setObject:(T)object atIndexedSubscript:(int)index; // expected-note 2{{passing argument to … 52 - (void)addObject:(U)object; // expected-note 7{{passing argument to parameter 'object' here}} 76 - (V)objectForKeyedSubscript:(K)key; // expected-note 2{{parameter 'key'}} 81 // expected-note@-1 {{parameter 'object' here}} 82 // expected-note@-2 {{parameter 'object' here}} 83 // expected-note@-3 {{parameter 'key' here}} 84 // expected-note@-4 {{parameter 'key' here}} 117 @interface NSNullableTest2<ViewType : NSView * _Nullable> : NSObject // expected-error{{type parame… 126 …nonnull_NSControl = [unspecifiedControl maybeView]; // expected-warning{{from nullable pointer 'N… [all …]
|