Home
last modified time | relevance | path

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

/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/deqp-deps/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