Lines Matching refs:code
23 BinaryHeaderGet() { memset(code, 0, sizeof(code)); }
26 code[0] = static_cast<uint32_t>(spv::MagicNumber);
27 code[1] = static_cast<uint32_t>(spv::Version);
28 code[2] = SPV_GENERATOR_CODEPLAY;
29 code[3] = 1; // NOTE: Bound
30 code[4] = 0; // NOTE: Schema; reserved
31 code[5] = 0; // NOTE: Instructions
33 binary.code = code;
37 return spv_const_binary_t{binary.code, binary.wordCount};
41 uint32_t code[6];
59 ASSERT_EQ(&code[5], header.instructions);
86 code[1] = 0xFF010300;
94 code[1] = 0x000103F0;
102 code[1] = 0x00000300;
110 code[1] = 0x000F0300;