/external/deqp-deps/SPIRV-Tools/test/ |
D | test_fixture.h | 26 struct ScopedContext { struct 27 ScopedContext(spv_target_env env = SPV_ENV_UNIVERSAL_1_0) 29 ~ScopedContext() { spvContextDestroy(context); } in ~ScopedContext() argument 65 spvTextToBinary(ScopedContext(env).context, txt.c_str(), txt.size(), 83 spvTextToBinary(ScopedContext(env).context, txt.c_str(), 97 ScopedContext context(env); 134 spvBinaryToText(ScopedContext().context, code.data(), code.size(), in EncodeSuccessfullyDecodeFailed()
|
D | assembly_format_test.cpp | 20 using spvtest::ScopedContext; 26 spvTextToBinary(ScopedContext().context, text.str, text.length, in TEST_F()
|
D | binary_destroy_test.cpp | 22 using spvtest::ScopedContext; 37 ASSERT_EQ(SPV_SUCCESS, spvTextToBinary(ScopedContext().context, text.str, in TEST_F()
|
D | binary_parse_test.cpp | 43 using ::spvtest::ScopedContext; 214 spvBinaryParse(ScopedContext().context, &client_, in Parse() 250 spvBinaryParse(ScopedContext().context, &client_, words.data(), in TEST_F() 261 spvBinaryParse(ScopedContext().context, &client_, words.data(), in TEST_F() 380 EXPECT_EQ(SPV_SUCCESS, spvBinaryParse(ScopedContext().context, &client_, in TEST_F() 391 spvBinaryParse(ScopedContext().context, &client_, words.data(), in TEST_F() 556 spvBinaryParse(ScopedContext().context, nullptr, GetParam().words, in TEST_P() 592 EXPECT_THAT(spvBinaryParse(ScopedContext().context, nullptr, words.data(), in TEST_P() 830 EXPECT_THAT(spvBinaryParse(ScopedContext().context, nullptr, words.data(), in TEST_P()
|
D | preserve_numeric_ids_test.cpp | 26 using spvtest::ScopedContext; 34 ScopedContext ctx(env); in ToBinaryAndBack()
|
D | text_to_binary_test.cpp | 34 using spvtest::ScopedContext; 114 spvTextToBinary(ScopedContext().context, nullptr, 0, &binary, in TEST_F() 124 spvTextToBinary(ScopedContext().context, text.str, text.length, in TEST_F()
|
D | immediate_int_test.cpp | 29 using spvtest::ScopedContext; 38 ASSERT_EQ(SPV_SUCCESS, spvTextToBinary(ScopedContext().context, text.str, in TEST_F() 48 EXPECT_EQ(SPV_SUCCESS, spvTextToBinary(ScopedContext().context, text.str, in TEST_F()
|
D | name_mapper_test.cpp | 26 using spvtest::ScopedContext; 47 ScopedContext context(SPV_ENV_UNIVERSAL_1_1); in TEST_P()
|
D | binary_to_text_test.cpp | 29 using spvtest::ScopedContext; 493 EXPECT_THAT(spvBinaryToText(ScopedContext().context, words.data(), in TEST_F() 524 EXPECT_THAT(spvBinaryToText(ScopedContext().context, words.data(), in TEST_P()
|
/external/swiftshader/third_party/SPIRV-Tools/test/ |
D | test_fixture.h | 26 struct ScopedContext { struct 27 ScopedContext(spv_target_env env = SPV_ENV_UNIVERSAL_1_0) 29 ~ScopedContext() { spvContextDestroy(context); } in ~ScopedContext() argument 67 spvTextToBinary(ScopedContext(env).context, txt.c_str(), txt.size(), 87 spvTextToBinary(ScopedContext(env).context, txt.c_str(), 102 ScopedContext context(env); 141 spvBinaryToText(ScopedContext().context, code.data(), code.size(), in EncodeSuccessfullyDecodeFailed()
|
D | assembly_format_test.cpp | 20 using spvtest::ScopedContext; 26 spvTextToBinary(ScopedContext().context, text.str, text.length, in TEST_F()
|
D | binary_destroy_test.cpp | 22 using spvtest::ScopedContext; 37 ASSERT_EQ(SPV_SUCCESS, spvTextToBinary(ScopedContext().context, text.str, in TEST_F()
|
D | binary_parse_test.cpp | 43 using ::spvtest::ScopedContext; 216 spvBinaryParse(ScopedContext().context, &client_, in Parse() 252 spvBinaryParse(ScopedContext().context, &client_, words.data(), in TEST_F() 263 spvBinaryParse(ScopedContext().context, &client_, words.data(), in TEST_F() 382 EXPECT_EQ(SPV_SUCCESS, spvBinaryParse(ScopedContext().context, &client_, in TEST_F() 393 spvBinaryParse(ScopedContext().context, &client_, words.data(), in TEST_F() 558 spvBinaryParse(ScopedContext().context, nullptr, GetParam().words, in TEST_P() 594 EXPECT_THAT(spvBinaryParse(ScopedContext().context, nullptr, words.data(), in TEST_P() 832 EXPECT_THAT(spvBinaryParse(ScopedContext().context, nullptr, words.data(), in TEST_P()
|
D | preserve_numeric_ids_test.cpp | 26 using spvtest::ScopedContext; 34 ScopedContext ctx(env); in ToBinaryAndBack()
|
D | immediate_int_test.cpp | 29 using spvtest::ScopedContext; 38 ASSERT_EQ(SPV_SUCCESS, spvTextToBinary(ScopedContext().context, text.str, in TEST_F() 48 EXPECT_EQ(SPV_SUCCESS, spvTextToBinary(ScopedContext().context, text.str, in TEST_F()
|
D | text_to_binary_test.cpp | 34 using spvtest::ScopedContext; 114 spvTextToBinary(ScopedContext().context, nullptr, 0, &binary, in TEST_F() 124 spvTextToBinary(ScopedContext().context, text.str, text.length, in TEST_F()
|
D | name_mapper_test.cpp | 26 using spvtest::ScopedContext; 47 ScopedContext context(SPV_ENV_UNIVERSAL_1_1); in TEST_P()
|
D | binary_to_text_test.cpp | 29 using spvtest::ScopedContext; 500 EXPECT_THAT(spvBinaryToText(ScopedContext().context, words.data(), in TEST_F() 531 EXPECT_THAT(spvBinaryToText(ScopedContext().context, words.data(), in TEST_P()
|
/external/libchrome/base/test/ |
D | test_mock_time_task_runner.h | 105 class ScopedContext { 111 explicit ScopedContext(scoped_refptr<TestMockTimeTaskRunner> scope); 112 ~ScopedContext(); 116 DISALLOW_COPY_AND_ASSIGN(ScopedContext);
|
D | test_mock_time_task_runner.cc | 185 TestMockTimeTaskRunner::ScopedContext::ScopedContext( in ScopedContext() function in base::TestMockTimeTaskRunner::ScopedContext 191 TestMockTimeTaskRunner::ScopedContext::~ScopedContext() = default;
|
/external/deqp-deps/SPIRV-Tools/test/val/ |
D | val_fixtures.h | 96 spvTextToBinary(ScopedContext(env).context, code.c_str(), in CompileSuccessfully() 113 return spvValidateWithOptions(ScopedContext(env).context, options_, in ValidateInstructions() 121 ScopedContext(env).context, options_, get_const_binary()->code, in ValidateAndRetrieveValidationState()
|
/external/swiftshader/third_party/SPIRV-Tools/test/val/ |
D | val_fixtures.h | 109 spvTextToBinary(ScopedContext(env).context, code.c_str(), in CompileSuccessfully() 128 return spvValidateWithOptions(ScopedContext(env).context, options_, in ValidateInstructions() 137 ScopedContext(env).context, options_, get_const_binary()->code, in ValidateAndRetrieveValidationState()
|
/external/deqp-deps/SPIRV-Tools/tools/comp/ |
D | markv.cpp | 44 struct ScopedContext { struct 45 ScopedContext(spv_target_env env) : context(spvContextCreate(env)) {} in ScopedContext() argument 46 ~ScopedContext() { spvContextDestroy(context); } in ~ScopedContext() argument 220 ScopedContext ctx(kSpvEnv); in main()
|
/external/swiftshader/third_party/SPIRV-Tools/tools/comp/ |
D | markv.cpp | 44 struct ScopedContext { struct 45 ScopedContext(spv_target_env env) : context(spvContextCreate(env)) {} in ScopedContext() function 46 ~ScopedContext() { spvContextDestroy(context); } in ~ScopedContext() argument 220 ScopedContext ctx(kSpvEnv); in main()
|
/external/v8/src/tracing/ |
D | trace-event.h | 272 struct INTERNAL_TRACE_EVENT_UID(ScopedContext) { \ 274 INTERNAL_TRACE_EVENT_UID(ScopedContext)(uint64_t cid) : cid_(cid) { \ 277 ~INTERNAL_TRACE_EVENT_UID(ScopedContext)() { \ 283 INTERNAL_TRACE_EVENT_UID(ScopedContext) \ 284 (const INTERNAL_TRACE_EVENT_UID(ScopedContext)&) {} \ 285 void operator=(const INTERNAL_TRACE_EVENT_UID(ScopedContext)&) {} \ 288 INTERNAL_TRACE_EVENT_UID(ScopedContext) \
|