Lines Matching refs:binary
38 : context(spvContextCreate(SPV_ENV_UNIVERSAL_1_0)), binary(nullptr) {}
40 spvBinaryDestroy(binary);
69 spvTextToBinary(context, text.str, text.length, &binary, &diagnostic);
76 spvBinaryDestroy(binary);
77 binary = nullptr;
80 // Compiles the given assembly text, and saves it into 'binary'.
82 spvBinaryDestroy(binary);
83 binary = nullptr;
86 &binary, &diagnostic));
90 spv_binary binary;
98 spvBinaryToText(context, binary->code, binary->wordCount,
109 spvBinaryToText(context, binary->code, binary->wordCount,
132 EXPECT_EQ(SPV_INDEX_INSTRUCTION, binary->wordCount);
139 spvBinaryToText(context, binary->code, length,
152 std::vector<uint32_t> damaged_binary(binary->code,
153 binary->code + binary->wordCount);