Home
last modified time | relevance | path

Searched refs:TextLiteralCase (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/SPIRV-Tools/test/
Dtext_literal_test.cpp159 struct TextLiteralCase { struct
168 spvtest::TextToBinaryTestBase<::testing::TestWithParam<TextLiteralCase>>;
170 std::vector<uint32_t> successfulEncode(const TextLiteralCase& test, in successfulEncode()
186 std::string failedEncode(const TextLiteralCase& test, IdTypeClass type) { in failedEncode()
217 TextLiteralCase Make_Ok__Signed(uint32_t bitwidth, const char* text, in Make_Ok__Signed()
219 return TextLiteralCase{bitwidth, text, true, true, encoding}; in Make_Ok__Signed()
221 TextLiteralCase Make_Ok__Unsigned(uint32_t bitwidth, const char* text, in Make_Ok__Unsigned()
223 return TextLiteralCase{bitwidth, text, false, true, encoding}; in Make_Ok__Unsigned()
225 TextLiteralCase Make_Bad_Signed(uint32_t bitwidth, const char* text) { in Make_Bad_Signed()
226 return TextLiteralCase{bitwidth, text, true, false, {}}; in Make_Bad_Signed()
[all …]
/external/deqp-deps/SPIRV-Tools/test/
Dtext_literal_test.cpp159 struct TextLiteralCase { struct
168 spvtest::TextToBinaryTestBase<::testing::TestWithParam<TextLiteralCase>>;
170 std::vector<uint32_t> successfulEncode(const TextLiteralCase& test, in successfulEncode()
186 std::string failedEncode(const TextLiteralCase& test, IdTypeClass type) { in failedEncode()
217 TextLiteralCase Make_Ok__Signed(uint32_t bitwidth, const char* text, in Make_Ok__Signed()
219 return TextLiteralCase{bitwidth, text, true, true, encoding}; in Make_Ok__Signed()
221 TextLiteralCase Make_Ok__Unsigned(uint32_t bitwidth, const char* text, in Make_Ok__Unsigned()
223 return TextLiteralCase{bitwidth, text, false, true, encoding}; in Make_Ok__Unsigned()
225 TextLiteralCase Make_Bad_Signed(uint32_t bitwidth, const char* text) { in Make_Bad_Signed()
226 return TextLiteralCase{bitwidth, text, true, false, {}}; in Make_Bad_Signed()
[all …]