Lines Matching refs:binary
48 return spirv::deserialize(binary, &context); in deserialize()
65 spirv::appendModuleHeader(binary, spirv::Version::V_1_0, /*idBound=*/0); in addHeader()
71 binary.push_back(spirv::getPrefixedOpcode(wordCount, op)); in addInstruction()
72 binary.append(operands.begin(), operands.end()); in addInstruction()
120 SmallVector<uint32_t, 5> binary; member in DeserializationTest
137 binary.front() = 0xdeadbeef; // Change to a wrong magic number in TEST_F()
149 binary.push_back(0); // OpNop with zero word count in TEST_F()
157 binary.push_back((2u << 16) | in TEST_F()
184 std::swap(typeDecl, binary); in TEST_F()
188 std::swap(typeDecl, binary); in TEST_F()
198 binary.append(typeDecl.begin(), typeDecl.end()); in TEST_F()
205 std::swap(typeDecl, binary); in TEST_F()
210 std::swap(typeDecl, binary); in TEST_F()
215 binary.append(typeDecl.begin(), typeDecl.end()); in TEST_F()
223 std::swap(typeDecl, binary); in TEST_F()
227 std::swap(typeDecl, binary); in TEST_F()
234 binary.append(typeDecl.begin(), typeDecl.end()); in TEST_F()