Lines Matching defs:endian
39 const spv_endianness_t endian,
47 pHeader->magic = spvFixWord(binary->code[SPV_INDEX_MAGIC_NUMBER], endian);
48 pHeader->version = spvFixWord(binary->code[SPV_INDEX_VERSION_NUMBER], endian);
58 spvFixWord(binary->code[SPV_INDEX_GENERATOR_NUMBER], endian);
59 pHeader->bound = spvFixWord(binary->code[SPV_INDEX_BOUND], endian);
60 pHeader->schema = spvFixWord(binary->code[SPV_INDEX_SCHEMA], endian);
104 // the header has been parsed, the endian has been set, and the word index is
170 // Returns the endian-corrected word at the current position.
173 // Returns the endian-corrected word at the given position.
176 return spvFixWord(_.words[index], _.endian);
203 endian(),
217 spv_endianness_t endian; // The endianness of the binary.
260 if (spvBinaryEndianness(&binary, &_.endian)) {
264 _.requires_endian_conversion = !spvIsHostEndian(_.endian);
268 if (spvBinaryHeaderGet(&binary, _.endian, &header)) {
275 if (auto error = parsed_header_fn_(user_data_, _.endian, header.magic,
303 // then converted_words contains the endian-translated words in the
378 // Check the computed length of the endian-converted words vector against
379 // the declared number of words in the instruction. If endian conversion
380 // is required, then they should match. If no endian conversion was
777 const spv_endianness_t endianness = _.endian;