Lines Matching defs:code
62 // compilation success. Returns the compiled code.
73 code_copy = SpirvVector(binary->code, binary->code + binary->wordCount);
128 MaybeFlipWords(flip_words, binary->code, binary->code + binary->wordCount);
131 error = spvBinaryToText(context.context, binary->code, binary->wordCount,
153 SpirvVector code =
158 spvBinaryToText(ScopedContext().context, code.data(), code.size(),
174 const SpirvVector code = CompileSuccessfully(txt, env);
177 // If the code fails to compile, then return the empty vector.
179 if (code.size() >= kFirstInstruction)
180 result = Subvector(code, kFirstInstruction);
184 void SetText(const std::string& code) {
185 textString = code;