Lines Matching defs:driverCode
176 OSData * driverCode = 0; // release only if uncompressing!
178 driverCode = OSDynamicCast(OSData, extDict->getObject("code"));
179 if (driverCode) {
180 *code = (unsigned char *)driverCode->getBytesNoCopy();
182 *code_size = driverCode->getLength();
189 if (!uncompressModule(compressedCode, &driverCode)) {
196 *code = (unsigned char *)driverCode->getBytesNoCopy();
198 *code_size = driverCode->getLength();
200 driverCode->release();
288 OSData * driverCode = 0; // don't release
337 driverCode = OSDynamicCast(OSData, extDict->getObject("code"));
343 if ((driverCode || compressedCode) && is_kernel && *is_kernel) {
347 if (!driverCode && !compressedCode && !isKernelResourceObj) {