Home
last modified time | relevance | path

Searched refs:decoded_text (Results 1 – 7 of 7) sorted by relevance

/external/deqp-deps/SPIRV-Tools/test/
Dtest_fixture.h108 spv_text decoded_text; variable
110 disassemble_options, &decoded_text, &diagnostic);
117 const std::string decoded_string = decoded_text->str;
118 spvTextDestroy(decoded_text);
132 spv_text decoded_text; in EncodeSuccessfullyDecodeFailed() local
135 SPV_BINARY_TO_TEXT_OPTION_NONE, &decoded_text, in EncodeSuccessfullyDecodeFailed()
Dbinary_to_text_test.cpp492 spv_text decoded_text = nullptr; in TEST_F() local
495 &decoded_text, &diagnostic), in TEST_F()
499 EXPECT_THAT(decoded_text->str, HasSubstr("Version: 1.0\n")) in TEST_F()
501 spvTextDestroy(decoded_text); in TEST_F()
523 spv_text decoded_text = nullptr; in TEST_P() local
526 &decoded_text, &diagnostic), in TEST_P()
529 EXPECT_THAT(std::string(decoded_text->str), HasSubstr(GetParam().expected)); in TEST_P()
530 spvTextDestroy(decoded_text); in TEST_P()
/external/swiftshader/third_party/SPIRV-Tools/test/
Dtest_fixture.h113 spv_text decoded_text; variable
115 disassemble_options, &decoded_text, &diagnostic);
122 const std::string decoded_string = decoded_text->str;
123 spvTextDestroy(decoded_text);
139 spv_text decoded_text; in EncodeSuccessfullyDecodeFailed() local
142 SPV_BINARY_TO_TEXT_OPTION_NONE, &decoded_text, in EncodeSuccessfullyDecodeFailed()
Dbinary_to_text_test.cpp499 spv_text decoded_text = nullptr; in TEST_F() local
502 &decoded_text, &diagnostic), in TEST_F()
506 EXPECT_THAT(decoded_text->str, HasSubstr("Version: 1.0\n")) in TEST_F()
508 spvTextDestroy(decoded_text); in TEST_F()
530 spv_text decoded_text = nullptr; in TEST_P() local
533 &decoded_text, &diagnostic), in TEST_P()
536 EXPECT_THAT(std::string(decoded_text->str), HasSubstr(GetParam().expected)); in TEST_P()
537 spvTextDestroy(decoded_text); in TEST_P()
/external/selinux/python/sepolgen/src/sepolgen/
Dutil.py110 decoded_text = text.decode(encoding)
115 decoded_text = text.decode('utf-8')
116 return decoded_text
/external/swiftshader/third_party/SPIRV-Tools/test/comp/
Dmarkv_codec_test.cpp130 std::string decoded_text; in TestEncodeDecode() local
131 Disassemble(decoded_binary, &decoded_text); in TestEncodeDecode()
132 ASSERT_FALSE(decoded_text.empty()); in TestEncodeDecode()
134 EXPECT_EQ(expected_text, decoded_text) << encoder_comments.str(); in TestEncodeDecode()
/external/deqp-deps/SPIRV-Tools/test/comp/
Dmarkv_codec_test.cpp130 std::string decoded_text; in TestEncodeDecode() local
131 Disassemble(decoded_binary, &decoded_text); in TestEncodeDecode()
132 ASSERT_FALSE(decoded_text.empty()); in TestEncodeDecode()
134 EXPECT_EQ(expected_text, decoded_text) << encoder_comments.str(); in TestEncodeDecode()