Lines Matching refs:chunkHeader
384 XcursorChunkHeader *chunkHeader) in _XcursorFileReadChunkHeader() argument
386 if (!file || !fileHeader || !chunkHeader) in _XcursorFileReadChunkHeader()
390 if (!_XcursorReadUInt (file, &chunkHeader->header)) in _XcursorFileReadChunkHeader()
392 if (!_XcursorReadUInt (file, &chunkHeader->type)) in _XcursorFileReadChunkHeader()
394 if (!_XcursorReadUInt (file, &chunkHeader->subtype)) in _XcursorFileReadChunkHeader()
396 if (!_XcursorReadUInt (file, &chunkHeader->version)) in _XcursorFileReadChunkHeader()
399 if (chunkHeader->type != fileHeader->tocs[toc].type || in _XcursorFileReadChunkHeader()
400 chunkHeader->subtype != fileHeader->tocs[toc].subtype) in _XcursorFileReadChunkHeader()
469 XcursorChunkHeader chunkHeader; in _XcursorReadImage() local
478 if (!_XcursorFileReadChunkHeader (file, fileHeader, toc, &chunkHeader)) in _XcursorReadImage()
503 if (chunkHeader.version < image->version) in _XcursorReadImage()
504 image->version = chunkHeader.version; in _XcursorReadImage()
505 image->size = chunkHeader.subtype; in _XcursorReadImage()