Lines Matching defs:text
66 spv_text_t text = {textStr, strlen(textStr)};
69 spvTextToBinary(context, text.str, text.length, &binary, &diagnostic);
80 // Compiles the given assembly text, and saves it into 'binary'.
81 void CompileSuccessfully(std::string text) {
85 EXPECT_EQ(SPV_SUCCESS, spvTextToBinary(context, text.c_str(), text.size(),
94 spv_text text = nullptr;
99 SPV_BINARY_TO_TEXT_OPTION_NONE, &text, &diagnostic));
100 printf("%s", text->str);
101 spvTextDestroy(text);
105 spv_text text = nullptr;
110 SPV_BINARY_TO_TEXT_OPTION_PRINT, &text, &diagnostic));
111 ASSERT_EQ(text, nullptr);
112 spvTextDestroy(text);
116 spv_text text;
121 &text, &diagnostic));
135 spv_text text = nullptr;
140 SPV_BINARY_TO_TEXT_OPTION_NONE, &text, &diagnostic));
157 spv_text text;
161 SPV_BINARY_TO_TEXT_OPTION_NONE, &text, &diagnostic));