Searched refs:mkextHeader (Results 1 - 5 of 5) sorted by relevance

/macosx-10.9.5/kext_tools-326.95.1/
H A Dmkext1_file.c79 mkext1_header * mkextHeader = NULL; // do not free local
135 mkextHeader = (mkext1_header *)CFDataGetBytePtr(result);
136 mkextHeader->magic = OSSwapHostToBigInt32(MKEXT_MAGIC);
137 mkextHeader->signature = OSSwapHostToBigInt32(MKEXT_SIGN);
138 mkextHeader->version = OSSwapHostToBigInt32(0x01008000); // 'vers' 1.0.0
139 mkextHeader->numkexts =
141 mkextHeader->cputype = OSSwapHostToBigInt32(arch->cputype);
142 mkextHeader->cpusubtype = OSSwapHostToBigInt32(arch->cpusubtype);
143 mkextHeader->length = OSSwapHostToBigInt32(CFDataGetLength(result));
145 adler_point = (UInt8 *)&mkextHeader
288 mkext1_header * mkextHeader = NULL; // do not free local
[all...]
H A Dmkextunpack_main.c329 mkext_header * mkextHeader = NULL; // do not free local
364 mkextHeader = (mkext_header *)*mkextStart;
366 if ((MKEXT_GET_MAGIC(mkextHeader) != MKEXT_MAGIC) ||
367 (MKEXT_GET_SIGNATURE(mkextHeader) != MKEXT_SIGN)) {
374 if (MKEXT_GET_LENGTH(mkextHeader) !=
380 MKEXT_GET_LENGTH(mkextHeader),
384 if (archInfo && MKEXT_GET_CPUTYPE(mkextHeader) != archInfo->cputype) {
389 MKEXT_GET_CPUTYPE(mkextHeader),
395 crc_address = (uint8_t *)&mkextHeader->version;
397 (int32_t)((uintptr_t)mkextHeader
714 mkext1_header * mkextHeader = NULL; // don't free local
[all...]
/macosx-10.9.5/xnu-2422.115.4/libkern/
H A DOSKextLib.cpp204 mkext2_header * mkextHeader = NULL; // do not release local
253 mkextHeader = (mkext2_header *)request;
254 if (MKEXT_GET_MAGIC(mkextHeader) == MKEXT_MAGIC &&
255 MKEXT_GET_SIGNATURE(mkextHeader) == MKEXT_SIGN) {
/macosx-10.9.5/xnu-2422.115.4/libkern/c++/
H A DOSKext.cpp2275 mkext_header * mkextHeader = 0; // do not free local
2289 mkextHeader = (mkext_header *)mkextData->getBytesNoCopy();
2291 if (MKEXT_GET_MAGIC(mkextHeader) != MKEXT_MAGIC ||
2292 MKEXT_GET_SIGNATURE(mkextHeader) != MKEXT_SIGN) {
2300 if (MKEXT_GET_LENGTH(mkextHeader) != mkextLength) {
2308 mkextVersion = MKEXT_GET_VERSION(mkextHeader);
2345 mkext1_header * mkextHeader = 0; // do not free local
2360 mkextHeader = (mkext1_header *)mkextData->getBytesNoCopy();
2361 mkextEnd = (char *)mkextHeader + mkextLength;
2362 mkextVersion = OSSwapBigToHostInt32(mkextHeader
2670 mkext2_header * mkextHeader = NULL; // do not free local
[all...]
/macosx-10.9.5/IOKitUser-907.100.13/kext.subproj/
H A DOSKext.c13104 mkext2_header * mkextHeader; local
13189 mkextHeader = (mkext2_header *)mkextBuffer;
13190 mkextHeader->plist_offset =
13192 mkextHeader->plist_full_size =
13194 mkextHeader->plist_compressed_size =
13423 mkext2_header * mkextHeader; local
13537 mkextHeader = (mkext2_header *)CFDataGetMutableBytePtr(mkextData);
13538 mkextHeader->plist_offset =
13540 mkextHeader->plist_compressed_size =
13542 mkextHeader
13736 mkext2_header * mkextHeader; local
[all...]

Completed in 129 milliseconds