/external/vboot_reference/tests/ |
D | test_common.c | 21 int TEST_EQ(int result, int expected_result, const char* testname) { in TEST_EQ() argument 22 if (result == expected_result) { in TEST_EQ() 28 expected_result, expected_result, result, result); in TEST_EQ() 47 int TEST_PTR_EQ(const void* result, const void* expected_result, in TEST_PTR_EQ() argument 49 if (result == expected_result) { in TEST_PTR_EQ() 54 fprintf(stderr, " Expected: 0x%lx, got: 0x%lx\n", (long)expected_result, in TEST_PTR_EQ() 75 int TEST_STR_EQ(const char* result, const char* expected_result, in TEST_STR_EQ() argument 78 if (!result || !expected_result) { in TEST_STR_EQ() 83 } else if (!strcmp(result, expected_result)) { in TEST_STR_EQ() 88 fprintf(stderr, " Expected: \"%s\", got: \"%s\"\n", expected_result, in TEST_STR_EQ()
|
D | test_common.h | 14 int TEST_EQ(int result, int expected_result, const char* testname); 23 int TEST_PTR_EQ(const void* result, const void* expected_result, 29 int TEST_PTR_NEQ(const void* result, const void* expected_result, 34 int TEST_STR_EQ(const char* result, const char* expected_result,
|
/external/compiler-rt/test/builtins/Unit/ |
D | udivmodsi4_test.c | 22 su_int expected_result, su_int expected_rem) in test__udivmodsi4() argument 26 if (result != expected_result) { in test__udivmodsi4() 28 a, b, result, expected_result); in test__udivmodsi4()
|
D | divmodsi4_test.c | 23 si_int expected_result, si_int expected_rem) in test__divmodsi4() argument 27 if (result != expected_result) { in test__divmodsi4() 29 a, b, result, expected_result); in test__divmodsi4()
|
/external/v8/test/mjsunit/ |
D | regexp-lookahead.js | 35 function testRE(re, input, expected_result) { argument 37 if (expected_result) { 44 function execRE(re, input, expected_result) { argument 46 assertEquals(expected_result, re.exec(input), testName);
|
D | external-array-no-sse2.js | 295 function run_test(test_func, array, expected_result) { argument 302 assertEquals(expected_result, sum); 307 function run_bounds_test(test_func, array, expected_result) { argument
|
D | external-array.js | 295 function run_test(test_func, array, expected_result) { argument 302 assertEquals(expected_result, sum); 307 function run_bounds_test(test_func, array, expected_result) { argument
|
/external/google-breakpad/src/processor/ |
D | range_map_unittest.cc | 156 bool expected_result = false; // This is correct for tests not stored. in RetrieveTest() local 159 expected_result = true; // test should always succeed. in RetrieveTest() 161 expected_result = side; // should fail low and succeed high. in RetrieveTest() 163 expected_result = !side; // should succeed low and fail high. in RetrieveTest() 175 if (observed_result != expected_result) { in RetrieveTest() 182 expected_result ? "true" : "false", in RetrieveTest()
|
D | static_range_map_unittest.cc | 236 bool expected_result = false; // This is correct for tests not stored. in RetrieveTest() local 239 expected_result = true; // test should always succeed. in RetrieveTest() 241 expected_result = side; // should fail low and succeed high. in RetrieveTest() 243 expected_result = !side; // should succeed low and fail high. in RetrieveTest() 254 EXPECT_EQ(observed_result, expected_result) in RetrieveTest()
|
/external/vboot_reference/tests/tpm_lite/ |
D | tlcl_tests.h | 19 #define TPM_EXPECT(tpm_command, expected_result) do { \ argument 21 uint32_t _exp = (expected_result); \
|
/external/compiler-rt/test/builtins/Unit/ppc/ |
D | fixtfdi_test.c | 458 int64_t expected_result, computed_result; in main() local 463 expected_result = testCases[i].result; in main() 467 if (computed_result != expected_result) { in main() 469 printf("\tExpected %016llx ( %lld )\n", expected_result, expected_result); in main()
|
/external/parameter-framework/test/functional-tests/PfwTestCase/Domains/ |
D | tDomain_Configuration_Selection.py | 56 self.expected_result = [["Conf_1_1", "<none>", "Conf_3_0"] , 172 config = str(self.expected_result[iteration][domain])
|
/external/icu/icu4c/source/test/intltest/ |
D | listformattertest.h | 41 …rmatter* formatter, UnicodeString data[], int32_t data_size, const UnicodeString& expected_result);
|
D | listformattertest.cpp | 27 const UnicodeString& expected_result) { in CheckFormatting() argument 31 UnicodeString expectedStringWithPrefix = prefix + expected_result; in CheckFormatting()
|
D | dtfmttst.cpp | 2302 UnicodeString expected_result; in TestZTimeZoneParsing() member 2322 if(result != tests[i].expected_result) { in TestZTimeZoneParsing() 2323 errln("Expected " + tests[i].expected_result in TestZTimeZoneParsing() 2329 + " expected " + tests[i].expected_result); in TestZTimeZoneParsing()
|
/external/boringssl/src/crypto/ecdsa/ |
D | ecdsa_test.cc | 76 EC_KEY *eckey, int expected_result) { in VerifyECDSASig() argument 103 return expected_result == actual_result; in VerifyECDSASig()
|
/external/protobuf/src/google/protobuf/ |
D | text_format_unittest.cc | 945 int col, Message* proto, bool expected_result) { in ExpectMessage() argument 949 EXPECT_EQ(expected_result, parser.ParseFromString(input, proto)) in ExpectMessage()
|
/external/v8/test/cctest/ |
D | test-api.cc | 20579 static void TestReceiver(Local<Value> expected_result, in TestReceiver() argument 20585 CHECK(expected_result->Equals(result->ToObject()->Get(0))); in TestReceiver()
|