/external/webrtc/webrtc/modules/remote_bitrate_estimator/ |
D | bwe_simulations.cc | 53 VideoSender sender(&uplink_, &source, GetParam()); in TEST_P() 55 bwe_names[GetParam()]); in TEST_P() 57 RateCounterFilter counter2(&uplink_, 0, "Receiver", bwe_names[GetParam()]); in TEST_P() 58 PacketReceiver receiver(&uplink_, 0, GetParam(), true, true); in TEST_P() 65 VideoSender sender(&downlink_, &source, GetParam()); in TEST_P() 67 bwe_names[GetParam()] + "_up"); in TEST_P() 70 bwe_names[GetParam()] + "_down"); in TEST_P() 71 PacketReceiver receiver(&downlink_, 0, GetParam(), true, true); in TEST_P() 81 VideoSender sender(&uplink_, &source, GetParam()); in TEST_P() 84 bwe_names[GetParam()]); in TEST_P() [all …]
|
D | remote_bitrate_estimators_test.cc | 45 VideoSender sender(&uplink_, &source, GetParam()); in TEST_P() 46 PacketReceiver receiver(&uplink_, 0, GetParam(), false, false); in TEST_P() 52 VideoSender sender(&uplink_, &source, GetParam()); in TEST_P() 54 PacketReceiver receiver(&uplink_, 0, GetParam(), false, false); in TEST_P() 61 VideoSender sender(&uplink_, &source, GetParam()); in TEST_P() 63 PacketReceiver receiver(&uplink_, 0, GetParam(), false, false); in TEST_P() 72 VideoSender sender(&uplink_, &source, GetParam()); in TEST_P() 74 PacketReceiver receiver(&uplink_, 0, GetParam(), false, false); in TEST_P() 81 VideoSender sender(&uplink_, &source, GetParam()); in TEST_P() 83 PacketReceiver receiver(&uplink_, 0, GetParam(), false, false); in TEST_P() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/test/comp/ |
D | markv_codec_test.cpp | 225 TestEncodeDecode(GetParam(), R"( in TEST_P() 237 TestEncodeDecode(GetParam(), R"( in TEST_P() 251 TestEncodeDecode(GetParam(), R"( in TEST_P() 264 TestEncodeDecode(GetParam(), R"( in TEST_P() 279 TestEncodeDecode(GetParam(), R"( in TEST_P() 292 TestEncodeDecode(GetParam(), R"( in TEST_P() 307 TestEncodeDecode(GetParam(), R"( in TEST_P() 320 TestEncodeDecode(GetParam(), R"( in TEST_P() 334 TestEncodeDecode(GetParam(), R"( in TEST_P() 348 TestEncodeDecode(GetParam(), R"( in TEST_P() [all …]
|
/external/deqp-deps/SPIRV-Tools/test/comp/ |
D | markv_codec_test.cpp | 225 TestEncodeDecode(GetParam(), R"( in TEST_P() 237 TestEncodeDecode(GetParam(), R"( in TEST_P() 251 TestEncodeDecode(GetParam(), R"( in TEST_P() 264 TestEncodeDecode(GetParam(), R"( in TEST_P() 279 TestEncodeDecode(GetParam(), R"( in TEST_P() 292 TestEncodeDecode(GetParam(), R"( in TEST_P() 307 TestEncodeDecode(GetParam(), R"( in TEST_P() 320 TestEncodeDecode(GetParam(), R"( in TEST_P() 334 TestEncodeDecode(GetParam(), R"( in TEST_P() 348 TestEncodeDecode(GetParam(), R"( in TEST_P() [all …]
|
/external/deqp-deps/glslang/gtests/ |
D | Spv.FromFile.cpp | 86 loadFileCompileAndCheck(GlobalTestSettings.testRoot, GetParam(), in TEST_P() 95 loadFileCompileAndCheck(GlobalTestSettings.testRoot, GetParam(), in TEST_P() 104 loadFileCompileAndCheck(GlobalTestSettings.testRoot, GetParam(), in TEST_P() 113 loadFileCompileAndCheck(GlobalTestSettings.testRoot, GetParam(), in TEST_P() 122 loadFileCompileAndCheck(GlobalTestSettings.testRoot, GetParam(), in TEST_P() 131 loadFileCompileAndCheck(GlobalTestSettings.testRoot, GetParam(), in TEST_P() 139 loadFileCompileAndCheck(GlobalTestSettings.testRoot, GetParam(), in TEST_P() 147 loadFileCompileIoMapAndCheck(GlobalTestSettings.testRoot, GetParam().fileName, in TEST_P() 149 Target::Spv, GetParam().entryPoint, in TEST_P() 150 GetParam().baseSamplerBinding, in TEST_P() [all …]
|
D | Hlsl.FromFile.cpp | 72 loadFileCompileAndCheck(GlobalTestSettings.testRoot, GetParam().fileName, in TEST_P() 74 Target::BothASTAndSpv, true, GetParam().entryPoint); in TEST_P() 79 loadFileCompileAndCheck(GlobalTestSettings.testRoot, GetParam().fileName, in TEST_P() 81 Target::BothASTAndSpv, true, GetParam().entryPoint); in TEST_P() 86 loadFileCompileFlattenUniformsAndCheck(GlobalTestSettings.testRoot, GetParam().fileName, in TEST_P() 88 Target::BothASTAndSpv, GetParam().entryPoint); in TEST_P() 95 loadFileCompileAndCheck(GlobalTestSettings.testRoot, GetParam().fileName, in TEST_P() 97 Target::Spv, true, GetParam().entryPoint, in TEST_P() 105 loadFileCompileAndCheck(GlobalTestSettings.testRoot, GetParam().fileName, in TEST_P() 107 Target::Spv, true, GetParam().entryPoint, in TEST_P() [all …]
|
D | HexFloat.cpp | 57 EXPECT_THAT(EncodeViaHexFloat(GetParam().first), Eq(GetParam().second)); in TEST_P() 61 EXPECT_THAT(EncodeViaHexFloat(GetParam().first), Eq(GetParam().second)); in TEST_P() 73 EXPECT_THAT(Decode<float>(GetParam().second), Eq(GetParam().first)); in TEST_P() 77 EXPECT_THAT(Decode<double>(GetParam().second), Eq(GetParam().first)); in TEST_P() 258 EXPECT_THAT(Decode<float>(GetParam().first), Eq(GetParam().second)); in TEST_P() 262 EXPECT_THAT(Decode<double>(GetParam().first), Eq(GetParam().second)); in TEST_P() 458 NormalizeExponentInFloatString(EncodeViaFloatProxy(GetParam().first)), in TEST_P() 459 Eq(GetParam().second)); in TEST_P() 464 NormalizeExponentInFloatString(EncodeViaFloatProxy(GetParam().first)), in TEST_P() 465 Eq(GetParam().second)); in TEST_P() [all …]
|
/external/grpc-grpc/test/core/channel/ |
D | channel_trace_test.cc | 141 ChannelTrace tracer(GetParam()); in TEST_P() 148 ValidateChannelTrace(&tracer, 4, GetParam()); in TEST_P() 151 ValidateChannelTrace(&tracer, 6, GetParam()); in TEST_P() 156 ValidateChannelTrace(&tracer, 10, GetParam()); in TEST_P() 164 ChannelTrace tracer(GetParam()); in TEST_P() 167 ChannelFixture channel1(GetParam()); in TEST_P() 169 MakeRefCounted<ChannelNode>(channel1.channel(), GetParam(), true); in TEST_P() 174 ValidateChannelTrace(&tracer, 3, GetParam()); in TEST_P() 178 ValidateChannelTrace(sc1_peer.trace(), 3, GetParam()); in TEST_P() 182 ValidateChannelTrace(sc1_peer.trace(), 6, GetParam()); in TEST_P() [all …]
|
/external/deqp-deps/SPIRV-Tools/test/opt/ |
D | utils_test.cpp | 60 auto process = std::string(GetParam().orig_str); in TEST_P() 61 EXPECT_EQ(GetParam().replace_should_succeed, in TEST_P() 62 FindAndReplace(&process, GetParam().find_substr, in TEST_P() 63 GetParam().replace_substr)) in TEST_P() 64 << "Original string: " << GetParam().orig_str in TEST_P() 65 << " replace: " << GetParam().find_substr in TEST_P() 66 << " to: " << GetParam().replace_substr in TEST_P() 67 << " should returns: " << GetParam().replace_should_succeed; in TEST_P() 68 EXPECT_STREQ(GetParam().expected_str, process.c_str()) in TEST_P() 69 << "Original string: " << GetParam().orig_str in TEST_P() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/test/opt/ |
D | utils_test.cpp | 60 auto process = std::string(GetParam().orig_str); in TEST_P() 61 EXPECT_EQ(GetParam().replace_should_succeed, in TEST_P() 62 FindAndReplace(&process, GetParam().find_substr, in TEST_P() 63 GetParam().replace_substr)) in TEST_P() 64 << "Original string: " << GetParam().orig_str in TEST_P() 65 << " replace: " << GetParam().find_substr in TEST_P() 66 << " to: " << GetParam().replace_substr in TEST_P() 67 << " should returns: " << GetParam().replace_should_succeed; in TEST_P() 68 EXPECT_STREQ(GetParam().expected_str, process.c_str()) in TEST_P() 69 << "Original string: " << GetParam().orig_str in TEST_P() [all …]
|
/external/google-breakpad/src/common/dwarf/ |
D | dwarf2reader_die_unittest.cc | 171 info.set_format_size(GetParam().format_size); in TEST_P() 172 info.set_endianness(GetParam().endianness); in TEST_P() 174 info.Header(GetParam().version, abbrev_table, GetParam().address_size) in TEST_P() 183 StartCompilationUnit(0, GetParam().address_size, in TEST_P() 184 GetParam().format_size, _, in TEST_P() 185 GetParam().version)) in TEST_P() 197 ByteReader byte_reader(GetParam().endianness == kLittleEndian ? in TEST_P() 289 StartSingleAttributeDIE(GetParam(), dwarf2reader::DW_TAG_compile_unit, in TEST_P() 293 if (GetParam().address_size == 4) { in TEST_P() 302 ExpectBeginCompilationUnit(GetParam(), dwarf2reader::DW_TAG_compile_unit); in TEST_P() [all …]
|
/external/deqp-deps/SPIRV-Tools/test/ |
D | text_to_binary.debug_test.cpp | 69 GetParam().language_name + " " + in TEST_P() 70 std::to_string(GetParam().version); in TEST_P() 72 Eq(MakeInstruction(SpvOpSource, {GetParam().get_language_value(), in TEST_P() 73 GetParam().version}))); in TEST_P() 109 std::string("OpSourceContinued \"") + GetParam() + "\""; in TEST_P() 112 Eq(MakeInstruction(SpvOpSourceContinued, MakeVector(GetParam())))); in TEST_P() 128 std::string("OpSourceExtension \"") + GetParam() + "\""; in TEST_P() 131 Eq(MakeInstruction(SpvOpSourceExtension, MakeVector(GetParam())))); in TEST_P() 155 std::string("%result = OpString \"") + GetParam() + "\""; in TEST_P() 157 Eq(MakeInstruction(SpvOpString, {1}, MakeVector(GetParam())))); in TEST_P() [all …]
|
D | hex_float_test.cpp | 61 EXPECT_THAT(EncodeViaHexFloat(GetParam().first), Eq(GetParam().second)); in TEST_P() 65 EXPECT_THAT(EncodeViaHexFloat(GetParam().first), Eq(GetParam().second)); in TEST_P() 77 EXPECT_THAT(Decode<float>(GetParam().second), Eq(GetParam().first)); in TEST_P() 81 EXPECT_THAT(Decode<double>(GetParam().second), Eq(GetParam().first)); in TEST_P() 250 ss << FloatProxy<float>(GetParam()); in TEST_P() 254 EXPECT_THAT(GetParam(), Eq(res.getAsFloat())); in TEST_P() 259 ss << FloatProxy<double>(GetParam()); in TEST_P() 263 EXPECT_THAT(GetParam(), Eq(res.getAsFloat())); in TEST_P() 296 EXPECT_THAT(Decode<float>(GetParam().first), Eq(GetParam().second)); in TEST_P() 300 EXPECT_THAT(Decode<double>(GetParam().first), Eq(GetParam().second)); in TEST_P() [all …]
|
D | text_to_binary.constant_test.cpp | 42 "%result = OpConstantSampler %type " + GetParam().name() + " 0 Nearest"; in TEST_P() 45 {1, 2, GetParam().value(), 0, 0}))); in TEST_P() 74 "%result = OpConstantSampler %type Clamp 0 " + GetParam().name(); in TEST_P() 77 {1, 2, 2, 0, GetParam().value()}))); in TEST_P() 106 const std::string input = "%1 = " + GetParam().constant_type + in TEST_P() 109 GetParam().constant_value + "\n"; in TEST_P() 111 EXPECT_THAT(CompiledInstructions(input), Eq(GetParam().expected_instructions)) in TEST_P() 112 << " type: " << GetParam().constant_type in TEST_P() 113 << " literal: " << GetParam().constant_value; in TEST_P() 249 const std::string input = "%1 = " + GetParam().type + in TEST_P() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/test/ |
D | text_to_binary.debug_test.cpp | 69 GetParam().language_name + " " + in TEST_P() 70 std::to_string(GetParam().version); in TEST_P() 72 Eq(MakeInstruction(SpvOpSource, {GetParam().get_language_value(), in TEST_P() 73 GetParam().version}))); in TEST_P() 109 std::string("OpSourceContinued \"") + GetParam() + "\""; in TEST_P() 112 Eq(MakeInstruction(SpvOpSourceContinued, MakeVector(GetParam())))); in TEST_P() 128 std::string("OpSourceExtension \"") + GetParam() + "\""; in TEST_P() 131 Eq(MakeInstruction(SpvOpSourceExtension, MakeVector(GetParam())))); in TEST_P() 155 std::string("%result = OpString \"") + GetParam() + "\""; in TEST_P() 157 Eq(MakeInstruction(SpvOpString, {1}, MakeVector(GetParam())))); in TEST_P() [all …]
|
D | hex_float_test.cpp | 61 EXPECT_THAT(EncodeViaHexFloat(GetParam().first), Eq(GetParam().second)); in TEST_P() 65 EXPECT_THAT(EncodeViaHexFloat(GetParam().first), Eq(GetParam().second)); in TEST_P() 77 EXPECT_THAT(Decode<float>(GetParam().second), Eq(GetParam().first)); in TEST_P() 81 EXPECT_THAT(Decode<double>(GetParam().second), Eq(GetParam().first)); in TEST_P() 250 ss << FloatProxy<float>(GetParam()); in TEST_P() 254 EXPECT_THAT(GetParam(), Eq(res.getAsFloat())); in TEST_P() 259 ss << FloatProxy<double>(GetParam()); in TEST_P() 263 EXPECT_THAT(GetParam(), Eq(res.getAsFloat())); in TEST_P() 296 EXPECT_THAT(Decode<float>(GetParam().first), Eq(GetParam().second)); in TEST_P() 300 EXPECT_THAT(Decode<double>(GetParam().first), Eq(GetParam().second)); in TEST_P() [all …]
|
D | text_to_binary.constant_test.cpp | 42 "%result = OpConstantSampler %type " + GetParam().name() + " 0 Nearest"; in TEST_P() 45 {1, 2, GetParam().value(), 0, 0}))); in TEST_P() 74 "%result = OpConstantSampler %type Clamp 0 " + GetParam().name(); in TEST_P() 77 {1, 2, 2, 0, GetParam().value()}))); in TEST_P() 106 const std::string input = "%1 = " + GetParam().constant_type + in TEST_P() 109 GetParam().constant_value + "\n"; in TEST_P() 111 EXPECT_THAT(CompiledInstructions(input), Eq(GetParam().expected_instructions)) in TEST_P() 112 << " type: " << GetParam().constant_type in TEST_P() 113 << " literal: " << GetParam().constant_value; in TEST_P() 249 const std::string input = "%1 = " + GetParam().type + in TEST_P() [all …]
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | reshape_test.cc | 128 if (GetParam() == kAsTensor) { in TEST_P() 129 ReshapeOpModel<float> m({1, 2, 4, 1}, {2}, {2, 1}, GetParam()); in TEST_P() 133 EXPECT_DEATH(ReshapeOpModel<float>({1, 2, 4, 1}, {2}, {2, 1}, GetParam()), in TEST_P() 142 {1, 1, 1, 1, 1, 1, 1, 1, 2}, GetParam()), in TEST_P() 149 if (GetParam() != kAsTensor) { in TEST_P() 151 ReshapeOpModel<float>({1, 2, 4, 1}, {4}, {-1, -1, 2, 4}, GetParam()), in TEST_P() 154 ReshapeOpModel<float> m({1, 2, 4, 1}, {4}, {-1, -1, 2, 4}, GetParam()); in TEST_P() 163 ReshapeOpModel<float> m({1, 2, 2}, {2, 2}, {1, 2, 2, 1}, GetParam()); in TEST_P() 172 ReshapeOpModel<float> m({1, 2, 4, 1}, {3}, {2, 2, 2}, GetParam()); in TEST_P() 180 ReshapeOpModel<float> m({1, 2, 4, 1}, {3}, {2, 1, -1}, GetParam()); in TEST_P() [all …]
|
/external/deqp-deps/SPIRV-Tools/test/val/ |
D | val_extensions_test.cpp | 72 const std::string extension = GetParam(); in TEST_P() 82 const std::string extension = GetParam(); in TEST_P() 224 GetParam() + "\nOpReturn OpFunctionEnd"; in TEST_P() 239 parts[0] + parts[1] + GetParam() + "\nOpReturn OpFunctionEnd"; in TEST_P() 246 auto prefix_with_opcode = GetParam().substr(GetParam().find("Group")); in TEST_P() 274 GetParam().cap + R"( in TEST_P() 277 OpDecorate %builtin BuiltIn )" + GetParam().builtin + R"( in TEST_P() 289 CompileSuccessfully(code.c_str(), GetParam().env); in TEST_P() 290 if (GetParam().success) { in TEST_P() 291 ASSERT_EQ(SPV_SUCCESS, ValidateInstructions(GetParam().env)); in TEST_P() [all …]
|
D | val_cfg_test.cpp | 262 bool is_shader = GetParam() == SpvCapabilityShader; in TEST_P() 273 std::string str = header(GetParam()) + in TEST_P() 296 std::string str = header(GetParam()) + in TEST_P() 316 std::string str = header(GetParam()) + in TEST_P() 334 bool is_shader = GetParam() == SpvCapabilityShader; in TEST_P() 342 std::string str = header(GetParam()) + in TEST_P() 358 bool is_shader = GetParam() == SpvCapabilityShader; in TEST_P() 367 std::string str = header(GetParam()) + in TEST_P() 387 bool is_shader = GetParam() == SpvCapabilityShader; in TEST_P() 400 header(GetParam()) + nameOps("merge", std::make_pair("func", "Main")) + in TEST_P() [all …]
|
D | val_ext_inst_test.cpp | 460 const std::string ext_inst_name = GetParam(); in TEST_P() 471 const std::string ext_inst_name = GetParam(); in TEST_P() 484 const std::string ext_inst_name = GetParam(); in TEST_P() 512 const std::string ext_inst_name = GetParam(); in TEST_P() 525 const std::string ext_inst_name = GetParam(); in TEST_P() 538 const std::string ext_inst_name = GetParam(); in TEST_P() 551 const std::string ext_inst_name = GetParam(); in TEST_P() 574 const std::string ext_inst_name = GetParam(); in TEST_P() 587 const std::string ext_inst_name = GetParam(); in TEST_P() 600 const std::string ext_inst_name = GetParam(); in TEST_P() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/test/val/ |
D | val_extensions_test.cpp | 72 const std::string extension = GetParam(); in TEST_P() 82 const std::string extension = GetParam(); in TEST_P() 224 GetParam() + "\nOpReturn OpFunctionEnd"; in TEST_P() 239 parts[0] + parts[1] + GetParam() + "\nOpReturn OpFunctionEnd"; in TEST_P() 246 auto prefix_with_opcode = GetParam().substr(GetParam().find("Group")); in TEST_P() 274 GetParam().cap + R"( in TEST_P() 277 OpDecorate %builtin BuiltIn )" + GetParam().builtin + R"( in TEST_P() 289 CompileSuccessfully(code.c_str(), GetParam().env); in TEST_P() 290 if (GetParam().success) { in TEST_P() 291 ASSERT_EQ(SPV_SUCCESS, ValidateInstructions(GetParam().env)); in TEST_P() [all …]
|
D | val_cfg_test.cpp | 262 bool is_shader = GetParam() == SpvCapabilityShader; in TEST_P() 273 std::string str = header(GetParam()) + in TEST_P() 296 std::string str = header(GetParam()) + in TEST_P() 316 std::string str = header(GetParam()) + in TEST_P() 334 bool is_shader = GetParam() == SpvCapabilityShader; in TEST_P() 342 std::string str = header(GetParam()) + in TEST_P() 358 bool is_shader = GetParam() == SpvCapabilityShader; in TEST_P() 367 std::string str = header(GetParam()) + in TEST_P() 387 bool is_shader = GetParam() == SpvCapabilityShader; in TEST_P() 400 header(GetParam()) + nameOps("merge", std::make_pair("func", "Main")) + in TEST_P() [all …]
|
D | val_ext_inst_test.cpp | 460 const std::string ext_inst_name = GetParam(); in TEST_P() 471 const std::string ext_inst_name = GetParam(); in TEST_P() 484 const std::string ext_inst_name = GetParam(); in TEST_P() 512 const std::string ext_inst_name = GetParam(); in TEST_P() 525 const std::string ext_inst_name = GetParam(); in TEST_P() 538 const std::string ext_inst_name = GetParam(); in TEST_P() 551 const std::string ext_inst_name = GetParam(); in TEST_P() 574 const std::string ext_inst_name = GetParam(); in TEST_P() 587 const std::string ext_inst_name = GetParam(); in TEST_P() 600 const std::string ext_inst_name = GetParam(); in TEST_P() [all …]
|
/external/grpc-grpc/test/core/transport/ |
D | pid_controller_test.cc | 63 .set_gain_p(GetParam().gain_p) in TEST_P() 64 .set_gain_i(GetParam().gain_i) in TEST_P() 65 .set_gain_d(GetParam().gain_d) in TEST_P() 66 .set_initial_control_value(GetParam().start)); in TEST_P() 69 pid.Update(GetParam().set_point - pid.last_control_value(), GetParam().dt); in TEST_P() 72 EXPECT_LT(fabs(GetParam().set_point - pid.last_control_value()), 0.1); in TEST_P() 73 if (GetParam().gain_i > 0) { in TEST_P()
|