/third_party/node/test/js-native-api/test_promise/ |
D | test.js | 12 const expected_result = 42; constant 16 assert.strictEqual(result, expected_result); 19 test_promise.concludeCurrentPromise(expected_result, true); 24 const expected_result = 'It\'s not you, it\'s me.'; constant 29 assert.strictEqual(result, expected_result); 31 test_promise.concludeCurrentPromise(expected_result, false); 36 const expected_result = 'chained answer'; constant 40 assert.strictEqual(result, expected_result);
|
/third_party/spirv-tools/test/opt/ |
D | dataflow.cpp | 214 std::map<uint32_t, std::set<uint32_t>> expected_result; in TEST_F() local 215 expected_result[11] = {11, 12, 13}; in TEST_F() 216 expected_result[12] = {11, 12, 13}; in TEST_F() 217 expected_result[13] = {11, 12, 13}; in TEST_F() 218 expected_result[14] = {11, 12, 13}; in TEST_F() 219 expected_result[15] = {11, 12, 13, 14}; in TEST_F() 220 EXPECT_EQ(expected_result, analysis.reachable_from); in TEST_F()
|
D | cfg_test.cpp | 68 std::vector<uint32_t> expected_result = {10, 9, 8}; in TEST_F() local 69 EXPECT_THAT(order, ContainerEq(expected_result)); in TEST_F() 154 std::vector<uint32_t> expected_result = {8, 9, 10}; in TEST_F() local 155 EXPECT_THAT(order, ContainerEq(expected_result)); in TEST_F() 226 const std::string expected_result = R"(OpCapability Shader in TEST_F() local 271 EXPECT_EQ(optimized_asm, expected_result); in TEST_F() 316 std::list<BasicBlock*> expected_result = {context->get_instr_block(9), in TEST_F() local 319 EXPECT_THAT(order, ContainerEq(expected_result)); in TEST_F()
|
D | fold_test.cpp | 64 : test_body(tb), id_to_fold(id), expected_result(result) {} in InstructionFoldingCase() 68 ResultType expected_result; member 104 EXPECT_EQ(result->GetU32BitValue(), tc.expected_result); in TEST_P() 915 EXPECT_EQ(componenets.size(), tc.expected_result.size()); in TEST_P() 917 EXPECT_EQ(tc.expected_result[i], componenets[i]->GetU32()); in TEST_P() 1006 EXPECT_EQ(componenets.size(), tc.expected_result.size()); in TEST_P() 1008 EXPECT_EQ(tc.expected_result[i], componenets[i]->GetDouble()); in TEST_P() 1113 EXPECT_EQ(componenets.size(), tc.expected_result.size()); in TEST_P() 1115 EXPECT_EQ(tc.expected_result[i], componenets[i]->GetFloat()); in TEST_P() 1234 EXPECT_EQ(result->value(), tc.expected_result); in TEST_P() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/ |
D | dataflow.cpp | 214 std::map<uint32_t, std::set<uint32_t>> expected_result; in TEST_F() local 215 expected_result[11] = {11, 12, 13}; in TEST_F() 216 expected_result[12] = {11, 12, 13}; in TEST_F() 217 expected_result[13] = {11, 12, 13}; in TEST_F() 218 expected_result[14] = {11, 12, 13}; in TEST_F() 219 expected_result[15] = {11, 12, 13, 14}; in TEST_F() 220 EXPECT_EQ(expected_result, analysis.reachable_from); in TEST_F()
|
D | fold_test.cpp | 64 : test_body(tb), id_to_fold(id), expected_result(result) {} in InstructionFoldingCase() 68 ResultType expected_result; member 99 EXPECT_EQ(result->GetU32BitValue(), tc.expected_result); in TEST_P() 802 EXPECT_EQ(componenets.size(), tc.expected_result.size()); in TEST_P() 804 EXPECT_EQ(tc.expected_result[i], componenets[i]->GetU32()); in TEST_P() 893 EXPECT_EQ(componenets.size(), tc.expected_result.size()); in TEST_P() 895 EXPECT_EQ(tc.expected_result[i], componenets[i]->GetDouble()); in TEST_P() 946 EXPECT_EQ(componenets.size(), tc.expected_result.size()); in TEST_P() 948 EXPECT_EQ(tc.expected_result[i], componenets[i]->GetFloat()); in TEST_P() 1013 EXPECT_EQ(result->value(), tc.expected_result); in TEST_P() [all …]
|
D | cfg_test.cpp | 68 std::vector<uint32_t> expected_result = {10, 9, 8}; in TEST_F() local 69 EXPECT_THAT(order, ContainerEq(expected_result)); in TEST_F() 154 std::vector<uint32_t> expected_result = {8, 9, 10}; in TEST_F() local 155 EXPECT_THAT(order, ContainerEq(expected_result)); in TEST_F()
|
/third_party/skia/third_party/externals/spirv-tools/test/opt/ |
D | dataflow.cpp | 214 std::map<uint32_t, std::set<uint32_t>> expected_result; in TEST_F() local 215 expected_result[11] = {11, 12, 13}; in TEST_F() 216 expected_result[12] = {11, 12, 13}; in TEST_F() 217 expected_result[13] = {11, 12, 13}; in TEST_F() 218 expected_result[14] = {11, 12, 13}; in TEST_F() 219 expected_result[15] = {11, 12, 13, 14}; in TEST_F() 220 EXPECT_EQ(expected_result, analysis.reachable_from); in TEST_F()
|
D | fold_test.cpp | 64 : test_body(tb), id_to_fold(id), expected_result(result) {} in InstructionFoldingCase() 68 ResultType expected_result; member 99 EXPECT_EQ(result->GetU32BitValue(), tc.expected_result); in TEST_P() 800 EXPECT_EQ(componenets.size(), tc.expected_result.size()); in TEST_P() 802 EXPECT_EQ(tc.expected_result[i], componenets[i]->GetU32()); in TEST_P() 891 EXPECT_EQ(componenets.size(), tc.expected_result.size()); in TEST_P() 893 EXPECT_EQ(tc.expected_result[i], componenets[i]->GetDouble()); in TEST_P() 944 EXPECT_EQ(componenets.size(), tc.expected_result.size()); in TEST_P() 946 EXPECT_EQ(tc.expected_result[i], componenets[i]->GetFloat()); in TEST_P() 1011 EXPECT_EQ(result->value(), tc.expected_result); in TEST_P() [all …]
|
D | cfg_test.cpp | 68 std::vector<uint32_t> expected_result = {10, 9, 8}; in TEST_F() local 69 EXPECT_THAT(order, ContainerEq(expected_result)); in TEST_F() 154 std::vector<uint32_t> expected_result = {8, 9, 10}; in TEST_F() local 155 EXPECT_THAT(order, ContainerEq(expected_result)); in TEST_F()
|
/third_party/mesa3d/src/intel/compiler/ |
D | test_eu_validate.cpp | 199 bool expected_result; in TEST_P() member 229 EXPECT_EQ(test_case[i].expected_result, validate(p)); in TEST_P() 286 bool expected_result; in TEST_P() member 311 if (test_case[i].expected_result) { in TEST_P() 394 bool expected_result; in TEST_P() member 410 if (test_case[i].expected_result) { in TEST_P() 475 bool expected_result; in TEST_P() member 501 if (test_case[i].expected_result) { in TEST_P() 567 bool expected_result; member 580 EXPECT_EQ(test_case[i].expected_result, validate(p)); [all …]
|
D | test_fs_copy_propagation.cpp | 164 bool expected_result; in TEST_F() member 201 EXPECT_EQ(test[i].expected_result, copy_propagation(v)); in TEST_F() 212 EXPECT_EQ(test[i].expected_result, sel->saturate); in TEST_F() 214 if (test[i].expected_result) { in TEST_F()
|
/third_party/flutter/skia/third_party/externals/sdl/test/ |
D | testautomation_stdlib.c | 266 int expected_result; in stdlib_sscanf() local 269 expected_result = -1; in stdlib_sscanf() 273 …SDLTest_AssertCheck(expected_result == result, "Check return value, expected: %i, got: %i", expect… in stdlib_sscanf() 276 expected_result = 0; in stdlib_sscanf() 280 …SDLTest_AssertCheck(expected_result == result, "Check return value, expected: %i, got: %i", expect… in stdlib_sscanf() 284 expected_result = 1; in stdlib_sscanf() 288 …SDLTest_AssertCheck(expected_result == result, "Check return value, expected: %i, got: %i", expect… in stdlib_sscanf()
|
/third_party/openssl/test/recipes/ |
D | 80-test_cmp_http.t | 131 my $expected_result = shift; 136 unless (is(my $actual_result = run($cmd), $expected_result, $title)) { 141 " expected=$expected_result actual=$actual_result\n"; 254 my $expected_result = $fields[$column]; 257 next LOOP if (!defined($expected_result) 258 || ($expected_result ne 0 && $expected_result ne 1)); 260 push @result, [$title, \@fields, $expected_result];
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_asn1parse.function | 238 /* overfull_result: expected_result from parsing the given string plus 316 int expected_value, int expected_result ) 322 TEST_EQUAL( ret, expected_result ); 323 if( expected_result == 0 ) 368 const char *expected_hex, int expected_result ) 375 int expected_result_for_mpi = expected_result; 378 int expected_result_for_int = expected_result; 390 if( expected_result == 0 && 401 if( expected_result == 0 && expected_value < 0 ) 476 const char *expected_hex, int expected_result ) [all …]
|
D | test_suite_psa_crypto_se_driver_hal_mocks.function | 328 int expected_result ) 359 &returned_id ) == expected_result ); 385 if( expected_result == PSA_SUCCESS ) 397 void mock_export( int mock_export_return_value, int expected_result ) 434 &exported_length ) == expected_result ); 451 int expected_result ) 479 TEST_ASSERT( psa_generate_key( &attributes, &returned_id) == expected_result ); 504 if( expected_result == PSA_SUCCESS ) 518 int expected_result ) 554 &exported_length ) == expected_result ); [all …]
|
D | test_suite_nist_kw.function | 246 data_t *expected_result ) 263 TEST_ASSERT( result_len == expected_result->len ); 265 TEST_ASSERT( memcmp( expected_result->x, result, result_len ) == 0 ); 281 data_t *expected_result, int expected_ret ) 299 TEST_ASSERT( result_len == expected_result->len ); 300 TEST_ASSERT( memcmp( expected_result->x, result, result_len ) == 0 );
|
/third_party/openssl/test/ |
D | ecstresstest.c | 71 BIGNUM *result = NULL, *expected_result = NULL; in test_curve() local 89 if (!TEST_true(BN_hex2bn(&expected_result, kP256DefaultResult)) in test_curve() 90 || !TEST_ptr(expected_result) in test_curve() 91 || !TEST_BN_eq(result, expected_result)) in test_curve() 100 BN_free(expected_result); in test_curve()
|
D | ssl_test_ctx_test.c | 83 || !TEST_int_eq(ctx->expected_result, ctx2->expected_result) in testctx_eq() 155 fixture->expected_ctx->expected_result = SSL_TEST_SUCCESS; in test_empty_configuration() 169 fixture->expected_ctx->expected_result = SSL_TEST_SERVER_FAIL; in test_good_configuration()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
D | transformation_replace_boolean_constant_with_constant_binary.cpp | 179 bool expected_result = (boolean_constant->opcode() == SpvOpConstantTrue); in IsApplicable() local 191 expected_result)) { in IsApplicable() 198 expected_result)) { in IsApplicable() 210 binary_opcode, expected_result)) { in IsApplicable() 217 binary_opcode, expected_result)) { in IsApplicable() 225 binary_opcode, expected_result)) { in IsApplicable() 232 binary_opcode, expected_result)) { in IsApplicable()
|
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
D | transformation_replace_boolean_constant_with_constant_binary.cpp | 179 bool expected_result = (boolean_constant->opcode() == SpvOpConstantTrue); in IsApplicable() local 191 expected_result)) { in IsApplicable() 198 expected_result)) { in IsApplicable() 210 binary_opcode, expected_result)) { in IsApplicable() 217 binary_opcode, expected_result)) { in IsApplicable() 225 binary_opcode, expected_result)) { in IsApplicable() 232 binary_opcode, expected_result)) { in IsApplicable()
|
/third_party/spirv-tools/source/fuzz/ |
D | transformation_replace_boolean_constant_with_constant_binary.cpp | 179 bool expected_result = (boolean_constant->opcode() == SpvOpConstantTrue); in IsApplicable() local 191 expected_result)) { in IsApplicable() 198 expected_result)) { in IsApplicable() 210 binary_opcode, expected_result)) { in IsApplicable() 217 binary_opcode, expected_result)) { in IsApplicable() 225 binary_opcode, expected_result)) { in IsApplicable() 232 binary_opcode, expected_result)) { in IsApplicable()
|
/third_party/ltp/testcases/kernel/syscalls/fcntl/ |
D | fcntl27.c | 109 int lc, expected_result = -1; in main() local 120 expected_result = -1; in main() 136 if (TEST_RETURN == expected_result) { in main()
|
D | fcntl28.c | 106 int lc, expected_result = -1; in main() local 117 expected_result = -1; in main() 133 if (TEST_RETURN == expected_result) { in main()
|
/third_party/jerryscript/tests/unit-ext/module/ |
D | jerry-module-test.c | 175 assert_number (jerry_value_t js_value, double expected_result) in assert_number() argument 178 TEST_ASSERT (jerry_get_number_value (js_value) == expected_result); in assert_number() 182 eval_one (const char *the_string, double expected_result) in eval_one() argument 187 assert_number (js_eval_result, expected_result); in eval_one()
|