Lines Matching refs:txt
63 SpirvVector CompileSuccessfully(const std::string& txt,
68 spvTextToBinary(ScopedContext(env).context, txt.c_str(), txt.size(),
70 EXPECT_EQ(SPV_SUCCESS, status) << txt;
83 std::string CompileFailure(const std::string& txt,
88 spvTextToBinary(ScopedContext(env).context, txt.c_str(),
89 txt.size(), &binary, &diagnostic))
90 << txt;
112 const std::string& txt,
119 spv_result_t error = spvTextToBinary(context.context, txt.c_str(),
120 txt.size(), &binary, &diagnostic);
137 EXPECT_EQ(SPV_SUCCESS, error) << txt;
150 const std::string& txt, const SpirvVector& words_to_append) {
154 spvtest::Concatenate({CompileSuccessfully(txt), words_to_append});
172 SpirvVector CompiledInstructions(const std::string& txt,
174 const SpirvVector code = CompileSuccessfully(txt, env);