Showing preview only (433K chars total). Download the full file or copy to clipboard to get everything.
Repository: PoomSmart/IDAObjcTypes
Branch: master
Commit: c51cea5f11b7
Files: 91
Total size: 408.7 KB
Directory structure:
gitextract_ddc_e4g4/
├── .clang-format
├── .gitattributes
├── .gitignore
├── .vscode/
│ ├── c_cpp_properties.json
│ └── settings.json
├── AVFCapture/
│ └── AVFCapture.h
├── AVFoundation/
│ └── AVFoundation.h
├── AppSupport/
│ ├── AppSupport.h
│ └── Types.h
├── AssetsLibraryServices/
│ └── AssetsLibraryServices.h
├── AudioToolbox/
│ ├── AudioToolbox.h
│ └── Types.h
├── BaseTypes.h
├── CommonCrypto/
│ ├── CommonCrypto.h
│ └── Types.h
├── CoreAnimation/
│ ├── CoreAnimation.h
│ └── Types.h
├── CoreAudio/
│ ├── CoreAudio.h
│ └── Types.h
├── CoreFoundation/
│ ├── CoreFoundation.h
│ └── Types.h
├── CoreGraphics/
│ ├── CoreGraphics.h
│ └── Types.h
├── CoreMedia/
│ ├── CoreMedia.h
│ └── Types.h
├── CoreServices/
│ ├── CoreServices.h
│ └── Types.h
├── CoreText/
│ ├── CoreText.h
│ └── Types.h
├── CoreVideo/
│ ├── CoreVideo.h
│ └── Types.h
├── CydiaSubstrate/
│ ├── CydiaSubstrate.h
│ └── Types.h
├── Darwin/
│ ├── Darwin.h
│ └── Types.h
├── Foundation/
│ ├── Foundation.h
│ └── Types.h
├── GraphicsServices/
│ ├── GraphicsServices.h
│ └── Types.h
├── IDA.h
├── IDA.til
├── IDA32.til
├── IOKit/
│ ├── IOKit.h
│ ├── NXTypes.h
│ └── Types.h
├── IOMobileFramebuffer/
│ ├── IOMobileFramebuffer.h
│ └── Types.h
├── IOSurface/
│ ├── IOSurface.h
│ └── Types.h
├── Kernel/
│ ├── Kernel.h
│ └── Types.h
├── LICENSE
├── MediaRemote/
│ ├── MediaRemote.h
│ └── Types.h
├── MobileGestalt/
│ ├── MobileGestalt.h
│ └── Types.h
├── PowerLog/
│ └── PowerLog.h
├── QuartzCore/
│ ├── QuartzCore.h
│ └── Types.h
├── README.md
├── Security/
│ ├── Security.h
│ └── Types.h
├── SoftLinking/
│ └── SoftLinking.h
├── SpringBoard/
│ └── Types.h
├── SpringBoardHome/
│ └── Types.h
├── Swift/
│ ├── Swift.h
│ └── Types.h
├── System/
│ ├── System.h
│ └── Types.h
├── SystemConfiguration/
│ ├── SystemConfiguration.h
│ └── Types.h
├── Types.h
├── UIKit/
│ ├── Types.h
│ └── UIKit.h
├── dyld/
│ ├── Types.h
│ └── dyld.h
├── fishhook/
│ └── fishhook.h
├── icu/
│ ├── Types.h
│ └── icu.h
├── objc/
│ ├── Types.h
│ └── objc.h
├── os/
│ ├── Types.h
│ └── os.h
├── pthread/
│ ├── Types.h
│ └── pthread.h
├── sandbox/
│ ├── Types.h
│ └── sandbox.h
├── sqlite/
│ ├── Types.h
│ └── sqlite.h
└── xpc/
├── Types.h
└── xpc.h
================================================
FILE CONTENTS
================================================
================================================
FILE: .clang-format
================================================
BasedOnStyle: LLVM
Language: Cpp
ColumnLimit: 200
MaxEmptyLinesToKeep: 1
PointerBindsToType: false
AllowShortBlocksOnASingleLine: true
AllowAllParametersOfDeclarationOnNextLine: false
AlignTrailingComments: true
SpaceBeforeParens: ControlStatements
SpaceBeforeAssignmentOperators: true
SpacesInContainerLiterals: true
IndentWidth: 4
TabWidth: 4
================================================
FILE: .gitattributes
================================================
# Auto detect text files and perform LF normalization
* text=auto
================================================
FILE: .gitignore
================================================
.DS_Store
================================================
FILE: .vscode/c_cpp_properties.json
================================================
{
"configurations": [
{
"name": "Win32",
"includePath": [
"${workspaceFolder}/**"
],
"defines": [
"_DEBUG",
"UNICODE",
"_UNICODE"
],
"intelliSenseMode": "clang-x64"
},
{
"name": "Mac",
"includePath": [
"${workspaceFolder}/**"
],
"defines": [
"_DEBUG",
"UNICODE",
"_UNICODE"
],
"intelliSenseMode": "clang-x64"
}
],
"version": 4
}
================================================
FILE: .vscode/settings.json
================================================
{
"files.associations": {
"*.h": "objective-cpp"
},
"C_Cpp.clang_format_fallbackStyle": "LLVM",
"C_Cpp.clang_format_style": "file"
}
================================================
FILE: AVFCapture/AVFCapture.h
================================================
#import "../CoreFoundation/Types.h"
#import "../Foundation/Types.h"
CFStringRef AVGestaltGetStringAnswer(CFStringRef key);
CFStringRef AVGestaltGetStringAnswerWithDefault(CFStringRef key, CFStringRef defaultVal);
CFStringRef AVGestaltGetStringAnswerWithError(CFStringRef key, NSError **error);
NSInteger AVGestaltGetIntegerAnswer(CFStringRef key);
NSInteger AVGestaltGetIntegerAnswerWithDefault(CFStringRef key, NSInteger defaultVal);
NSInteger AVGestaltGetIntegerAnswerWithError(CFStringRef key, NSError **error);
float AVGestaltGetFloatAnswer(CFStringRef key);
float AVGestaltGetFloatAnswerWithDefault(CFStringRef key, float defaultVal);
float AVGestaltGetFloatAnswerWithError(CFStringRef key, NSError **error);
bool AVGestaltGetBoolAnswer(CFStringRef key);
bool AVGestaltGetBoolAnswerWithDefault(CFStringRef key, bool defaultVal);
bool AVGestaltGetBoolAnswerWithError(CFStringRef key, NSError **error);
bool AVGestaltIsQuestionValid(CFStringRef key, int *result);
================================================
FILE: AVFoundation/AVFoundation.h
================================================
#import "../CoreGraphics/Types.h"
#import "../Foundation/Types.h"
CGRect AVMakeRectWithAspectRatioInsideRect(CGSize aspectRatio, CGRect boundingRect);
void AVCGRectFromNSValue(NSValue *value, CGRect *rect);
void AVCGSizeFromNSValue(NSValue *value, CGSize *size);
void AVCGPointFromNSValue(NSValue *value, CGPoint *point);
NSMutableArray *AVNSArrayFromCGColor(CGColorRef color);
NSValue *AVNSValueWithCGRect(CGRect *rect);
NSValue *AVNSValueWithCGSize(CGSize *size);
NSValue *AVNSValueWithCGPoint(CGPoint *point);
================================================
FILE: AppSupport/AppSupport.h
================================================
#import "../CoreFoundation/Types.h"
#import "../Kernel/Types.h"
#import "Types.h"
BOOL CPIsInternalDevice(void);
void _CPLogLine(int64_t unk0, CFStringRef category, const char *file, const char *method, int64_t lineNumber, int64_t unk5, CFStringRef format, ...);
CFArrayRef CPBitmapCreateImagesFromData(CFDataRef cpbitmap, void *, int, void *);
CFStringRef CPCopyBundleIdentifierFromAuditToken(audit_token_t *token, bool *unknown);
CFStringRef CPCopySharedResourcesPreferencesDomainForDomain(CFStringRef domain);
CFStringRef CPGetDeviceRegionCode();
CFStringRef CPSystemRootDirectory();
CFStringRef CPSharedResourcesDirectory();
================================================
FILE: AppSupport/Types.h
================================================
#ifndef APP_SUPPORT_H_
#define APP_SUPPORT_H_
#endif
================================================
FILE: AssetsLibraryServices/AssetsLibraryServices.h
================================================
#import "../Darwin/Types.h"
void pl_dispatch_after(dispatch_time_t when, dispatch_queue_t queue, dispatch_block_t block);
void pl_dispatch_async(dispatch_queue_t queue, dispatch_block_t block);
void pl_dispatch_sync(dispatch_queue_t queue, dispatch_block_t block);
void pl_dispatch_group_notify(dispatch_group_t group, dispatch_queue_t queue, dispatch_block_t block);
================================================
FILE: AudioToolbox/AudioToolbox.h
================================================
#import "../BaseTypes.h"
#import "../Kernel/Types.h"
#import "../CoreFoundation/Types.h"
#import "Types.h"
OSStatus AudioServicesCreateSystemSoundID(CFURLRef inFileURL, SystemSoundID *outSystemSoundID);
OSStatus AudioServicesDisposeSystemSoundID(SystemSoundID inSystemSoundID);
OSStatus AudioServicesSetProperty(AudioServicesPropertyID inPropertyID, UInt32 inSpecifierSize, const void *inSpecifier, UInt32 inPropertyDataSize, const void *inPropertyData);
void AudioServicesStartSystemSound(SystemSoundID inSystemSoundID);
void AudioServicesStopSystemSound(SystemSoundID inSystemSoundID, int64_t unk1);
void AudioServicesPlaySystemSound(SystemSoundID inSystemSoundID);
void AudioServicesPlayAlertSound(SystemSoundID inSystemSoundID);
void AudioServicesPlaySystemSoundWithCompletion(SystemSoundID inSystemSoundID, void (*inCompletionBlock)(void));
================================================
FILE: AudioToolbox/Types.h
================================================
#ifndef AUDIOTOOLBOX_H_
#define AUDIOTOOLBOX_H_
#import "../CoreAudio/Types.h"
typedef struct AudioFormatListItem {
AudioStreamBasicDescription mASBD;
AudioChannelLayoutTag mChannelLayoutTag;
} AudioFormatListItem;
// Credits: https://github.com/TUNER88/iOSSystemSoundsLibrary
PS_ENUM(UInt32, SystemSoundID) {
kSystemSoundID_MailSent = 1000,
kSystemSoundID_MailReceived = 1001,
kSystemSoundID_VoicemailReceived = 1002,
kSystemSoundID_SMSReceivedMessage = 1003,
kSystemSoundID_SMSSentMessage = 1004,
kSystemSoundID_LowPower = 1006,
kSystemSoundID_SMSSentTweet = 1016,
kSystemSoundID_PinKeyPressed = 1057,
kSystemSoundID_ScreenLocked = 1100,
kSystemSoundID_ScreenUnlocked = 1101,
kSystemSoundID_FailedUnlock = 1102,
kSystemSoundID_ConnectedToPower = 1106,
kSystemSoundID_RingerSwitchIndication = 1107,
kSystemSoundID_CameraShutter = 1108,
kSystemSoundID_ShakeToShuffle = 1109,
kSystemSoundID_BeginRecording = 1113,
kSystemSoundID_EndRecording = 1114,
kSystemSoundID_StartRecording = 1117, // successor of 1113
kSystemSoundID_StopRecording = 1118, // successor of 1114
kSystemSoundID_BurstCapture = 1119,
kSystemSoundID_RingerVibeChanged = 1350,
kSystemSoundID_SilentVibeChanged = 1351,
kSystemSoundID_Vibrate = 0x00000FFF,
kSystemSoundID_UserPreferredAlert = 0x00001000,
kSystemSoundID_FlashScreen = 0x00000FFE,
kUserPreferredAlert = kSystemSoundID_UserPreferredAlert
};
PS_ENUM(UInt32, AudioServicesPropertyID) {
kAudioServicesPropertyIsUISound = 'isui',
kAudioServicesPropertyCompletePlaybackIfAppDies = 'ifdi',
kAudioServicesPropertyBeingActive = 'actt',
};
#endif
================================================
FILE: BaseTypes.h
================================================
#ifndef BASE_TYPES_H_
#define BASE_TYPES_H_
#ifndef GHIDRA
#define PS_ENUM(_type, _name) enum _name : _type
#else
#define PS_ENUM(_type, _name) typedef enum _name
#endif
typedef signed char int8;
typedef unsigned char uint8;
typedef signed short int16;
typedef unsigned short uint16;
typedef signed long int32;
typedef unsigned long uint32;
typedef signed long long int64;
typedef unsigned long long uint64;
typedef uint64 __darwin_size_t;
typedef __darwin_size_t size_t;
typedef uint8 UInt8;
typedef uint16 UInt16;
typedef uint32 UInt32;
typedef uint64 UInt64;
typedef int8 SInt8;
typedef int16 SInt16;
typedef int32 SInt32;
typedef int64 SInt64;
typedef signed char int8_t;
typedef unsigned char uint8_t;
typedef signed short int16_t;
typedef unsigned short uint16_t;
typedef int int32_t;
typedef unsigned int uint32_t;
typedef int64 int64_t;
typedef uint64 uint64_t;
typedef uint64 uintptr_t;
typedef long intptr_t;
typedef struct {
unsigned int gp_offset;
unsigned int fp_offset;
void *overflow_arg_area;
void *reg_save_area;
} va_list[1];
typedef int64 __darwin_time_t;
struct timespec {
__darwin_time_t tv_sec;
int64 tv_nsec;
};
typedef uint8 Boolean;
typedef int kern_return_t;
typedef unsigned int __darwin_natural_t;
typedef unsigned long long u_int64_t;
typedef uintptr_t vm_offset_t;
typedef vm_offset_t vm_address_t;
typedef uint64_t mach_vm_address_t;
typedef UInt64 AbsoluteTime;
typedef struct ipc_port *ipc_port_t;
typedef ipc_port_t mach_port_t;
typedef struct task *task_t;
// Just C
typedef struct _OSObject *OSObject;
typedef struct objc_class *Class;
typedef struct NSObject {
Class isa;
} NSObject;
#ifdef __ARM__
typedef bool BOOL;
#else
typedef signed char BOOL;
#endif
typedef float Float32;
typedef double Float64;
typedef unsigned long UniCharCount;
typedef UInt32 UTF32Char;
typedef UInt16 UniChar;
typedef UInt16 UTF16Char;
typedef UInt8 UTF8Char;
typedef int errno_t;
typedef int32_t integer_t;
typedef int64_t off_t;
typedef size_t rsize_t;
extern uintptr_t __stack_chk_guard;
__attribute__((noreturn)) void __stack_chk_fail(void);
#endif
================================================
FILE: CommonCrypto/CommonCrypto.h
================================================
#import "Types.h"
int CCDigest(CCDigestAlgorithm alg, const uint8_t *data, size_t len, uint8_t *out);
int CC_MD4_Init(CC_MD4_CTX *c);
int CC_MD4_Update(CC_MD4_CTX *c, const void *data, CC_LONG len);
int CC_MD4_Final(unsigned char *md, CC_MD4_CTX *c);
unsigned char *CC_MD4(const void *data, CC_LONG len, unsigned char *md);
int CC_MD5_Init(CC_MD5_CTX *c);
int CC_MD5_Update(CC_MD5_CTX *c, const void *data, CC_LONG len);
int CC_MD5_Final(unsigned char *md, CC_MD5_CTX *c);
unsigned char *CC_MD5(const void *data, CC_LONG len, unsigned char *md);
int CC_SHA1_Init(CC_SHA1_CTX *c);
int CC_SHA1_Update(CC_SHA1_CTX *c, const void *data, CC_LONG len);
int CC_SHA1_Final(unsigned char *md, CC_SHA1_CTX *c);
unsigned char *CC_SHA1(const void *data, CC_LONG len, unsigned char *md);
int CC_SHA224_Init(CC_SHA224_CTX *c);
int CC_SHA224_Update(CC_SHA224_CTX *c, const void *data, CC_LONG len);
int CC_SHA224_Final(unsigned char *md, CC_SHA224_CTX *c);
unsigned char *CC_SHA224(const void *data, CC_LONG len, unsigned char *md);
int CC_SHA256_Init(CC_SHA256_CTX *c);
int CC_SHA256_Update(CC_SHA256_CTX *c, const void *data, CC_LONG len);
int CC_SHA256_Final(unsigned char *md, CC_SHA256_CTX *c);
unsigned char *CC_SHA256(const void *data, CC_LONG len, unsigned char *md);
int CC_SHA384_Init(CC_SHA512_CTX *c);
int CC_SHA384_Update(CC_SHA512_CTX *c, const void *data, CC_LONG len);
int CC_SHA384_Final(unsigned char *md, CC_SHA512_CTX *c);
unsigned char *CC_SHA384(const void *data, CC_LONG len, unsigned char *md);
int CC_SHA512_Init(CC_SHA512_CTX *c);
int CC_SHA512_Update(CC_SHA512_CTX *c, const void *data, CC_LONG len);
int CC_SHA512_Final(unsigned char *md, CC_SHA512_CTX *c);
unsigned char *CC_SHA512(const void *data, CC_LONG len, unsigned char *md);
int CCRandomCopyBytes(CCRandomRef rnd, void *bytes, size_t count);
size_t CCCryptorGetOutputLength(CCCryptorRef cryptorRef, size_t inputLength, bool final);
int CCKeyDerivationPBKDF(CCPBKDFAlgorithm algorithm, const char *password, size_t passwordLen, const uint8_t *salt, size_t saltLen, CCPseudoRandomAlgorithm prf, unsigned rounds, uint8_t *derivedKey, size_t derivedKeyLen);
unsigned CCCalibratePBKDF(CCPBKDFAlgorithm algorithm, size_t passwordLen, size_t saltLen, CCPseudoRandomAlgorithm prf, size_t derivedKeyLen, uint32_t msec);
void CCHmacInit(CCHmacContext *ctx, CCHmacAlgorithm algorithm, const void *key, size_t keyLength);
void CCHmacUpdate(CCHmacContext *ctx, const void *data, size_t dataLength);
void CCHmacFinal(CCHmacContext *ctx, void *macOut);
void CCHmac(CCHmacAlgorithm algorithm, const void *key, size_t keyLength, const void *data, size_t dataLength, void *macOut);
void CCKDFParametersDestroy(CCKDFParametersRef params);
CCStatus CCDeriveKey(const CCKDFParametersRef params, CCDigestAlgorithm digest, const void *keyDerivationKey, size_t keyDerivationKeyLen, void *derivedKey, size_t derivedKeyLen);
CCStatus CCKDFParametersCreateHkdf(CCKDFParametersRef *params, const void *salt, size_t saltLen, const void *context, size_t contextLen);
CCCryptorStatus CCCryptorCreate(CCOperation op, CCAlgorithm alg, CCOptions options, const void *key, size_t keyLength, const void *iv, CCCryptorRef *cryptorRef);
CCCryptorStatus CCCryptorCreateFromData(CCOperation op, CCAlgorithm alg, CCOptions options, const void *key, size_t keyLength, const void *iv, const void *data, size_t dataLength, CCCryptorRef *cryptorRef, size_t *dataUsed);
CCCryptorStatus CCCryptorCreateWithMode(CCOperation op, CCMode mode, CCAlgorithm alg, CCPadding padding, const void *iv, const void *key, size_t keyLength, const void *tweak, size_t tweakLength, int numRounds, CCModeOptions options, CCCryptorRef *cryptorRef);
CCCryptorStatus CCCryptorRelease(CCCryptorRef cryptorRef);
CCCryptorStatus CCCryptorUpdate(CCCryptorRef cryptorRef, const void *dataIn, size_t dataInLength, void *dataOut, size_t dataOutAvailable, size_t *dataOutMoved);
CCCryptorStatus CCCryptorFinal(CCCryptorRef cryptorRef, void *dataOut, size_t dataOutAvailable, size_t *dataOutMoved);
CCCryptorStatus CCCryptorReset(CCCryptorRef cryptorRef, const void *iv);
CCCryptorStatus CCCrypt(CCOperation op, CCAlgorithm alg, CCOptions options, const void *key, size_t keyLength, const void *iv, const void *dataIn, size_t dataInLength, void *dataOut, size_t dataOutAvailable, size_t *dataOutMoved);
CCDigestRef CCDigestCreate(CCDigestAlgorithm alg);
int CCDigestInit(CCDigestAlgorithm algorithm, CCDigestRef ctx);
int CCDigestFinal(CCDigestRef ctx, uint8_t *output);
int CCDigestUpdate(CCDigestRef ctx, const void *data, size_t length);
size_t CCDigestOutputSize(CCDigestRef ctx);
void CCDigestDestroy(CCDigestRef ctx);
void CCDigestReset(CCDigestRef ctx);
CNStatus CNEncode(CNEncodings encoding, CNEncodingDirection direction, const void *in, const size_t inLen, void *out, size_t *outLen);
================================================
FILE: CommonCrypto/Types.h
================================================
#ifndef COMMONCRYPTO_H_
#define COMMONCRYPTO_H_
#import "../BaseTypes.h"
typedef uint32_t CC_LONG;
typedef uint64_t CC_LONG64;
typedef uint32_t CNStatus;
typedef struct _CCCryptor *CCCryptorRef;
typedef struct _CNEncoder *CNEncoderRef;
typedef struct CCKDFParameters *CCKDFParametersRef;
typedef struct __CCRandom *CCRandomRef;
#define CC_DIGEST_SIZE 1032
typedef struct CCDigestCtx_t {
uint8_t context[CC_DIGEST_SIZE];
} CCDigestCtx, *CCDigestRef;
#define CC_MD2_DIGEST_LENGTH 16
#define CC_MD2_BLOCK_BYTES 64
#define CC_MD2_BLOCK_LONG (CC_MD2_BLOCK_BYTES / sizeof(CC_LONG))
typedef struct CC_MD2state_st {
int num;
unsigned char data[CC_MD2_DIGEST_LENGTH];
CC_LONG cksm[CC_MD2_BLOCK_LONG];
CC_LONG state[CC_MD2_BLOCK_LONG];
} CC_MD2_CTX;
int CC_MD2_Init(CC_MD2_CTX *c);
int CC_MD2_Update(CC_MD2_CTX *c, const void *data, CC_LONG len);
int CC_MD2_Final(unsigned char *md, CC_MD2_CTX *c);
#define CC_MD4_DIGEST_LENGTH 16
#define CC_MD4_BLOCK_BYTES 64
#define CC_MD4_BLOCK_LONG (CC_MD4_BLOCK_BYTES / sizeof(CC_LONG))
typedef struct CC_MD4state_st {
CC_LONG A, B, C, D;
CC_LONG Nl, Nh;
CC_LONG data[CC_MD4_BLOCK_LONG];
int num;
} CC_MD4_CTX;
#define CC_MD5_DIGEST_LENGTH 16
#define CC_MD5_BLOCK_BYTES 64
#define CC_MD5_BLOCK_LONG (CC_MD5_BLOCK_BYTES / sizeof(CC_LONG))
typedef struct CC_MD5state_st {
CC_LONG A, B, C, D;
CC_LONG Nl, Nh;
CC_LONG data[CC_MD5_BLOCK_LONG];
int num;
} CC_MD5_CTX;
#define CC_SHA1_DIGEST_LENGTH 20
#define CC_SHA1_BLOCK_BYTES 64
#define CC_SHA1_BLOCK_LONG (CC_SHA1_BLOCK_BYTES / sizeof(CC_LONG))
typedef struct CC_SHA1state_st {
CC_LONG h0, h1, h2, h3, h4;
CC_LONG Nl, Nh;
CC_LONG data[CC_SHA1_BLOCK_LONG];
int num;
} CC_SHA1_CTX;
typedef struct CC_SHA224state_st {
CC_LONG count[2];
CC_LONG hash[8];
CC_LONG wbuf[16];
} CC_SHA224_CTX;
#define CC_SHA256_DIGEST_LENGTH 32
#define CC_SHA256_BLOCK_BYTES 64
typedef struct CC_SHA256state_st {
CC_LONG count[2];
CC_LONG hash[8];
CC_LONG wbuf[16];
} CC_SHA256_CTX;
#define CC_SHA384_DIGEST_LENGTH 48
#define CC_SHA384_BLOCK_BYTES 128
typedef struct CC_SHA512state_st {
CC_LONG64 count[2];
CC_LONG64 hash[8];
CC_LONG64 wbuf[16];
} CC_SHA512_CTX;
#define CC_SHA512_DIGEST_LENGTH 64
#define CC_SHA512_BLOCK_BYTES 128
PS_ENUM(int32_t, CCStatus) {
kCCSuccess = 0,
kCCParamError = -4300,
kCCBufferTooSmall = -4301,
kCCMemoryFailure = -4302,
kCCAlignmentError = -4303,
kCCDecodeError = -4304,
kCCUnimplemented = -4305,
kCCOverflow = -4306,
kCCRNGFailure = -4307,
kCCUnspecifiedError = -4308,
kCCCallSequenceError = -4309,
kCCKeySizeError = -4310,
kCCInvalidKey = -4311,
};
typedef int32_t CCCryptorStatus;
PS_ENUM(uint32_t, CCOperation) {
kCCEncrypt = 0,
kCCDecrypt,
};
PS_ENUM(uint32_t, CCAlgorithm) {
kCCAlgorithmAES128 = 0,
kCCAlgorithmAES = 0,
kCCAlgorithmDES,
kCCAlgorithm3DES,
kCCAlgorithmCAST,
kCCAlgorithmRC4,
kCCAlgorithmRC2,
kCCAlgorithmBlowfish
};
PS_ENUM(uint32_t, CCOptions) { kCCOptionPKCS7Padding = 0x0001, kCCOptionECBMode = 0x0002 };
PS_ENUM(uint32_t, CCMode) {
kCCModeECB = 1,
kCCModeCBC = 2,
kCCModeCFB = 3,
kCCModeCTR = 4,
kCCModeOFB = 7,
kCCModeRC4 = 9,
kCCModeCFB8 = 10,
};
PS_ENUM(uint32_t, CCModeOptions) { kCCModeOptionCTR_BE = 2 };
PS_ENUM(uint32_t, CCPadding) {
ccNoPadding = 0,
ccPKCS7Padding = 1,
};
/*
enum {
kCCKeySizeAES128 = 16,
kCCKeySizeAES192 = 24,
kCCKeySizeAES256 = 32,
kCCKeySizeDES = 8,
kCCKeySize3DES = 24,
kCCKeySizeMinCAST = 5,
kCCKeySizeMaxCAST = 16,
kCCKeySizeMinRC4 = 1,
kCCKeySizeMaxRC4 = 512,
kCCKeySizeMinRC2 = 1,
kCCKeySizeMaxRC2 = 128,
kCCKeySizeMinBlowfish = 8,
kCCKeySizeMaxBlowfish = 56,
};
enum {
kCCBlockSizeAES128 = 16,
kCCBlockSizeDES = 8,
kCCBlockSize3DES = 8,
kCCBlockSizeCAST = 8,
kCCBlockSizeRC2 = 8,
kCCBlockSizeBlowfish = 8,
};
enum {
kCCContextSizeAES128 = 404,
kCCContextSizeDES = 240,
kCCContextSize3DES = 496,
kCCContextSizeCAST = 240,
kCCContextSizeRC4 = 1072
};
*/
PS_ENUM(uint32_t, CCHmacAlgorithm) {
kCCHmacAlgSHA1,
kCCHmacAlgMD5,
kCCHmacAlgSHA256,
kCCHmacAlgSHA384,
kCCHmacAlgSHA512,
kCCHmacAlgSHA224
};
#define CC_HMAC_CONTEXT_SIZE 96
typedef struct CCHmacContext {
uint32_t ctx[CC_HMAC_CONTEXT_SIZE];
} CCHmacContext;
PS_ENUM(uint32_t, CCPBKDFAlgorithm) {
kCCPBKDF2 = 2,
};
PS_ENUM(uint32_t, CCPseudoRandomAlgorithm) {
kCCPRFHmacAlgSHA1 = 1,
kCCPRFHmacAlgSHA224 = 2,
kCCPRFHmacAlgSHA256 = 3,
kCCPRFHmacAlgSHA384 = 4,
kCCPRFHmacAlgSHA512 = 5,
};
PS_ENUM(uint32_t, CNEncodings) {
kCNEncodingBase64 = 0x0001,
kCNEncodingBase32 = 0x0002,
kCNEncodingBase32Recovery = 0x0003,
kCNEncodingBase32HEX = 0x0004,
kCNEncodingBase16 = 0x0005,
kCNEncodingCustom = 0xcafe
};
PS_ENUM(uint32_t, CNEncodingDirection) {
kCNEncode = 0x0001,
kCNDecode = 0x0002,
};
PS_ENUM(uint32_t, CCDigestAlgorithm) {
kCCDigestNone = 0,
kCCDigestMD2 = 1,
kCCDigestMD4 = 2,
kCCDigestMD5 = 3,
kCCDigestRMD128 = 4,
kCCDigestRMD160 = 5,
kCCDigestRMD256 = 6,
kCCDigestRMD320 = 7,
kCCDigestSHA1 = 8,
kCCDigestSHA224 = 9,
kCCDigestSHA256 = 10,
kCCDigestSHA384 = 11,
kCCDigestSHA512 = 12,
kCCDigestSkein128 = 13,
kCCDigestSkein160 = 14,
kCCDigestSkein224 = 16,
kCCDigestSkein256 = 17,
kCCDigestSkein384 = 18,
kCCDigestSkein512 = 19,
};
#endif
================================================
FILE: CoreAnimation/CoreAnimation.h
================================================
#import "../CoreFoundation/Types.h"
#import "Types.h"
bool CATransform3DIsAffine(CATransform3D t);
bool CATransform3DIsIdentity(CATransform3D t);
bool CATransform3DEqualToTransform(CATransform3D a, CATransform3D b);
CFTimeInterval CACurrentMediaTime(void);
CGPoint CA_CGPointApplyTransform(CGPoint p, CATransform3D t);
CGPoint CA_CGPointUnapplyInverseTransform(CGPoint p, CATransform3D t_inv);
CGRect CA_CGRectApplyTransform(CGRect r, CATransform3D t);
CGRect CA_CGRectUnapplyInverseTransform(CGRect r, CATransform3D t_inv);
CATransform3D CATransform3DMakeAffineTransform(CGAffineTransform m);
CATransform3D CATransform3DMakeTranslation(CGFloat tx, CGFloat ty, CGFloat tz);
CATransform3D CATransform3DMakeScale(CGFloat sx, CGFloat sy, CGFloat sz);
CATransform3D CATransform3DMakeRotation(CGFloat angle, CGFloat x, CGFloat y, CGFloat z);
CATransform3D CATransform3DConcat(CATransform3D a, CATransform3D b);
CATransform3D CATransform3DConcatAffineTransform(CGAffineTransform a, CATransform3D b);
CATransform3D CATransform3DTranslate(CATransform3D t, CGFloat tx, CGFloat ty, CGFloat tz);
CATransform3D CATransform3DTranslateRight(CATransform3D t, CGFloat tx, CGFloat ty, CGFloat tz);
CATransform3D CATransform3DScale(CATransform3D t, CGFloat sx, CGFloat sy, CGFloat sz);
CATransform3D CATransform3DRotate(CATransform3D t, CGFloat angle, CGFloat x, CGFloat y, CGFloat z);
CATransform3D CATransform3DInvert(CATransform3D t);
CGAffineTransform CATransform3DGetAffineTransform(CATransform3D t);
================================================
FILE: CoreAnimation/Types.h
================================================
#ifndef COREANIMATION_H_
#define COREANIMATION_H_
#import "../CoreGraphics/Types.h"
typedef struct CATransform3D {
CGFloat _field1;
CGFloat _field2;
CGFloat _field3;
CGFloat _field4;
CGFloat _field5;
CGFloat _field6;
CGFloat _field7;
CGFloat _field8;
CGFloat _field9;
CGFloat _field10;
CGFloat _field11;
CGFloat _field12;
CGFloat _field13;
CGFloat _field14;
CGFloat _field15;
CGFloat _field16;
} CATransform3D;
#endif
================================================
FILE: CoreAudio/CoreAudio.h
================================================
#import "Types.h"
================================================
FILE: CoreAudio/Types.h
================================================
#ifndef COREAUDIO_H_
#define COREAUDIO_H_
#import "../BaseTypes.h"
typedef UInt32 AudioChannelLabel;
typedef UInt32 AudioChannelLayoutTag;
typedef struct AudioValueRange {
Float64 mMinimum;
Float64 mMaximum;
} AudioValueRange;
typedef struct AudioBuffer {
UInt32 mNumberChannels;
UInt32 mDataByteSize;
void *mData;
} AudioBuffer;
typedef struct AudioBufferList {
UInt32 mNumberBuffers;
AudioBuffer mBuffers[1];
} AudioBufferList;
typedef struct AudioStreamBasicDescription {
Float64 mSampleRate;
UInt32 mFormatID;
UInt32 mFormatFlags;
UInt32 mBytesPerPacket;
UInt32 mFramesPerPacket;
UInt32 mBytesPerFrame;
UInt32 mChannelsPerFrame;
UInt32 mBitsPerChannel;
UInt32 mReserved;
} AudioStreamBasicDescription;
typedef struct AudioStreamPacketDescription {
SInt64 mStartOffset;
UInt32 mVariableFramesInPacket;
UInt32 mDataByteSize;
} AudioStreamPacketDescription;
typedef struct AudioChannelDescription {
AudioChannelLabel mChannelLabel;
UInt32 mChannelFlags;
Float32 mCoordinates[3];
} AudioChannelDescription;
typedef struct AudioChannelLayout {
AudioChannelLayoutTag mChannelLayoutTag;
UInt32 mChannelBitmap;
UInt32 mNumberChannelDescriptions;
AudioChannelDescription mChannelDescriptions[1];
} AudioChannelLayout;
#endif
================================================
FILE: CoreFoundation/CoreFoundation.h
================================================
#import "../BaseTypes.h"
#import "../Darwin/Types.h"
#import "../xpc/Types.h"
#import "Types.h"
double CFStringGetDoubleValue(CFStringRef str);
bool _CFPropertyListCreateFiltered(CFAllocatorRef allocator, CFDataRef data, CFOptionFlags option, CFSetRef keyPaths, CFPropertyListRef *value, CFErrorRef *error);
bool CFUniCharIsMemberOf(UTF32Char theChar, uint32_t charset);
SInt32 CFStringGetIntValue(CFStringRef str);
SInt32 CFURLGetPortNumber(CFURLRef anURL);
SInt32 CFRunLoopRunSpecific(CFRunLoopRef rl, CFStringRef modeName, CFTimeInterval seconds, Boolean returnAfterSourceHandled);
SInt32 CFUserNotificationReceiveResponse(CFUserNotificationRef userNotification, CFTimeInterval timeout, CFOptionFlags *responseFlags);
SInt32 CFUserNotificationCancel(CFUserNotificationRef userNotification);
SInt32 CFMessagePortSendRequest(CFMessagePortRef remote, SInt32 msgid, CFDataRef data, CFTimeInterval sendTimeout, CFTimeInterval rcvTimeout, CFStringRef replyMode, CFDataRef *returnData);
UInt32 CFBundleGetVersionNumber(CFBundleRef bundle);
const char **_CFGetProgname(void);
const char *CFStringGetCStringPtr(CFStringRef theString, CFStringEncoding encoding);
const void *CFUniCharGetUnicodePropertyDataForPlane(uint32_t propertyType, uint32_t plane);
const void *CFArrayGetValueAtIndex(CFArrayRef theArray, CFIndex idx);
const void *CFDictionaryGetValue(CFDictionaryRef theDict, const void *key);
const void *CFSetGetValue(CFSetRef theSet, const void *value);
void *CFAllocatorAllocate(CFAllocatorRef allocator, CFIndex size, CFOptionFlags hint);
void *CFAllocatorReallocate(CFAllocatorRef allocator, void *ptr, CFIndex newsize, CFOptionFlags hint);
void *CFBundleGetFunctionPointerForName(CFBundleRef bundle, CFStringRef functionName);
const uint8_t *CFUniCharGetBitmapPtrForPlane(uint32_t charset, uint32_t plane);
const UniChar *CFStringGetCharactersPtr(CFStringRef theString);
UniChar CFStringGetCharacterAtIndex(CFStringRef theString, CFIndex idx);
UniChar CFStringGetCharacterFromInlineBuffer(CFStringInlineBuffer *buf, CFIndex idx);
UTF32Char CFStringGetLongCharacterFromInlineBuffer(CFStringInlineBuffer *buf, CFIndex idx);
const UInt8 *CFDataGetBytePtr(CFDataRef theData);
const UInt8 *CFReadStreamGetBuffer(CFReadStreamRef stream, CFIndex maxBytesToRead, CFIndex *numBytesRead);
UInt8 *CFDataGetMutableBytePtr(CFMutableDataRef theData);
mach_port_t CFMachPortGetPort(CFMachPortRef port);
xpc_object_t _CFXPCCreateXPCObjectFromCFObject(CFTypeRef attrs);
const CFRuntimeClass *_CFRuntimeGetClassWithTypeID(CFTypeID typeID);
void CFLog(int32_t level, CFStringRef format, ...);
void CFShow(CFTypeRef obj);
void CFShowStr(CFStringRef str);
void CFRelease(CFTypeRef cf);
void CFArrayAppendValue(CFMutableArrayRef mDict, const void *value);
void CFArrayAppendArray(CFMutableArrayRef theArray, CFArrayRef otherArray, CFRange otherRange);
void CFArrayRemoveValueAtIndex(CFMutableArrayRef theArray, CFIndex idx);
void CFArrayReplaceValues(CFMutableArrayRef theArray, CFRange range, const void **newValues, CFIndex newCount);
void CFArrayInsertValueAtIndex(CFMutableArrayRef theArray, CFIndex idx, const void *value);
void CFArrayGetValues(CFArrayRef theArray, CFRange range, const void **values);
void CFArraySetValueAtIndex(CFMutableArrayRef theArray, CFIndex idx, const void *value);
void CFArraySortValues(CFMutableArrayRef theArray, CFRange range, CFComparatorFunction comparator, void *context);
void CFArrayRemoveAllValues(CFMutableArrayRef theArray);
void CFArrayExchangeValuesAtIndices(CFMutableArrayRef theArray, CFIndex idx1, CFIndex idx2);
void CFArrayApplyFunction(CFArrayRef theArray, CFRange range, CFArrayApplierFunction applier, void *context);
void CFPreferencesSetValue(CFStringRef key, CFPropertyListRef value, CFStringRef applicationID, CFStringRef userName, CFStringRef hostName);
void CFPreferencesSetAppValue(CFStringRef key, CFPropertyListRef value, CFStringRef applicationID);
void CFPreferencesSetMultiple(CFDictionaryRef keysToSet, CFArrayRef keysToRemove, CFStringRef applicationID, CFStringRef userName, CFStringRef hostName);
void CFPreferencesAddSuitePreferencesToApp(CFStringRef applicationID, CFStringRef suiteID);
void CFPreferencesRemoveSuitePreferencesFromApp(CFStringRef applicationID, CFStringRef suiteID);
void CFNotificationCenterAddObserver(CFNotificationCenterRef center, const void *observer, CFNotificationCallback callBack, CFStringRef name, const void *object, CFNotificationSuspensionBehavior suspensionBehavior);
void CFNotificationCenterPostNotification(CFNotificationCenterRef center, CFNotificationName name, const void *object, CFDictionaryRef userInfo, Boolean deliverImmediately);
void CFNotificationCenterRemoveObserver(CFNotificationCenterRef center, const void *observer, CFNotificationName name, const void *object);
void CFNotificationCenterRemoveEveryObserver(CFNotificationCenterRef center, const void *observer);
void CFBurstTrieTraverseFromCursor(CFBurstTrieCursorRef cursor, void *ctx, CFBurstTrieTraversalCallback callback);
void CFBurstTrieRelease(CFBurstTrieRef trie);
void CFBurstTrieCursorRelease(CFBurstTrieCursorRef cursor);
void CFCharacterSetAddCharactersInRange(CFMutableCharacterSetRef theSet, CFRange theRange);
void CFCharacterSetAddCharactersInString(CFMutableCharacterSetRef theSet, CFStringRef theString);
void CFCharacterSetRemoveCharactersInRange(CFMutableCharacterSetRef theSet, CFRange theRange);
void CFCharacterSetIntersect(CFMutableCharacterSetRef theSet, CFCharacterSetRef theOtherSet);
void CFCharacterSetInvert(CFMutableCharacterSetRef theSet);
void CFCharacterSetUnion(CFMutableCharacterSetRef theSet, CFCharacterSetRef theOtherSet);
void CFCharacterSetCompact(CFMutableCharacterSetRef theSet);
void CFCharacterSetInitInlineBuffer(CFCharacterSetRef cset, CFCharacterSetInlineBuffer *buffer);
void CFDataAppendBytes(CFMutableDataRef theData, const UInt8 *bytes, CFIndex length);
void CFDataDeleteBytes(CFMutableDataRef theData, CFRange range);
void CFDataReplaceBytes(CFMutableDataRef theData, CFRange range, const UInt8 *newBytes, CFIndex newLength);
void CFDataGetBytes(CFDataRef theData, CFRange range, UInt8 *buffer);
void CFDataSetLength(CFMutableDataRef theData, CFIndex length);
void CFDataIncreaseLength(CFMutableDataRef theData, CFIndex extraLength);
void CFDictionaryGetKeysAndValues(CFDictionaryRef theDict, const void **keys, const void **values);
void CFDictionaryApplyFunction(CFDictionaryRef theDict, CFDictionaryApplierFunction applier, void *context);
void CFDictionaryRemoveValue(CFMutableDictionaryRef theDict, const void *key);
void CFDictionarySetValue(CFMutableDictionaryRef theDict, const void *key, const void *value);
void CFDictionaryAddValue(CFMutableDictionaryRef theDict, const void *key, const void *value);
void CFDictionaryRemoveAllValues(CFMutableDictionaryRef theDict);
void CFDictionaryReplaceValue(CFMutableDictionaryRef theDict, const void *key, const void *value);
void CFAttributedStringSetAttribute(CFMutableAttributedStringRef aStr, CFRange range, CFStringRef attrName, CFTypeRef value);
void CFAttributedStringReplaceAttributedString(CFMutableAttributedStringRef aStr, CFRange range, CFAttributedStringRef replacement);
void CFAttributedStringReplaceString(CFMutableAttributedStringRef aStr, CFRange range, CFStringRef replacement);
void CFStringGetLineBounds(CFStringRef theString, CFRange range, CFIndex *lineBeginIndex, CFIndex *lineEndIndex, CFIndex *contentsEndIndex);
void CFStringDelete(CFMutableStringRef theString, CFRange range);
void CFStringFold(CFMutableStringRef theString, CFStringCompareFlags theFlags, CFLocaleRef theLocale);
void CFStringNormalize(CFMutableStringRef theString, CFStringNormalizationForm theForm);
void CFStringCapitalize(CFMutableStringRef theString, CFLocaleRef locale);
void CFStringUppercase(CFMutableStringRef theString, CFLocaleRef locale);
void CFStringLowercase(CFMutableStringRef theString, CFLocaleRef locale);
void CFStringInsert(CFMutableStringRef str, CFIndex idx, CFStringRef insertedStr);
void CFStringAppend(CFMutableStringRef theString, CFStringRef appendedString);
void CFStringAppendCharacters(CFMutableStringRef theString, const UniChar *chars, CFIndex numChars);
void CFStringAppendCString(CFMutableStringRef theString, const char *cStr, CFStringEncoding encoding);
void CFStringAppendFormat(CFMutableStringRef theString, CFDictionaryRef formatOptions, CFStringRef format, ...);
void CFStringAppendFormatAndArguments(CFMutableStringRef theString, CFDictionaryRef formatOptions, CFStringRef format, va_list arguments);
void CFStringPad(CFMutableStringRef theString, CFStringRef padString, CFIndex length, CFIndex indexIntoPad);
void CFStringReplace(CFMutableStringRef theString, CFRange range, CFStringRef replacement);
void CFStringReplaceAll(CFMutableStringRef theString, CFStringRef replacement);
void CFStringSetExternalCharactersNoCopy(CFMutableStringRef theString, UniChar *chars, CFIndex length, CFIndex capacity);
void CFStringTrim(CFMutableStringRef theString, CFStringRef trimString);
void CFStringTrimWhitespace(CFMutableStringRef theString);
void CFStringGetCharacters(CFStringRef theString, CFRange range, UniChar *buffer);
void CFStringInitInlineBuffer(CFStringRef str, CFStringInlineBuffer *buf, CFRange range);
void CFStringGetParagraphBounds(CFStringRef string, CFRange range, CFIndex *parBeginIndex, CFIndex *parEndIndex, CFIndex *contentsEndIndex);
void CFStringTokenizerSetString(CFStringTokenizerRef tokenizer, CFStringRef string, CFRange range);
void CFSetAddValue(CFMutableSetRef theSet, const void *value);
void CFSetSetValue(CFMutableSetRef theSet, const void *value);
void CFSetReplaceValue(CFMutableSetRef theSet, const void *value);
void CFSetRemoveValue(CFMutableSetRef theSet, const void *value);
void CFSetRemoveAllValues(CFMutableSetRef theSet);
void CFSetGetValues(CFSetRef theSet, const void **values);
void CFSetApplyFunction(CFSetRef theSet, CFSetApplierFunction applier, void *context);
void CFAllocatorSetDefault(CFAllocatorRef allocator);
void CFAllocatorDeallocate(CFAllocatorRef allocator, void *ptr);
void CFAllocatorGetContext(CFAllocatorRef allocator, CFAllocatorContext *context);
void CFReadStreamSetDispatchQueue(CFReadStreamRef stream, dispatch_queue_t q);
void CFReadStreamClose(CFReadStreamRef stream);
void CFReadStreamScheduleWithRunLoop(CFReadStreamRef stream, CFRunLoopRef runLoop, CFRunLoopMode runLoopMode);
void CFReadStreamUnscheduleFromRunLoop(CFReadStreamRef stream, CFRunLoopRef runLoop, CFRunLoopMode runLoopMode);
void CFWriteStreamScheduleWithRunLoop(CFWriteStreamRef stream, CFRunLoopRef runLoop, CFRunLoopMode runLoopMode);
void CFWriteStreamUnscheduleFromRunLoop(CFWriteStreamRef stream, CFRunLoopRef runLoop, CFRunLoopMode runLoopMode);
void CFWriteStreamSetDispatchQueue(CFWriteStreamRef stream, dispatch_queue_t q);
void CFWriteStreamClose(CFWriteStreamRef stream);
void CFBundleGetPackageInfo(CFBundleRef bundle, UInt32 *packageType, UInt32 *packageCreator);
void CFBundleCloseBundleResourceMap(CFBundleRef bundle, CFBundleRefNum refNum);
void CFRunLoopAddCommonMode(CFRunLoopRef rl, CFRunLoopMode mode);
void CFRunLoopAddTimer(CFRunLoopRef rl, CFRunLoopTimerRef timer, CFRunLoopMode mode);
void CFRunLoopAddSource(CFRunLoopRef rl, CFRunLoopSourceRef source, CFRunLoopMode mode);
void CFRunLoopAddObserver(CFRunLoopRef rl, CFRunLoopObserverRef observer, CFRunLoopMode mode);
void CFRunLoopRemoveTimer(CFRunLoopRef rl, CFRunLoopTimerRef timer, CFRunLoopMode mode);
void CFRunLoopRemoveSource(CFRunLoopRef rl, CFRunLoopSourceRef source, CFRunLoopMode mode);
void CFRunLoopRemoveObserver(CFRunLoopRef rl, CFRunLoopObserverRef observer, CFRunLoopMode mode);
void CFRunLoopRun(void);
void CFRunLoopWakeUp(CFRunLoopRef rl);
void CFRunLoopStop(CFRunLoopRef rl);
void CFRunLoopPerformBlock(CFRunLoopRef rl, CFTypeRef mode, void (*block)(void));
void CFRunLoopSourceInvalidate(CFRunLoopSourceRef source);
void CFRunLoopSourceGetContext(CFRunLoopSourceRef source, CFRunLoopSourceContext *context);
void CFRunLoopSourceSignal(CFRunLoopSourceRef source);
void CFRunLoopTimerSetTolerance(CFRunLoopTimerRef timer, CFTimeInterval tolerance);
void CFRunLoopTimerSetNextFireDate(CFRunLoopTimerRef timer, CFAbsoluteTime fireDate);
void CFRunLoopTimerInvalidate(CFRunLoopTimerRef timer);
void CFRunLoopTimerGetContext(CFRunLoopTimerRef timer, CFRunLoopTimerContext *context);
void CFRunLoopObserverGetContext(CFRunLoopObserverRef observer, CFRunLoopObserverContext *context);
void CFRunLoopObserverInvalidate(CFRunLoopObserverRef observer);
void CFMachPortSetInvalidationCallBack(CFMachPortRef port, CFMachPortInvalidationCallBack callout);
void CFMachPortInvalidate(CFMachPortRef port);
void CFMessagePortInvalidate(CFMessagePortRef ms);
void CFDictionaryApply(CFHashRef hc, void (*block)(const void *key, const void *value, Boolean *stop));
void _CFNonObjCRelease(CFTypeRef cf);
void _CFRuntimeInitStaticInstance(void *memory, CFTypeID typeID);
void _CFRuntimeBridgeClasses(CFTypeID cfType, const char *className);
void _CFPreferencesSetValueWithContainer(CFStringRef key, CFPropertyListRef value, CFStringRef applicationID, CFStringRef userName, CFStringRef hostName, CFStringRef containerPath);
Boolean CFEqual(CFTypeRef cf1, CFTypeRef cf2);
Boolean CFBooleanGetValue(CFBooleanRef boolean);
Boolean CFArrayContainsValue(CFArrayRef theArray, CFRange range, const void *value);
Boolean CFPreferencesAppSynchronize(CFStringRef appID);
Boolean CFPreferencesAppValueIsForced(CFStringRef key, CFStringRef applicationID);
Boolean CFPreferencesGetAppBooleanValue(CFStringRef key, CFStringRef applicationID, Boolean *keyExistsAndHasValidFormat);
Boolean CFPreferencesSynchronize(CFStringRef applicationID, CFStringRef userName, CFStringRef hostName);
Boolean CFBurstTrieContainsUTF8String(CFBurstTrieRef trie, UInt8 *key, CFIndex length, uint32_t *payload);
Boolean CFBurstTrieCursorGetPayload(CFBurstTrieCursorRef cursor, uint32_t *payload);
Boolean CFBurstTrieCursorAdvanceForBytes(CFBurstTrieCursorRef cursor, const UInt8 *bytes, CFIndex length);
Boolean CFBurstTrieSetCursorForBytes(CFBurstTrieRef trie, CFBurstTrieCursorRef cursor, const UInt8 *bytes, CFIndex length);
Boolean CFCharacterSetHasMemberInPlane(CFCharacterSetRef theSet, CFIndex thePlane);
Boolean CFCharacterSetIsCharacterMember(CFCharacterSetRef theSet, UniChar theChar);
Boolean CFCharacterSetIsLongCharacterMember(CFCharacterSetRef theSet, UTF32Char theChar);
Boolean CFCharacterSetIsSupersetOfSet(CFCharacterSetRef theSet, CFCharacterSetRef theOtherset);
Boolean CFDictionaryContainsKey(CFDictionaryRef theDict, const void *key);
Boolean CFDictionaryContainsValue(CFDictionaryRef theDict, const void *value);
Boolean CFDictionaryGetValueIfPresent(CFDictionaryRef theDict, const void *key, const void **value);
Boolean CFStringFindCharacterFromSet(CFStringRef theString, CFCharacterSetRef theSet, CFRange rangeToSearch, CFStringCompareFlags searchOptions, CFRange *result);
Boolean CFStringFindWithOptions(CFStringRef theString, CFStringRef stringToFind, CFRange rangeToSearch, CFStringCompareFlags searchOptions, CFRange *result);
Boolean CFStringFindWithOptionsAndLocale(CFStringRef theString, CFStringRef stringToFind, CFRange rangeToSearch, CFStringCompareFlags searchOptions, CFLocaleRef locale, CFRange *result);
Boolean CFStringHasPrefix(CFStringRef theString, CFStringRef prefix);
Boolean CFStringHasSuffix(CFStringRef theString, CFStringRef suffix);
Boolean CFStringTransform(CFMutableStringRef string, CFRange *range, CFStringRef transform, Boolean reverse);
Boolean CFStringGetCString(CFStringRef theString, char *buffer, CFIndex bufferSize, CFStringEncoding encoding);
Boolean CFStringGetFileSystemRepresentation(CFStringRef string, char *buffer, CFIndex maxBufLen);
Boolean CFNumberGetValue(CFNumberRef number, CFNumberType theType, void *valuePtr);
Boolean CFNumberIsFloatType(CFNumberRef number);
Boolean CFSetContainsValue(CFSetRef theSet, const void *value);
Boolean CFSetGetValueIfPresent(CFSetRef theSet, const void *candidate, const void **value);
Boolean CFReadStreamOpen(CFReadStreamRef stream);
Boolean CFReadStreamHasBytesAvailable(CFReadStreamRef stream);
Boolean CFReadStreamSetClient(CFReadStreamRef stream, CFOptionFlags streamEvents, CFReadStreamClientCallBack clientCB, CFStreamClientContext *clientContext);
Boolean CFReadStreamSetProperty(CFReadStreamRef stream, CFStreamPropertyKey propertyName, CFTypeRef propertyValue);
Boolean CFWriteStreamOpen(CFWriteStreamRef stream);
Boolean CFWriteStreamCanAcceptBytes(CFWriteStreamRef stream);
Boolean CFWriteStreamSetClient(CFWriteStreamRef stream, CFOptionFlags streamEvents, CFWriteStreamClientCallBack clientCB, CFStreamClientContext *clientContext);
Boolean CFWriteStreamSetProperty(CFWriteStreamRef stream, CFStreamPropertyKey propertyName, CFTypeRef propertyValue);
Boolean CFURLCanBeDecomposed(CFURLRef anURL);
Boolean CFURLHasDirectoryPath(CFURLRef anURL);
Boolean CFURLGetFileSystemRepresentation(CFURLRef url, Boolean resolveAgainstBase, UInt8 *buffer, CFIndex maxBufLen);
Boolean CFURLCreateDataAndPropertiesFromResource(CFAllocatorRef alloc, CFURLRef url, CFDataRef *resourceData, CFDictionaryRef *properties, CFArrayRef desiredProperties, SInt32 *errorCode);
Boolean CFURLWriteDataAndPropertiesToResource(CFURLRef url, CFDataRef dataToWrite, CFDictionaryRef propertiesToWrite, SInt32 *errorCode);
Boolean CFURLResourceIsReachable(CFURLRef url, CFErrorRef *error);
Boolean CFURLCopyResourcePropertyForKey(CFURLRef url, CFStringRef key, void *propertyValueTypeRefPtr, CFErrorRef *error);
Boolean CFRunLoopObserverIsValid(CFRunLoopObserverRef observer);
Boolean CFRunLoopIsWaiting(CFRunLoopRef rl);
Boolean CFRunLoopContainsSource(CFRunLoopRef rl, CFRunLoopSourceRef source, CFRunLoopMode mode);
Boolean CFRunLoopContainsObserver(CFRunLoopRef rl, CFRunLoopObserverRef observer, CFRunLoopMode mode);
Boolean CFRunLoopContainsTimer(CFRunLoopRef rl, CFRunLoopTimerRef timer, CFRunLoopMode mode);
Boolean CFRunLoopSourceIsValid(CFRunLoopSourceRef source);
Boolean CFRunLoopTimerDoesRepeat(CFRunLoopTimerRef timer);
Boolean CFRunLoopTimerIsValid(CFRunLoopTimerRef timer);
Boolean CFLocaleGetLanguageRegionEncodingForLocaleIdentifier(CFStringRef locale, LangCode *, RegionCode *, ScriptCode *, CFStringEncoding *);
Boolean CFMessagePortIsValid(CFMessagePortRef ms);
Boolean _CFExecutableLinkedOnOrAfter(CFSystemVersion version);
Boolean _CFDictionaryIsMutable(CFDictionaryRef dictionary);
Boolean _CFIsDeallocating(CFTypeRef);
Boolean _CFIsObjC(CFTypeID typeID, CFTypeRef obj);
Boolean _CFNonObjCEqual(CFTypeRef cf1, CFTypeRef cf2);
Boolean _CFPreferencesAppSynchronizeWithContainer(CFStringRef appID, CFStringRef containerPath);
Boolean _CFPreferencesSynchronizeWithContainer(CFStringRef applicationID, CFStringRef userName, CFStringRef hostName, CFStringRef containerPath);
CFTypeRef CFRetain(CFTypeRef cf);
CFTypeRef CFAutorelease(CFTypeRef arg);
CFTypeRef CFAttributedStringGetAttribute(CFAttributedStringRef aStr, CFIndex loc, CFStringRef attrName, CFRange *effectiveRange);
CFTypeRef CFDictionaryGetValue(CFDictionaryRef theDict, const void *key);
CFTypeRef CFMakeCollectable(CFTypeRef cf);
CFTypeRef CFWriteStreamCopyProperty(CFWriteStreamRef stream, CFStreamPropertyKey propertyName);
CFTypeRef CFReadStreamCopyProperty(CFReadStreamRef stream, CFStreamPropertyKey propertyName);
CFTypeRef CFLocaleGetValue(CFLocaleRef locale, CFLocaleKey key);
CFTypeRef CFURLCreatePropertyFromResource(CFAllocatorRef alloc, CFURLRef url, CFStringRef property, SInt32 *errorCode);
CFTypeRef CFBundleGetValueForInfoDictionaryKey(CFBundleRef bundle, CFStringRef key);
CFTypeRef _CFRuntimeCreateInstance(CFAllocatorRef allocator, CFTypeID typeID, CFIndex extraBytes, unsigned char *category);
CFTypeRef _CFTryRetain(CFTypeRef);
CFTypeRef _CFNonObjCRetain(CFTypeRef cf);
CFTypeRef _CFXPCCreateCFObjectFromXPCObject(xpc_object_t xpcattrs);
CFTypeRef _CFXPCCreateCFObjectFromXPCMessage(xpc_object_t message);
CFTypeID CFGetTypeID(CFTypeRef cf);
CFTypeID CFBooleanGetTypeID(void);
CFTypeID CFDictionaryGetTypeID(void);
CFTypeID CFArrayGetTypeID(void);
CFTypeID CFCharacterSetGetTypeID(void);
CFTypeID CFDataGetTypeID(void);
CFTypeID CFStringGetTypeID(void);
CFTypeID CFAttributedStringGetTypeID(void);
CFTypeID CFNumberGetTypeID(void);
CFTypeID CFSetGetTypeID(void);
CFTypeID CFURLGetTypeID(void);
CFTypeID CFNotificationCenterGetTypeID(void);
CFTypeID CFAllocatorGetTypeID(void);
CFTypeID CFNullGetTypeID(void);
CFTypeID CFLocaleGetTypeID(void);
CFTypeID CFErrorGetTypeID(void);
CFTypeID CFBagGetTypeID(void);
CFTypeID CFRunLoopGetTypeID(void);
CFTypeID CFRunLoopSourceGetTypeID(void);
CFTypeID CFRunLoopTimerGetTypeID(void);
CFTypeID CFUUIDGetTypeID(void);
CFTypeID _CFRuntimeRegisterClass(const CFRuntimeClass *const cls);
CFTimeInterval CFRunLoopTimerGetTolerance(CFRunLoopTimerRef timer);
CFTimeInterval CFRunLoopTimerGetInterval(CFRunLoopTimerRef timer);
CFAbsoluteTime CFRunLoopGetNextTimerFireDate(CFRunLoopRef rl, CFRunLoopMode mode);
CFAbsoluteTime CFDateGetAbsoluteTime(CFDateRef theDate);
CFHashCode CFHash(CFTypeRef cf);
CFHashCode CFHashBytes(uint8_t *bytes, CFIndex length);
CFHashCode _CFNonObjCHash(CFTypeRef cf);
CFRunLoopRef CFRunLoopGetCurrent(void);
CFRunLoopRef CFRunLoopGetMain(void);
CFRunLoopSourceRef CFMessagePortCreateRunLoopSource(CFAllocatorRef allocator, CFMessagePortRef local, CFIndex order);
CFRunLoopSourceRef CFRunLoopSourceCreate(CFAllocatorRef allocator, CFIndex order, CFRunLoopSourceContext *context);
CFRunLoopSourceRef CFUserNotificationCreateRunLoopSource(CFAllocatorRef allocator, CFUserNotificationRef userNotification, CFUserNotificationCallBack callout, CFIndex order);
CFRunLoopSourceRef CFMachPortCreateRunLoopSource(CFAllocatorRef allocator, CFMachPortRef port, CFIndex order);
CFRunLoopObserverRef CFRunLoopObserverCreate(CFAllocatorRef allocator, CFOptionFlags activities, Boolean repeats, CFIndex order, CFRunLoopObserverCallBack callout, CFRunLoopObserverContext *context);
CFRunLoopObserverRef CFRunLoopObserverCreateWithHandler(CFAllocatorRef allocator, CFOptionFlags activities, Boolean repeats, CFIndex order, void (*block)(CFRunLoopObserverRef observer, CFRunLoopActivity activity));
CFRunLoopTimerRef CFRunLoopTimerCreate(CFAllocatorRef allocator, CFAbsoluteTime fireDate, CFTimeInterval interval, CFOptionFlags flags, CFIndex order, CFRunLoopTimerCallBack callout, CFRunLoopTimerContext *context);
CFRunLoopTimerRef CFRunLoopTimerCreateWithHandler(CFAllocatorRef allocator, CFAbsoluteTime fireDate, CFTimeInterval interval, CFOptionFlags flags, CFIndex order, void (*block)(CFRunLoopTimerRef timer));
CFRunLoopMode CFRunLoopCopyCurrentMode(CFRunLoopRef rl);
CFRunLoopRunResult CFRunLoopRunInMode(CFRunLoopMode mode, CFTimeInterval seconds, Boolean returnAfterSourceHandled);
CFStringEncoding CFStringGetSystemEncoding(void);
CFStringEncoding CFStringConvertNSStringEncodingToEncoding(unsigned long encoding);
CFComparisonResult CFStringCompare(CFStringRef theString1, CFStringRef theString2, CFStringCompareFlags compareOptions);
CFComparisonResult CFStringCompareWithOptions(CFStringRef theString1, CFStringRef theString2, CFRange rangeToCompare, CFStringCompareFlags compareOptions);
CFComparisonResult CFNumberCompare(CFNumberRef number, CFNumberRef otherNumber, void *context);
CFLocaleRef CFLocaleCreate(CFAllocatorRef allocator, CFLocaleIdentifier localeIdentifier);
CFLocaleRef CFLocaleCreateCopy(CFAllocatorRef allocator, CFLocaleRef locale);
CFLocaleRef CFLocaleCopyCurrent(void);
CFLocaleRef CFLocaleGetSystem(void);
CFLocaleIdentifier CFLocaleGetIdentifier(CFLocaleRef locale);
CFLocaleIdentifier CFLocaleCreateCanonicalLanguageIdentifierFromString(CFAllocatorRef allocator, CFStringRef localeIdentifier);
CFLocaleIdentifier CFLocaleCreateCanonicalLocaleIdentifierFromString(CFAllocatorRef allocator, CFStringRef localeIdentifier);
CFLocaleIdentifier CFLocaleCreateLocaleIdentifierFromComponents(CFAllocatorRef allocator, CFDictionaryRef dictionary);
CFLocaleIdentifier CFLocaleCreateLocaleIdentifierFromWindowsLocaleCode(CFAllocatorRef allocator, uint32_t lcid);
CFUUIDRef CFUUIDCreate(CFAllocatorRef alloc);
CFUUIDRef CFUUIDCreateFromString(CFAllocatorRef alloc, CFStringRef uuidStr);
CFUUIDRef CFUUIDCreateFromUUIDBytes(CFAllocatorRef alloc, CFUUIDBytes bytes);
CFUUIDRef CFUUIDCreateWithBytes(CFAllocatorRef alloc, UInt8 byte0, UInt8 byte1, UInt8 byte2, UInt8 byte3, UInt8 byte4, UInt8 byte5, UInt8 byte6, UInt8 byte7, UInt8 byte8, UInt8 byte9, UInt8 byte10, UInt8 byte11, UInt8 byte12, UInt8 byte13, UInt8 byte14, UInt8 byte15);
CFUUIDRef CFUUIDGetConstantUUIDWithBytes(CFAllocatorRef alloc, UInt8 byte0, UInt8 byte1, UInt8 byte2, UInt8 byte3, UInt8 byte4, UInt8 byte5, UInt8 byte6, UInt8 byte7, UInt8 byte8, UInt8 byte9, UInt8 byte10, UInt8 byte11, UInt8 byte12, UInt8 byte13, UInt8 byte14, UInt8 byte15);
CFUUIDBytes CFUUIDGetUUIDBytes(CFUUIDRef uuid);
CFRange CFDataFind(CFDataRef theData, CFDataRef dataToFind, CFRange searchRange, CFDataSearchFlags compareOptions);
CFRange CFStringFind(CFStringRef theString, CFStringRef stringToFind, CFStringCompareFlags compareOptions);
CFRange CFStringGetRangeOfComposedCharactersAtIndex(CFStringRef theString, CFIndex theIndex);
CFRange CFStringGetRangeOfCharacterClusterAtIndex(CFStringRef string, CFIndex charIndex, CFStringCharacterClusterType type);
CFRange CFURLGetByteRangeForComponent(CFURLRef url, CFURLComponentType component, CFRange *rangeIncludingSeparators);
CFRange CFStringTokenizerGetCurrentTokenRange(CFStringTokenizerRef tokenizer);
CFAllocatorRef CFAllocatorGetDefault(void);
CFAllocatorRef CFGetAllocator(CFTypeRef cf);
CFAllocatorRef CFAllocatorCreate(CFAllocatorRef allocator, CFAllocatorContext *context);
CFErrorRef CFErrorCreate(CFAllocatorRef allocator, CFErrorDomain domain, CFIndex code, CFDictionaryRef userInfo);
CFErrorRef CFErrorCreateWithUserInfoKeysAndValues(CFAllocatorRef allocator, CFErrorDomain domain, CFIndex code, const void *const *userInfoKeys, const void *const *userInfoValues, CFIndex numUserInfoValues);
CFErrorRef CFWriteStreamCopyError(CFWriteStreamRef stream);
CFErrorRef CFReadStreamCopyError(CFReadStreamRef stream);
CFErrorRef _CFBundleCreateError(CFAllocatorRef allocator, CFBundleRef bundle, CFIndex code);
CFErrorRef _CFBundleCreateErrorDebug(CFAllocatorRef allocator, CFBundleRef bundle, CFIndex code, CFStringRef debugString);
CFStreamStatus CFReadStreamGetStatus(CFReadStreamRef stream);
CFStreamStatus CFWriteStreamGetStatus(CFWriteStreamRef stream);
CFErrorDomain CFErrorGetDomain(CFErrorRef err);
CFNumberRef CFNumberCreate(CFAllocatorRef allocator, CFNumberType theType, const void *valuePtr);
CFNumberType CFNumberGetType(CFNumberRef number);
CFURLRef CFURLCopyAbsoluteURL(CFURLRef relativeURL);
CFURLRef CFURLCreateAbsoluteURLWithBytes(CFAllocatorRef alloc, const UInt8 *relativeURLBytes, CFIndex length, CFStringEncoding encoding, CFURLRef baseURL, Boolean useCompatibilityMode);
CFURLRef CFURLCreateByResolvingBookmarkData(CFAllocatorRef allocator, CFDataRef bookmark, CFURLBookmarkResolutionOptions options, CFURLRef relativeToURL, CFArrayRef resourcePropertiesToInclude, Boolean *isStale, CFErrorRef *error);
CFURLRef CFURLCreateCopyAppendingPathComponent(CFAllocatorRef allocator, CFURLRef url, CFStringRef pathComponent, Boolean isDirectory);
CFURLRef CFURLCreateCopyAppendingPathExtension(CFAllocatorRef allocator, CFURLRef url, CFStringRef extension);
CFURLRef CFURLCreateCopyDeletingLastPathComponent(CFAllocatorRef allocator, CFURLRef url);
CFURLRef CFURLCreateCopyDeletingPathExtension(CFAllocatorRef allocator, CFURLRef url);
CFURLRef CFURLCreateFilePathURL(CFAllocatorRef allocator, CFURLRef url, CFErrorRef *error);
CFURLRef CFURLCreateFileReferenceURL(CFAllocatorRef allocator, CFURLRef url, CFErrorRef *error);
CFURLRef CFURLCreateFromFileSystemRepresentation(CFAllocatorRef allocator, const UInt8 *buffer, CFIndex bufLen, Boolean isDirectory);
CFURLRef CFURLCreateFromFileSystemRepresentationRelativeToBase(CFAllocatorRef allocator, const UInt8 *buffer, CFIndex bufLen, Boolean isDirectory, CFURLRef baseURL);
CFURLRef CFURLCreateWithString(CFAllocatorRef allocator, CFStringRef URLString, CFURLRef baseURL);
CFURLRef CFURLCreateWithFileSystemPath(CFAllocatorRef allocator, CFStringRef filePath, CFURLPathStyle pathStyle, Boolean isDirectory);
CFURLRef CFURLCreateWithBytes(CFAllocatorRef allocator, const UInt8 *URLBytes, CFIndex length, CFStringEncoding encoding, CFURLRef baseURL);
CFURLRef CFCopyHomeDirectoryURLForUser(CFStringRef uName);
CFURLRef CFBundleCopyExecutableURL(CFBundleRef bundle);
CFURLRef _CFBundleCopyInfoPlistURL(CFBundleRef bundle);
CFDataRef CFDataCreate(CFAllocatorRef allocator, const UInt8 *bytes, CFIndex length);
CFDataRef CFDataCreateCopy(CFAllocatorRef allocator, CFDataRef theData);
CFDataRef CFDataCreateWithBytesNoCopy(CFAllocatorRef allocator, const UInt8 *bytes, CFIndex length, CFAllocatorRef bytesDeallocator);
CFDataRef CFPropertyListCreateData(CFAllocatorRef allocator, CFPropertyListRef propertyList, CFPropertyListFormat format, CFOptionFlags options, CFErrorRef *error);
CFDataRef CFCharacterSetCreateBitmapRepresentation(CFAllocatorRef alloc, CFCharacterSetRef theSet);
CFDataRef CFStringCreateExternalRepresentation(CFAllocatorRef alloc, CFStringRef theString, CFStringEncoding encoding, UInt8 lossByte);
CFDataRef CFURLCreateData(CFAllocatorRef allocator, CFURLRef url, CFStringEncoding encoding, Boolean escapeWhitespace);
CFMutableDataRef CFDataCreateMutable(CFAllocatorRef allocator, CFIndex capacity);
CFMutableDataRef CFDataCreateMutableCopy(CFAllocatorRef allocator, CFIndex capacity, CFDataRef theData);
CFMutableCharacterSetRef CFCharacterSetCreateMutable(CFAllocatorRef alloc);
CFMutableCharacterSetRef CFCharacterSetCreateMutableCopy(CFAllocatorRef alloc, CFCharacterSetRef theSet);
CFCharacterSetRef CFCharacterSetCreateCopy(CFAllocatorRef alloc, CFCharacterSetRef theSet);
CFCharacterSetRef CFCharacterSetCreateInvertedSet(CFAllocatorRef alloc, CFCharacterSetRef theSet);
CFCharacterSetRef CFCharacterSetCreateWithCharactersInRange(CFAllocatorRef alloc, CFRange theRange);
CFCharacterSetRef CFCharacterSetCreateWithCharactersInString(CFAllocatorRef alloc, CFStringRef theString);
CFCharacterSetRef CFCharacterSetCreateWithBitmapRepresentation(CFAllocatorRef alloc, CFDataRef theData);
CFCharacterSetRef CFCharacterSetGetPredefined(CFCharacterSetPredefinedSet theSetIdentifier);
CFMutableSetRef CFSetCreateMutable(CFAllocatorRef allocator, CFIndex capacity, const CFSetCallBacks *callBacks);
CFMutableSetRef CFSetCreateMutableCopy(CFAllocatorRef allocator, CFIndex capacity, CFSetRef theSet);
CFSetRef CFSetCreate(CFAllocatorRef allocator, const void **values, CFIndex numValues, const CFSetCallBacks *callBacks);
CFSetRef CFSetCreateCopy(CFAllocatorRef allocator, CFSetRef theSet);
CFAbsoluteTime CFAbsoluteTimeGetCurrent(void);
CFNotificationCenterRef CFNotificationCenterGetDarwinNotifyCenter(void);
CFNotificationCenterRef CFNotificationCenterGetDistributedCenter(void);
CFNotificationCenterRef CFNotificationCenterGetLocalCenter(void);
CFUserNotificationRef CFUserNotificationCreate(CFAllocatorRef allocator, CFTimeInterval timeout, CFOptionFlags flags, SInt32 *error, CFDictionaryRef dictionary);
CFPropertyListRef CFPreferencesCopyValue(CFStringRef key, CFStringRef applicationID, CFStringRef userName, CFStringRef hostName);
CFPropertyListRef CFPreferencesCopyAppValue(CFStringRef key, CFStringRef applicationID);
CFPropertyListRef CFPropertyListCreateDeepCopy(CFAllocatorRef allocator, CFPropertyListRef propertyList, CFOptionFlags mutabilityOption);
CFPropertyListRef CFPropertyListCreateWithData(CFAllocatorRef allocator, CFDataRef data, CFOptionFlags options, CFPropertyListFormat *format, CFErrorRef *error);
CFPropertyListRef CFPropertyListCreateWithStream(CFAllocatorRef allocator, CFReadStreamRef stream, CFIndex streamLength, CFOptionFlags options, CFPropertyListFormat *format, CFErrorRef *error);
CFPropertyListRef CFPropertyListCreateFromStream(CFAllocatorRef allocator, CFReadStreamRef stream, CFIndex streamLength, CFOptionFlags mutabilityOption, CFPropertyListFormat *format, CFStringRef *errorString);
CFPropertyListRef CFPropertyListCreateFromXMLData(CFAllocatorRef allocator, CFDataRef xmlData, CFOptionFlags mutabilityOption, CFStringRef *errorString);
CFPropertyListRef _CFPreferencesCopyValueWithContainer(CFStringRef key, CFStringRef applicationID, CFStringRef userName, CFStringRef hostName, CFStringRef containerPath);
CFReadStreamRef CFReadStreamCreateWithFile(CFAllocatorRef alloc, CFURLRef fileURL);
CFReadStreamRef CFReadStreamCreateWithFTPURL(CFAllocatorRef alloc, CFURLRef ftpURL);
CFReadStreamRef CFReadStreamCreateWithBytesNoCopy(CFAllocatorRef alloc, const UInt8 *bytes, CFIndex length, CFAllocatorRef bytesDeallocator);
CFReadStreamRef CFReadStreamCreateForHTTPRequest(CFAllocatorRef alloc, CFHTTPMessageRef request);
CFWriteStreamRef CFWriteStreamCreateWithFile(CFAllocatorRef alloc, CFURLRef fileURL);
CFWriteStreamRef CFWriteStreamCreateWithFTPURL(CFAllocatorRef alloc, CFURLRef ftpURL);
CFWriteStreamRef CFWriteStreamCreateWithBuffer(CFAllocatorRef alloc, UInt8 *buffer, CFIndex bufferCapacity);
CFWriteStreamRef CFWriteStreamCreateWithAllocatedBuffers(CFAllocatorRef alloc, CFAllocatorRef bufferAllocator);
CFDictionaryRef CFBundleGetInfoDictionary(CFBundleRef bundle);
CFDictionaryRef CFBundleCopyInfoDictionaryForURL(CFURLRef url);
CFDictionaryRef CFDictionaryCreate(CFAllocatorRef allocator, const void **keys, const void **values, CFIndex numValues, const CFDictionaryKeyCallBacks *keyCallBacks, const CFDictionaryValueCallBacks *valueCallBacks);
CFDictionaryRef CFDictionaryCreateCopy(CFAllocatorRef allocator, CFDictionaryRef theDict);
CFDictionaryRef CFPreferencesCopyMultiple(CFArrayRef keysToFetch, CFStringRef applicationID, CFStringRef userName, CFStringRef hostName);
CFDictionaryRef CFLocaleCreateComponentsFromLocaleIdentifier(CFAllocatorRef allocator, CFLocaleIdentifier localeID);
CFDictionaryRef CFUserNotificationGetResponseDictionary(CFUserNotificationRef userNotification);
CFDictionaryRef CFErrorCopyUserInfo(CFErrorRef err);
CFDictionaryRef CFAttributedStringGetAttributes(CFAttributedStringRef aStr, CFIndex loc, CFRange *effectiveRange);
CFDictionaryRef _CFPreferencesCopyMultipleWithContainer(CFArrayRef keysToFetch, CFStringRef applicationID, CFStringRef userName, CFStringRef hostName, CFStringRef containerPath);
CFDictionaryRef _CFCopySystemVersionDictionary(void);
CFMutableDictionaryRef CFDictionaryCreateMutable(CFAllocatorRef allocator, CFIndex capacity, const CFDictionaryKeyCallBacks *keyCallBacks, const CFDictionaryValueCallBacks *valueCallBacks);
CFMutableDictionaryRef CFDictionaryCreateMutableCopy(CFAllocatorRef allocator, CFIndex capacity, CFDictionaryRef theDict);
CFMutableArrayRef CFArrayCreateMutable(CFAllocatorRef allocator, CFIndex capacity, const CFArrayCallBacks *callBacks);
CFMutableArrayRef CFArrayCreateMutableCopy(CFAllocatorRef allocator, CFIndex capacity, CFArrayRef theArray);
CFArrayRef CFArrayCreate(CFAllocatorRef allocator, const void **values, CFIndex numValues, const CFArrayCallBacks *callBacks);
CFArrayRef CFArrayCreateCopy(CFAllocatorRef allocator, CFArrayRef theArray);
CFArrayRef CFStringCreateArrayBySeparatingStrings(CFAllocatorRef alloc, CFStringRef theString, CFStringRef separatorString);
CFArrayRef CFStringCreateArrayWithFindResults(CFAllocatorRef alloc, CFStringRef theString, CFStringRef stringToFind, CFRange rangeToSearch, CFStringCompareFlags compareOptions);
CFArrayRef CFPreferencesCopyKeyList(CFStringRef applicationID, CFStringRef userName, CFStringRef hostName);
CFArrayRef CFBundleCreateBundlesFromDirectory(CFAllocatorRef allocator, CFURLRef directoryURL, CFStringRef bundleType);
CFArrayRef CFBundleGetAllBundles(void);
CFArrayRef CFBundleCopyResourceURLsOfType(CFBundleRef bundle, CFStringRef resourceType, CFStringRef subDirName);
CFArrayRef CFBundleCopyResourceURLsOfTypeInDirectory(CFURLRef bundleURL, CFStringRef resourceType, CFStringRef subDirName);
CFArrayRef CFBundleCopyResourceURLsOfTypeForLocalization(CFBundleRef bundle, CFStringRef resourceType, CFStringRef subDirName, CFStringRef localizationName);
CFArrayRef CFBundleCopyLocalizationsForPreferences(CFArrayRef locArray, CFArrayRef prefArray);
CFArrayRef CFBundleCopyBundleLocalizations(CFBundleRef bundle);
CFArrayRef CFRunLoopCopyAllModes(CFRunLoopRef rl);
CFArrayRef CFLocaleCopyPreferredLanguages(void);
CFArrayRef CFLocaleCopyAvailableLocaleIdentifiers(void);
CFArrayRef CFLocaleCopyISOLanguageCodes(void);
CFArrayRef CFCopySearchPathForDirectoriesInDomains(CFSearchPathDirectory directory, CFSearchPathDomainMask domainMask, Boolean expandTilde);
CFStringTokenizerRef CFStringTokenizerCreate(CFAllocatorRef alloc, CFStringRef string, CFRange range, CFOptionFlags options, CFLocaleRef locale);
CFMutableStringRef CFStringCreateMutable(CFAllocatorRef alloc, CFIndex maxLength);
CFMutableStringRef CFStringCreateMutableCopy(CFAllocatorRef alloc, CFIndex maxLength, CFStringRef theString);
CFMutableStringRef CFStringCreateMutableWithExternalCharactersNoCopy(CFAllocatorRef alloc, UniChar *chars, CFIndex numChars, CFIndex capacity, CFAllocatorRef externalCharactersAllocator);
CFStringRef CFCopySystemVersionString(void);
CFStringRef CFCopyDescription(CFTypeRef cf);
CFStringRef CFCopyTypeIDDescription(CFTypeID type_id);
CFStringRef CFCopyUserName(void);
CFStringRef CFErrorCopyDescription(CFErrorRef err);
CFStringRef CFErrorCopyFailureReason(CFErrorRef err);
CFStringRef CFAttributedStringGetString(CFAttributedStringRef aStr);
CFStringRef CFStringCreateCopy(CFAllocatorRef alloc, CFStringRef theString);
CFStringRef CFStringCreateByCombiningStrings(CFAllocatorRef alloc, CFArrayRef theArray, CFStringRef separatorString);
CFStringRef CFStringCreateFromExternalRepresentation(CFAllocatorRef alloc, CFDataRef data, CFStringEncoding encoding);
CFStringRef CFStringCreateWithPascalString(CFAllocatorRef alloc, ConstStr255Param pStr, CFStringEncoding encoding);
CFStringRef CFStringCreateWithBytes(CFAllocatorRef alloc, const UInt8 *bytes, CFIndex numBytes, CFStringEncoding encoding, Boolean isExternalRepresentation);
CFStringRef CFStringCreateWithBytesNoCopy(CFAllocatorRef alloc, const UInt8 *bytes, CFIndex numBytes, CFStringEncoding encoding, Boolean isExternalRepresentation, CFAllocatorRef contentsDeallocator);
CFStringRef CFStringCreateWithCharacters(CFAllocatorRef alloc, const UniChar *chars, CFIndex numChars);
CFStringRef CFStringCreateWithCharactersNoCopy(CFAllocatorRef alloc, const UniChar *chars, CFIndex numChars, CFAllocatorRef contentsDeallocator);
CFStringRef CFStringCreateWithFormat(CFAllocatorRef alloc, CFDictionaryRef formatOptions, CFStringRef format, ...);
CFStringRef CFStringCreateWithFormatAndArguments(CFAllocatorRef alloc, CFDictionaryRef formatOptions, CFStringRef format, va_list arguments);
CFStringRef CFStringCreateWithCString(CFAllocatorRef alloc, const char *cStr, CFStringEncoding encoding);
CFStringRef CFStringCreateWithCStringNoCopy(CFAllocatorRef alloc, const char *cStr, CFStringEncoding encoding, CFAllocatorRef contentsDeallocator);
CFStringRef CFStringCreateWithSubstring(CFAllocatorRef alloc, CFStringRef str, CFRange range);
CFStringRef CFStringCreateWithFileSystemRepresentation(CFAllocatorRef alloc, const char *buffer);
CFStringRef CFStringTokenizerCopyBestStringLanguage(CFStringRef string, CFRange range);
CFStringRef CFBundleGetIdentifier(CFBundleRef bundle);
CFStringRef CFBundleCopyLocalizedString(CFBundleRef bundle, CFStringRef key, CFStringRef value, CFStringRef tableName);
CFStringRef CFBundleCopyLocalizedStringForLocalization(CFBundleRef bundle, CFStringRef key, CFStringRef value, CFStringRef tableName, CFStringRef localizationName);
CFStringRef CFUUIDCreateString(CFAllocatorRef alloc, CFUUIDRef uuid);
CFStringRef CFURLCopyFileSystemPath(CFURLRef anURL, CFURLPathStyle pathStyle);
CFStringRef CFURLCopyFragment(CFURLRef anURL, CFStringRef charactersToLeaveEscaped);
CFStringRef CFURLCopyHostName(CFURLRef anURL);
CFStringRef CFURLCopyLastPathComponent(CFURLRef url);
CFStringRef CFURLCopyNetLocation(CFURLRef anURL);
CFStringRef CFURLCopyParameterString(CFURLRef anURL, CFStringRef charactersToLeaveEscaped);
CFStringRef CFURLCopyPassword(CFURLRef anURL);
CFStringRef CFURLCopyPath(CFURLRef anURL);
CFStringRef CFURLCopyPathExtension(CFURLRef url);
CFStringRef CFURLCopyQueryString(CFURLRef anURL, CFStringRef charactersToLeaveEscaped);
CFStringRef CFURLCopyResourceSpecifier(CFURLRef anURL);
CFStringRef CFURLCopyScheme(CFURLRef anURL);
CFStringRef CFURLCopyUserName(CFURLRef anURL);
CFStringRef CFURLCreateStringByReplacingPercentEscapes(CFAllocatorRef allocator, CFStringRef originalString, CFStringRef charactersToLeaveEscaped);
CFStringRef CFURLCreateStringByReplacingPercentEscapesUsingEncoding(CFAllocatorRef allocator, CFStringRef origString, CFStringRef charsToLeaveEscaped, CFStringEncoding encoding);
CFStringRef CFURLCreateStringByAddingPercentEscapes(CFAllocatorRef allocator, CFStringRef originalString, CFStringRef charactersToLeaveUnescaped, CFStringRef legalURLCharactersToBeEscaped, CFStringEncoding encoding);
CFStringRef CFURLGetString(CFURLRef anURL);
CFStringRef CFLocaleCopyDisplayNameForPropertyValue(CFLocaleRef displayLocale, CFLocaleKey key, CFStringRef value);
CFStringRef CFUserNotificationGetResponseValue(CFUserNotificationRef userNotification, CFStringRef key, CFIndex idx);
CFStringRef _CFGetProductName(void);
CFStringTokenizerTokenType CFStringTokenizerAdvanceToNextToken(CFStringTokenizerRef tokenizer);
CFStringTokenizerTokenType CFStringTokenizerGoToTokenAtIndex(CFStringTokenizerRef tokenizer, CFIndex index);
CFAttributedStringRef CFAttributedStringCreate(CFAllocatorRef alloc, CFStringRef str, CFDictionaryRef attributes);
CFAttributedStringRef CFAttributedStringCreateCopy(CFAllocatorRef alloc, CFAttributedStringRef aStr);
CFAttributedStringRef CFAttributedStringCreateWithSubstring(CFAllocatorRef alloc, CFAttributedStringRef aStr, CFRange range);
CFMutableAttributedStringRef CFAttributedStringCreateMutableCopy(CFAllocatorRef alloc, CFIndex maxLength, CFAttributedStringRef aStr);
CFBurstTrieRef CFBurstTrieCreateFromMapBytes(char *mapBase);
CFBurstTrieCursorRef CFBurstTrieCursorCreateByCopy(CFBurstTrieCursorRef cursor);
CFBurstTrieCursorRef CFBurstTrieCreateCursorForBytes(CFBurstTrieRef trie, const UInt8 *bytes, CFIndex length);
CFBundleRef CFBundleCreate(CFAllocatorRef allocator, CFURLRef bundleURL);
CFBundleRef CFBundleGetBundleWithIdentifier(CFStringRef bundleID);
CFBundleRef CFBundleGetMainBundle(void);
CFBundleRef _CFBundleCreateUnique(CFAllocatorRef allocator, CFURLRef bundleURL);
CFBundleRef _CFBundleCreateIfMightBeBundle(CFAllocatorRef allocator, CFURLRef url);
CFBundleRef _CFBundleCreateWithExecutableURLIfMightBeBundle(CFAllocatorRef allocator, CFURLRef url);
CFBundleRef _CFBundleGetMainBundleIfLooksLikeBundle(void);
CFURLRef CFBundleCopyBundleURL(CFBundleRef bundle);
CFURLRef CFBundleCopyResourcesDirectoryURL(CFBundleRef bundle);
CFURLRef CFBundleCopyResourceURL(CFBundleRef bundle, CFStringRef resourceName, CFStringRef resourceType, CFStringRef subDirName);
CFURLRef CFBundleCopyResourceURLInDirectory(CFURLRef bundleURL, CFStringRef resourceName, CFStringRef resourceType, CFStringRef subDirName);
CFURLRef CFBundleCopyResourceURLForLocalization(CFBundleRef bundle, CFStringRef resourceName, CFStringRef resourceType, CFStringRef subDirName, CFStringRef localizationName);
CFURLRef CFURLGetBaseURL(CFURLRef anURL);
CFMessagePortRef CFMessagePortCreateLocal(CFAllocatorRef allocator, CFStringRef name, CFMessagePortCallBack callout, CFMessagePortContext *context, Boolean *shouldFreeInfo);
CFMessagePortRef CFMessagePortCreateRemote(CFAllocatorRef allocator, CFStringRef name);
CFMachPortRef CFMachPortCreate(CFAllocatorRef allocator, CFMachPortCallBack callout, CFMachPortContext *context, Boolean *shouldFreeInfo);
CFMachPortRef CFMachPortCreateWithPort(CFAllocatorRef allocator, mach_port_t portNum, CFMachPortCallBack callout, CFMachPortContext *context, Boolean *shouldFreeInfo);
CFIndex CFGetRetainCount(CFTypeRef cf);
CFIndex CFAttributedStringGetLength(CFAttributedStringRef aStr);
CFIndex CFArrayGetFirstIndexOfValue(CFArrayRef theArray, CFRange range, const void *value);
CFIndex CFArrayGetLastIndexOfValue(CFArrayRef theArray, CFRange range, const void *value);
CFIndex CFArrayGetCountOfValue(CFArrayRef theArray, CFRange range, const void *value);
CFIndex CFArrayGetCount(CFArrayRef theArray);
CFIndex CFArrayBSearchValues(CFArrayRef theArray, CFRange range, const void *value, CFComparatorFunction comparator, void *context);
CFIndex CFPreferencesGetAppIntegerValue(CFStringRef key, CFStringRef applicationID, Boolean *keyExistsAndHasValidFormat);
CFIndex CFDataGetLength(CFDataRef theData);
CFIndex CFDictionaryGetCount(CFDictionaryRef theDict);
CFIndex CFDictionaryGetCountOfKey(CFDictionaryRef theDict, const void *key);
CFIndex CFDictionaryGetCountOfValue(CFDictionaryRef theDict, const void *value);
CFIndex CFStringFindAndReplace(CFMutableStringRef theString, CFStringRef stringToFind, CFStringRef replacementString, CFRange rangeToSearch, CFStringCompareFlags compareOptions);
CFIndex CFStringGetLength(CFStringRef theString);
CFIndex CFStringGetBytes(CFStringRef theString, CFRange range, CFStringEncoding encoding, UInt8 lossByte, Boolean isExternalRepresentation, UInt8 *buffer, CFIndex maxBufLen, CFIndex *usedBufLen);
CFIndex CFStringGetMaximumSizeForEncoding(CFIndex length, CFStringEncoding encoding);
CFIndex CFStringGetMaximumSizeOfFileSystemRepresentation(CFStringRef string);
CFIndex CFNumberGetByteSize(CFNumberRef number);
CFIndex CFSetGetCount(CFSetRef theSet);
CFIndex CFReadStreamRead(CFReadStreamRef stream, UInt8 *buffer, CFIndex bufferLength);
CFIndex CFWriteStreamWrite(CFWriteStreamRef stream, const UInt8 *buffer, CFIndex bufferLength);
CFIndex CFErrorGetCode(CFErrorRef err);
CFIndex CFAllocatorGetPreferredSizeForSize(CFAllocatorRef allocator, CFIndex size, CFOptionFlags hint);
CFIndex CFPropertyListWrite(CFPropertyListRef propertyList, CFWriteStreamRef stream, CFPropertyListFormat format, CFOptionFlags options, CFErrorRef *error);
CFIndex CFPropertyListWriteToStream(CFPropertyListRef propertyList, CFWriteStreamRef stream, CFPropertyListFormat format, CFStringRef *errorString);
CFIndex CFURLGetBytes(CFURLRef url, UInt8 *buffer, CFIndex bufferLength);
CFIndex CFRunLoopSourceGetOrder(CFRunLoopSourceRef source);
CFIndex CFRunLoopTimerGetOrder(CFRunLoopTimerRef timer);
================================================
FILE: CoreFoundation/Types.h
================================================
#ifndef COREFOUNDATION_H_
#define COREFOUNDATION_H_
#import "../BaseTypes.h"
#ifdef __EA64__
struct __CFString {
void *isa;
int64 info;
char *data;
int64 length;
};
#else
struct __CFString {
void *isa;
int32 info;
char *data;
int32 length;
};
#endif
typedef struct __CFError *CFErrorRef;
typedef const struct __CFAllocator *CFAllocatorRef;
typedef struct __CFArray *CFArrayRef;
typedef struct __CFArray *CFMutableArrayRef;
typedef const __CFString *CFStringRef;
typedef const __CFString *CFMutableStringRef;
typedef const struct __CFDictionary *CFDictionaryRef;
typedef struct __CFDictionary *CFMutableDictionaryRef;
typedef struct _CFBurstTrie *CFBurstTrieRef;
typedef struct _CFBurstTrieCursor *CFBurstTrieCursorRef;
typedef struct __CFBundle *CFBundleRef;
typedef struct __CFLocale *CFLocaleRef;
typedef struct __CFBoolean *CFBooleanRef;
typedef struct __CFNumber *CFNumberRef;
typedef struct __CFDate *CFDateRef;
typedef struct __CFData *CFDataRef;
typedef struct __CFData *CFMutableDataRef;
typedef struct __CFURL *CFURLRef;
typedef struct __CFRunLoop *CFRunLoopRef;
typedef struct __CFRunLoopSource *CFRunLoopSourceRef;
typedef struct __CFRunLoopObserver *CFRunLoopObserverRef;
typedef struct __CFRunLoopTimer *CFRunLoopTimerRef;
typedef struct __CFAttributedString *CFAttributedStringRef;
typedef struct __CFMutableAttributedString *CFMutableAttributedStringRef;
typedef struct __CFNotificationCenter *CFNotificationCenterRef;
typedef struct __CFUserNotification *CFUserNotificationRef;
typedef struct __CFCharacterSet *CFCharacterSetRef;
typedef struct __CFCharacterSet *CFMutableCharacterSetRef;
typedef struct __CFSet *CFSetRef;
typedef struct __CFSet *CFMutableSetRef;
typedef struct __CFReadStream *CFReadStreamRef;
typedef struct __CFWriteStream *CFWriteStreamRef;
typedef struct __CFUUID *CFUUIDRef;
typedef const struct __CFBag *CFBagRef;
typedef struct __CFBag *CFMutableBagRef;
typedef struct __CFStringTokenizer *CFStringTokenizerRef;
typedef struct __CFMachPort *CFMachPortRef;
typedef struct __CFMessagePort *CFMessagePortRef;
typedef struct __CFMessagePortContext CFMessagePortContext;
typedef struct __CFHTTPMessage *CFHTTPMessageRef;
typedef struct __CFBitVector *CFBitVectorRef;
typedef const void *CFTypeRef;
typedef const unsigned char *ConstStr255Param;
typedef CFTypeRef CFPropertyListRef;
typedef int CFBundleRefNum;
#ifdef __EA64__
typedef long CFIndex;
#else
typedef int32 CFIndex;
#endif
typedef unsigned long CFTypeID;
typedef unsigned long CFOptionFlags;
typedef unsigned long CFHashCode;
typedef SInt16 LangCode;
typedef SInt16 RegionCode;
typedef SInt16 ScriptCode;
typedef double CFTimeInterval;
typedef CFOptionFlags CFURLBookmarkResolutionOptions;
typedef CFIndex CFSystemVersion;
PS_ENUM(CFOptionFlags, CFDataSearchFlags) {
kCFDataSearchBackwards = 1UL << 0,
kCFDataSearchAnchored = 1UL << 1
};
PS_ENUM(CFOptionFlags, CFBurstTrieOpts) {
kCFBurstTrieReadOnly = 1<<1,
kCFBurstTrieBitmapCompression = 1<<2,
kCFBurstTriePrefixCompression = 1<<3,
kCFBurstTrieSortByKey = 1 << 4
};
PS_ENUM(CFIndex, CFNotificationSuspensionBehavior) {
CFNotificationSuspensionBehaviorDrop = 1,
CFNotificationSuspensionBehaviorCoalesce = 2,
CFNotificationSuspensionBehaviorHold = 3,
CFNotificationSuspensionBehaviorDeliverImmediately = 4
};
PS_ENUM(CFIndex, CFStreamStatus) {
kCFStreamStatusNotOpen = 0,
kCFStreamStatusOpening,
kCFStreamStatusOpen,
kCFStreamStatusReading,
kCFStreamStatusWriting,
kCFStreamStatusAtEnd,
kCFStreamStatusClosed,
kCFStreamStatusError
};
PS_ENUM(CFIndex, CFStringNormalizationForm) {
kCFStringNormalizationFormD = 0,
kCFStringNormalizationFormKD,
kCFStringNormalizationFormC,
kCFStringNormalizationFormKC
};
PS_ENUM(CFIndex, CFStringCharacterClusterType) {
kCFStringComposedCharacterCluster = 2,
kCFStringCursorMovementCluster = 3,
kCFStringBackwardDeletionCluster = 4
};
PS_ENUM(CFIndex, CFURLComponentType) {
kCFURLComponentScheme = 1,
kCFURLComponentNetLocation = 2,
kCFURLComponentPath = 3,
kCFURLComponentResourceSpecifier = 4,
kCFURLComponentUser = 5,
kCFURLComponentPassword = 6,
kCFURLComponentUserInfo = 7,
kCFURLComponentHost = 8,
kCFURLComponentPort = 9,
kCFURLComponentParameterString = 10,
kCFURLComponentQuery = 11,
kCFURLComponentFragment = 12
};
PS_ENUM(CFIndex, CFURLPathStyle) {
kCFURLPOSIXPathStyle = 0,
kCFURLHFSPathStyle,
kCFURLWindowsPathStyle
};
PS_ENUM(SInt32, CFRunLoopRunResult) {
kCFRunLoopRunFinished = 1,
kCFRunLoopRunStopped = 2,
kCFRunLoopRunTimedOut = 3,
kCFRunLoopRunHandledSource = 4
};
PS_ENUM(CFIndex, CFComparisonResult) { kCFCompareLessThan = -1, kCFCompareEqualTo = 0, kCFCompareGreaterThan = 1 };
PS_ENUM(CFIndex, CFSearchPathDirectory) {
kCFApplicationDirectory = 1,
kCFDemoApplicationDirectory,
kCFDeveloperApplicationDirectory,
kCFAdminApplicationDirectory,
kCFLibraryDirectory,
kCFDeveloperDirectory,
kCFUserDirectory,
kCFDocumentationDirectory,
kCFDocumentDirectory,
kCFAllApplicationsDirectory = 100,
kCFAllLibrariesDirectory = 101
};
PS_ENUM(CFIndex, CFPropertyListFormat) {
kCFPropertyListOpenStepFormat = 1,
kCFPropertyListXMLFormat_v1_0 = 100,
kCFPropertyListBinaryFormat_v1_0 = 200
};
PS_ENUM(CFOptionFlags, CFSearchPathDomainMask) {
kCFUserDomainMask = 1,
kCFLocalDomainMask = 2,
kCFNetworkDomainMask = 4,
kCFSystemDomainMask = 8,
kCFAllDomainsMask = 0x0ffff
};
PS_ENUM(CFOptionFlags, CFRunLoopActivity) {
kCFRunLoopEntry = (1UL << 0),
kCFRunLoopBeforeTimers = (1UL << 1),
kCFRunLoopBeforeSources = (1UL << 2),
kCFRunLoopBeforeWaiting = (1UL << 5),
kCFRunLoopAfterWaiting = (1UL << 6),
kCFRunLoopExit = (1UL << 7),
kCFRunLoopAllActivities = 0x0FFFFFFFU
};
typedef CFStringRef CFNotificationName;
typedef CFStringRef CFErrorDomain;
typedef CFStringRef CFRunLoopMode;
typedef CFStringRef CFStreamPropertyKey;
typedef CFStringRef CFLocaleKey;
typedef CFStringRef CFLocaleIdentifier;
typedef CFComparisonResult (*CFComparatorFunction)(const void *val1, const void *val2, void *context);
typedef const void *(*CFArrayRetainCallBack)(CFAllocatorRef allocator, const void *value);
typedef void (*CFArrayApplierFunction)(const void *value, void *context);
typedef void (*CFArrayReleaseCallBack)(CFAllocatorRef allocator, const void *value);
typedef void (*CFNotificationCallback)(CFNotificationCenterRef center, void *observer, CFNotificationName name, const void *object,
CFDictionaryRef userInfo);
typedef CFStringRef (*CFArrayCopyDescriptionCallBack)(const void *value);
typedef CFTimeInterval CFAbsoluteTime;
typedef Boolean (*CFArrayEqualCallBack)(const void *value1, const void *value2);
typedef struct CFArrayCallBacks {
CFIndex version;
CFArrayRetainCallBack retain;
CFArrayReleaseCallBack release;
CFArrayCopyDescriptionCallBack copyDescription;
CFArrayEqualCallBack equal;
} CFArrayCallBacks;
typedef const void *(*CFDictionaryRetainCallBack)(CFAllocatorRef allocator, const void *value);
typedef void (*CFDictionaryApplierFunction)(const void *key, const void *value, void *context);
typedef void (*CFDictionaryReleaseCallBack)(CFAllocatorRef allocator, const void *value);
typedef CFStringRef (*CFDictionaryCopyDescriptionCallBack)(const void *value);
typedef Boolean (*CFDictionaryEqualCallBack)(const void *value1, const void *value2);
typedef CFHashCode (*CFDictionaryHashCallBack)(const void *value);
typedef struct CFDictionaryKeyCallBacks {
CFIndex version;
CFDictionaryRetainCallBack retain;
CFDictionaryReleaseCallBack release;
CFDictionaryCopyDescriptionCallBack copyDescription;
CFDictionaryEqualCallBack equal;
CFDictionaryHashCallBack hash;
} CFDictionaryKeyCallBacks;
extern const CFDictionaryKeyCallBacks kCFTypeDictionaryKeyCallBacks;
extern const CFDictionaryKeyCallBacks kCFCopyStringDictionaryKeyCallBacks;
typedef struct CFDictionaryValueCallBacks {
CFIndex version;
CFDictionaryRetainCallBack retain;
CFDictionaryReleaseCallBack release;
CFDictionaryCopyDescriptionCallBack copyDescription;
CFDictionaryEqualCallBack equal;
} CFDictionaryValueCallBacks;
extern const CFDictionaryValueCallBacks kCFTypeDictionaryValueCallBacks;
typedef CFDataRef (*CFMessagePortCallBack)(CFMessagePortRef local, SInt32 msgid, CFDataRef data, void *info);
typedef const void *(*CFSetRetainCallBack)(CFAllocatorRef allocator, const void *value);
typedef void (*CFSetReleaseCallBack)(CFAllocatorRef allocator, const void *value);
typedef void (*CFSetApplierFunction)(const void *value, void *context);
typedef CFStringRef (*CFSetCopyDescriptionCallBack)(const void *value);
typedef Boolean (*CFSetEqualCallBack)(const void *value1, const void *value2);
typedef CFHashCode (*CFSetHashCallBack)(const void *value);
typedef void *(*CFAllocatorAllocateCallBack)(CFIndex allocSize, CFOptionFlags hint, void *info);
typedef void (*CFAllocatorDeallocateCallBack)(void *ptr, void *info);
typedef void *(*CFAllocatorReallocateCallBack)(void *ptr, CFIndex newsize, CFOptionFlags hint, void *info);
typedef CFIndex (*CFAllocatorPreferredSizeCallBack)(CFIndex size, CFOptionFlags hint, void *info);
typedef const void *(*CFAllocatorRetainCallBack)(const void *info);
typedef void (*CFAllocatorReleaseCallBack)(const void *info);
typedef CFStringRef (*CFAllocatorCopyDescriptionCallBack)(const void *info);
typedef struct CFAllocatorContext {
CFIndex version;
void *info;
CFAllocatorRetainCallBack retain;
CFAllocatorReleaseCallBack release;
CFAllocatorCopyDescriptionCallBack copyDescription;
CFAllocatorAllocateCallBack allocate;
CFAllocatorReallocateCallBack reallocate;
CFAllocatorDeallocateCallBack deallocate;
CFAllocatorPreferredSizeCallBack preferredSize;
} CFAllocatorContext;
typedef struct CFSetCallBacks {
CFIndex version;
CFSetRetainCallBack retain;
CFSetReleaseCallBack release;
CFSetCopyDescriptionCallBack copyDescription;
CFSetEqualCallBack equal;
CFSetHashCallBack hash;
} CFSetCallBacks;
typedef struct CFRange {
CFIndex location;
CFIndex length;
} CFRange;
typedef struct CFCharacterSetInlineBuffer {
CFCharacterSetRef cset;
uint32_t flags;
uint32_t rangeStart;
uint32_t rangeLimit;
const uint8_t *bitmap;
} CFCharacterSetInlineBuffer;
typedef struct CFStringInlineBuffer {
UniChar buffer[64];
CFStringRef theString;
const UniChar *directBuffer;
CFRange rangeToBuffer;
CFIndex bufferedRangeStart;
CFIndex bufferedRangeEnd;
} CFStringInlineBuffer;
PS_ENUM(CFIndex, CFNumberType) {
kCFNumberSInt8Type = 1,
kCFNumberSInt16Type = 2,
kCFNumberSInt32Type = 3,
kCFNumberSInt64Type = 4,
kCFNumberFloat32Type = 5,
kCFNumberFloat64Type = 6,
kCFNumberCharType = 7,
kCFNumberShortType = 8,
kCFNumberIntType = 9,
kCFNumberLongType = 10,
kCFNumberLongLongType = 11,
kCFNumberFloatType = 12,
kCFNumberDoubleType = 13,
kCFNumberCFIndexType = 14,
kCFNumberNSIntegerType = 15,
kCFNumberCGFloatType = 16,
kCFNumberMaxType = 16
};
PS_ENUM(UInt32, CFStringEncoding) {
kCFStringEncodingMacRoman = 0,
kCFStringEncodingWindowsLatin1 = 0x0500,
kCFStringEncodingISOLatin1 = 0x0201,
kCFStringEncodingNextStepLatin = 0x0B01,
kCFStringEncodingASCII = 0x0600,
kCFStringEncodingUnicode = 0x0100,
kCFStringEncodingUTF8 = 0x08000100,
kCFStringEncodingNonLossyASCII = 0x0BFF,
kCFStringEncodingUTF16 = 0x0100,
kCFStringEncodingUTF16BE = 0x10000100,
kCFStringEncodingUTF16LE = 0x14000100,
kCFStringEncodingUTF32 = 0x0c000100,
kCFStringEncodingUTF32BE = 0x18000100,
kCFStringEncodingUTF32LE = 0x1c000100
};
PS_ENUM(CFOptionFlags, CFStringCompareFlags) {
kCFCompareCaseInsensitive = 1,
kCFCompareBackwards = 4,
kCFCompareAnchored = 8,
kCFCompareNonliteral = 16,
kCFCompareLocalized = 32,
kCFCompareNumerically = 64,
kCFCompareDiacriticInsensitive = 128,
kCFCompareWidthInsensitive = 256,
kCFCompareForcedOrdering = 512
};
PS_ENUM(CFOptionFlags, CFStringTokenizerTokenType) {
kCFStringTokenizerTokenNone = 0,
kCFStringTokenizerTokenNormal = 1UL << 0,
kCFStringTokenizerTokenHasSubTokensMask = 1UL << 1,
kCFStringTokenizerTokenHasDerivedSubTokensMask = 1UL << 2,
kCFStringTokenizerTokenHasHasNumbersMask = 1UL << 3,
kCFStringTokenizerTokenHasNonLettersMask = 1UL << 4,
kCFStringTokenizerTokenIsCJWordMask = 1UL << 5
};
PS_ENUM(CFIndex, CFCharacterSetPredefinedSet) {
kCFCharacterSetControl = 1,
kCFCharacterSetWhitespace,
kCFCharacterSetWhitespaceAndNewline,
kCFCharacterSetDecimalDigit,
kCFCharacterSetLetter,
kCFCharacterSetLowercaseLetter,
kCFCharacterSetUppercaseLetter,
kCFCharacterSetNonBase,
kCFCharacterSetDecomposable,
kCFCharacterSetAlphaNumeric,
kCFCharacterSetPunctuation,
kCFCharacterSetCapitalizedLetter = 13,
kCFCharacterSetSymbol = 14,
kCFCharacterSetNewline = 15,
kCFCharacterSetIllegal = 12
};
typedef enum CFStreamEventType {
kCFStreamEventNone = 0,
kCFStreamEventOpenCompleted = (1 << 0),
kCFStreamEventHasBytesAvailable = (1 << 1),
kCFStreamEventCanAcceptBytes = (1 << 2),
kCFStreamEventErrorOccurred = (1 << 3),
kCFStreamEventEndEncountered = (1 << 4)
} CFStreamEventType;
typedef struct __CFRuntimeClass {
CFIndex version;
const char *className;
void (*init)(CFTypeRef cf);
CFTypeRef (*copy)(CFAllocatorRef allocator, CFTypeRef cf);
void (*finalize)(CFTypeRef cf);
Boolean (*equal)(CFTypeRef cf1, CFTypeRef cf2);
CFHashCode (*hash)(CFTypeRef cf);
CFStringRef (*copyFormattingDesc)(CFTypeRef cf, CFDictionaryRef formatOptions);
CFStringRef (*copyDebugDesc)(CFTypeRef cf);
void (*reclaim)(CFTypeRef cf);
uint32_t (*refcount)(intptr_t op, CFTypeRef cf);
uintptr_t requiredAlignment;
} CFRuntimeClass;
typedef struct CFUUIDBytes {
UInt8 byte0;
UInt8 byte1;
UInt8 byte2;
UInt8 byte3;
UInt8 byte4;
UInt8 byte5;
UInt8 byte6;
UInt8 byte7;
UInt8 byte8;
UInt8 byte9;
UInt8 byte10;
UInt8 byte11;
UInt8 byte12;
UInt8 byte13;
UInt8 byte14;
UInt8 byte15;
} CFUUIDBytes;
extern const CFAllocatorRef kCFAllocatorDefault;
extern const CFAllocatorRef kCFAllocatorSystemDefault;
extern const CFAllocatorRef kCFAllocatorMalloc;
extern const CFAllocatorRef kCFAllocatorMallocZone;
extern const CFAllocatorRef kCFAllocatorNull;
extern const CFAllocatorRef kCFAllocatorUseContext;
extern const CFArrayCallBacks kCFTypeArrayCallBacks;
extern const CFBooleanRef kCFBooleanTrue;
extern const CFBooleanRef kCFBooleanFalse;
extern const CFRunLoopMode kCFRunLoopDefaultMode;
extern const CFRunLoopMode kCFRunLoopCommonModes;
typedef void (*CFBurstTrieTraversalCallback)(void *context, const UInt8 *key, uint32_t keyLength, uint32_t payload, Boolean *stop);
typedef const void *(*CFBagRetainCallBack)(CFAllocatorRef allocator, const void *value);
typedef void (*CFBagReleaseCallBack)(CFAllocatorRef allocator, const void *value);
typedef CFStringRef (*CFBagCopyDescriptionCallBack)(const void *value);
typedef Boolean (*CFBagEqualCallBack)(const void *value1, const void *value2);
typedef CFHashCode (*CFBagHashCallBack)(const void *value);
typedef struct CFBagCallBacks {
CFIndex version;
CFBagRetainCallBack retain;
CFBagReleaseCallBack release;
CFBagCopyDescriptionCallBack copyDescription;
CFBagEqualCallBack equal;
CFBagHashCallBack hash;
} CFBagCallBacks;
extern const CFBagCallBacks kCFTypeBagCallBacks;
extern const CFBagCallBacks kCFCopyStringBagCallBacks;
typedef void (*CFBagApplierFunction)(const void *value, void *context);
#ifndef NULL
#define NULL 0
#endif
static const CFBagCallBacks __kCFNullBagCallBacks = {0, NULL, NULL, NULL, NULL, NULL};
typedef struct __CFRuntimeBase {
uintptr_t _cfisa;
uint8_t _cfinfo[4];
#ifdef __EA64__
uint32_t _rc;
#endif
} CFRuntimeBase;
typedef struct CFStreamClientContext {
CFIndex version;
void *info;
void *(*retain)(void *info);
void (*release)(void *info);
CFStringRef (*copyDescription)(void *info);
} CFStreamClientContext;
typedef struct CFRunLoopSourceContext {
CFIndex version;
void *info;
const void *(*retain)(const void *info);
void (*release)(const void *info);
CFStringRef (*copyDescription)(const void *info);
Boolean (*equal)(const void *info1, const void *info2);
CFHashCode (*hash)(const void *info);
void (*schedule)(void *info, CFRunLoopRef rl, CFRunLoopMode mode);
void (*cancel)(void *info, CFRunLoopRef rl, CFRunLoopMode mode);
void (*perform)(void *info);
} CFRunLoopSourceContext;
typedef struct CFRunLoopSourceContext1 {
CFIndex version;
void *info;
const void *(*retain)(const void *info);
void (*release)(const void *info);
CFStringRef (*copyDescription)(const void *info);
Boolean (*equal)(const void *info1, const void *info2);
CFHashCode (*hash)(const void *info);
mach_port_t (*getPort)(void *info);
void *(*perform)(void *msg, CFIndex size, CFAllocatorRef allocator, void *info);
} CFRunLoopSourceContext1;
typedef struct CFRunLoopObserverContext {
CFIndex version;
void *info;
const void *(*retain)(const void *info);
void (*release)(const void *info);
CFStringRef (*copyDescription)(const void *info);
} CFRunLoopObserverContext;
typedef void (*CFRunLoopObserverCallBack)(CFRunLoopObserverRef observer, CFRunLoopActivity activity, void *info);
typedef struct CFRunLoopTimerContext {
CFIndex version;
void *info;
const void *(*retain)(const void *info);
void (*release)(const void *info);
CFStringRef (*copyDescription)(const void *info);
} CFRunLoopTimerContext;
typedef struct {
CFIndex version;
void *info;
const void *(*retain)(const void *info);
void (*release)(const void *info);
CFStringRef (*copyDescription)(const void *info);
} CFMachPortContext;
typedef void (*CFRunLoopTimerCallBack)(CFRunLoopTimerRef timer, void *info);
typedef void (*CFUserNotificationCallBack)(CFUserNotificationRef userNotification, CFOptionFlags responseFlags);
typedef void (*CFReadStreamClientCallBack)(CFReadStreamRef stream, CFStreamEventType type, void *clientCallBackInfo);
typedef void (*CFWriteStreamClientCallBack)(CFWriteStreamRef stream, CFStreamEventType type, void *clientCallBackInfo);
typedef void (*CFMachPortCallBack)(CFMachPortRef port, void *msg, CFIndex size, void *info);
typedef void (*CFMachPortInvalidationCallBack)(CFMachPortRef port, void *info);
#define CFBagKeyCallBacks CFBagCallBacks
#define CFBagValueCallBacks CFBagCallBacks
#define CFHashRef CFBagRef
#define CFMutableHashRef CFMutableBagRef
#define CFHashKeyCallBacks CFBagCallBacks
#define CFHashValueCallBacks CFBagCallBacks
#endif
================================================
FILE: CoreGraphics/CoreGraphics.h
================================================
#import "../CoreFoundation/Types.h"
#import "../Foundation/Types.h"
#import "../IOSurface/Types.h"
#import "Types.h"
CFTypeID CGPathGetTypeID(void);
CFTypeID CGImageGetTypeID(void);
CFTypeID CGColorGetTypeID(void);
CFTypeID CGColorSpaceGetTypeID(void);
CFTypeID CGColorTransformGetTypeID(void);
CFTypeID CGPatternGetTypeID(void);
CFTypeID CGFontGetTypeID(void);
CFTypeRef CGCFRetain(CFTypeRef cf);
CFTypeRef CGTypeCreateInstance(CFTypeID typeID, CFIndex extraBytes);
CFTypeRef CGCFDictionaryGetValueWithType(CFDictionaryRef theDict, const void *key, CFTypeID typeID);
CFDataRef CGFontCopyTableForTag(CGFontRef font, uint32_t tag);
CFDataRef CGColorSpaceCopyICCData(CGColorSpaceRef space);
CFDictionaryRef CGFontCopyVariations(CGFontRef font);
CFDictionaryRef CGRectCreateDictionaryRepresentation(CGRect rect);
CFDictionaryRef CGSizeCreateDictionaryRepresentation(CGSize size);
CFDictionaryRef CGPointCreateDictionaryRepresentation(CGPoint point);
CFDictionaryRef CGImageSourceCopyProperties(CGImageSourceRef isrc, CFDictionaryRef options);
CFDictionaryRef CGImageSourceCopyPropertiesAtIndex(CGImageSourceRef isrc, size_t index, CFDictionaryRef options);
CFMutableDictionaryRef CGCFDictionaryCreate(void);
CFMutableDictionaryRef CGCFDictionaryCreateCopy(CFDictionaryRef theDict);
CFArrayRef CGCFDictionaryCopyKeys(CFDictionaryRef theDict, const CFArrayCallBacks *callBacks);
CFArrayRef CGCFDictionaryCopyValues(CFDictionaryRef theDict, const CFArrayCallBacks *callBacks);
CFArrayRef CGFontCreateFontsWithPath(CFStringRef path);
CFArrayRef CGFontCopyTableTags(CGFontRef font);
CFArrayRef CGFontCopyVariationAxes(CGFontRef font);
CFPropertyListRef CGColorSpaceCopyPropertyList(CGColorSpaceRef space);
CFStringRef CGFontCopyFullName(CGFontRef font);
CFStringRef CGFontCopyFamilyName(CGFontRef font);
CFStringRef CGFontCopyPostScriptName(CGFontRef font);
CFStringRef CGFontCopyGlyphNameForGlyph(CGFontRef font, CGGlyph glyph);
CFStringRef CGImageSourceGetType(CGImageSourceRef isrc); // ImageIO ?
CFStringRef CGImageSourceGetTypeWithData(CFDataRef, CFStringRef, bool *); // ImageIO ?
CFStringRef CGImageMetadataCopyStringValueWithPath(CGImageMetadataRef metadata, CGImageMetadataTagRef parent, CFStringRef path);
CFStringRef CGColorSpaceGetName(CGColorSpaceRef space);
CGRect CGPatternGetBounds(CGPatternRef pattern);
CGRect CGContextGetPathBoundingBox(CGContextRef c);
CGRect CGContextGetClipBoundingBox(CGContextRef c);
CGRect CGPathGetBoundingBox(CGPathRef path);
CGRect CGPathGetPathBoundingBox(CGPathRef path);
CGRect CGFontGetFontBBox(CGFontRef font);
CGRect CGRectInset(CGRect rect, CGFloat dx, CGFloat dy);
CGRect CGRectUnion(CGRect rect1, CGRect rect2);
CGRect CGRectApplyAffineTransform(CGRect rect, CGAffineTransform t);
CGRect CGRectStandardize(CGRect rect);
CGRect CGRectOffset(CGRect rect, CGFloat dx, CGFloat dy);
CGRect CGRectIntegral(CGRect rect);
CGRect CGRectIntersection(CGRect r1, CGRect r2);
CGRect *CGSNextRect(CGSRegionEnumeratorRef enumerator);
CGPoint CGPointApplyAffineTransform(CGPoint point, CGAffineTransform t);
CGPoint CGContextGetPathCurrentPoint(CGContextRef context);
CGPoint CGContextGetTextPosition(CGContextRef c);
CGPoint CGPathGetCurrentPoint(CGPathRef path);
CGSize CGSizeApplyAffineTransform(CGSize size, CGAffineTransform t);
CGSize CGContextConvertSizeToUserSpace(CGContextRef c, CGSize size);
CGFloat CGFontGetItalicAngle(CGFontRef font);
CGFloat CGFontGetStemV(CGFontRef font);
CGFloat CGRectGetWidth(CGRect rect);
CGFloat CGRectGetHeight(CGRect rect);
CGFloat CGRectGetMaxX(CGRect rect);
CGFloat CGRectGetMidX(CGRect rect);
CGFloat CGRectGetMinX(CGRect rect);
CGFloat CGRectGetMaxY(CGRect rect);
CGFloat CGRectGetMidY(CGRect rect);
CGFloat CGRectGetMinY(CGRect rect);
CGFloat CGColorGetAlpha(CGColorRef color);
CGFloat CGContextGetAlpha(CGContextRef c);
CGFloat CGContextGetLineWidth(CGContextRef c);
CGFloat CGContextGetFontSize(CGContextRef c);
CGBlendMode CGContextGetBlendMode(CGContextRef c);
CGPathRef CGPathRetain(CGPathRef path);
CGPathRef CGPathCreateWithEllipseInRect(CGRect rect, const CGAffineTransform *transform);
CGPathRef CGPathCreateWithRect(CGRect rect, const CGAffineTransform *transform);
CGPathRef CGPathCreateWithRoundedRect(CGRect rect, CGFloat cornerWidth, CGFloat cornerHeight, const CGAffineTransform *transform);
CGPathRef CGPathCreateCopy(CGPathRef path);
CGPathRef CGPathCreateCopyByTransformingPath(CGPathRef path, const CGAffineTransform *transform);
CGPathRef CGPathCreateCopyByDashingPath(CGPathRef path, const CGAffineTransform *transform, CGFloat phase, const CGFloat *lengths, size_t count);
CGPathRef CGPathCreateCopyByStrokingPath(CGPathRef path, const CGAffineTransform *transform, CGFloat lineWidth, CGLineCap lineCap, CGLineJoin lineJoin, CGFloat miterLimit);
CGPathRef CGContextCopyPath(CGContextRef c);
CGMutablePathRef CGPathCreateMutable(void);
CGMutablePathRef CGPathCreateMutableCopy(CGPathRef path);
CGMutablePathRef CGPathCreateMutableCopyByTransformingPath(CGPathRef path, const CGAffineTransform *transform);
CGImageRef CGImageCreate(size_t width, size_t height, size_t bitsPerComponent, size_t bitsPerPixel, size_t bytesPerRow, CGColorSpaceRef space, CGBitmapInfo bitmapInfo, CGDataProviderRef provider, const CGFloat *decode, bool shouldInterpolate, CGColorRenderingIntent intent);
CGImageRef CGImageCreateWithPNGDataProvider(CGDataProviderRef source, const CGFloat *decode, bool shouldInterpolate, CGColorRenderingIntent intent);
CGImageRef CGImageCreateWithJPEGDataProvider(CGDataProviderRef source, const CGFloat *decode, bool shouldInterpolate, CGColorRenderingIntent intent);
CGImageRef CGImageCreateWithImageInRect(CGImageRef image, CGRect rect);
CGImageRef CGImageCreateWithMask(CGImageRef image, CGImageRef mask);
CGImageRef CGImageCreateFromIOSurface(IOSurfaceRef surface, CFDictionaryRef options);
CGImageRef CGImageCreateCopy(CGImageRef image);
CGImageRef CGImageMaskCreate(size_t width, size_t height, size_t bitsPerComponent, size_t bitsPerPixel, size_t bytesPerRow, CGDataProviderRef provider, const CGFloat *decode, bool shouldInterpolate);
CGImageRef CGImageRetain(CGImageRef image);
CGImageRef CGImageSourceCreateImageAtIndex(CGImageSourceRef isrc, size_t index, CFDictionaryRef options);
CGImageRef CGImageSourceCreateThumbnailAtIndex(CGImageSourceRef isrc, size_t index, CFDictionaryRef options);
CGImageRef CGPatternGetImage(CGPatternRef pattern);
CGImageRef CGBitmapContextCreateImage(CGContextRef context);
CGImageRef CGIOSurfaceContextCreateImage(CGContextRef);
CGImageRef CGIOSurfaceContextCreateImageReference(CGContextRef);
CGImageMetadataRef CGImageSourceCopyMetadataAtIndex(CGImageSourceRef isrc, size_t index, CFDictionaryRef options);
CGImageMetadataTagRef CGImageMetadataTagCreate(CFStringRef xmlns, CFStringRef prefix, CFStringRef name, CGImageMetadataType type, CFTypeRef value);
CGMutableImageMetadataRef CGImageMetadataCreateMutable(void);
CGImageSourceRef CGImageSourceCreateWithData(CFDataRef data, CFDictionaryRef options);
CGImageSourceRef CGImageSourceCreateWithDataProvider(CGDataProviderRef provider, CFDictionaryRef options);
CGImageSourceRef CGImageSourceCreateWithURL(CFURLRef url, CFDictionaryRef options);
CGImageSourceRef CGImageSourceCreateWithFile(CFStringRef path, CFDictionaryRef options);
CGImageSourceRef CGImageSourceCreateIncremental(CFDictionaryRef options);
CGImageDestinationRef CGImageDestinationCreateWithData(CFMutableDataRef data, CFStringRef type, size_t count, CFDictionaryRef options);
CGImageDestinationRef CGImageDestinationCreateWithURL(CFURLRef url, CFStringRef type, size_t count, CFDictionaryRef options);
CGImageProviderRef CGImageGetImageProvider(CGImageRef image);
CGFontRef CGFontRetain(CGFontRef font);
CGFontRef CGFontCreateWithFontName(CFStringRef name);
CGFontRef CGFontCreateWithDataProvider(CGDataProviderRef provider);
CGFontRef CGFontCreateCopyWithVariations(CGFontRef font, CFDictionaryRef variations);
CGFontRef CGFontCreateWithName(const char *name);
CGFontRef CGFontCreateMatchingFont(const char *, const char *, int, bool, CGFloat);
CFMutableArrayRef CGFontCreateFontsWithPath(CFStringRef path);
CFMutableArrayRef CGCFArrayCreate(void);
CGContextRef CGBitmapContextCreate(void *data, size_t width, size_t height, size_t bitsPerComponent, size_t bytesPerRow, CGColorSpaceRef space, uint32_t bitmapInfo);
CGContextRef CGContextRetain(CGContextRef c);
CGContextRef CGIOSurfaceContextCreate(IOSurfaceRef, size_t, size_t, size_t, size_t, CGColorSpaceRef, CGBitmapInfo);
CGColorRef CGColorRetain(CGColorRef color);
CGColorRef CGColorGetConstantColor(CFStringRef colorName);
CGColorRef CGColorCreate(CGColorSpaceRef space, const CGFloat *components);
CGColorRef CGColorCreateCopy(CGColorRef color);
CGColorRef CGColorCreateCopyWithAlpha(CGColorRef color, CGFloat alpha);
CGColorRef CGColorCreateSRGB(CGFloat red, CGFloat green, CGFloat blue, CGFloat alpha);
CGColorRef CGColorCreateGenericGray(CGFloat gray, CGFloat alpha);
CGColorRef CGColorCreateGenericRGB(CGFloat red, CGFloat green, CGFloat blue, CGFloat alpha);
CGColorRef CGColorCreateGenericCMYK(CGFloat cyan, CGFloat magenta, CGFloat yellow, CGFloat black, CGFloat alpha);
CGColorRef CGColorCreateWithPattern(CGColorSpaceRef space, CGPatternRef pattern, const CGFloat *components);
CGColorRef CGColorCreateCopyByMatchingToColorSpace(CGColorSpaceRef, CGColorRenderingIntent intent, CGColorRef color, CFDictionaryRef options);
CGColorRef CGColorTransformConvertColor(CGColorTransformRef, CGColorRef, CGColorRenderingIntent);
CGColorRef CGContextGetFillColorAsColor(CGContextRef);
CGColorSpaceRef CGImageGetColorSpace(CGImageRef image);
CGColorSpaceRef CGGradientGetColorSpace(CGGradientRef gradient);
CGColorSpaceRef CGColorGetColorSpace(CGColorRef color);
CGColorSpaceRef CGColorSpaceRetain(CGColorSpaceRef space);
CGColorSpaceRef CGColorSpaceCreateWithName(CFStringRef name);
CGColorSpaceRef CGColorSpaceCreateDeviceRGB(void);
CGColorSpaceRef CGColorSpaceCreateDeviceCMYK(void);
CGColorSpaceRef CGColorSpaceCreateDeviceGray(void);
CGColorSpaceRef CGColorSpaceCreateLab(const CGFloat *whitePoint, const CGFloat *blackPoint, const CGFloat *range);
CGColorSpaceRef CGColorSpaceCreatePattern(CGColorSpaceRef baseSpace);
CGColorSpaceRef CGColorSpaceCreateWithPropertyList(CFPropertyListRef plist);
CGColorSpaceRef CGColorSpaceCreateWithICCData(CFTypeRef data);
CGColorSpaceRef CGColorSpaceCreateCalibratedRGB(const CGFloat *whitePoint, const CGFloat *blackPoint, const CGFloat *gamma, const CGFloat *matrix);
CGColorSpaceRef CGColorSpaceGetBaseColorSpace(CGColorSpaceRef space);
CGColorSpaceRef CGIOSurfaceContextGetColorSpace(CGContextRef context);
CGColorSpaceRef CGBitmapContextGetColorSpace(CGContextRef context);
CGColorSpaceModel CGColorSpaceGetModel(CGColorSpaceRef space);
CGColorTransformRef CGColorTransformCreate(CGColorSpaceRef, CFDictionaryRef attributes);
CGColorTransformRef CGColorTransformRetain(CGColorTransformRef colorTransform);
CGColorRenderingIntent CGImageGetRenderingIntent(CGImageRef image);
CGPatternRef CGPatternRetain(CGPatternRef pattern);
CGPatternRef CGPatternCreate(void *info, CGRect bounds, CGAffineTransform matrix, CGFloat xStep, CGFloat yStep, CGPatternTiling tiling, bool isColored, const CGPatternCallbacks *callbacks);
CGPatternRef CGPatternCreateWithImage2(CGImageRef, CGAffineTransform, CGPatternTiling);
CGPatternRef CGColorGetPattern(CGColorRef color);
CGGradientRef CGGradientCreateWithColors(CGColorSpaceRef space, CFArrayRef colors, const CGFloat *locations);
CGGradientRef CGGradientCreateWithColorComponents(CGColorSpaceRef space, const CGFloat *components, const CGFloat *locations, size_t count);
CGImageAlphaInfo CGImageGetAlphaInfo(CGImageRef image);
CGImageAlphaInfo CGBitmapContextGetAlphaInfo(CGContextRef context);
CGBitmapInfo CGImageGetBitmapInfo(CGImageRef image);
CGBitmapInfo CGBitmapContextGetBitmapInfo(CGContextRef context);
CGDataProviderRef CGImageGetDataProvider(CGImageRef image);
const CGFloat *CGImageGetDecode(CGImageRef image);
const CGFloat *CGColorGetComponents(CGColorRef color);
const void *CGImageGetProperty(CGImageRef image, CFStringRef property);
CGAffineTransform CGAffineTransformMake(CGFloat a, CGFloat b, CGFloat c, CGFloat d, CGFloat tx, CGFloat ty);
CGAffineTransform CGAffineTransformMakeScale(CGFloat sx, CGFloat sy);
CGAffineTransform CGAffineTransformMakeRotation(CGFloat angle);
CGAffineTransform CGAffineTransformMakeTranslation(CGFloat tx, CGFloat ty);
CGAffineTransform CGAffineTransformTranslate(CGAffineTransform t, CGFloat tx, CGFloat ty);
CGAffineTransform CGAffineTransformScale(CGAffineTransform t, CGFloat sx, CGFloat sy);
CGAffineTransform CGAffineTransformRotate(CGAffineTransform t, CGFloat angle);
CGAffineTransform CGAffineTransformTranslate(CGAffineTransform t, CGFloat tx, CGFloat ty);
CGAffineTransform CGAffineTransformInvert(CGAffineTransform t);
CGAffineTransform CGAffineTransformConcat(CGAffineTransform t1, CGAffineTransform t2);
CGAffineTransform CGAffineTransformFromString(CFNSString string);
CGAffineTransform CGContextGetCTM(CGContextRef c);
CGAffineTransform CGContextGetBaseCTM(CGContextRef c);
CGAffineTransform CGContextGetTextMatrix(CGContextRef c);
CGAffineTransform CGContextGetUserSpaceToDeviceSpaceTransform(CGContextRef c);
CGDataProviderRef CGPDFDocumentGetDataProvider(CGPDFDocumentRef);
CGError CGSPackagesEnableConnectionOcclusionNotifications(CGSConnectionID, bool flag, bool *outCurrentVisibilityState);
CGError CGSPackagesEnableConnectionWindowModificationNotifications(CGSConnectionID, bool flag, bool *outConnectionIsCurrentlyIdle);
CGError CGSNewRegionWithRect(const CGRect*, CGRegionRef *);
CGError CGSNewEmptyRegion(CGSRegionObj *outRegion);
CGError CGSCopyRegion(CGSRegionObj region, CGSRegionObj *outRegion);
CGError CGSUnionRegion(CGSRegionObj region1, CGSRegionObj region2, CGSRegionObj *outRegion);
CGError CGSUnionRegionWithRect(CGSRegionObj region, CGRect *rect, CGSRegionObj *outRegion);
CGError CGSDiffRegion(CGSRegionRef region1, CGSRegionRef region2, CGSRegionRef *outRegion);
CGError CGSXorRegion(CGSRegionRef region1, CGSRegionRef region2, CGSRegionRef *outRegion);
CGError CGSOffsetRegion(CGSRegionRef region, CGFloat offsetLeft, CGFloat offsetTop, CGSRegionRef *outRegion);
CGError CGSIntersectRegionWithRect(const CGSRegionObj region,const CGRect *rect, CGSRegionObj *intersectRegion);
CGError CGSReleaseRegion(const CGRegionRef);
CGError CGSGetRegionBounds(CGSRegionRef region, CGRect *outRect);
CGError CGSSetWindowAlpha(CGSConnectionID, CGSWindowID, float alpha);
CGError CGSSetWindowClipShape(CGSConnectionID, CGSWindowID, CGRegionRef shape);
CGError CGSSetWindowWarp(CGSConnectionID, CGSWindowID, int w, int h, const float *mesh);
CGError CGSFetchDirtyScreenRegion(CGSConnectionID cid, CGSRegionRef *outDirtyRegion);
CGFontAntialiasingStyle CGContextGetFontAntialiasingStyle(CGContextRef);
CGFontRef CGFontCreateWithPathAndName(CFStringRef path, CFStringRef name);
CGImageCachingFlags CGImageGetCachingFlags(CGImageRef image);
CGContextType CGContextGetType(CGContextRef c);
CGGlyph CGFontGetGlyphWithGlyphName(CGFontRef font, CFStringRef name);
CGCompositeOperation CGContextGetCompositeOperation(CGContextRef c);
CGSRegionEnumeratorRef CGSRegionEnumerator(CGSRegionRef region);
CGSRegionEnumeratorObj CGSRegionPathEnumerator(const CGSRegionObj region);
const char *CGFontGetPostScriptName(CGFontRef font);
bool CGSRegionIsEmpty(CGSRegionObj region);
bool CGSRegionIsRectangular(CGSRegionObj region);
bool CGSPointInRegion(CGSRegionObj region, const CGPoint *point);
bool CGSRectInRegion(CGSRegionObj region, const CGRect *rect);
bool CGSRegionInRegion(CGSRegionObj region1, CGSRegionObj region2);
bool CGSRegionIntersectsRect(CGSRegionObj obj, const CGRect *rect);
bool CGSRegionIntersectsRegion(CGSRegionObj region1, CGSRegionObj region2);
size_t CGFontGetNumberOfGlyphs(CGFontRef font);
size_t CGImageGetWidth(CGImageRef image);
size_t CGImageGetHeight(CGImageRef image);
size_t CGImageGetBitsPerComponent(CGImageRef image);
size_t CGImageGetBitsPerPixel(CGImageRef image);
size_t CGImageGetBytesPerRow(CGImageRef image);
size_t CGImageSourceGetCount(CGImageSourceRef isrc);
size_t CGBitmapContextGetBitsPerComponent(CGContextRef context);
size_t CGBitmapContextGetBitsPerPixel(CGContextRef context);
size_t CGBitmapContextGetBytesPerRow(CGContextRef context);
size_t CGBitmapContextGetWidth(CGContextRef context);
size_t CGBitmapContextGetHeight(CGContextRef context);
size_t CGBitmapGetAlignedBytesPerRow(size_t);
size_t CGColorGetNumberOfComponents(CGColorRef color);
size_t CGColorSpaceGetNumberOfComponents(CGColorSpaceRef space);
bool CGFontGetGlyphBBoxes(CGFontRef font, const CGGlyph *glyphs, size_t count, CGRect *bboxes);
bool CGFontGetGlyphAdvances(CGFontRef font, const CGGlyph *glyphs, size_t count, int *advances);
bool CGFontGetGlyphAdvancesForStyle(CGFontRef font, const CGAffineTransform *transform, CGFontRenderingStyle style, const CGGlyph *glyphs, size_t count, CGSize *advances);
bool CGRectEqualToRect(CGRect rect1, CGRect rect2);
bool CGRectIsNull(CGRect rect);
bool CGRectIsEmpty(CGRect rect);
bool CGRectIsInfinite(CGRect rect);
bool CGRectContainsPoint(CGRect rect, CGPoint point);
bool CGRectContainsRect(CGRect rect1, CGRect rect2);
bool CGRectIntersectsRect(CGRect rect1, CGRect rect2);
bool CGRectMakeWithDictionaryRepresentation(CFDictionaryRef dict, CGRect *rect);
bool CGSizeMakeWithDictionaryRepresentation(CFDictionaryRef dict, CGSize *size);
bool CGSizeEqualToSize(CGSize size1, CGSize size2);
bool CGAffineTransformIsIdentity(CGAffineTransform t);
bool CGAffineTransformIsRectilinear(CGAffineTransform t);
bool CGAffineTransformEqualToTransform(CGAffineTransform t1, CGAffineTransform t2);
bool CGContextIsPathEmpty(CGContextRef context);
bool CGContextDrawsWithCorrectShadowOffsets(CGContextRef);
bool CGContextGetAllowsFontSubpixelPositioning(CGContextRef);
bool CGImageGetShouldInterpolate(CGImageRef image);
bool CGImageDestinationCopyImageSource(CGImageDestinationRef idst, CGImageSourceRef isrc, CFDictionaryRef options, CFErrorRef *err);
bool CGImageDestinationFinalize(CGImageDestinationRef idst);
bool CGImageHasAlpha(CGImageRef image);
bool CGImageIsMask(CGImageRef image);
bool CGImageMetadataRegisterNamespaceForPrefix(CGMutableImageMetadataRef metadata, CFStringRef xmlns, CFStringRef prefix, CFErrorRef *err);
bool CGImageMetadataSetTagWithPath(CGMutableImageMetadataRef metadata, CGImageMetadataTagRef parent, CFStringRef path, CGImageMetadataTagRef tag);
bool CGImageMetadataSetValueWithPath(CGMutableImageMetadataRef metadata, CGImageMetadataTagRef parent, CFStringRef path, CFTypeRef value);
bool CGPathEqualToPath(CGPathRef path1, CGPathRef path2);
bool CGPathIsEmpty(CGPathRef path);
bool CGPathIsRect(CGPathRef path, CGRect *rect);
bool CGPathContainsPoint(CGPathRef path, const CGAffineTransform *m, CGPoint point, bool eoFill);
bool CGPointMakeWithDictionaryRepresentation(CFDictionaryRef dict, CGPoint *point);
bool CGColorEqualToColor(CGColorRef color1, CGColorRef color2);
bool CGColorSpaceIsUncalibrated(CGColorSpaceRef space);
bool CGColorSpaceIsWideGamutRGB(CGColorSpaceRef space);
bool CGColorSpaceSupportsOutput(CGColorSpaceRef space);
bool CGColorSpaceUsesExtendedRange(CGColorSpaceRef space);
bool CGColorSpaceEqualToColorSpace(CGColorSpaceRef space1, CGColorSpaceRef space2);
bool CGColorSpaceEqualToColorSpaceIgnoringRange(CGColorSpaceRef space1, CGColorSpaceRef space2);
bool CGFloatIsValid(CGFloat value);
bool CGCFDictionaryGetBoolean(CFDictionaryRef theDict, const void *key, bool *result);
bool CGCFDictionaryGetBooleanWithDefault(CFDictionaryRef theDict, const void *key, bool defaultValue);
bool CGCFDictionaryGetFloat(CFMutableDictionaryRef theDict, const void *key, double *value);
bool CGCFDictionaryGetNumber(CFMutableDictionaryRef theDict, const void *key, CFNumberType type, void *valuePtr);
bool CGCFDictionaryGetInteger(CFMutableDictionaryRef theDict, const void *key, int *valuePtr);
bool CGCFDictionaryGetCFTypeRef(CFDictionaryRef theDict, const void *key, CFTypeID typeID, CFTypeRef *valuePtr);
double CGCFDictionaryGetFloatWithDefault(CFMutableDictionaryRef theDict, const void *key, double defaultValue);
int CGCFDictionaryGetIntegerWithDefault(CFMutableDictionaryRef theDict, const void *key, int defaultValue);
int CGFontGetAscent(CGFontRef font);
int CGFontGetDescent(CGFontRef font);
int CGFontGetLeading(CGFontRef font);
int CGFontGetCapHeight(CGFontRef font);
int CGFontGetXHeight(CGFontRef font);
int CGFontGetUnitsPerEm(CGFontRef font);
int CGSNextPoint(const CGSRegionEnumeratorObj enumerator, CGPoint *point);
int32_t CGImageGetIdentifier(CGImageRef image);
void CGContextDestroy(CFTypeRef c);
void CGContextSaveGState(CGContextRef c);
void CGContextRestoreGState(CGContextRef c);
void CGContextScaleCTM(CGContextRef c, CGFloat sx, CGFloat sy);
void CGContextTranslateCTM(CGContextRef c, CGFloat tx, CGFloat ty);
void CGContextRotateCTM(CGContextRef c, CGFloat angle);
void CGContextConcatCTM(CGContextRef c, CGAffineTransform transform);
void CGContextSetLineCap(CGContextRef c, CGLineCap cap);
void CGContextSetLineJoin(CGContextRef c, CGLineJoin join);
void CGContextSetLineDash(CGContextRef c, CGFloat phase, const CGFloat *lengths, size_t count);
void CGContextSetLineWidth(CGContextRef c, CGFloat width);
void CGContextSetAlpha(CGContextRef c, CGFloat alpha);
void CGContextSetGrayFillColor(CGContextRef c, CGFloat gray, CGFloat alpha);
void CGContextSetGrayStrokeColor(CGContextRef c, CGFloat gray, CGFloat alpha);
void CGContextSetRGBFillColor(CGContextRef c, CGFloat red, CGFloat green, CGFloat blue, CGFloat alpha);
void CGContextSetCMYKFillColor(CGContextRef c, CGFloat cyan, CGFloat magenta, CGFloat yellow, CGFloat black, CGFloat alpha);
void CGContextSetFillColor(CGContextRef context, const CGFloat components[]);
void CGContextSetFillColorWithColor(CGContextRef c, CGColorRef color);
void CGContextSetFillColorSpace(CGContextRef c, CGColorSpaceRef space);
void CGContextSetFillPattern(CGContextRef c, CGPatternRef pattern, const CGFloat *components);
void CGContextSetRGBStrokeColor(CGContextRef c, CGFloat red, CGFloat green, CGFloat blue, CGFloat alpha);
void CGContextSetStrokeColor(CGContextRef context, const CGFloat components[]);
void CGContextSetStrokeColorWithColor(CGContextRef c, CGColorRef color);
void CGContextSetStrokeColorSpace(CGContextRef c, CGColorSpaceRef space);
void CGContextSetInterpolationQuality(CGContextRef c, CGInterpolationQuality quality);
void CGContextSetShadowWithColor(CGContextRef c, CGSize offset, CGFloat blur, CGColorRef color);
void CGContextSetTextDrawingMode(CGContextRef c, CGTextDrawingMode mode);
void CGContextSetTextPosition(CGContextRef c, CGFloat x, CGFloat y);
void CGContextSetTextMatrix(CGContextRef c, CGAffineTransform t);
void CGContextSetFont(CGContextRef c, CGFontRef font);
void CGContextSetFontSize(CGContextRef c, CGFloat size);
void CGContextSetFontAntialiasingStyle(CGContextRef c, CGFontAntialiasingStyle style);
void CGContextSetShouldSmoothFonts(CGContextRef c, bool shouldSmoothFonts);
void CGContextSetShouldAntialias(CGContextRef c, bool shouldAntialias);
void CGContextSetShouldSubpixelPositionFonts(CGContextRef c, bool shouldSubpixelPositionFonts);
void CGContextSetShouldSubpixelQuantizeFonts(CGContextRef c, bool shouldSubpixelQuantizeFonts);
void CGContextSetAllowsAntialiasing(CGContextRef c, bool allowsAntialiasing);
void CGContextSetAllowsFontSubpixelPositioning(CGContextRef c, bool allowsFontSubpixelPositioning);
void CGContextSetAllowsFontSubpixelQuantization(CGContextRef c, bool allowsFontSubpixelQuantization);
void CGContextSetRenderingIntent(CGContextRef c, CGColorRenderingIntent intent);
void CGContextSetCompositeOperation(CGContextRef c, CGCompositeOperation operation);
void CGContextSetCTM(CGContextRef, CGAffineTransform);
void CGContextSetBaseCTM(CGContextRef, CGAffineTransform);
void CGContextResetCTM(CGContextRef c);
void CGContextSetBlendMode(CGContextRef c, CGBlendMode mode);
void CGContextSetFlatness(CGContextRef c, CGFloat flatness);
void CGContextSetMiterLimit(CGContextRef c, CGFloat limit);
void CGContextSetPatternPhase(CGContextRef c, CGSize phase);
void CGContextBeginPath(CGContextRef c);
void CGContextAddPath(CGContextRef c, CGPathRef path);
void CGContextFillPath(CGContextRef c);
void CGContextEOFillPath(CGContextRef c);
void CGContextStrokePath(CGContextRef c);
void CGContextClosePath(CGContextRef c);
void CGContextMoveToPoint(CGContextRef c, CGFloat x, CGFloat y);
void CGContextAddLineToPoint(CGContextRef c, CGFloat x, CGFloat y);
void CGContextAddCurveToPoint(CGContextRef c, CGFloat cp1x, CGFloat cp1y, CGFloat cp2x, CGFloat cp2y, CGFloat x, CGFloat y);
void CGContextAddQuadCurveToPoint(CGContextRef c, CGFloat cpx, CGFloat cpy, CGFloat x, CGFloat y);
void CGContextAddRect(CGContextRef c, CGRect rect);
void CGContextAddRects(CGContextRef c, const CGRect rects[], size_t count);
void CGContextAddLines(CGContextRef c, const CGPoint points[], size_t count);
void CGContextAddEllipseInRect(CGContextRef context, CGRect rect);
void CGContextAddArc(CGContextRef c, CGFloat x, CGFloat y, CGFloat radius, CGFloat startAngle, CGFloat endAngle, int clockwise);
void CGContextAddArcToPoint(CGContextRef c, CGFloat x1, CGFloat y1, CGFloat x2, CGFloat y2, CGFloat radius);
void CGContextReplacePathWithStrokedPath(CGContextRef c);
void CGContextDrawImage(CGContextRef c, CGRect rect, CGImageRef image);
void CGContextDrawTiledImage(CGContextRef c, CGRect rect, CGImageRef image);
void CGContextDrawRadialGradient(CGContextRef c, CGGradientRef gradient, CGPoint startCenter, CGFloat startRadius, CGPoint endCenter, CGFloat endRadius, CGGradientDrawingOptions options);
void CGContextDrawLinearGradient(CGContextRef c, CGGradientRef gradient, CGPoint startPoint, CGPoint endPoint, CGGradientDrawingOptions options);
void CGContextDrawPath(CGContextRef c, CGPathDrawingMode mode);
void CGContextDrawShading(CGContextRef c, CGShadingRef shading);
void CGContextFillRect(CGContextRef c, CGRect rect);
void CGContextFillRects(CGContextRef c, const CGRect rects[], size_t count);
void CGContextFillEllipseInRect(CGContextRef context, CGRect rect);
void CGContextStrokeRect(CGContextRef c, CGRect rect);
void CGContextStrokeRectWithWidth(CGContextRef c, CGRect rect, CGFloat width);
void CGContextStrokeEllipseInRect(CGContextRef context, CGRect rect);
void CGContextStrokeLineSegments(CGContextRef c, const CGPoint points[], size_t count);
void CGContextClearRect(CGContextRef c, CGRect rect);
void CGContextClip(CGContextRef c);
void CGContextEOClip(CGContextRef c);
void CGContextClipToMask(CGContextRef c, CGRect rect, CGImageRef mask);
void CGContextClipToRect(CGContextRef c, CGRect rect);
void CGContextClipToRects(CGContextRef c, const CGRect rects[], size_t count);
void CGContextResetState(CGContextRef c);
void CGContextRelease(CGContextRef c);
void CGContextFlush(CGContextRef c);
void CGContextSynchronize(CGContextRef c);
void CGContextEndPage(CGContextRef c);
void CGContextBeginPage(CGContextRef c, const CGRect *mediaBox);
void CGContextBeginTransparencyLayer(CGContextRef c, CFDictionaryRef auxiliaryInfo);
void CGContextBeginTransparencyLayerWithRect(CGContextRef c, CGRect rect, CFDictionaryRef auxInfo);
void CGContextEndTransparencyLayer(CGContextRef c);
void CGContextShowGlyphsAtPositions(CGContextRef c, const CGGlyph *glyphs, const CGPoint *Lpositions, size_t count);
void CGContextShowGlyphsWithAdvances(CGContextRef c, const CGGlyph *glyphs, const CGSize *advances, size_t count);
void CGContextResetClip(CGContextRef c);
void CGContextClear(CGContextRef c);
void CGContextDrawPDFPage(CGContextRef c, CGPDFPageRef page);
void CGContextDrawPDFPageWithAnnotations(CGContextRef c, CGPDFPageRef page, CGPDFAnnotationDrawCallbackType);
void CGContextDrawPathDirect(CGContextRef, CGPathDrawingMode, CGPathRef, const CGRect *boundingBox);
void CGBitmapContextSetData(CGContextRef c, size_t x, size_t y, size_t width, size_t height, void* data, size_t bitsPerComponent, size_t bitsPerPixel, size_t bytesPerRow);
void CGGradientRetain(CGGradientRef gradient);
void CGGradientRelease(CGGradientRef gradient);
void CGImageSourceUpdateData(CGImageSourceRef isrc, CFDataRef data, bool final);
void CGImageSourceUpdateDataProvider(CGImageSourceRef isrc, CGDataProviderRef provider, bool final);
void CGImageSourceRemoveCacheAtIndex(CGImageSourceRef isrc, size_t index);
void CGImageDestinationAddImage(CGImageDestinationRef idst, CGImageRef image, CFDictionaryRef properties);
void CGImageDestinationAddImageFromSource(CGImageDestinationRef idst, CGImageSourceRef isrc, size_t index, CFDictionaryRef properties);
void CGImageDestinationAddImageAndMetadata(CGImageDestinationRef idst, CGImageRef image, CGImageMetadataRef metadata, CFDictionaryRef options);
void CGImageDestinationSetProperties(CGImageDestinationRef idst, CFDictionaryRef properties);
void CGImageSetProperty(CGImageRef image, CFStringRef property, const void *value);
void CGImageSetCachingFlags(CGImageRef image, CGImageCachingFlags flags);
void CGImageRelease(CGImageRef image);
void CGPathAddPath(CGMutablePathRef path1, const CGAffineTransform *m, CGPathRef path2);
void CGPathAddArc(CGMutablePathRef path, const CGAffineTransform *m, CGFloat x, CGFloat y, CGFloat radius, CGFloat startAngle, CGFloat endAngle, bool clockwise);
void CGPathAddRelativeArc(CGMutablePathRef path, const CGAffineTransform *matrix, CGFloat x, CGFloat y, CGFloat radius, CGFloat startAngle, CGFloat delta);
void CGPathAddArcToPoint(CGMutablePathRef path, const CGAffineTransform *m, CGFloat x1, CGFloat y1, CGFloat x2, CGFloat y2, CGFloat radius);
void CGPathAddCurveToPoint(CGMutablePathRef path, const CGAffineTransform *m, CGFloat cp1x, CGFloat cp1y, CGFloat cp2x, CGFloat cp2y, CGFloat x, CGFloat y);
void CGPathAddLines(CGMutablePathRef path, const CGAffineTransform *m, const CGPoint *points, size_t count);
void CGPathAddLineToPoint(CGMutablePathRef path, const CGAffineTransform *m, CGFloat x, CGFloat y);
void CGPathAddQuadCurveToPoint(CGMutablePathRef path, const CGAffineTransform *m, CGFloat cpx, CGFloat cpy, CGFloat x, CGFloat y);
void CGPathAddRect(CGMutablePathRef path, const CGAffineTransform *m, CGRect rect);
void CGPathAddRects(CGMutablePathRef path, const CGAffineTransform *m, const CGRect *rects, size_t count);
void CGPathAddRoundedRect(CGMutablePathRef path, const CGAffineTransform *transform, CGRect rect, CGFloat cornerWidth, CGFloat cornerHeight);
void CGPathAddEllipseInRect(CGMutablePathRef path, const CGAffineTransform *m, CGRect rect);
void CGPathApply(CGPathRef path, void *info, CGPathApplierFunction function);
void CGPathApplyWithBlock(CGPathRef path, CGPathApplyBlock block);
void CGPathMoveToPoint(CGMutablePathRef path, const CGAffineTransform *m, CGFloat x, CGFloat y);
void CGPathCloseSubpath(CGMutablePathRef path);
void CGPathRelease(CGPathRef path);
void CGRectDivide(CGRect rect, CGRect *slice, CGRect *remainder, CGFloat amount, CGRectEdge edge);
void CGColorSpaceRelease(CGColorSpaceRef space);
void CGColorTransformRelease(CGColorTransformRef colorTransform);
void CGColorRelease(CGColorRef color);
void CGPatternRelease(CGPatternRef pattern);
void CGFontGetGlyphsForUnichars(CGFontRef font, const UniChar chars[], CGGlyph glyphs[], size_t length);
void CGFontRelease(CGFontRef font);
void CGPostError(const char *format, ...);
void CGIOSurfaceContextSetDisplayMask(CGContextRef, uint32_t mask);
void CGCFRelease(CFTypeRef cf);
void CGCFDictionaryApplyBlock(CFDictionaryRef theDict, void *context);
void CGCFDictionarySetCString(CFMutableDictionaryRef theDict, const char *cStr);
void CGCFDictionarySetBoolean(CFMutableDictionaryRef theDict, const void *key, bool value);
void CGCFDictionarySetFloat(CFMutableDictionaryRef theDict, const void *key, double value);
void CGCFDictionarySetInteger(CFMutableDictionaryRef theDict, const void *key, int value);
void CGCFDictionarySetLongInteger(CFMutableDictionaryRef theDict, const void *key, long value);
void CGCFDictionarySetNumber(CFMutableDictionaryRef theDict, const void *key, CFNumberType type, const void *valuePtr);
void CGCFDictionarySetCFTypeRef(CFMutableDictionaryRef theDict, const void *key, const void *value);
void *CGBitmapContextGetData(CGContextRef context);
================================================
FILE: CoreGraphics/Types.h
================================================
#ifndef COREGRAPHICS_H_
#define COREGRAPHICS_H_
#import "../BaseTypes.h"
#import "../CoreFoundation/Types.h"
#ifdef __EA64__
typedef double CGFloat;
#else
typedef float CGFloat;
#endif
typedef struct CGPoint {
CGFloat x;
CGFloat y;
} CGPoint;
typedef struct CGSize {
CGFloat width;
CGFloat height;
} CGSize;
typedef struct CGRect {
CGPoint origin;
CGSize size;
} CGRect;
typedef struct CGVector {
CGFloat dx;
CGFloat dy;
} CGVector;
typedef struct CGAffineTransform {
CGFloat a;
CGFloat b;
CGFloat c;
CGFloat d;
CGFloat tx;
CGFloat ty;
} CGAffineTransform;
typedef struct CGContext *CGContextRef;
typedef struct CGImage *CGImageRef;
typedef struct CGColorSpace *CGColorSpaceRef;
typedef struct CGColor *CGColorRef;
typedef struct CGGradient *CGGradientRef;
typedef struct CGDataProvider *CGDataProviderRef;
typedef const struct CGPath *CGPathRef;
typedef struct CGPath *CGMutablePathRef;
typedef struct CGPattern *CGPatternRef;
typedef struct CGFont *CGFontRef;
typedef const struct CGColorTransform *CGColorTransformRef;
typedef struct CGImageDestination *CGImageDestinationRef;
typedef struct CGImageSource *CGImageSourceRef;
typedef struct CGImageMetadata *CGImageMetadataRef;
typedef struct CGImageMetadata *CGMutableImageMetadataRef;
typedef struct CGImageMetadataTag *CGImageMetadataTagRef;
typedef struct CGShading *CGShadingRef;
typedef struct CGPDFAnnotation *CGPDFAnnotationRef;
typedef struct CGPDFPage *CGPDFPageRef;
typedef struct CGPDFDocument *CGPDFDocumentRef;
typedef struct CGImageProvider *CGImageProviderRef;
typedef struct CGSRegionEnumeratorObject *CGSRegionEnumeratorObj;
typedef struct CGSRegionObject *CGSRegionObj;
typedef struct CGSRegionObject *CGRegionRef;
typedef uint32_t CGRectEdge;
typedef uint32_t CGSByteCount;
typedef uint32_t CGSConnectionID;
typedef uint32_t CGSWindowCount;
typedef uint32_t CGSWindowID;
typedef unsigned short CGFontIndex;
typedef CGFontIndex CGGlyph;
typedef CFTypeRef CGSRegionRef;
typedef CFTypeRef CGSRegionEnumeratorRef;
PS_ENUM(uint32_t, CGImageCachingFlags) {
kCGImageCachingTransient = 1,
kCGImageCachingTemporary = 3,
};
PS_ENUM(int32_t, CGError) {
kCGErrorSuccess = 0,
kCGErrorFailure = 1000,
kCGErrorIllegalArgument = 1001,
kCGErrorInvalidConnection = 1002,
kCGErrorInvalidContext = 1003,
kCGErrorCannotComplete = 1004,
kCGErrorNotImplemented = 1006,
kCGErrorRangeCheck = 1007,
kCGErrorTypeCheck = 1008,
kCGErrorInvalidOperation = 1010,
kCGErrorNoneAvailable = 1011
};
typedef enum CGCompositeOperation {
kCGCompositeCopy = 1,
kCGCompositeSover = 2,
} CGCompositeOperation;
PS_ENUM(int32_t, CGImageMetadataType) {
kCGImageMetadataTypeInvalid = -1,
kCGImageMetadataTypeDefault = 0,
kCGImageMetadataTypeString = 1,
kCGImageMetadataTypeArrayUnordered = 2,
kCGImageMetadataTypeArrayOrdered = 3,
kCGImageMetadataTypeAlternateArray = 4,
kCGImageMetadataTypeAlternateText = 5,
kCGImageMetadataTypeStructure = 6
};
PS_ENUM(int32_t, CGBlendMode) {
kCGBlendModeNormal,
kCGBlendModeMultiply,
kCGBlendModeScreen,
kCGBlendModeOverlay,
kCGBlendModeDarken,
kCGBlendModeLighten,
kCGBlendModeColorDodge,
kCGBlendModeColorBurn,
kCGBlendModeSoftLight,
kCGBlendModeHardLight,
kCGBlendModeDifference,
kCGBlendModeExclusion,
kCGBlendModeHue,
kCGBlendModeSaturation,
kCGBlendModeColor,
kCGBlendModeLuminosity,
kCGBlendModeClear,
kCGBlendModeCopy,
kCGBlendModeSourceIn,
kCGBlendModeSourceOut,
kCGBlendModeSourceAtop,
kCGBlendModeDestinationOver,
kCGBlendModeDestinationIn,
kCGBlendModeDestinationOut,
kCGBlendModeDestinationAtop,
kCGBlendModeXOR,
kCGBlendModePlusDarker,
kCGBlendModePlusLighter
};
PS_ENUM(int32_t, CGInterpolationQuality) {
kCGInterpolationDefault = 0,
kCGInterpolationNone = 1,
kCGInterpolationLow = 2,
kCGInterpolationMedium = 4,
kCGInterpolationHigh = 3
};
PS_ENUM(int32_t, CGPathDrawingMode) {
kCGPathFill,
kCGPathEOFill,
kCGPathStroke,
kCGPathFillStroke,
kCGPathEOFillStroke
};
PS_ENUM(int32_t, CGTextDrawingMode) {
kCGTextFill,
kCGTextStroke,
kCGTextFillStroke,
kCGTextInvisible,
kCGTextFillClip,
kCGTextStrokeClip,
kCGTextFillStrokeClip,
kCGTextClip
};
PS_ENUM(int32_t, CGPatternTiling) {
kCGPatternTilingNoDistortion,
kCGPatternTilingConstantSpacingMinimalDistortion,
kCGPatternTilingConstantSpacing
};
PS_ENUM(uint32_t, CGImageAlphaInfo) {
kCGImageAlphaNone,
kCGImageAlphaPremultipliedLast,
kCGImageAlphaPremultipliedFirst,
kCGImageAlphaLast,
kCGImageAlphaFirst,
kCGImageAlphaNoneSkipLast,
kCGImageAlphaNoneSkipFirst,
kCGImageAlphaOnly
};
PS_ENUM(uint32_t, CGGradientDrawingOptions) {
kCGGradientDrawsBeforeStartLocation = (1 << 0),
kCGGradientDrawsAfterEndLocation = (1 << 1)
};
PS_ENUM(int32_t, CGColorRenderingIntent) {
kCGRenderingIntentDefault,
kCGRenderingIntentAbsoluteColorimetric,
kCGRenderingIntentRelativeColorimetric,
kCGRenderingIntentPerceptual,
kCGRenderingIntentSaturation
};
PS_ENUM(int32_t, CGColorSpaceModel) {
kCGColorSpaceModelUnknown = -1,
kCGColorSpaceModelMonochrome,
kCGColorSpaceModelRGB,
kCGColorSpaceModelCMYK,
kCGColorSpaceModelLab,
kCGColorSpaceModelDeviceN,
kCGColorSpaceModelIndexed,
kCGColorSpaceModelPattern,
kCGColorSpaceModelXYZ
};
PS_ENUM(int32_t, CGLineCap) { kCGLineCapButt, kCGLineCapRound, kCGLineCapSquare };
PS_ENUM(int32_t, CGLineJoin) { kCGLineJoinMiter, kCGLineJoinRound, kCGLineJoinBevel };
PS_ENUM(int32_t, CGPathElementType) {
kCGPathElementMoveToPoint,
kCGPathElementAddLineToPoint,
kCGPathElementAddQuadCurveToPoint,
kCGPathElementAddCurveToPoint,
kCGPathElementCloseSubpath
};
PS_ENUM(uint32_t, CGImageByteOrderInfo) {
kCGImageByteOrderMask = 0x7000,
kCGImageByteOrderDefault = (0 << 12),
kCGImageByteOrder16Little = (1 << 12),
kCGImageByteOrder32Little = (2 << 12),
kCGImageByteOrder16Big = (3 << 12),
kCGImageByteOrder32Big = (4 << 12)
};
PS_ENUM(uint32_t, CGImagePixelFormatInfo) {
kCGImagePixelFormatMask = 0xF0000,
kCGImagePixelFormatPacked = (0 << 16),
kCGImagePixelFormatRGB555 = (1 << 16),
kCGImagePixelFormatRGB565 = (2 << 16),
kCGImagePixelFormatRGB101010 = (3 << 16),
kCGImagePixelFormatRGBCIF10 = (4 << 16),
};
PS_ENUM(uint32_t, CGBitmapInfo) {
kCGBitmapAlphaInfoMask = 0x1F,
kCGBitmapFloatInfoMask = 0xF00,
kCGBitmapFloatComponents = (1 << 8),
kCGBitmapByteOrderMask = kCGImageByteOrderMask,
kCGBitmapByteOrderDefault = kCGImageByteOrderDefault,
kCGBitmapByteOrder16Little = kCGImageByteOrder16Little,
kCGBitmapByteOrder32Little = kCGImageByteOrder32Little,
kCGBitmapByteOrder16Big = kCGImageByteOrder16Big,
kCGBitmapByteOrder32Big = kCGImageByteOrder32Big
};
PS_ENUM(uint32_t, CGFontAntialiasingStyle) {
kCGFontAntialiasingStyleUnfiltered = 0 << 7,
kCGFontAntialiasingStyleFilterLight = 1 << 7,
kCGFontAntialiasingStyleUnfilteredCustomDilation = (8 << 7),
};
typedef enum CGContextType {
kCGContextTypeUnknown,
kCGContextTypePDF,
kCGContextTypePostScript,
kCGContextTypeWindow,
kCGContextTypeBitmap,
kCGContextTypeGL,
kCGContextTypeDisplayList,
kCGContextTypeKSeparation,
kCGContextTypeIOSurface,
kCGContextTypeCount
} CGContextType;
PS_ENUM(uint32_t, CGFontRenderingStyle) {
kCGFontRenderingStyleAntialiasing = 1 << 0,
kCGFontRenderingStyleSmoothing = 1 << 1,
kCGFontRenderingStyleSubpixelPositioning = 1 << 2,
kCGFontRenderingStyleSubpixelQuantization = 1 << 3,
kCGFontRenderingStylePlatformNative = 1 << 9,
kCGFontRenderingStyleMask = 0x20F,
};
typedef struct CGPathElement {
CGPathElementType type;
CGPoint *points;
} CGPathElement;
typedef void (*CGPathApplyBlock)(const CGPathElement *element);
typedef void (*CGPathApplierFunction)(void *info, const CGPathElement *element);
typedef void (*CGPatternDrawPatternCallback)(void *info, CGContextRef context);
typedef void (*CGPatternReleaseInfoCallback)(void *info);
typedef bool (*CGPDFAnnotationDrawCallbackType)(CGContextRef context, CGPDFPageRef page, CGPDFAnnotationRef annotation);
typedef struct CGPatternCallbacks {
unsigned int version;
CGPatternDrawPatternCallback drawPattern;
CGPatternReleaseInfoCallback releaseInfo;
} CGPatternCallbacks;
extern const CGAffineTransform CGAffineTransformIdentity;
extern const CGRect CGRectZero;
extern const CGRect CGRectNull;
extern const CGSize CGSizeZero;
extern const CGPoint CGPointZero;
#endif
================================================
FILE: CoreMedia/CoreMedia.h
================================================
#import "../BaseTypes.h"
#import "../Kernel/Types.h"
#import "../AudioToolbox/Types.h"
#import "../CoreGraphics/Types.h"
#import "../CoreFoundation/Types.h"
#import "../CoreVideo/Types.h"
#import "Types.h"
Boolean CMAudioFormatDescriptionEqual(CMAudioFormatDescriptionRef formatDescription, CMAudioFormatDescriptionRef otherFormatDescription, CMAudioFormatDescriptionMask equalityMask, CMAudioFormatDescriptionMask *equalityMaskOut);
Boolean CMDoesBigEndianSoundDescriptionRequireLegacyCBRSampleTableLayout(CMBlockBufferRef soundDescriptionBlockBuffer, CMSoundDescriptionFlavor flavor);
Boolean CMFormatDescriptionEqual(CMFormatDescriptionRef formatDescription, CMFormatDescriptionRef otherFormatDescription);
Boolean CMFormatDescriptionEqualIgnoringExtensionKeys(CMFormatDescriptionRef formatDescription, CMFormatDescriptionRef otherFormatDescription, CFTypeRef formatDescriptionExtensionKeysToIgnore, CFTypeRef sampleDescriptionExtensionAtomKeysToIgnore);
Boolean CMSampleBufferDataIsReady(CMSampleBufferRef sbuf);
Boolean CMSampleBufferHasDataFailed(CMSampleBufferRef sbuf, OSStatus *statusOut);
Boolean CMSampleBufferIsValid(CMSampleBufferRef sbuf);
Boolean CMTimeRangeContainsTime(CMTimeRange range, CMTime time);
Boolean CMTimeRangeContainsTimeRange(CMTimeRange range, CMTimeRange otherRange);
Boolean CMTimeRangeEqual(CMTimeRange range1, CMTimeRange range2);
Boolean CMVideoFormatDescriptionGetVideoDynamicRange(CMVideoFormatDescriptionRef desc);
Boolean CMVideoFormatDescriptionMatchesImageBuffer(CMVideoFormatDescriptionRef desc, CVImageBufferRef imageBuffer);
CFArrayRef CMSampleBufferGetSampleAttachmentsArray(CMSampleBufferRef sbuf, Boolean createIfNecessary);
CFArrayRef CMVideoFormatDescriptionGetExtensionKeysCommonWithImageBuffers(void);
CFDictionaryRef CMCopyDictionaryOfAttachments(CFAllocatorRef allocator, CMAttachmentBearerRef target, CMAttachmentMode attachmentMode);
CFDictionaryRef CMFormatDescriptionGetExtensions(CMFormatDescriptionRef desc);
CFDictionaryRef CMTimeCopyAsDictionary(CMTime time, CFAllocatorRef allocator);
CMNotificationCenterRef CMNotificationCenterCreate(void);
CFPropertyListRef CMFormatDescriptionGetExtension(CMFormatDescriptionRef desc, CFStringRef extensionKey);
CFStringRef CMTimeCopyDescription(CFAllocatorRef allocator, CMTime time);
CFTypeID CMFormatDescriptionGetTypeID(void);
CFTypeID FigEndpointManagerGetTypeID(void);
CFTypeRef CMGetAttachment(CMAttachmentBearerRef target, CFStringRef key, CMAttachmentMode *attachmentModeOut);
CGRect CMVideoFormatDescriptionGetCleanAperture(CMVideoFormatDescriptionRef videoDesc, Boolean originIsAtTopLeft);
CGSize CMVideoFormatDescriptionGetPresentationDimensions(CMVideoFormatDescriptionRef videoDesc, Boolean usePixelAspectRatio, Boolean useCleanAperture);
CMBlockBufferRef CMSampleBufferGetDataBuffer(CMSampleBufferRef sbuf);
CMClockRef CMClockGetHostTimeClock(void);
CMFormatDescriptionRef CMSampleBufferGetFormatDescription(CMSampleBufferRef sbuf);
CMItemCount CMSampleBufferGetNumSamples(CMSampleBufferRef sbuf);
CMMediaType CMFormatDescriptionGetMediaType(CMFormatDescriptionRef desc);
CMNotificationCenterRef CMNotificationCenterGetDefaultLocalCenter(void);
CMTime CMClockGetTime(CMClockRef clock);
CMTime CMClockMakeHostTimeFromSystemUnits(uint64_t hostTime);
CMTime CMSampleBufferGetDecodeTimeStamp(CMSampleBufferRef sbuf);
CMTime CMSampleBufferGetDuration(CMSampleBufferRef sbuf);
CMTime CMSampleBufferGetOutputDecodeTimeStamp(CMSampleBufferRef sbuf);
CMTime CMSampleBufferGetOutputDuration(CMSampleBufferRef sbuf);
CMTime CMSampleBufferGetOutputPresentationTimeStamp(CMSampleBufferRef sbuf);
CMTime CMSampleBufferGetPresentationTimeStamp(CMSampleBufferRef sbuf);
CMTime CMTimeAbsoluteValue(CMTime time);
CMTime CMTimeAdd(CMTime lhs, CMTime rhs);
CMTime CMTimeClampToRange(CMTime time, CMTimeRange range);
CMTime CMTimeConvertScale(CMTime time, int32_t newTimescale, CMTimeRoundingMethod method);
CMTime CMTimeMake(int64_t value, int32_t timescale);
CMTime CMTimeMakeFromDictionary(CFDictionaryRef dictionaryRepresentation);
CMTime CMTimeMakeWithEpoch(int64_t value, int32_t timescale, int64_t epoch);
CMTime CMTimeMakeWithSeconds(Float64 seconds, int32_t preferredTimescale);
CMTime CMTimeMaximum(CMTime time1, CMTime time2);
CMTime CMTimeMinimum(CMTime time1, CMTime time2);
CMTime CMTimeMultiply(CMTime time, int32_t multiplier);
CMTime CMTimeMultiplyByFloat64(CMTime time, Float64 multiplier);
CMTime CMTimeMultiplyByRatio(CMTime time, int32_t multiplier, int32_t divisor);
CMTime CMTimeRangeGetEnd(CMTimeRange range);
CMTime CMTimeSubtract(CMTime lhs, CMTime rhs);
CMTimeRange CMTimeRangeFromTimeToTime(CMTime start, CMTime end);
CMTimeRange CMTimeRangeGetIntersection(CMTimeRange range, CMTimeRange otherRange);
CMTimeRange CMTimeRangeGetUnion(CMTimeRange range, CMTimeRange otherRange);
CMTimeRange CMTimeRangeMake(CMTime start, CMTime duration);
CMTimeRange CMTimeRangeMakeFromDictionary(CFDictionaryRef dictionaryRepresentation);
CMVideoDimensions CMVideoFormatDescriptionGetDimensions(CMVideoFormatDescriptionRef videoDesc);
const AudioChannelLayout *CMAudioFormatDescriptionGetChannelLayout(CMAudioFormatDescriptionRef desc, size_t *sizeOut);
const AudioFormatListItem *CMAudioFormatDescriptionGetFormatList(CMAudioFormatDescriptionRef desc, size_t *sizeOut);
const AudioFormatListItem *CMAudioFormatDescriptionGetMostCompatibleFormat(CMAudioFormatDescriptionRef desc);
const AudioFormatListItem *CMAudioFormatDescriptionGetRichestDecodableFormat(CMAudioFormatDescriptionRef desc);
const AudioStreamBasicDescription *CMAudioFormatDescriptionGetStreamBasicDescription(CMAudioFormatDescriptionRef desc);
const void *CMAudioFormatDescriptionGetMagicCookie(CMAudioFormatDescriptionRef desc, size_t *sizeOut);
CVImageBufferRef CMSampleBufferGetImageBuffer(CMSampleBufferRef sbuf);
Float64 CMTimeGetSeconds(CMTime time);
FourCharCode CMFormatDescriptionGetMediaSubType(CMFormatDescriptionRef desc);
int32_t CMTimeCompare(CMTime time1, CMTime time2);
OSStatus CMAudioFormatDescriptionCopyAsBigEndianSoundDescriptionBlockBuffer(CFAllocatorRef allocator, CMAudioFormatDescriptionRef audioFormatDescription, CMSoundDescriptionFlavor flavor, CMBlockBufferRef *blockBufferOut);
OSStatus CMAudioFormatDescriptionCreate(CFAllocatorRef allocator, const AudioStreamBasicDescription *asbd, size_t layoutSize, const AudioChannelLayout *layout, size_t magicCookieSize, const void *magicCookie, CFDictionaryRef extensions, CMAudioFormatDescriptionRef *formatDescriptionOut);
OSStatus CMAudioFormatDescriptionCreateFromBigEndianSoundDescriptionBlockBuffer(CFAllocatorRef allocator, CMBlockBufferRef soundDescriptionBlockBuffer, CMSoundDescriptionFlavor flavor, CMAudioFormatDescriptionRef *formatDescriptionOut);
OSStatus CMAudioFormatDescriptionCreateFromBigEndianSoundDescriptionData(CFAllocatorRef allocator, const uint8_t *soundDescriptionData, size_t size, CMSoundDescriptionFlavor flavor, CMAudioFormatDescriptionRef *formatDescriptionOut);
OSStatus CMAudioFormatDescriptionCreateSummary(CFAllocatorRef allocator, CFArrayRef formatDescriptionArray, uint32_t flags, CMAudioFormatDescriptionRef *formatDescriptionOut);
OSStatus CMAudioSampleBufferCreateReadyWithPacketDescriptions(CFAllocatorRef allocator, CMBlockBufferRef dataBuffer, CMFormatDescriptionRef formatDescription, CMItemCount numSamples, CMTime presentationTimeStamp, const AudioStreamPacketDescription *packetDescriptions, CMSampleBufferRef *sampleBufferOut);
OSStatus CMAudioSampleBufferCreateWithPacketDescriptions(CFAllocatorRef allocator, CMBlockBufferRef dataBuffer, Boolean dataReady, CMSampleBufferMakeDataReadyCallback makeDataReadyCallback, void *makeDataReadyRefcon, CMFormatDescriptionRef formatDescription, CMItemCount numSamples, CMTime presentationTimeStamp, const AudioStreamPacketDescription *packetDescriptions, CMSampleBufferRef *sampleBufferOut);
OSStatus CMClockGetAnchorTime(CMClockRef clock, CMTime *clockTimeOut, CMTime *referenceClockTimeOut);
OSStatus CMFormatDescriptionCreate(CFAllocatorRef allocator, CMMediaType mediaType, FourCharCode mediaSubType, CFDictionaryRef extensions, CMFormatDescriptionRef *formatDescriptionOut);
OSStatus CMNotificationCenterAddListener(CMNotificationCenterRef inCenter, const void *inListener, CMNotificationCallback inCallBack, CFStringRef inNotificationName, const void *inObjectToObserve, UInt32 inFlags);
OSStatus CMNotificationCenterRemoveListener(CMNotificationCenterRef inCenter, const void *inListener, CMNotificationCallback inCallBack, CFStringRef inNotificationName, const void *inObject);
OSStatus CMSampleBufferCallBlockForEachSample(CMSampleBufferRef sbuf, OSStatus (*handler)(CMSampleBufferRef sampleBuffer, CMItemCount index));
OSStatus CMSampleBufferCallForEachSample(CMSampleBufferRef sbuf, OSStatus (*callback)(CMSampleBufferRef sampleBuffer, CMItemCount index, void *refcon), void *refcon);
OSStatus CMSampleBufferCopyPCMDataIntoAudioBufferList(CMSampleBufferRef sbuf, int32_t frameOffset, int32_t numFrames, AudioBufferList *bufferList);
OSStatus CMSampleBufferCopySampleBufferForRange(CFAllocatorRef allocator, CMSampleBufferRef sbuf, CFRange sampleRange, CMSampleBufferRef *sampleBufferOut);
OSStatus CMSampleBufferCreate(CFAllocatorRef allocator, CMBlockBufferRef dataBuffer, Boolean dataReady, CMSampleBufferMakeDataReadyCallback makeDataReadyCallback, void *makeDataReadyRefcon, CMFormatDescriptionRef formatDescription, CMItemCount numSamples, CMItemCount numSampleTimingEntries, const CMSampleTimingInfo *sampleTimingArray, CMItemCount numSampleSizeEntries, const size_t *sampleSizeArray, CMSampleBufferRef *sampleBufferOut);
OSStatus CMSampleBufferCreateCopy(CFAllocatorRef allocator, CMSampleBufferRef sbuf, CMSampleBufferRef *sampleBufferOut);
OSStatus CMSampleBufferCreateCopyWithNewTiming(CFAllocatorRef allocator, CMSampleBufferRef originalSBuf, CMItemCount numSampleTimingEntries, const CMSampleTimingInfo *sampleTimingArray, CMSampleBufferRef *sampleBufferOut);
OSStatus CMSampleBufferCreateForImageBuffer(CFAllocatorRef allocator, CVImageBufferRef imageBuffer, Boolean dataReady, CMSampleBufferMakeDataReadyCallback makeDataReadyCallback, void *makeDataReadyRefcon, CMVideoFormatDescriptionRef formatDescription, const CMSampleTimingInfo *sampleTiming, CMSampleBufferRef *sampleBufferOut);
OSStatus CMSampleBufferCreateReady(CFAllocatorRef allocator, CMBlockBufferRef dataBuffer, CMFormatDescriptionRef formatDescription, CMItemCount numSamples, CMItemCount numSampleTimingEntries, const CMSampleTimingInfo *sampleTimingArray, CMItemCount numSampleSizeEntries, const size_t *sampleSizeArray, CMSampleBufferRef *sampleBufferOut);
OSStatus CMSampleBufferCreateReadyWithImageBuffer(CFAllocatorRef allocator, CVImageBufferRef imageBuffer, CMVideoFormatDescriptionRef formatDescription, const CMSampleTimingInfo *sampleTiming, CMSampleBufferRef *sampleBufferOut);
OSStatus CMSampleBufferGetAudioBufferListWithRetainedBlockBuffer(CMSampleBufferRef sbuf, size_t *bufferListSizeNeededOut, AudioBufferList *bufferListOut, size_t bufferListSize, CFAllocatorRef blockBufferStructureAllocator, CFAllocatorRef blockBufferBlockAllocator, uint32_t flags, CMBlockBufferRef *blockBufferOut);
OSStatus CMSampleBufferGetAudioStreamPacketDescriptions(CMSampleBufferRef sbuf, size_t packetDescriptionsSize, AudioStreamPacketDescription *packetDescriptionsOut, size_t *packetDescriptionsSizeNeededOut);
OSStatus CMSampleBufferGetAudioStreamPacketDescriptionsPtr(CMSampleBufferRef sbuf, const AudioStreamPacketDescription **packetDescriptionsPtrOut, size_t *packetDescriptionsSizeOut);
OSStatus CMSampleBufferGetOutputSampleTimingInfoArray(CMSampleBufferRef sbuf, CMItemCount timingArrayEntries, CMSampleTimingInfo *timingArrayOut, CMItemCount *timingArrayEntriesNeededOut);
OSStatus CMSampleBufferGetSampleSizeArray(CMSampleBufferRef sbuf, CMItemCount sizeArrayEntries, size_t *sizeArrayOut, CMItemCount *sizeArrayEntriesNeededOut);
OSStatus CMSampleBufferGetSampleTimingInfo(CMSampleBufferRef sbuf, CMItemIndex sampleIndex, CMSampleTimingInfo *timingInfoOut);
OSStatus CMSampleBufferGetSampleTimingInfoArray(CMSampleBufferRef sbuf, CMItemCount numSampleTimingEntries, CMSampleTimingInfo *timingArrayOut, CMItemCount *timingArrayEntriesNeededOut);
OSStatus CMSampleBufferInvalidate(CMSampleBufferRef sbuf);
OSStatus CMSampleBufferMakeDataReady(CMSampleBufferRef sbuf);
OSStatus CMSampleBufferSetDataBuffer(CMSampleBufferRef sbuf, CMBlockBufferRef dataBuffer);
OSStatus CMSampleBufferSetDataBufferFromAudioBufferList(CMSampleBufferRef sbuf, CFAllocatorRef blockBufferStructureAllocator, CFAllocatorRef blockBufferBlockAllocator, uint32_t flags, const AudioBufferList *bufferList);
OSStatus CMSampleBufferSetDataFailed(CMSampleBufferRef sbuf, OSStatus status);
OSStatus CMSampleBufferSetDataReady(CMSampleBufferRef sbuf);
OSStatus CMSampleBufferSetInvalidateCallback(CMSampleBufferRef sbuf, CMSampleBufferInvalidateCallback invalidateCallback, uint64_t invalidateRefCon);
OSStatus CMSampleBufferSetInvalidateHandler(CMSampleBufferRef sbuf, CMSampleBufferInvalidateHandler invalidateHandler);
OSStatus CMSampleBufferSetOutputPresentationTimeStamp(CMSampleBufferRef sbuf, CMTime outputPresentationTimeStamp);
OSStatus CMSampleBufferTrackDataReadiness(CMSampleBufferRef sbuf, CMSampleBufferRef sampleBufferToTrack);
OSStatus CMSwapBigEndianSoundDescriptionToHost(uint8_t *soundDescriptionData, size_t soundDescriptionSize);
OSStatus CMSwapHostEndianSoundDescriptionToBig(uint8_t *soundDescriptionData, size_t soundDescriptionSize);
OSStatus CMVideoFormatDescriptionCreate(CFAllocatorRef allocator, CMVideoCodecType codecType, int32_t width, int32_t height, CFDictionaryRef extensions, CMVideoFormatDescriptionRef *formatDescriptionOut);
OSStatus CMVideoFormatDescriptionCreateForImageBuffer(CFAllocatorRef allocator, CVImageBufferRef imageBuffer, CMVideoFormatDescriptionRef *formatDescriptionOut);
OSStatus CMVideoFormatDescriptionCreateFromH264ParameterSets(CFAllocatorRef allocator, size_t parameterSetCount, const uint8_t *const *parameterSetPointers, const size_t *parameterSetSizes, int NALUnitHeaderLength, CMFormatDescriptionRef *formatDescriptionOut);
OSStatus CMVideoFormatDescriptionCreateFromHEVCParameterSets(CFAllocatorRef allocator, size_t parameterSetCount, const uint8_t *const *parameterSetPointers, const size_t *parameterSetSizes, int NALUnitHeaderLength, CFDictionaryRef extensions, CMFormatDescriptionRef *formatDescriptionOut);
OSStatus CMVideoFormatDescriptionGetH264ParameterSetAtIndex(CMFormatDescriptionRef videoDesc, size_t parameterSetIndex, const uint8_t ** parameterSetPointerOut, size_t *parameterSetSizeOut, size_t *parameterSetCountOut, int *NALUnitHeaderLengthOut);
OSStatus CMVideoFormatDescriptionGetHEVCParameterSetAtIndex(CMFormatDescriptionRef videoDesc, size_t parameterSetIndex, const uint8_t **parameterSetPointerOut, size_t *parameterSetSizeOut, size_t *parameterSetCountOut, int *NALUnitHeaderLengthOut);
size_t CMSampleBufferGetSampleSize(CMSampleBufferRef sbuf, CMItemIndex sampleIndex);
size_t CMSampleBufferGetTotalSampleSize(CMSampleBufferRef sbuf);
uint64_t CMClockConvertHostTimeToSystemUnits(CMTime hostTime);
void CMNotificationCenterPostNotification(CFNotificationCenterRef center, CFNotificationName name, const void *object, CFDictionaryRef userInfo);
void CMSetAttachment(CMAttachmentBearerRef target, CFStringRef key, CFTypeRef value, CMAttachmentMode attachmentMode);
void CMTimeShow(CMTime time);
void *CMBaseObjectGetDerivedStorage(CMBaseObjectRef o);
const CMBaseVTable *CMBaseObjectGetVTable(CMBaseObjectRef o);
================================================
FILE: CoreMedia/Types.h
================================================
#ifndef COREMEDIA_H_
#define COREMEDIA_H_
#import "../BaseTypes.h"
#import "../CoreFoundation/Types.h"
#import "../Kernel/Types.h"
typedef int64_t CMTimeValue;
typedef int64_t CMTimeEpoch;
typedef int32_t CMTimeScale;
typedef uint32_t CMBaseClassVersion;
typedef uint32_t CMStructVersion;
typedef double Float64;
typedef long CMItemCount;
typedef long CMItemIndex;
PS_ENUM(uint32_t, CMAttachmentMode) {
kCMAttachmentMode_ShouldNotPropagate = 0,
kCMAttachmentMode_ShouldPropagate = 1
};
PS_ENUM(uint32_t, CMTimeFlags) {
kCMTimeFlags_Valid = 1UL<<0,
kCMTimeFlags_HasBeenRounded = 1UL<<1,
kCMTimeFlags_PositiveInfinity = 1UL<<2,
kCMTimeFlags_NegativeInfinity = 1UL<<3,
kCMTimeFlags_Indefinite = 1UL<<4,
kCMTimeFlags_ImpliedValueFlagsMask = kCMTimeFlags_PositiveInfinity | kCMTimeFlags_NegativeInfinity | kCMTimeFlags_Indefinite
};
PS_ENUM(uint32_t, CMAudioFormatDescriptionMask) {
kCMAudioFormatDescriptionMask_StreamBasicDescription = (1<<0),
kCMAudioFormatDescriptionMask_MagicCookie = (1<<1),
kCMAudioFormatDescriptionMask_ChannelLayout = (1<<2),
kCMAudioFormatDescriptionMask_Extensions = (1<<3),
kCMAudioFormatDescriptionMask_All = kCMAudioFormatDescriptionMask_StreamBasicDescription | kCMAudioFormatDescriptionMask_MagicCookie | kCMAudioFormatDescriptionMask_ChannelLayout | kCMAudioFormatDescriptionMask_Extensions
};
PS_ENUM(uint32_t, CMTimeRoundingMethod) {
kCMTimeRoundingMethod_RoundHalfAwayFromZero = 1,
kCMTimeRoundingMethod_RoundTowardZero = 2,
kCMTimeRoundingMethod_RoundAwayFromZero = 3,
kCMTimeRoundingMethod_QuickTime = 4,
kCMTimeRoundingMethod_RoundTowardPositiveInfinity = 5,
kCMTimeRoundingMethod_RoundTowardNegativeInfinity = 6,
kCMTimeRoundingMethod_Default = kCMTimeRoundingMethod_RoundHalfAwayFromZero
};
PS_ENUM(FourCharCode, CMMediaType) {
kCMMediaType_Video = 'vide',
kCMMediaType_Audio = 'soun',
kCMMediaType_Muxed = 'muxx',
kCMMediaType_Text = 'text',
kCMMediaType_ClosedCaption = 'clcp',
kCMMediaType_Subtitle = 'sbtl',
kCMMediaType_TimeCode = 'tmcd',
kCMMediaType_Metadata = 'meta'
};
PS_ENUM(FourCharCode, CMPixelFormatType) {
kCMPixelFormat_32ARGB = 32,
kCMPixelFormat_32BGRA = 'BGRA',
kCMPixelFormat_24RGB = 24,
kCMPixelFormat_16BE555 = 16,
kCMPixelFormat_16BE565 = 'B565',
kCMPixelFormat_16LE555 = 'L555',
kCMPixelFormat_16LE565 = 'L565',
kCMPixelFormat_16LE5551 = '5551',
kCMPixelFormat_422YpCbCr8 = '2vuy',
kCMPixelFormat_422YpCbCr8_yuvs = 'yuvs',
kCMPixelFormat_444YpCbCr8 = 'v308',
kCMPixelFormat_4444YpCbCrA8 = 'v408',
kCMPixelFormat_422YpCbCr16 = 'v216',
kCMPixelFormat_422YpCbCr10 = 'v210',
kCMPixelFormat_444YpCbCr10 = 'v410',
kCMPixelFormat_8IndexedGray_WhiteIsZero = 0x00000028
};
PS_ENUM(FourCharCode, CMVideoCodecType) {
kCMVideoCodecType_422YpCbCr8 = kCMPixelFormat_422YpCbCr8,
kCMVideoCodecType_Animation = 'rle ',
kCMVideoCodecType_Cinepak = 'cvid',
kCMVideoCodecType_JPEG = 'jpeg',
kCMVideoCodecType_JPEG_OpenDML = 'dmb1',
kCMVideoCodecType_SorensonVideo = 'SVQ1',
kCMVideoCodecType_SorensonVideo3 = 'SVQ3',
kCMVideoCodecType_H263 = 'h263',
kCMVideoCodecType_H264 = 'avc1',
kCMVideoCodecType_HEVC = 'hvc1',
kCMVideoCodecType_HEVCWithAlpha = 'muxa',
kCMVideoCodecType_VP9 = 'vp09',
kCMVideoCodecType_AV1 = 'av01',
kCMVideoCodecType_MPEG4Video = 'mp4v',
kCMVideoCodecType_MPEG2Video = 'mp2v',
kCMVideoCodecType_MPEG1Video = 'mp1v',
kCMVideoCodecType_DVCNTSC = 'dvc ',
kCMVideoCodecType_DVCPAL = 'dvcp',
kCMVideoCodecType_DVCProPAL = 'dvpp',
kCMVideoCodecType_DVCPro50NTSC = 'dv5n',
kCMVideoCodecType_DVCPro50PAL = 'dv5p',
kCMVideoCodecType_DVCPROHD720p60 = 'dvhp',
kCMVideoCodecType_DVCPROHD720p50 = 'dvhq',
kCMVideoCodecType_DVCPROHD1080i60 = 'dvh6',
kCMVideoCodecType_DVCPROHD1080i50 = 'dvh5',
kCMVideoCodecType_DVCPROHD1080p30 = 'dvh3',
kCMVideoCodecType_DVCPROHD1080p25 = 'dvh2',
kCMVideoCodecType_AppleProRes4444XQ = 'ap4x',
kCMVideoCodecType_AppleProRes4444 = 'ap4h',
kCMVideoCodecType_AppleProRes422HQ = 'apch',
kCMVideoCodecType_AppleProRes422 = 'apcn',
kCMVideoCodecType_AppleProRes422LT = 'apcs',
kCMVideoCodecType_AppleProRes422Proxy = 'apco',
kCMVideoCodecType_AppleProResRAW = 'aprn',
kCMVideoCodecType_AppleProResRAWHQ = 'aprh'
};
typedef CFTypeRef CMAttachmentBearerRef;
typedef CFStringRef CMSoundDescriptionFlavor;
typedef struct OpaqueCMBaseObject *CMBaseObjectRef;
typedef struct OpaqueCMBaseClass *CMBaseClassID;
typedef struct OpaqueCMBlockBuffer *CMBlockBufferRef;
typedef struct OpaqueCMClock *CMClockRef;
typedef struct opaqueCMSampleBuffer *CMSampleBufferRef;
typedef struct opaqueCMFormatDescription *CMFormatDescriptionRef;
typedef struct opaqueCMNotificationCenter *CMNotificationCenterRef;
typedef struct CMBaseProtocolTable CMBaseProtocolTable;
typedef CMFormatDescriptionRef CMVideoFormatDescriptionRef;
typedef CMFormatDescriptionRef CMAudioFormatDescriptionRef;
typedef OSStatus (*CMBaseObjectCopyPropertyFunction)(CMBaseObjectRef object, CFStringRef propertyKey, CFAllocatorRef allocator, void *propertyValueOut);
typedef OSStatus (*CMBaseObjectSetPropertyFunction)(CMBaseObjectRef object, CFStringRef propertyKey, CFTypeRef propertyValue);
typedef OSStatus (*CMSampleBufferMakeDataReadyCallback)(CMSampleBufferRef sbuf, void *makeDataReadyRefcon);
typedef void (*CMSampleBufferInvalidateHandler)(CMSampleBufferRef sbuf);
typedef void (*CMSampleBufferInvalidateCallback)(CMSampleBufferRef sbuf, uint64_t invalidateRefCon);
typedef void (*CMNotificationCallback)(CMNotificationCenterRef inCenter, const void *inListener, CFStringRef inNotificationName, const void *inNotifyingObject, CFTypeRef inNotificationPayload);
typedef struct CMVideoDimensions {
int32_t width;
int32_t height;
} CMVideoDimensions;
typedef struct CMTime {
CMTimeValue value;
CMTimeScale timescale;
CMTimeFlags flags;
CMTimeEpoch epoch;
} CMTime;
typedef struct CMTimeRange {
CMTime duration;
CMTime start;
} CMTimeRange;
typedef struct CMSampleTimingInfo {
CMTime duration;
CMTime presentationTimeStamp;
CMTime decodeTimeStamp;
} CMSampleTimingInfo;
typedef struct CMBaseClass {
CMBaseClassVersion version;
size_t derivedStorageSize;
Boolean (*equal)(CMBaseObjectRef o, CMBaseObjectRef compareTo);
OSStatus (*invalidate)(CMBaseObjectRef o);
void (*finalize)(CMBaseObjectRef o);
CFStringRef (*copyDebugDescription)(CMBaseObjectRef o);
CMBaseObjectCopyPropertyFunction copyProperty;
CMBaseObjectSetPropertyFunction setProperty;
OSStatus (*notificationBarrier)(CMBaseObjectRef o);
const CMBaseProtocolTable *protocolTable;
} CMBaseClass;
typedef struct CMBaseVTable {
const struct OpaqueCMBaseVTableReserved *reserved;
const CMBaseClass *baseClass;
} CMBaseVTable;
CMTime kCMTimeZero;
#endif
================================================
FILE: CoreServices/CoreServices.h
================================================
#import "../BaseTypes.h"
#import "../CoreFoundation/Types.h"
#import "Types.h"
Boolean UTTypeConformsTo(CFStringRef inUTI, CFStringRef inConformsToUTI);
Boolean UTTypeEqual(CFStringRef inUTI1, CFStringRef inUTI2);
CFArrayRef UTTypeCreateAllIdentifiersForTag(CFStringRef inTagClass, CFStringRef inTag, CFStringRef inConformingToUTI);
CFStringRef UTTypeCopyDescription(CFStringRef inUTI);
CFStringRef UTTypeCopyPreferredTagWithClass(CFStringRef inUTI, CFStringRef inTagClass);
CFStringRef UTTypeCreatePreferredIdentifierForTag(CFStringRef inTagClass, CFStringRef inTag, CFStringRef inConformingToUTI);
================================================
FILE: CoreServices/Types.h
================================================
#ifndef CORESERVICES_H_
#define CORESERVICES_H_
#endif
================================================
FILE: CoreText/CoreText.h
================================================
#import "../BaseTypes.h"
#import "../CoreFoundation/Types.h"
#import "../CoreGraphics/Types.h"
#import "Types.h"
CGAffineTransform CTRunGetTextMatrix(CTRunRef run);
CGPathRef CTFontCreatePathForGlyph(CTFontRef font, CGGlyph glyph, const CGAffineTransform *matrix);
CGPathRef CTFrameGetPath(CTFrameRef frame);
CGFontRef CTFontCopyGraphicsFont(CTFontRef font, CTFontDescriptorRef *attributes);
CGGlyph CTFontGetGlyphWithName(CTFontRef font, CFStringRef glyphName);
const CGGlyph *CTRunGetGlyphsPtr(CTRunRef run);
const CGPoint *CTRunGetPositionsPtr(CTRunRef run);
const CGSize *CTRunGetAdvancesPtr(CTRunRef run);
const CFIndex *CTRunGetStringIndicesPtr(CTRunRef run);
CGFloat CTFontGetSize(CTFontRef font);
CGFloat CTFontGetAscent(CTFontRef font);
CGFloat CTFontGetDescent(CTFontRef font);
CGFloat CTFontGetLeading(CTFontRef font);
CGFloat CTFontGetUnderlinePosition(CTFontRef font);
CGFloat CTFontGetUnderlineThickness(CTFontRef font);
CGFloat CTFontGetSlantAngle(CTFontRef font);
CGFloat CTFontGetCapHeight(CTFontRef font);
CGFloat CTFontGetXHeight(CTFontRef font);
CGFloat CTLineGetOffsetForStringIndex(CTLineRef line, CFIndex charIndex, CGFloat *secondaryOffset);
CGRect CTFontGetBoundingRectsForGlyphs(CTFontRef font, CTFontOrientation orientation, const CGGlyph glyphs[], CGRect *boundingRects, CFIndex count);
CGRect CTFontGetOpticalBoundsForGlyphs(CTFontRef font, const CGGlyph glyphs[], CGRect *boundingRects, CFIndex count, CFOptionFlags options);
CGRect CTFontGetBoundingBox(CTFontRef font);
CGRect CTLineGetBoundsWithOptions(CTLineRef line, CTLineBoundsOptions options);
CGRect CTLineGetImageBounds(CTLineRef line, CGContextRef context);
CGRect CTRunGetImageBounds(CTRunRef run, CGContextRef context, CFRange range);
CGSize CTFramesetterSuggestFrameSizeWithConstraints(CTFramesetterRef framesetter, CFRange stringRange, CFDictionaryRef frameAttributes, CGSize constraints, CFRange *fitRange);
CGSize CTFontShapeGlyphs(CTFontRef, CGGlyph glyphs[], CGSize advances[], CGPoint origins[], CFIndex indexes[], const UniChar chars[], CFIndex count, CTFontShapeOptions, CFStringRef language, void (*handler)(CFRange, CGGlyph**, CGSize**, CGPoint**, CFIndex**));
CGSize CTRunGetInitialAdvance(CTRunRef);
CGAffineTransform CTFontGetMatrix(CTFontRef font);
CFTypeID CTRunGetTypeID(void);
CFTypeID CTFontGetTypeID(void);
CFTypeID CTFontDescriptorGetTypeID(void);
CFRange CTRunGetStringRange(CTRunRef run);
CFRange CTLineGetStringRange(CTLineRef line);
CFRange CTFrameGetStringRange(CTFrameRef frame);
CFRange CTFrameGetVisibleStringRange(CTFrameRef frame);
CFStringEncoding CTFontGetStringEncoding(CTFontRef font);
CFIndex CTRunGetGlyphCount(CTRunRef run);
CFIndex CTFontGetGlyphCount(CTFontRef font);
CFIndex CTFontGetLigatureCaretPositions(CTFontRef font, CGGlyph glyph, CGFloat *positions, CFIndex maxPositions);
CFIndex CTLineGetGlyphCount(CTLineRef line);
CFIndex CTLineGetStringIndexForPosition(CTLineRef line, CGPoint position);
CFTypeRef CTFontCopyAttribute(CTFontRef font, CFStringRef attribute);
CFTypeRef CTFontDescriptorCopyAttribute(CTFontDescriptorRef descriptor, CFStringRef attribute);
CFTypeRef CTFontDescriptorCopyLocalizedAttribute(CTFontDescriptorRef descriptor, CFStringRef attribute, CFStringRef *language);
CFStringRef CTFontCopyFullName(CTFontRef font);
CFStringRef CTFontCopyPostScriptName(CTFontRef font);
CFStringRef CTFontCopyFamilyName(CTFontRef font);
CFStringRef CTFontCopyDisplayName(CTFontRef font);
CFStringRef CTFontCopyName(CTFontRef font, CFStringRef nameKey);
CFStringRef CTFontCopyLocalizedName(CTFontRef font, CFStringRef nameKey, CFStringRef *actualLanguage);
CFStringRef CTFontCopyLocalizedNameWithLanguages(CTFontRef font, CFStringRef nameKey, int unk, CFStringRef *actualLanguage);
CFStringRef CTFontCopyNameForGlyph(CTFontRef font, CGGlyph glyph);
CFDictionaryRef CTRunGetAttributes(CTRunRef run);
CFDictionaryRef CTFrameGetFrameAttributes(CTFrameRef frame);
CFDictionaryRef CTFontDescriptorCopyAttributes(CTFontDescriptorRef descriptor);
CFDictionaryRef CTFontCopyTraits(CTFontRef font);
CFArrayRef CTLineGetGlyphRuns(CTLineRef line);
CFArrayRef CTFrameGetLines(CTFrameRef frame);
CFArrayRef CTFontCopySupportedLanguages(CTFontRef font);
CFArrayRef CTFontCopyFeatures(CTFontRef font);
CFArrayRef CTFontCopyDefaultCascadeListForLanguages(CTFontRef font, CFArrayRef languagePrefList);
CFArrayRef CTFontCollectionCreateMatchingFontDescriptors(CTFontCollectionRef collection);
CFArrayRef CTFontManagerCreateFontDescriptorsFromData(CFDataRef);
CFCharacterSetRef CTFontCopyCharacterSet(CTFontRef font);
CFCharacterSetRef CTFontCopyLogicalCharacterSet(CTFontRef font);
CFBitVectorRef CTFontCopyGlyphCoverageForFeature(CTFontRef, CFDictionaryRef feature);
CTRunStatus CTRunGetStatus(CTRunRef run);
double CTFontGetAdvancesForGlyphs(CTFontRef font, CTFontOrientation orientation, const CGGlyph glyphs[], CGSize advances[], CFIndex count);
double CTLineGetPenOffsetForFlush(CTLineRef line, CGFloat flushFactor, double flushWidth);
double CTLineGetTypographicBounds(CTLineRef line, CGFloat *ascent, CGFloat *descent, CGFloat *leading);
double CTLineGetTrailingWhitespaceWidth(CTLineRef line);
double CTRunGetTypographicBounds(CTRunRef run, CFRange range, CGFloat *ascent, CGFloat *descent, CGFloat *leading);
unsigned int CTFontGetUnitsPerEm(CTFontRef font);
bool CTFontGetGlyphsForCharacters(CTFontRef font, const UniChar characters[], CGGlyph glyphs[], CFIndex count);
bool CTFontGetVerticalGlyphsForCharacters(CTFontRef, const UniChar characters[], CGGlyph glyphs[], CFIndex count);
bool CTFontGetGlyphsForCharacterRange(CTFontRef, CGGlyph glyphs[], CFRange);
bool CTFontTransformGlyphs(CTFontRef, CGGlyph *glyphs, CGSize *advances, CFIndex count, CTFontTransformOptions);
bool CTFontIsAppleColorEmoji(CTFontRef font);
bool CTFontIsSystemUIFont(CTFontRef font);
bool CTFontDescriptorIsSystemUIFont(CTFontDescriptorRef);
void CTFontGetVerticalTranslationsForGlyphs(CTFontRef font, const CGGlyph glyphs[], CGSize translations[], CFIndex count);
void CTFontGetUnsummedAdvancesForGlyphsAndStyle(CTFontRef, CTFontOrientation, CGFontRenderingStyle, const CGGlyph[], CGSize advances[], CFIndex count);
void CTFontGetTransformedAdvancesForGlyphsAndStyle(CTFontRef, CTFontOrientation, CGFontRenderingStyle, const CGAffineTransform *, const CGGlyph[], CGSize advances[], CFIndex count);
void CTFontDrawGlyphs(CTFontRef font, const CGGlyph glyphs[], const CGPoint positions[], size_t count, CGContextRef context);
void CTFontDrawGlyphsAtPositions(CTFontRef font, const CGGlyph glyphs[], CGPoint positions[], size_t count, CGContextRef context);
void CTRunGetGlyphs(CTRunRef run, CFRange range, CGGlyph *buffer);
void CTRunGetPositions(CTRunRef run, CFRange range, CGPoint *buffer);
void CTRunGetAdvances(CTRunRef run, CFRange range, CGSize *buffer);
void CTRunGetStringIndices(CTRunRef run, CFRange range, CFIndex *buffer);
void CTRunGetBaseAdvancesAndOrigins(CTRunRef runRef, CFRange range, CGSize *advancesBuffer, CGPoint *originsBuffer);
void CTRunDraw(CTRunRef run, CGContextRef context, CFRange range);
void CTFrameDraw(CTFrameRef frame, CGContextRef context);
void CTFrameGetLineOrigins(CTFrameRef frame, CFRange range, CGPoint *origins);
void CTLineDraw(CTLineRef line, CGContextRef context);
void CTParagraphStyleSetCompositionLanguage(CTParagraphStyleRef, CTCompositionLanguage);
CTFontRef CTFontCreateWithName(CFStringRef name, CGFloat size, const CGAffineTransform *matrix);
CTFontRef CTFontCreateWithNameAndOptions(CFStringRef name, CGFloat size, const CGAffineTransform *matrix, CTFontOptions options);
CTFontRef CTFontCreateWithFontDescriptor(CTFontDescriptorRef descriptor, CGFloat size, const CGAffineTransform *matrix);
CTFontRef CTFontCreateWithFontDescriptorAndOptions(CTFontDescriptorRef descriptor, CGFloat size, const CGAffineTransform *matrix, CTFontOptions options);
CTFontRef CTFontCreateWithGraphicsFont(CGFontRef graphicsFont, CGFloat size, const CGAffineTransform *matrix, CTFontDescriptorRef attributes);
CTFontRef CTFontCreateForCharacters(CTFontRef currentFont, const UTF16Char *characters, CFIndex length, CFIndex *coveredLength);
CTFontRef CTFontCreateForCharactersWithLanguage(CTFontRef currentFont, const UTF16Char *characters, CFIndex length, CFStringRef language, CFIndex *coveredLength);
CTFontRef CTFontCreateForCharactersWithLanguageAndOption(CTFontRef currentFont, const UTF16Char *characters, CFIndex length, CFStringRef language, CTFontFallbackOption option, CFIndex *coveredLength);
CTFontRef CTFontCreateUIFontForLanguage(CTFontUIFontType uiType, CGFloat size, CFStringRef language);
CTFontRef CTFontCreateCopyWithAttributes(CTFontRef font, CGFloat size, const CGAffineTransform *matrix, CTFontDescriptorRef attributes);
CTFontRef CTFontCreateCopyWithSymbolicTraits(CTFontRef font, CGFloat size, const CGAffineTransform *matrix, CTFontSymbolicTraits symTraitValue, CTFontSymbolicTraits symTraitMask);
CTFontRef CTFontCreateCopyWithFamily(CTFontRef font, CGFloat size, const CGAffineTransform *matrix, CFStringRef family);
CTFontRef CTFontCreateForString(CTFontRef currentFont, CFStringRef string, CFRange range);
CTFontRef CTFontCreateForStringWithLanguage(CTFontRef currentFont, CFStringRef string, CFRange range, CFStringRef language);
CTFontRef CTFontCopyPhysicalFont(CTFontRef);
CTFontDescriptorRef CTFontDescriptorCreateMatchingFontDescriptor(CTFontDescriptorRef descriptor, CFSetRef mandatoryAttributes);
CTFontDescriptorRef CTFontDescriptorCreateWithAttributes(CFDictionaryRef attributes);
CTFontDescriptorRef CTFontDescriptorCreateWithAttributesAndOptions(CFDictionaryRef attributes, CTFontDescriptorOptions);
CTFontDescriptorRef CTFontDescriptorCreateWithNameAndSize(CFStringRef name, CGFloat size);
CTFontDescriptorRef CTFontDescriptorCreateWithTextStyle(CFStringRef style, CFStringRef size, CFStringRef language);
CTFontDescriptorRef CTFontDescriptorCreateForUIType(CTFontUIFontType, CGFloat size, CFStringRef language);
CTFontDescriptorRef CTFontDescriptorCreateCopyWithSymbolicTraits(CTFontDescriptorRef original, CTFontSymbolicTraits symTraitValue, CTFontSymbolicTraits symTraitMask);
CTFontDescriptorRef CTFontDescriptorCreateCopyWithAttributes(CTFontDescriptorRef original, CFDictionaryRef attributes);
CTFontDescriptorRef CTFontDescriptorCreateForCSSFamily(CFStringRef cssFamily, CFStringRef language);
CTFontDescriptorRef CTFontDescriptorCreateLastResort(void);
CTFontDescriptorRef CTFontCopyFontDescriptor(CTFontRef font);
CTFontCollectionRef CTFontCollectionCreateFromAvailableFonts(CFDictionaryRef options);
CTFontSymbolicTraits CTFontGetSymbolicTraits(CTFontRef font);
CTFontSymbolicTraits CTFontGetPhysicalSymbolicTraits(CTFontRef font);
CTFrameRef CTFramesetterCreateFrame(CTFramesetterRef framesetter, CFRange stringRange, CGPathRef path, CFDictionaryRef frameAttributes);
CTFramesetterRef CTFramesetterCreateWithAttributedString(CFAttributedStringRef string);
CTTypesetterRef CTFramesetterGetTypesetter(CTFramesetterRef framesetter);
CTTypesetterRef CTTypesetterCreateWithUniCharProviderAndOptions(CTUniCharProviderCallback, CTUniCharDisposeCallback, void *refCon, CFDictionaryRef options);
CTLineRef CTLineCreateWithAttributedString(CFAttributedStringRef attrString);
CTLineRef CTLineCreateWithUniCharProvider(CTUniCharProviderCallback, CTUniCharDisposeCallback, void *refCon);
CTLineRef CTLineCreateTruncatedLine(CTLineRef line, double width, CTLineTruncationType truncationType, CTLineRef truncationToken);
CTLineRef CTLineCreateJustifiedLine(CTLineRef line, CGFloat justificationFactor, double justificationWidth);
================================================
FILE: CoreText/Types.h
================================================
#ifndef CORETEXT_H_
#define CORETEXT_H_
#import "../BaseTypes.h"
#import "../CoreFoundation/Types.h"
typedef struct __CTFont *CTFontRef;
typedef struct __CTFontDescriptor *CTFontDescriptorRef;
typedef struct __CTFontCollection *CTFontCollectionRef;
typedef struct __CTRun *CTRunRef;
typedef struct __CTLine *CTLineRef;
typedef struct __CTTypesetter *CTTypesetterRef;
typedef struct __CTFrame *CTFrameRef;
typedef struct __CTFramesetter *CTFramesetterRef;
typedef struct __CTParagraphStyle *CTParagraphStyleRef;
enum { kCTFontOptionsPreferSystemFont = 1 << 2 };
PS_ENUM(uint32_t, CTFontOrientation) {
kCTFontOrientationDefault = 0,
kCTFontOrientationHorizontal = 1,
kCTFontOrientationVertical = 2
};
PS_ENUM(uint32_t, CTFontDescriptorOptions) { kCTFontDescriptorOptionSystemUIFont = 1 << 1, kCTFontDescriptorOptionPreferAppleSystemFont = kCTFontOptionsPreferSystemFont };
enum { kCTFontClassMaskShift = 28 };
PS_ENUM(uint32_t, CTFontSymbolicTraits) {
kCTFontTraitItalic = (1 << 0),
kCTFontTraitBold = (1 << 1),
kCTFontTraitExpanded = (1 << 5),
kCTFontTraitCondensed = (1 << 6),
kCTFontTraitMonoSpace = (1 << 10),
kCTFontTraitVertical = (1 << 11),
kCTFontTraitUIOptimized = (1 << 12),
kCTFontTraitColorGlyphs = (1 << 13),
kCTFontTraitComposite = (1 << 14),
kCTFontTraitClassMask = (15U << kCTFontClassMaskShift),
kCTFontItalicTrait = kCTFontTraitItalic,
kCTFontBoldTrait = kCTFontTraitBold,
kCTFontExpandedTrait = kCTFontTraitExpanded,
kCTFontCondensedTrait = kCTFontTraitCondensed,
kCTFontMonoSpaceTrait = kCTFontTraitMonoSpace,
kCTFontVerticalTrait = kCTFontTraitVertical,
kCTFontUIOptimizedTrait = kCTFontTraitUIOptimized,
kCTFontColorGlyphsTrait = kCTFontTraitColorGlyphs,
kCTFontCompositeTrait = kCTFontTraitComposite,
kCTFontClassMaskTrait = kCTFontTraitClassMask
};
PS_ENUM(uint32_t, CTFontUIFontType) {
kCTFontUIFontNone = (uint32_t)-1,
kCTFontUIFontUser = 0,
kCTFontUIFontUserFixedPitch = 1,
kCTFontUIFontSystem = 2,
kCTFontUIFontEmphasizedSystem = 3,
kCTFontUIFontSmallSystem = 4,
kCTFontUIFontSmallEmphasizedSystem = 5,
kCTFontUIFontMiniSystem = 6,
kCTFontUIFontMiniEmphasizedSystem = 7,
kCTFontUIFontViews = 8,
kCTFontUIFontApplication = 9,
kCTFontUIFontLabel = 10,
kCTFontUIFontMenuTitle = 11,
kCTFontUIFontMenuItem = 12,
kCTFontUIFontMenuItemMark = 13,
kCTFontUIFontMenuItemCmdKey = 14,
kCTFontUIFontWindowTitle = 15,
kCTFontUIFontPushButton = 16,
kCTFontUIFontUtilityWindowTitle = 17,
kCTFontUIFontAlertHeader = 18,
kCTFontUIFontSystemDetail = 19,
kCTFontUIFontEmphasizedSystemDetail = 20,
kCTFontUIFontToolbar = 21,
kCTFontUIFontSmallToolbar = 22,
kCTFontUIFontMessage = 23,
kCTFontUIFontPalette = 24,
kCTFontUIFontToolTip = 25,
kCTFontUIFontControlContent = 26,
kCTFontNoFontType = kCTFontUIFontNone,
kCTFontUserFontType = kCTFontUIFontUser,
kCTFontUserFixedPitchFontType = kCTFontUIFontUserFixedPitch,
kCTFontSystemFontType = kCTFontUIFontSystem,
kCTFontEmphasizedSystemFontType = kCTFontUIFontEmphasizedSystem,
kCTFontSmallSystemFontType = kCTFontUIFontSmallSystem,
kCTFontSmallEmphasizedSystemFontType = kCTFontUIFontSmallEmphasizedSystem,
kCTFontMiniSystemFontType = kCTFontUIFontMiniSystem,
kCTFontMiniEmphasizedSystemFontType = kCTFontUIFontMiniEmphasizedSystem,
kCTFontViewsFontType = kCTFontUIFontViews,
kCTFontApplicationFontType = kCTFontUIFontApplication,
kCTFontLabelFontType = kCTFontUIFontLabel,
kCTFontMenuTitleFontType = kCTFontUIFontMenuTitle,
kCTFontMenuItemFontType = kCTFontUIFontMenuItem,
kCTFontMenuItemMarkFontType = kCTFontUIFontMenuItemMark,
kCTFontMenuItemCmdKeyFontType = kCTFontUIFontMenuItemCmdKey,
kCTFontWindowTitleFontType = kCTFontUIFontWindowTitle,
kCTFontPushButtonFontType = kCTFontUIFontPushButton,
kCTFontUtilityWindowTitleFontType = kCTFontUIFontUtilityWindowTitle,
kCTFontAlertHeaderFontType = kCTFontUIFontAlertHeader,
kCTFontSystemDetailFontType = kCTFontUIFontSystemDetail,
kCTFontEmphasizedSystemDetailFontType = kCTFontUIFontEmphasizedSystemDetail,
kCTFontToolbarFontType = kCTFontUIFontToolbar,
kCTFontSmallToolbarFontType = kCTFontUIFontSmallToolbar,
kCTFontMessageFontType = kCTFontUIFontMessage,
kCTFontPaletteFontType = kCTFontUIFontPalette,
kCTFontToolTipFontType = kCTFontUIFontToolTip,
kCTFontControlContentFontType = kCTFontUIFontControlContent
};
PS_ENUM(uint32_t, CTRunStatus) { kCTRunStatusNoStatus = 0, kCTRunStatusRightToLeft = (1 << 0), kCTRunStatusNonMonotonic = (1 << 1), kCTRunStatusHasNonIdentityMatrix = (1 << 2) };
PS_ENUM(uint32_t, CTLineBoundsOptions) {
kCTLineBoundsExcludeTypographicLeading = 1 << 0,
kCTLineBoundsExcludeTypographicShifts = 1 << 1,
kCTLineBoundsUseHangingPunctuation = 1 << 2,
kCTLineBoundsUseGlyphPathBounds = 1 << 3,
kCTLineBoundsUseOpticalBounds = 1 << 4,
kCTLineBoundsIncludeLanguageExtents = 1 << 5,
};
PS_ENUM(uint32_t, CTLineTruncationType) { kCTLineTruncationStart = 0, kCTLineTruncationEnd = 1, kCTLineTruncationMiddle = 2 };
PS_ENUM(CFOptionFlags, CTFontFallbackOption) {
kCTFontFallbackOptionNone = 0,
kCTFontFallbackOptionSystem = 1 << 0,
kCTFontFallbackOptionUserInstalled = 1 << 1,
kCTFontFallbackOptionDefault = kCTFontFallbackOptionSystem | kCTFontFallbackOptionUserInstalled,
};
PS_ENUM(uint32_t, CTFontTransformOptions) {
kCTFontTransformApplyShaping = (1 << 0),
kCTFontTransformApplyPositioning = (1 << 1)
};
PS_ENUM(CFOptionFlags, CTFontShapeOptions) {
kCTFontShapeWithKerning = (1 << 0),
kCTFontShapeWithClusterComposition = (1 << 1),
kCTFontShapeRightToLeft = (1 << 2),
};
PS_ENUM(uint8_t, CTCompositionLanguage) {
kCTCompositionLanguageUnset,
kCTCompositionLanguageNone,
kCTCompositionLanguageJapanese,
kCTCompositionLanguageSimplifiedChinese,
kCTCompositionLanguageTraditionalChinese,
};
typedef CFOptionFlags CTFontOptions;
typedef const UniChar *(*CTUniCharProviderCallback)(CFIndex stringIndex, CFIndex *charCount, CFDictionaryRef *attributes, void *refCon);
typedef void (*CTUniCharDisposeCallback)(const UniChar *chars, void *refCon);
#endif
================================================
FILE: CoreVideo/CoreVideo.h
================================================
#import "../BaseTypes.h"
#import "../Kernel/Types.h"
#import "../CoreGraphics/Types.h"
#import "../CoreFoundation/Types.h"
#import "../IOSurface/Types.h"
#import "Types.h"
Boolean CVImageBufferIsFlipped(CVImageBufferRef imageBuffer);
Boolean CVPixelBufferIsPlanar(CVPixelBufferRef pixelBuffer);
CFDictionaryRef CVBufferGetAttachments(CVBufferRef buffer, CVAttachmentMode attachmentMode);
CFDictionaryRef CVPixelBufferPoolGetPixelBufferAttributes(CVPixelBufferPoolRef pool);
CFDictionaryRef CVPixelFormatDescriptionGetDescriptionWithPixelFormatType(OSType pixelFormatType);
CFTypeID CVPixelBufferGetTypeID(void);
CFTypeRef CVBufferGetAttachment(CVBufferRef buffer, CFStringRef key, CVAttachmentMode *attachmentMode);
CGColorSpaceRef CVImageBufferCreateColorSpaceFromAttachments(CFDictionaryRef attachments);
CGRect CVImageBufferGetCleanRect(CVImageBufferRef imageBuffer);
CGSize CVImageBufferGetDisplaySize(CVImageBufferRef imageBuffer);
CGSize CVImageBufferGetEncodedSize(CVImageBufferRef imageBuffer);
CVPixelBufferRef CVPixelBufferRetain(CVPixelBufferRef texture);
CVPixelBufferPoolRef CVPixelBufferPoolRetain(CVPixelBufferPoolRef pixelBufferPool);
CVReturn CVPixelBufferCreate(CFAllocatorRef allocator, size_t width, size_t height, OSType pixelFormatType, CFDictionaryRef pixelBufferAttributes, CVPixelBufferRef *pixelBufferOut);
CVReturn CVPixelBufferCreateResolvedAttributesDictionary(CFAllocatorRef allocator, CFArrayRef attributes, CFDictionaryRef *resolvedDictionaryOut);
CVReturn CVPixelBufferCreateWithBytes(CFAllocatorRef allocator, size_t width, size_t height, OSType pixelFormatType, void *baseAddress, size_t bytesPerRow, CVPixelBufferReleaseBytesCallback releaseCallback, void *releaseRefCon, CFDictionaryRef pixelBufferAttributes, CVPixelBufferRef *pixelBufferOut);
CVReturn CVPixelBufferLockBaseAddress(CVPixelBufferRef pixelBuffer, CVPixelBufferLockFlags lockFlags);
CVReturn CVPixelBufferPoolCreate(CFAllocatorRef allocator, CFDictionaryRef poolAttributes, CFDictionaryRef pixelBufferAttributes, CVPixelBufferPoolRef *poolOut);
CVReturn CVPixelBufferPoolCreatePixelBuffer(CFAllocatorRef allocator, CVPixelBufferPoolRef pixelBufferPool, CVPixelBufferRef *pixelBufferOut);
CVReturn CVPixelBufferPoolCreatePixelBufferWithAuxAttributes(CFAllocatorRef allocator, CVPixelBufferPoolRef pixelBufferPool, CFDictionaryRef auxAttributes, CVPixelBufferRef *pixelBufferOut);
CVReturn CVPixelBufferUnlockBaseAddress(CVPixelBufferRef pixelBuffer, CVPixelBufferLockFlags unlockFlags);
IOSurfaceRef CVPixelBufferGetIOSurface(CVPixelBufferRef pixelBuffer);
OSType CVPixelBufferGetPixelFormatType(CVPixelBufferRef pixelBuffer);
size_t CVPixelBufferGetBytesPerRow(CVPixelBufferRef pixelBuffer);
size_t CVPixelBufferGetBytesPerRowOfPlane(CVPixelBufferRef pixelBuffer, size_t planeIndex);
size_t CVPixelBufferGetDataSize(CVPixelBufferRef pixelBuffer);
size_t CVPixelBufferGetHeight(CVPixelBufferRef pixelBuffer);
size_t CVPixelBufferGetHeightOfPlane(CVPixelBufferRef pixelBuffer, size_t planeIndex);
size_t CVPixelBufferGetPlaneCount(CVPixelBufferRef pixelBuffer);
size_t CVPixelBufferGetWidth(CVPixelBufferRef pixelBuffer);
size_t CVPixelBufferGetWidthOfPlane(CVPixelBufferRef pixelBuffer, size_t planeIndex);
void *CVPixelBufferGetBaseAddress(CVPixelBufferRef pixelBuffer);
void *CVPixelBufferGetBaseAddressOfPlane(CVPixelBufferRef pixelBuffer, size_t planeIndex);
void CVPixelBufferGetExtendedPixels(CVPixelBufferRef pixelBuffer, size_t *extraColumnsOnLeft, size_t *extraColumnsOnRight, size_t *extraRowsOnTop, size_t *extraRowsOnBottom);
void CVPixelBufferPoolFlush(CVPixelBufferPoolRef pool, CVPixelBufferPoolFlushFlags options);
void CVPixelBufferPoolRelease(CVPixelBufferPoolRef pixelBufferPool);
void CVPixelBufferRelease(CVPixelBufferRef texture);
================================================
FILE: CoreVideo/Types.h
================================================
#ifndef COREVIDEO_H_
#define COREVIDEO_H_
#import "../BaseTypes.h"
typedef struct __CVBuffer *CVBufferRef;
typedef struct __CVPixelBufferPool *CVPixelBufferPoolRef;
typedef CVBufferRef CVImageBufferRef;
typedef CVImageBufferRef CVPixelBufferRef;
typedef uint64_t CVOptionFlags;
typedef int32_t CVReturn;
PS_ENUM(uint32_t, CVAttachmentMode) {
kCVAttachmentMode_ShouldNotPropagate = 0,
kCVAttachmentMode_ShouldPropagate = 1
};
PS_ENUM(CVOptionFlags, CVPixelBufferLockFlags) {
kCVPixelBufferLock_ReadOnly = 0x00000001,
};
PS_ENUM(CVOptionFlags, CVPixelBufferPoolFlushFlags) {
kCVPixelBufferPoolFlushExcessBuffers = 1,
};
typedef void (*CVPixelBufferReleaseBytesCallback)(void *releaseRefCon, const void *baseAddress);
#endif
================================================
FILE: CydiaSubstrate/CydiaSubstrate.h
================================================
/* Cydia Substrate - Powerful Code Insertion Platform
* Copyright (C) 2008-2019 Jay Freeman (saurik)
*/
/*
* Redistribution and use in source and binary
* forms, with or without modification, are permitted
* provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the
* above copyright notice, this list of conditions
* and the following disclaimer.
* 2. Redistributions in binary form must reproduce the
* above copyright notice, this list of conditions
* and the following disclaimer in the documentation
* and/or other materials provided with the
* distribution.
* 3. The name of the author may not be used to endorse
* or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS''
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
* BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#import "Types.h"
#import "../Kernel/Types.h"
#import "../objc/Types.h"
bool MSHookProcess(pid_t pid, const char *library);
MSImageRef MSMapImage(const char *file);
MSImageRef MSGetImageByName(const char *file);
const MSImageHeader *MSImageAddress(MSImageRef image);
void *MSFindSymbol(MSImageRef image, const char *name);
char *MSFindAddress(MSImageRef image, void **address);
void MSCloseImage(MSImageRef);
void MSHookFunction(void *symbol, void *replace, void **result);
void MSHookMemory(void *target, const void *data, size_t size);
void MSHookMessageEx(Class _class, SEL sel, IMP imp, IMP *result);
void _MSHookMessageEx(Class _class, SEL sel, IMP imp, IMP *result);
void MSHookClassPair(Class target, Class hook, Class old);
#ifdef __arm__
IMP MSHookMessage(Class _class, SEL sel, IMP imp, const char *prefix);
#endif
================================================
FILE: CydiaSubstrate/Types.h
================================================
#ifndef SUBSTRATE_H_
#define SUBSTRATE_H_
#ifndef __EA64__
typedef struct mach_header MSImageHeader;
#else
typedef struct mach_header_64 MSImageHeader;
#endif
typedef const void *MSImageRef;
#endif
================================================
FILE: Darwin/Darwin.h
================================================
#import "../pthread/Types.h"
#import "Types.h"
bool dispatch_data_apply(dispatch_data_t data, dispatch_data_applier_t applier);
bool dispatch_mach_mig_demux(void *context, const struct mig_subsystem *const subsystems[], size_t count, dispatch_mach_msg_t dmsg);
bool notify_is_valid_token(int val);
char *__strcat_chk(char *dest, const char *src, size_t destlen);
char *__strcpy_chk(char *dest, const char *src, size_t destlen);
char *__strncat_chk(char *dest, const char *src, size_t len, size_t dstlen);
char **backtrace_symbols(void * const *array, int size);
dispatch_block_t dispatch_block_create(dispatch_block_flags_t flags, dispatch_block_t block);
dispatch_block_t dispatch_block_create_with_qos_class(dispatch_block_flags_t flags, dispatch_qos_class_t qos_class, int relative_priority, dispatch_block_t block);
dispatch_block_t dispatch_block_create_with_voucher(dispatch_block_flags_t flags, voucher_t voucher, dispatch_block_t block);
dispatch_block_t dispatch_block_create_with_voucher_and_qos_class(dispatch_block_flags_t flags, voucher_t voucher, dispatch_qos_class_t qos_class, int relative_priority, dispatch_block_t block);
dispatch_data_t dispatch_data_copy_region(dispatch_data_t data, size_t location, size_t *offset_ptr);
dispatch_data_t dispatch_data_create_alloc(size_t size, void** buffer_ptr);
dispatch_data_t dispatch_data_create_concat(dispatch_data_t data1, dispatch_data_t data2);
dispatch_data_t dispatch_data_create_map(dispatch_data_t data, const void **buffer_ptr, size_t *size_ptr);
dispatch_data_t dispatch_data_create_subrange(dispatch_data_t data, size_t offset, size_t length);
dispatch_data_t dispatch_data_create(const void *buffer, size_t size, dispatch_queue_t queue, dispatch_block_t destructor);
dispatch_io_t dispatch_io_create_with_io(dispatch_io_type_t type, dispatch_io_t io, dispatch_queue_t queue, void (*cleanup_handler)(int error));
dispatch_io_t dispatch_io_create_with_path(dispatch_io_type_t type, const char *path, int oflag, mode_t mode, dispatch_queue_t queue, void (*cleanup_handler)(int error));
dispatch_io_t dispatch_io_create(dispatch_io_type_t type, dispatch_fd_t fd, dispatch_queue_t queue, void (*cleanup_handler)(int error));
dispatch_mach_msg_t dispatch_mach_msg_create(mach_msg_header_t *msg, size_t size, dispatch_mach_msg_destructor_t destructor, mach_msg_header_t **msg_ptr);
dispatch_mach_t dispatch_mach_create_f(const char *label, dispatch_queue_t queue, void *context, dispatch_mach_handler_function_t handler);
dispatch_mach_t dispatch_mach_create(const char *label, dispatch_queue_t queue, dispatch_mach_handler_t handler);
dispatch_queue_attr_t dispatch_queue_attr_make_initially_inactive(dispatch_queue_attr_t attr);
dispatch_queue_attr_t dispatch_queue_attr_make_with_autorelease_frequency(dispatch_queue_attr_t attr, dispatch_autorelease_frequency_t frequency);
dispatch_queue_attr_t dispatch_queue_attr_make_with_overcommit(dispatch_queue_attr_t attr, bool overcommit);
dispatch_queue_attr_t dispatch_queue_attr_make_with_qos_class(dispatch_queue_attr_t attr, dispatch_qos_class_t qos_class, int relative_priority);
dispatch_queue_global_t _dispatch_pthread_root_queue_create_with_observer_hooks_4IOHID(const char *label, unsigned long flags, const pthread_attr_t *attr, dispatch_pthread_root_queue_observer_hooks_t observer_hooks, dispatch_block_t configure);
dispatch_queue_global_t dispatch_get_global_queue(intptr_t identifier, uintptr_t flags);
dispatch_queue_t dispatch_pthread_root_queue_create(const char *label, unsigned long flags, const pthread_attr_t *attr, dispatch_block_t configure);
dispatch_queue_t dispatch_queue_create_with_target$V2(const char *label, dispatch_queue_attr_t attr, dispatch_queue_t target);
dispatch_semaphore_t dispatch_semaphore_create(intptr_t value);
dispatch_source_t dispatch_source_create(dispatch_source_type_t type, uintptr_t handle, uintptr_t mask, dispatch_queue_t queue);
dispatch_workloop_t dispatch_workloop_create_inactive(const char *label);
dispatch_workloop_t dispatch_workloop_create(const char *label);
double __exp10(double);
errno_t memset_s(void *dest, rsize_t destsz, int ch, rsize_t count);
float __exp10f(float);
int _stdlib_memcmp(const void *s1, const void *s2, size_t n);
int backtrace(void **array, int size);
int reboot3(uint64_t flags, ...);
intptr_t dispatch_block_testcancel(dispatch_block_t block);
intptr_t dispatch_block_wait(dispatch_block_t block, dispatch_time_t timeout);
intptr_t dispatch_group_wait(dispatch_group_t group, dispatch_time_t timeout);
intptr_t dispatch_semaphore_signal(dispatch_semaphore_t dsema);
intptr_t dispatch_semaphore_wait(dispatch_semaphore_t dsema, dispatch_time_t timeout);
intptr_t dispatch_source_testcancel(dispatch_source_t source);
mach_msg_header_t *dispatch_mach_msg_get_msg(dispatch_mach_msg_t message, size_t *size_ptr);
mach_msg_return_t dispatch_mig_server(dispatch_source_t ds, size_t maxmsgsz, dispatch_mig_callback_t callback);
mach_port_t dispatch_mach_get_checkin_port(dispatch_mach_t channel);
size_t __strlcat_chk(char *dest, char *src, size_t len, size_t dstlen);
size_t __strlcpy_chk(char *dest, char *src, size_t len, size_t dstlen);
size_t _stdlib_malloc_size(const void *ptr);
size_t dispatch_data_get_size(dispatch_data_t data);
struct __double2 __sincos_stret(double);
struct __double2 __sincospi_stret(double);
struct __double2 { double __sinval; double __cosval; };
struct __float2 __sincosf_stret(float);
struct __float2 __sincospif_stret(float);
struct __float2 { float __sinval; float __cosval; };
uint32_t notify_register_dispatch(const char *name, int *out_token, dispatch_queue_t queue, notify_handler_t handler);
uintptr_t dispatch_source_get_mask(dispatch_source_t source);
void *__memcpy_chk(void *dest, const void *src, size_t len, size_t dstlen);
void *__memmove_chk(void *dest, const void *src, size_t len, size_t dstlen);
void *__memset_chk(void *dstpp, int c, size_t len, size_t dstlen);
void *__strncpy_chk(char *dest, char *src, size_t len, size_t dstlen);
void *bsearch_b(const void *, const void *, size_t, size_t, int (*)(const void *, const void *));
void *dispatch_mach_mig_demux_get_context(void);
void abort_report_np(const char *, ...);
void backtrace_symbols_fd(void * const *array, int size, int fd);
void dispatch_activate(dispatch_object_t object);
void dispatch_after(dispatch_time_t when, dispatch_queue_t queue, dispatch_block_t block);
void dispatch_apply(size_t iterations, dispatch_queue_t queue, void (*block)(size_t));
void dispatch_assert_queue_not$V2(dispatch_queue_t queue);
void dispatch_assert_queue(dispatch_queue_t queue);
void dispatch_assert_queue$V2(dispatch_queue_t queue);
void dispatch_async_and_wait(dispatch_queue_t queue, dispatch_block_t block);
void dispatch_async(dispatch_queue_t queue, dispatch_block_t block);
void dispatch_barrier_async(dispatch_queue_t queue, dispatch_block_t block);
void dispatch_barrier_sync(dispatch_queue_t queue, dispatch_block_t block);
void dispatch_block_cancel(dispatch_block_t block);
void dispatch_group_async(dispatch_group_t group, dispatch_queue_t queue, dispatch_block_t block);
void dispatch_group_notify(dispatch_group_t group, dispatch_queue_t queue, dispatch_block_t block);
void dispatch_io_barrier(dispatch_io_t channel, dispatch_block_t barrier);
void dispatch_io_close(dispatch_io_t channel, dispatch_io_close_flags_t flags);
void dispatch_io_read(dispatch_io_t channel, off_t offset, size_t length, dispatch_queue_t queue, dispatch_io_handler_t io_handler);
void dispatch_mach_cancel(dispatch_mach_t channel);
void dispatch_mach_connect(dispatch_mach_t channel, mach_port_t receive, mach_port_t send, dispatch_mach_msg_t checkin);
void dispatch_mach_receive_barrier_f(dispatch_mach_t channel, void *context, dispatch_function_t barrier);
void dispatch_mach_receive_barrier(dispatch_mach_t channel, dispatch_block_t barrier);
void dispatch_mach_reconnect(dispatch_mach_t channel, mach_port_t send, dispatch_mach_msg_t checkin);
void dispatch_mach_send_barrier_f(dispatch_mach_t channel, void *context, dispatch_function_t barrier);
void dispatch_mach_send_barrier(dispatch_mach_t channel, dispatch_block_t barrier);
void dispatch_once(dispatch_once_t *predicate, dispatch_block_t block);
void dispatch_queue_set_label_nocopy(dispatch_queue_t queue, const char *label);
void dispatch_read(dispatch_fd_t fd, size_t length, dispatch_queue_t queue, void (*handler)(dispatch_data_t data, int error));
void dispatch_set_qos_class_fallback(dispatch_object_t object, dispatch_qos_class_t qos_class);
void dispatch_set_qos_class_floor(dispatch_object_t object, dispatch_qos_class_t qos_class, int relative_priority);
void dispatch_source_merge_data(dispatch_source_t source, uintptr_t value);
void dispatch_source_set_cancel_handler(dispatch_source_t source, dispatch_block_t handler);
void dispatch_source_set_event_handler(dispatch_source_t source, dispatch_block_t handler);
void dispatch_source_set_mandatory_cancel_handler(dispatch_source_t source, dispatch_block_t handler);
void dispatch_sync(dispatch_queue_t queue, dispatch_block_t block);
void dispatch_workloop_set_autorelease_frequency(dispatch_workloop_t workloop, dispatch_autorelease_frequency_t frequency);
void dispatch_workloop_set_scheduler_priority(dispatch_workloop_t workloop, int priority, dispatch_workloop_param_flags_t flags);
void dispatch_write(dispatch_fd_t fd, dispatch_data_t data, dispatch_queue_t queue, void (*handler)(dispatch_data_t data, int error));
void qsort_b(void *base, size_t nel, size_t width, int (*compar)(const void *, const void *));
================================================
FILE: Darwin/Types.h
================================================
#ifndef MY_DARWIN_H_
#define MY_DARWIN_H_
#import "../BaseTypes.h"
#import "../Foundation/Types.h"
#import "../Kernel/Types.h"
typedef uint32_t mach_error_t;
typedef uint32_t dispatch_lock;
typedef uint32_t dispatch_priority_t;
typedef uint64_t dispatch_time_t;
typedef intptr_t dispatch_once_t;
typedef unsigned long dispatch_io_type_t;
typedef unsigned long dispatch_io_close_flags_t;
typedef unsigned long dispatch_block_flags_t;
typedef unsigned long dispatch_workloop_param_flags_t;
typedef unsigned long dispatch_autorelease_frequency_t;
typedef int opaque_t;
typedef int dispatch_fd_t;
typedef long dispatch_queue_priority_t;
PS_ENUM(unsigned int, qos_class_t) {
QOS_CLASS_USER_INTERACTIVE = 0x21,
QOS_CLASS_USER_INITIATED = 0x19,
QOS_CLASS_DEFAULT = 0x15,
QOS_CLASS_UTILITY = 0x11,
QOS_CLASS_BACKGROUND = 0x09,
QOS_CLASS_UNSPECIFIED = 0x00
};
typedef NSObject *dispatch_object_t;
typedef NSObject *dispatch_source_t;
typedef NSObject *dispatch_group_t;
typedef NSObject *dispatch_data_t;
typedef NSObject *dispatch_workloop_t;
typedef NSObject *dispatch_queue_global_t;
typedef NSObject *dispatch_io_t;
typedef NSObject *dispatch_semaphore_t;
typedef const struct dispatch_source_type_s *dispatch_source_type_t;
typedef struct dispatch_queue_s *dispatch_queue_t;
typedef struct dispatch_queue_attr_s *dispatch_queue_attr_t;
typedef struct dispatch_mach_s *dispatch_mach_t;
typedef struct dispatch_mach_msg_s *dispatch_mach_msg_t;
typedef struct voucher_s *voucher_t;
typedef struct dispatch_unfair_lock_s {
dispatch_lock dul_lock;
} dispatch_unfair_lock_s, *dispatch_unfair_lock_t;
typedef struct dispatch_pthread_root_queue_observer_hooks_s {
void (*queue_will_execute)(dispatch_queue_t queue);
void (*queue_did_execute)(dispatch_queue_t queue);
} * dispatch_pthread_root_queue_observer_hooks_t;
typedef qos_class_t dispatch_qos_class_t;
enum dispatch_mach_reason_t {
DISPATCH_MACH_CONNECTED = 1,
DISPATCH_MACH_MESSAGE_RECEIVED,
DISPATCH_MACH_MESSAGE_SENT,
DISPATCH_MACH_MESSAGE_SEND_FAILED,
DISPATCH_MACH_MESSAGE_NOT_SENT,
DISPATCH_MACH_BARRIER_COMPLETED,
DISPATCH_MACH_DISCONNECTED,
DISPATCH_MACH_CANCELED,
DISPATCH_MACH_REASON_LAST,
};
enum dispatch_mach_msg_destructor_t {
DISPATCH_MACH_MSG_DESTRUCTOR_DEFAULT = 0,
DISPATCH_MACH_MSG_DESTRUCTOR_FREE,
DISPATCH_MACH_MSG_DESTRUCTOR_VM_DEALLOCATE,
};
typedef mach_msg_context_trailer_t dispatch_mach_trailer_t;
#define DISPATCH_MACH_RECEIVE_MAX_INLINE_MESSAGE_SIZE (0x4000 - sizeof(dispatch_mach_trailer_t))
typedef void (*notify_handler_t)(int token);
typedef void (*dispatch_block_t)(void);
typedef void (*dispatch_function_t)(void *);
typedef void (*dispatch_io_handler_t)(bool done, dispatch_data_t data, int error);
typedef void (*dispatch_mach_handler_t)(dispatch_mach_reason_t reason, dispatch_mach_msg_t message,
mach_error_t error);
typedef void (*dispatch_mach_handler_function_t)(void *context, dispatch_mach_reason_t reason,
dispatch_mach_msg_t message, mach_error_t error);
typedef bool (*dispatch_data_applier_t)(dispatch_data_t region, size_t offset, const void *buffer,
size_t size);
typedef boolean_t (*dispatch_mig_callback_t)(mach_msg_header_t *message, mach_msg_header_t *reply);
// problematic
extern struct dispatch_queue_s _dispatch_main_q;
extern struct dispatch_queue_attr_s _dispatch_queue_attr_concurrent;
#endif
================================================
FILE: Foundation/Foundation.h
================================================
#import "../BaseTypes.h"
#import "../CoreGraphics/Types.h"
#import "../UIKit/Types.h"
#import "Types.h"
BOOL NSCompareHashTables(NSHashTable *table1, NSHashTable *table2);
BOOL NSCompareMapTables(NSMapTable *table1, NSMapTable *table2);
BOOL NSContainsRect(NSRect aRect, NSRect bRect);
BOOL NSEqualPoints(NSPoint aPoint, NSPoint bPoint);
BOOL NSEqualRects(NSRect aRect, NSRect bRect);
BOOL NSEqualSizes(NSSize aSize, NSSize bSize);
BOOL NSIntersectsRange(NSRange aRange, NSRange bRange);
BOOL NSIntersectsRect(NSRect aRect, NSRect bRect);
BOOL NSIsEmptyRect(NSRect aRect);
BOOL NSMapMember(NSMapTable *table, const void *key, void **originalKey, void **value);
BOOL NSNextMapEnumeratorPair(NSMapEnumerator *enumerator, void **key, void **value);
BOOL NSPointInRect(NSPoint aPoint, NSRect aRect);
CGFloat NSHeight(NSRect aRect);
CGFloat NSMaxX(NSRect aRect);
CGFloat NSMaxY(NSRect aRect);
CGFloat NSMidX(NSRect aRect);
CGFloat NSMidY(NSRect aRect);
CGFloat NSMinX(NSRect aRect);
CGFloat NSMinY(NSRect aRect);
CGFloat NSWidth(NSRect aRect);
Class NSClassFromString(CFStringRef string);
const char *NSGetSizeAndAlignment(const char *typePtr, NSUInteger *sizep, NSUInteger *alignp);
id NSAllocateObject(Class aClass, NSUInteger extraBytes, NSZone *zone);
NSArray *NSAllMapTableKeys(NSMapTable *table);
NSArray *NSAllMapTableValues(NSMapTable *table);
NSArray *NSSearchPathForDirectoriesInDomains(NSSearchPathDirectory directory, NSSearchPathDomainMask domainMask, BOOL expandTilde);
NSDictionary *_NSDictionaryOfVariableBindings(NSString *commaSeparatedKeysString, id firstValue, ...);
NSHashEnumerator NSEnumerateHashTable(NSHashTable *table);
NSHashTable *NSCreateHashTable(NSHashTableCallBacks callBacks, NSUInteger capacity);
NSMapEnumerator NSEnumerateMapTable(NSMapTable *table);
NSMapTable *NSCreateMapTable(NSMapTableKeyCallBacks keyCallBacks, NSMapTableValueCallBacks valueCallBacks, NSUInteger capacity);
NSMapTable *NSCreateMapTableWithZone(NSMapTableKeyCallBacks keyCallBacks, NSMapTableValueCallBacks valueCallBacks, NSUInteger capacity, NSZone *zone);
NSPoint NSPointFromString(CFNSString aString);
NSRange NSIntersectionRange(NSRange range1, NSRange range2);
NSRange NSRangeFromString(CFNSString aString);
NSRange NSUnionRange(NSRange range1, NSRange range2);
NSRect NSInsetRect(NSRect aRect, CGFloat dX, CGFloat dY);
NSRect NSIntegralRect(NSRect aRect);
NSRect NSIntegralRectWithOptions(NSRect aRect, NSAlignmentOptions opts);
NSRect NSIntersectionRect(NSRect aRect, NSRect bRect);
NSRect NSMakeRect(CGFloat x, CGFloat y, CGFloat w, CGFloat h);
NSRect NSRectFromString(NSString *aString);
NSRect NSUnionRect(NSRect aRect, NSRect bRect);
NSString *NSHomeDirectory(void);
NSString *NSOpenStepRootDirectory(void);
NSString *NSStringFromBOOL(BOOL theBOOL);
NSString *NSStringFromClass(Class aClass);
NSString *NSStringFromPoint(NSPoint aPoint);
NSString *NSStringFromProtocol(Protocol *proto);
NSString *NSStringFromRange(NSRange range);
NSString *NSStringFromRect(NSRect aRect);
NSString *NSStringFromSelector(SEL aSelector);
NSString *NSStringFromSize(NSSize aSize);
NSString *NSTemporaryDirectory(void);
NSUInteger NSCountMapTable(NSMapTable *table);
NSUInteger NSPageSize(void);
NSUInteger NSRoundUpToMultipleOfPageSize(NSUInteger bytes);
NSUncaughtExceptionHandler *NSGetUncaughtExceptionHandler(void);
NSZone *NSZoneFromPointer(void *ptr);
Protocol *NSProtocolFromString(CFStringRef namestr);
SEL NSSelectorFromString(CFStringRef aSelectorName);
unsigned __NSHashCString(void *table, const void *anObject);
unsigned NSHashCString(unsigned char *str, int n);
void *NSHashGet(NSHashTable *table, const void *pointer);
void *NSMapGet(NSMapTable *table, const void *key);
void *NSMapInsertIfAbsent(NSMapTable *table, const void *key, const void *value);
void *NSNextHashEnumeratorItem(NSHashEnumerator *enumerator);
void *NSPushAutoreleasePool(NSUInteger capacity);
void *NSReallocateCollectable(void *ptr, NSUInteger size, NSUInteger options);
void *NSZoneCalloc(NSZone *zone, NSUInteger numElems, NSUInteger byteSize);
void *NSZoneMalloc(NSZone *zone, NSUInteger size);
void *NSZoneRealloc(NSZone *zone, void *ptr, NSUInteger size);
void NSDeallocateObject(id object);
void NSDivideRect(NSRect inRect, NSRect *slice, NSRect *rem, CGFloat amount, NSRectEdge edge);
void NSEndHashTableEnumeration(NSHashEnumerator *enumerator);
void NSEndMapTableEnumeration(NSMapEnumerator *enumerator);
void NSFreeMapTable(NSMapTable *table);
void NSHashInsert(NSHashTable *table, const void *pointer);
void NSHashRemove(NSHashTable *table, const void *pointer);
void NSLog(CFNSString format, ...);
void NSLogv(CFNSString format, va_list args);
void NSMapInsert(NSMapTable *table, const void *key, const void *value);
void NSMapInsertKnownAbsent(NSMapTable *table, const void *key, const void
gitextract_ddc_e4g4/
├── .clang-format
├── .gitattributes
├── .gitignore
├── .vscode/
│ ├── c_cpp_properties.json
│ └── settings.json
├── AVFCapture/
│ └── AVFCapture.h
├── AVFoundation/
│ └── AVFoundation.h
├── AppSupport/
│ ├── AppSupport.h
│ └── Types.h
├── AssetsLibraryServices/
│ └── AssetsLibraryServices.h
├── AudioToolbox/
│ ├── AudioToolbox.h
│ └── Types.h
├── BaseTypes.h
├── CommonCrypto/
│ ├── CommonCrypto.h
│ └── Types.h
├── CoreAnimation/
│ ├── CoreAnimation.h
│ └── Types.h
├── CoreAudio/
│ ├── CoreAudio.h
│ └── Types.h
├── CoreFoundation/
│ ├── CoreFoundation.h
│ └── Types.h
├── CoreGraphics/
│ ├── CoreGraphics.h
│ └── Types.h
├── CoreMedia/
│ ├── CoreMedia.h
│ └── Types.h
├── CoreServices/
│ ├── CoreServices.h
│ └── Types.h
├── CoreText/
│ ├── CoreText.h
│ └── Types.h
├── CoreVideo/
│ ├── CoreVideo.h
│ └── Types.h
├── CydiaSubstrate/
│ ├── CydiaSubstrate.h
│ └── Types.h
├── Darwin/
│ ├── Darwin.h
│ └── Types.h
├── Foundation/
│ ├── Foundation.h
│ └── Types.h
├── GraphicsServices/
│ ├── GraphicsServices.h
│ └── Types.h
├── IDA.h
├── IDA.til
├── IDA32.til
├── IOKit/
│ ├── IOKit.h
│ ├── NXTypes.h
│ └── Types.h
├── IOMobileFramebuffer/
│ ├── IOMobileFramebuffer.h
│ └── Types.h
├── IOSurface/
│ ├── IOSurface.h
│ └── Types.h
├── Kernel/
│ ├── Kernel.h
│ └── Types.h
├── LICENSE
├── MediaRemote/
│ ├── MediaRemote.h
│ └── Types.h
├── MobileGestalt/
│ ├── MobileGestalt.h
│ └── Types.h
├── PowerLog/
│ └── PowerLog.h
├── QuartzCore/
│ ├── QuartzCore.h
│ └── Types.h
├── README.md
├── Security/
│ ├── Security.h
│ └── Types.h
├── SoftLinking/
│ └── SoftLinking.h
├── SpringBoard/
│ └── Types.h
├── SpringBoardHome/
│ └── Types.h
├── Swift/
│ ├── Swift.h
│ └── Types.h
├── System/
│ ├── System.h
│ └── Types.h
├── SystemConfiguration/
│ ├── SystemConfiguration.h
│ └── Types.h
├── Types.h
├── UIKit/
│ ├── Types.h
│ └── UIKit.h
├── dyld/
│ ├── Types.h
│ └── dyld.h
├── fishhook/
│ └── fishhook.h
├── icu/
│ ├── Types.h
│ └── icu.h
├── objc/
│ ├── Types.h
│ └── objc.h
├── os/
│ ├── Types.h
│ └── os.h
├── pthread/
│ ├── Types.h
│ └── pthread.h
├── sandbox/
│ ├── Types.h
│ └── sandbox.h
├── sqlite/
│ ├── Types.h
│ └── sqlite.h
└── xpc/
├── Types.h
└── xpc.h
SYMBOL INDEX (686 symbols across 44 files)
FILE: AudioToolbox/Types.h
type AudioFormatListItem (line 6) | typedef struct AudioFormatListItem {
FILE: BaseTypes.h
type int8 (line 10) | typedef signed char int8;
type uint8 (line 11) | typedef unsigned char uint8;
type int16 (line 12) | typedef signed short int16;
type uint16 (line 13) | typedef unsigned short uint16;
type int32 (line 14) | typedef signed long int32;
type uint32 (line 15) | typedef unsigned long uint32;
type int64 (line 16) | typedef signed long long int64;
type uint64 (line 17) | typedef unsigned long long uint64;
type uint64 (line 19) | typedef uint64 __darwin_size_t;
type __darwin_size_t (line 20) | typedef __darwin_size_t size_t;
type uint8 (line 22) | typedef uint8 UInt8;
type uint16 (line 23) | typedef uint16 UInt16;
type uint32 (line 24) | typedef uint32 UInt32;
type uint64 (line 25) | typedef uint64 UInt64;
type int8 (line 26) | typedef int8 SInt8;
type int16 (line 27) | typedef int16 SInt16;
type int32 (line 28) | typedef int32 SInt32;
type int64 (line 29) | typedef int64 SInt64;
type int64 (line 36) | typedef int64 int64_t;
type uint64 (line 37) | typedef uint64 uint64_t;
type uint64 (line 38) | typedef uint64 uintptr_t;
type int64 (line 48) | typedef int64 __darwin_time_t;
type timespec (line 50) | struct timespec {
type uint8 (line 55) | typedef uint8 Boolean;
type kern_return_t (line 56) | typedef int kern_return_t;
type __darwin_natural_t (line 57) | typedef unsigned int __darwin_natural_t;
type u_int64_t (line 58) | typedef unsigned long long u_int64_t;
type vm_offset_t (line 59) | typedef uintptr_t vm_offset_t;
type vm_offset_t (line 60) | typedef vm_offset_t vm_address_t;
type mach_vm_address_t (line 61) | typedef uint64_t mach_vm_address_t;
type UInt64 (line 62) | typedef UInt64 AbsoluteTime;
type ipc_port (line 64) | struct ipc_port
type ipc_port_t (line 66) | typedef ipc_port_t mach_port_t;
type task (line 68) | struct task
type _OSObject (line 71) | struct _OSObject
type objc_class (line 73) | struct objc_class
type NSObject (line 75) | typedef struct NSObject {
type BOOL (line 80) | typedef bool BOOL;
type BOOL (line 82) | typedef signed char BOOL;
type Float32 (line 85) | typedef float Float32;
type Float64 (line 86) | typedef double Float64;
type UniCharCount (line 87) | typedef unsigned long UniCharCount;
type UInt32 (line 88) | typedef UInt32 UTF32Char;
type UInt16 (line 89) | typedef UInt16 UniChar;
type UInt16 (line 90) | typedef UInt16 UTF16Char;
type UInt8 (line 91) | typedef UInt8 UTF8Char;
type errno_t (line 93) | typedef int errno_t;
type integer_t (line 94) | typedef int32_t integer_t;
type off_t (line 95) | typedef int64_t off_t;
type rsize_t (line 96) | typedef size_t rsize_t;
FILE: CommonCrypto/Types.h
type CC_LONG (line 6) | typedef uint32_t CC_LONG;
type CC_LONG64 (line 7) | typedef uint64_t CC_LONG64;
type CNStatus (line 9) | typedef uint32_t CNStatus;
type _CCCryptor (line 11) | struct _CCCryptor
type _CNEncoder (line 12) | struct _CNEncoder
type CCKDFParameters (line 13) | struct CCKDFParameters
type __CCRandom (line 14) | struct __CCRandom
type CCDigestCtx (line 17) | typedef struct CCDigestCtx_t {
type CC_MD2_CTX (line 25) | typedef struct CC_MD2state_st {
type CC_MD4_CTX (line 40) | typedef struct CC_MD4state_st {
type CC_MD5_CTX (line 51) | typedef struct CC_MD5state_st {
type CC_SHA1_CTX (line 62) | typedef struct CC_SHA1state_st {
type CC_SHA224_CTX (line 69) | typedef struct CC_SHA224state_st {
type CC_SHA256_CTX (line 78) | typedef struct CC_SHA256state_st {
type CC_SHA512_CTX (line 87) | typedef struct CC_SHA512state_st {
type CCCryptorStatus (line 111) | typedef int32_t CCCryptorStatus;
type CCHmacContext (line 193) | typedef struct CCHmacContext {
FILE: CoreAnimation/Types.h
type CATransform3D (line 6) | typedef struct CATransform3D {
FILE: CoreAudio/Types.h
type UInt32 (line 6) | typedef UInt32 AudioChannelLabel;
type UInt32 (line 7) | typedef UInt32 AudioChannelLayoutTag;
type AudioValueRange (line 9) | typedef struct AudioValueRange {
type AudioBuffer (line 14) | typedef struct AudioBuffer {
type AudioBufferList (line 20) | typedef struct AudioBufferList {
type AudioStreamBasicDescription (line 25) | typedef struct AudioStreamBasicDescription {
type AudioStreamPacketDescription (line 37) | typedef struct AudioStreamPacketDescription {
type AudioChannelDescription (line 43) | typedef struct AudioChannelDescription {
type AudioChannelLayout (line 49) | typedef struct AudioChannelLayout {
FILE: CoreFoundation/Types.h
type __CFString (line 8) | struct __CFString {
type __CFString (line 17) | struct __CFString {
type __CFError (line 26) | struct __CFError
type __CFAllocator (line 27) | struct __CFAllocator
type __CFArray (line 28) | struct __CFArray
type __CFArray (line 29) | struct __CFArray
type __CFString (line 30) | typedef const __CFString *CFStringRef;
type __CFString (line 31) | typedef const __CFString *CFMutableStringRef;
type __CFDictionary (line 32) | struct __CFDictionary
type __CFDictionary (line 33) | struct __CFDictionary
type _CFBurstTrie (line 34) | struct _CFBurstTrie
type _CFBurstTrieCursor (line 35) | struct _CFBurstTrieCursor
type __CFBundle (line 36) | struct __CFBundle
type __CFLocale (line 37) | struct __CFLocale
type __CFBoolean (line 38) | struct __CFBoolean
type __CFNumber (line 39) | struct __CFNumber
type __CFDate (line 40) | struct __CFDate
type __CFData (line 41) | struct __CFData
type __CFData (line 42) | struct __CFData
type __CFURL (line 43) | struct __CFURL
type __CFRunLoop (line 44) | struct __CFRunLoop
type __CFRunLoopSource (line 45) | struct __CFRunLoopSource
type __CFRunLoopObserver (line 46) | struct __CFRunLoopObserver
type __CFRunLoopTimer (line 47) | struct __CFRunLoopTimer
type __CFAttributedString (line 48) | struct __CFAttributedString
type __CFMutableAttributedString (line 49) | struct __CFMutableAttributedString
type __CFNotificationCenter (line 50) | struct __CFNotificationCenter
type __CFUserNotification (line 51) | struct __CFUserNotification
type __CFCharacterSet (line 52) | struct __CFCharacterSet
type __CFCharacterSet (line 53) | struct __CFCharacterSet
type __CFSet (line 54) | struct __CFSet
type __CFSet (line 55) | struct __CFSet
type __CFReadStream (line 56) | struct __CFReadStream
type __CFWriteStream (line 57) | struct __CFWriteStream
type __CFUUID (line 58) | struct __CFUUID
type __CFBag (line 59) | struct __CFBag
type __CFBag (line 60) | struct __CFBag
type __CFStringTokenizer (line 61) | struct __CFStringTokenizer
type __CFMachPort (line 62) | struct __CFMachPort
type __CFMessagePort (line 63) | struct __CFMessagePort
type CFMessagePortContext (line 64) | typedef struct __CFMessagePortContext CFMessagePortContext;
type __CFHTTPMessage (line 65) | struct __CFHTTPMessage
type __CFBitVector (line 66) | struct __CFBitVector
type CFTypeRef (line 71) | typedef CFTypeRef CFPropertyListRef;
type CFBundleRefNum (line 73) | typedef int CFBundleRefNum;
type CFIndex (line 76) | typedef long CFIndex;
type int32 (line 78) | typedef int32 CFIndex;
type CFTypeID (line 81) | typedef unsigned long CFTypeID;
type CFOptionFlags (line 82) | typedef unsigned long CFOptionFlags;
type CFHashCode (line 83) | typedef unsigned long CFHashCode;
type SInt16 (line 85) | typedef SInt16 LangCode;
type SInt16 (line 86) | typedef SInt16 RegionCode;
type SInt16 (line 87) | typedef SInt16 ScriptCode;
type CFTimeInterval (line 89) | typedef double CFTimeInterval;
type CFOptionFlags (line 91) | typedef CFOptionFlags CFURLBookmarkResolutionOptions;
type CFIndex (line 93) | typedef CFIndex CFSystemVersion;
type CFStringRef (line 206) | typedef CFStringRef CFNotificationName;
type CFStringRef (line 207) | typedef CFStringRef CFErrorDomain;
type CFStringRef (line 208) | typedef CFStringRef CFRunLoopMode;
type CFStringRef (line 209) | typedef CFStringRef CFStreamPropertyKey;
type CFStringRef (line 210) | typedef CFStringRef CFLocaleKey;
type CFStringRef (line 211) | typedef CFStringRef CFLocaleIdentifier;
type CFComparisonResult (line 213) | typedef CFComparisonResult (*CFComparatorFunction)(const void *val1, con...
type CFStringRef (line 221) | typedef CFStringRef (*CFArrayCopyDescriptionCallBack)(const void *value);
type CFTimeInterval (line 223) | typedef CFTimeInterval CFAbsoluteTime;
type Boolean (line 225) | typedef Boolean (*CFArrayEqualCallBack)(const void *value1, const void *...
type CFArrayCallBacks (line 227) | typedef struct CFArrayCallBacks {
type CFStringRef (line 238) | typedef CFStringRef (*CFDictionaryCopyDescriptionCallBack)(const void *v...
type Boolean (line 239) | typedef Boolean (*CFDictionaryEqualCallBack)(const void *value1, const v...
type CFHashCode (line 240) | typedef CFHashCode (*CFDictionaryHashCallBack)(const void *value);
type CFDictionaryKeyCallBacks (line 242) | typedef struct CFDictionaryKeyCallBacks {
type CFDictionaryValueCallBacks (line 254) | typedef struct CFDictionaryValueCallBacks {
type CFDataRef (line 264) | typedef CFDataRef (*CFMessagePortCallBack)(CFMessagePortRef local, SInt3...
type CFStringRef (line 269) | typedef CFStringRef (*CFSetCopyDescriptionCallBack)(const void *value);
type Boolean (line 270) | typedef Boolean (*CFSetEqualCallBack)(const void *value1, const void *va...
type CFHashCode (line 271) | typedef CFHashCode (*CFSetHashCallBack)(const void *value);
type CFIndex (line 276) | typedef CFIndex (*CFAllocatorPreferredSizeCallBack)(CFIndex size, CFOpti...
type CFStringRef (line 279) | typedef CFStringRef (*CFAllocatorCopyDescriptionCallBack)(const void *in...
type CFAllocatorContext (line 281) | typedef struct CFAllocatorContext {
type CFSetCallBacks (line 293) | typedef struct CFSetCallBacks {
type CFRange (line 302) | typedef struct CFRange {
type CFCharacterSetInlineBuffer (line 307) | typedef struct CFCharacterSetInlineBuffer {
type CFStringInlineBuffer (line 315) | typedef struct CFStringInlineBuffer {
type CFStreamEventType (line 401) | typedef enum CFStreamEventType {
type CFRuntimeClass (line 410) | typedef struct __CFRuntimeClass {
type CFUUIDBytes (line 425) | typedef struct CFUUIDBytes {
type CFStringRef (line 463) | typedef CFStringRef (*CFBagCopyDescriptionCallBack)(const void *value);
type Boolean (line 464) | typedef Boolean (*CFBagEqualCallBack)(const void *value1, const void *va...
type CFHashCode (line 465) | typedef CFHashCode (*CFBagHashCallBack)(const void *value);
type CFBagCallBacks (line 467) | typedef struct CFBagCallBacks {
type CFRuntimeBase (line 486) | typedef struct __CFRuntimeBase {
type CFStreamClientContext (line 494) | typedef struct CFStreamClientContext {
type CFRunLoopSourceContext (line 502) | typedef struct CFRunLoopSourceContext {
type CFRunLoopSourceContext1 (line 515) | typedef struct CFRunLoopSourceContext1 {
type CFRunLoopObserverContext (line 527) | typedef struct CFRunLoopObserverContext {
type CFRunLoopTimerContext (line 537) | typedef struct CFRunLoopTimerContext {
type CFMachPortContext (line 545) | typedef struct {
FILE: CoreGraphics/Types.h
type CGFloat (line 8) | typedef double CGFloat;
type CGFloat (line 10) | typedef float CGFloat;
type CGPoint (line 13) | typedef struct CGPoint {
type CGSize (line 18) | typedef struct CGSize {
type CGRect (line 23) | typedef struct CGRect {
type CGVector (line 28) | typedef struct CGVector {
type CGAffineTransform (line 33) | typedef struct CGAffineTransform {
type CGContext (line 42) | struct CGContext
type CGImage (line 43) | struct CGImage
type CGColorSpace (line 44) | struct CGColorSpace
type CGColor (line 45) | struct CGColor
type CGGradient (line 46) | struct CGGradient
type CGDataProvider (line 47) | struct CGDataProvider
type CGPath (line 48) | struct CGPath
type CGPath (line 49) | struct CGPath
type CGPattern (line 50) | struct CGPattern
type CGFont (line 51) | struct CGFont
type CGColorTransform (line 52) | struct CGColorTransform
type CGImageDestination (line 53) | struct CGImageDestination
type CGImageSource (line 54) | struct CGImageSource
type CGImageMetadata (line 55) | struct CGImageMetadata
type CGImageMetadata (line 56) | struct CGImageMetadata
type CGImageMetadataTag (line 57) | struct CGImageMetadataTag
type CGShading (line 58) | struct CGShading
type CGPDFAnnotation (line 59) | struct CGPDFAnnotation
type CGPDFPage (line 60) | struct CGPDFPage
type CGPDFDocument (line 61) | struct CGPDFDocument
type CGImageProvider (line 62) | struct CGImageProvider
type CGSRegionEnumeratorObject (line 64) | struct CGSRegionEnumeratorObject
type CGSRegionObject (line 65) | struct CGSRegionObject
type CGSRegionObject (line 66) | struct CGSRegionObject
type CGRectEdge (line 68) | typedef uint32_t CGRectEdge;
type CGSByteCount (line 70) | typedef uint32_t CGSByteCount;
type CGSConnectionID (line 71) | typedef uint32_t CGSConnectionID;
type CGSWindowCount (line 72) | typedef uint32_t CGSWindowCount;
type CGSWindowID (line 73) | typedef uint32_t CGSWindowID;
type CGFontIndex (line 75) | typedef unsigned short CGFontIndex;
type CGFontIndex (line 77) | typedef CGFontIndex CGGlyph;
type CFTypeRef (line 79) | typedef CFTypeRef CGSRegionRef;
type CFTypeRef (line 80) | typedef CFTypeRef CGSRegionEnumeratorRef;
type CGCompositeOperation (line 101) | typedef enum CGCompositeOperation {
type CGContextType (line 265) | typedef enum CGContextType {
type CGPathElement (line 287) | typedef struct CGPathElement {
type CGPatternCallbacks (line 299) | typedef struct CGPatternCallbacks {
FILE: CoreMedia/Types.h
type CMTimeValue (line 8) | typedef int64_t CMTimeValue;
type CMTimeEpoch (line 9) | typedef int64_t CMTimeEpoch;
type CMTimeScale (line 11) | typedef int32_t CMTimeScale;
type CMBaseClassVersion (line 13) | typedef uint32_t CMBaseClassVersion;
type CMStructVersion (line 14) | typedef uint32_t CMStructVersion;
type Float64 (line 16) | typedef double Float64;
type CMItemCount (line 18) | typedef long CMItemCount;
type CMItemIndex (line 19) | typedef long CMItemIndex;
type CFTypeRef (line 125) | typedef CFTypeRef CMAttachmentBearerRef;
type CFStringRef (line 127) | typedef CFStringRef CMSoundDescriptionFlavor;
type OpaqueCMBaseObject (line 129) | struct OpaqueCMBaseObject
type OpaqueCMBaseClass (line 130) | struct OpaqueCMBaseClass
type OpaqueCMBlockBuffer (line 131) | struct OpaqueCMBlockBuffer
type OpaqueCMClock (line 132) | struct OpaqueCMClock
type opaqueCMSampleBuffer (line 133) | struct opaqueCMSampleBuffer
type opaqueCMFormatDescription (line 134) | struct opaqueCMFormatDescription
type opaqueCMNotificationCenter (line 135) | struct opaqueCMNotificationCenter
type CMBaseProtocolTable (line 137) | typedef struct CMBaseProtocolTable CMBaseProtocolTable;
type CMFormatDescriptionRef (line 139) | typedef CMFormatDescriptionRef CMVideoFormatDescriptionRef;
type CMFormatDescriptionRef (line 140) | typedef CMFormatDescriptionRef CMAudioFormatDescriptionRef;
type OSStatus (line 142) | typedef OSStatus (*CMBaseObjectCopyPropertyFunction)(CMBaseObjectRef obj...
type OSStatus (line 143) | typedef OSStatus (*CMBaseObjectSetPropertyFunction)(CMBaseObjectRef obje...
type OSStatus (line 144) | typedef OSStatus (*CMSampleBufferMakeDataReadyCallback)(CMSampleBufferRe...
type CMVideoDimensions (line 149) | typedef struct CMVideoDimensions {
type CMTime (line 154) | typedef struct CMTime {
type CMTimeRange (line 161) | typedef struct CMTimeRange {
type CMSampleTimingInfo (line 166) | typedef struct CMSampleTimingInfo {
type CMBaseClass (line 172) | typedef struct CMBaseClass {
type CMBaseVTable (line 185) | typedef struct CMBaseVTable {
FILE: CoreText/Types.h
type __CTFont (line 7) | struct __CTFont
type __CTFontDescriptor (line 8) | struct __CTFontDescriptor
type __CTFontCollection (line 9) | struct __CTFontCollection
type __CTRun (line 10) | struct __CTRun
type __CTLine (line 11) | struct __CTLine
type __CTTypesetter (line 12) | struct __CTTypesetter
type __CTFrame (line 13) | struct __CTFrame
type __CTFramesetter (line 14) | struct __CTFramesetter
type __CTParagraphStyle (line 15) | struct __CTParagraphStyle
type CFOptionFlags (line 151) | typedef CFOptionFlags CTFontOptions;
type UniChar (line 153) | typedef const UniChar *(*CTUniCharProviderCallback)(CFIndex stringIndex,...
FILE: CoreVideo/Types.h
type __CVBuffer (line 6) | struct __CVBuffer
type __CVPixelBufferPool (line 7) | struct __CVPixelBufferPool
type CVBufferRef (line 9) | typedef CVBufferRef CVImageBufferRef;
type CVImageBufferRef (line 10) | typedef CVImageBufferRef CVPixelBufferRef;
type CVOptionFlags (line 12) | typedef uint64_t CVOptionFlags;
type CVReturn (line 14) | typedef int32_t CVReturn;
FILE: CydiaSubstrate/Types.h
type MSImageHeader (line 5) | typedef struct mach_header MSImageHeader;
type MSImageHeader (line 7) | typedef struct mach_header_64 MSImageHeader;
FILE: Darwin/Darwin.h
type mig_subsystem (line 5) | struct mig_subsystem
type __double2 (line 80) | struct __double2
type __double2 (line 81) | struct __double2
type __double2 (line 82) | struct __double2 { double __sinval; double __cosval; }
type __float2 (line 83) | struct __float2
type __float2 (line 84) | struct __float2
type __float2 (line 85) | struct __float2 { float __sinval; float __cosval; }
FILE: Darwin/Types.h
type mach_error_t (line 8) | typedef uint32_t mach_error_t;
type dispatch_lock (line 9) | typedef uint32_t dispatch_lock;
type dispatch_priority_t (line 10) | typedef uint32_t dispatch_priority_t;
type dispatch_time_t (line 11) | typedef uint64_t dispatch_time_t;
type dispatch_once_t (line 12) | typedef intptr_t dispatch_once_t;
type dispatch_io_type_t (line 13) | typedef unsigned long dispatch_io_type_t;
type dispatch_io_close_flags_t (line 14) | typedef unsigned long dispatch_io_close_flags_t;
type dispatch_block_flags_t (line 15) | typedef unsigned long dispatch_block_flags_t;
type dispatch_workloop_param_flags_t (line 16) | typedef unsigned long dispatch_workloop_param_flags_t;
type dispatch_autorelease_frequency_t (line 17) | typedef unsigned long dispatch_autorelease_frequency_t;
type opaque_t (line 18) | typedef int opaque_t;
type dispatch_fd_t (line 19) | typedef int dispatch_fd_t;
type dispatch_queue_priority_t (line 20) | typedef long dispatch_queue_priority_t;
type NSObject (line 31) | typedef NSObject *dispatch_object_t;
type NSObject (line 32) | typedef NSObject *dispatch_source_t;
type NSObject (line 33) | typedef NSObject *dispatch_group_t;
type NSObject (line 34) | typedef NSObject *dispatch_data_t;
type NSObject (line 35) | typedef NSObject *dispatch_workloop_t;
type NSObject (line 36) | typedef NSObject *dispatch_queue_global_t;
type NSObject (line 37) | typedef NSObject *dispatch_io_t;
type NSObject (line 38) | typedef NSObject *dispatch_semaphore_t;
type dispatch_source_type_s (line 40) | struct dispatch_source_type_s
type dispatch_queue_s (line 41) | struct dispatch_queue_s
type dispatch_queue_attr_s (line 42) | struct dispatch_queue_attr_s
type dispatch_mach_s (line 43) | struct dispatch_mach_s
type dispatch_mach_msg_s (line 44) | struct dispatch_mach_msg_s
type voucher_s (line 45) | struct voucher_s
type dispatch_unfair_lock_s (line 47) | typedef struct dispatch_unfair_lock_s {
type dispatch_pthread_root_queue_observer_hooks_s (line 51) | struct dispatch_pthread_root_queue_observer_hooks_s {
type qos_class_t (line 56) | typedef qos_class_t dispatch_qos_class_t;
type dispatch_mach_reason_t (line 58) | enum dispatch_mach_reason_t {
type dispatch_mach_msg_destructor_t (line 70) | enum dispatch_mach_msg_destructor_t {
type mach_msg_context_trailer_t (line 76) | typedef mach_msg_context_trailer_t dispatch_mach_trailer_t;
type boolean_t (line 92) | typedef boolean_t (*dispatch_mig_callback_t)(mach_msg_header_t *message,...
type dispatch_queue_s (line 95) | struct dispatch_queue_s
type dispatch_queue_attr_s (line 96) | struct dispatch_queue_attr_s
FILE: Foundation/Types.h
type NSUInteger (line 10) | typedef unsigned long NSUInteger;
type NSInteger (line 11) | typedef long NSInteger;
type NSUInteger (line 13) | typedef unsigned int NSUInteger;
type NSInteger (line 14) | typedef int NSInteger;
type NSTimeInterval (line 17) | typedef double NSTimeInterval;
type NSValue (line 19) | typedef struct __NSValue NSValue;
type NSString (line 20) | typedef struct __NSObject NSString;
type NSData (line 22) | typedef struct __NSData NSData;
type NSArray (line 23) | typedef struct __NSArray NSArray;
type NSMutableArray (line 24) | typedef struct __NSArray NSMutableArray;
type NSDictionary (line 25) | typedef struct __NSDictionary NSDictionary;
type NSException (line 26) | typedef struct __NSException NSException;
type NSZone (line 27) | typedef struct _NSZone NSZone;
type NSAlignmentOptions (line 29) | typedef unsigned long long NSAlignmentOptions;
type NSUInteger (line 31) | typedef NSUInteger NSRectEdge;
type NSUInteger (line 32) | typedef NSUInteger NSSearchPathDirectory;
type NSUInteger (line 33) | typedef NSUInteger NSSearchPathDomainMask;
type _NSMapTable (line 41) | struct _NSMapTable
type _NSMapNode (line 43) | struct _NSMapNode {
type NSObject (line 49) | typedef NSObject *NSHashTable;
type NSError (line 51) | typedef struct NSError {
type NSMapTableKeyCallBacks (line 59) | typedef struct _NSMapTableKeyCallBacks {
type NSHashTableCallBacks (line 68) | typedef struct NSHashTableCallBacks {
type NSMapTableValueCallBacks (line 76) | typedef struct _NSMapTableValueCallBacks {
type NSMapTable (line 82) | typedef struct _NSMapTable {
type NSMapEnumerator (line 93) | typedef struct NSMapEnumerator {
type NSHashEnumerator (line 99) | typedef struct NSHashEnumerator {
type NSFastEnumerationState (line 105) | typedef struct NSFastEnumerationState {
type NSRange (line 112) | typedef struct _NSRange {
type NSEdgeInsets (line 117) | typedef struct NSEdgeInsets {
type CGPoint (line 121) | typedef CGPoint NSPoint;
type CGSize (line 122) | typedef CGSize NSSize;
type CGRect (line 123) | typedef CGRect NSRect;
type CFNSString (line 125) | typedef CFNSString NSNotificationName;
FILE: GraphicsServices/Types.h
type __GSKeyboard (line 8) | struct __GSKeyboard
type GSAccelerometerInfo (line 107) | typedef struct GSAccelerometerInfo {
type GSDeviceOrientationInfo (line 111) | typedef struct GSDeviceOrientationInfo {
type GSHardwareKeyInfo (line 115) | typedef struct GSHardwareKeyInfo {
type GSKeyInfo (line 130) | typedef struct GSKeyInfo {
type GSPathInfo (line 136) | typedef struct GSPathInfo {
type GSHandInfo (line 146) | typedef struct GSHandInfo {
type GSScrollWheelInfo (line 160) | typedef struct GSScrollWheelInfo {
type GSEventRecord (line 165) | typedef struct GSEventRecord {
type GSEvent (line 182) | typedef struct __GSEvent {
type __GSEvent (line 187) | struct __GSEvent
FILE: IOKit/NXTypes.h
type NXTabletPointData (line 9) | typedef struct _NXTabletPointData {
type NXTabletProximityData (line 27) | typedef struct _NXTabletProximityData {
type tablet (line 42) | typedef union NXEventData {
type tablet (line 58) | typedef struct mouseMove {
type key (line 71) | typedef struct key {
type tracking (line 85) | typedef struct tracking {
type scrollWheel (line 97) | typedef struct zoom {
type misc (line 110) | typedef struct compound {
type tilt (line 120) | typedef struct tablet {
type proximity (line 138) | typedef struct proximity {
FILE: IOKit/Types.h
type OSObject (line 11) | typedef OSObject *io_object_t;
type io_object_t (line 13) | typedef io_object_t *io_service_t;
type io_object_t (line 14) | typedef io_object_t *io_connect_t;
type io_object_t (line 15) | typedef io_object_t *io_registry_entry_t;
type io_object_t (line 16) | typedef io_object_t *io_iterator_t;
type kern_return_t (line 22) | typedef kern_return_t IOReturn;
type SInt32 (line 28) | typedef SInt32 IOFixed;
type UInt32 (line 29) | typedef UInt32 IOVersion;
type UInt32 (line 30) | typedef UInt32 IOItemCount;
type UInt32 (line 31) | typedef UInt32 IOCacheMode;
type UInt32 (line 33) | typedef UInt32 IOByteCount32;
type UInt64 (line 34) | typedef UInt64 IOByteCount64;
type UInt32 (line 36) | typedef UInt32 IOPhysicalAddress32;
type UInt64 (line 37) | typedef UInt64 IOPhysicalAddress64;
type UInt32 (line 38) | typedef UInt32 IOPhysicalLength32;
type UInt64 (line 39) | typedef UInt64 IOPhysicalLength64;
type mach_vm_address_t (line 42) | typedef mach_vm_address_t IOVirtualAddress;
type vm_address_t (line 44) | typedef vm_address_t IOVirtualAddress;
type IOVirtualAddress (line 47) | typedef IOVirtualAddress IOLogicalAddress;
type __IOHIDManager (line 49) | struct __IOHIDManager
type __IOHIDValue (line 50) | struct __IOHIDValue
type __IOHIDDevice (line 51) | struct __IOHIDDevice
type IONotificationPort (line 52) | struct IONotificationPort
type __IOHIDEventSystemClient (line 53) | struct __IOHIDEventSystemClient
type __IOHIDEventQueue (line 54) | struct __IOHIDEventQueue
type __IOHIDServiceClient (line 55) | struct __IOHIDServiceClient
type __IOHIDElement (line 56) | struct __IOHIDElement
type __IOHIDUserDevice (line 57) | struct __IOHIDUserDevice
type __IOUSBDeviceController (line 58) | struct __IOUSBDeviceController
type __IOUSBDeviceDescription (line 59) | struct __IOUSBDeviceDescription
type IOGPoint (line 63) | typedef struct IOGPoint {
type __IOHIDEvent (line 68) | struct __IOHIDEvent {
type IOHIDFloat (line 198) | typedef double IOHIDFloat;
type IOHIDFloat (line 200) | typedef float IOHIDFloat;
type IOHID3DPoint (line 203) | typedef struct _IOHID3DPoint {
type IOHIDEventData (line 398) | typedef struct IOHIDEventData {
type IOReturn (line 414) | typedef IOReturn (*IOHIDUserDeviceReportCallback)(void *refcon, IOHIDRep...
type IOReturn (line 415) | typedef IOReturn (*IOHIDUserDeviceHandleReportAsyncCallback)(void *refco...
type IOPMNotificationHandle (line 417) | typedef uintptr_t IOPMNotificationHandle;
FILE: IOMobileFramebuffer/Types.h
type __IOMobileFramebuffer (line 7) | struct __IOMobileFramebuffer
type IOReturn (line 9) | typedef IOReturn IOMobileFramebufferReturn;
type io_service_t (line 11) | typedef io_service_t IOMobileFramebufferService;
type CGSize (line 13) | typedef CGSize IOMobileFramebufferDisplaySize;
type CGFloat (line 14) | typedef CGFloat IOMobileFramebufferDisplayArea;
type CFTypeID (line 16) | typedef CFTypeID IOMobileFramebufferID;
type CFStringRef (line 18) | typedef CFStringRef IOMobileFramebufferDisplayType;
type IOMobileFramebufferContrastLevel (line 20) | typedef int IOMobileFramebufferContrastLevel;
type IOMobileFramebufferDotPitch (line 21) | typedef int IOMobileFramebufferDotPitch;
FILE: IOSurface/Types.h
type __IOSurface (line 6) | struct __IOSurface
type IOSurfaceID (line 8) | typedef uint32_t IOSurfaceID;
FILE: Kernel/Kernel.h
type timespec (line 11) | struct timespec
FILE: Kernel/Types.h
type __darwin_natural_t (line 6) | typedef __darwin_natural_t natural_t;
type natural_t (line 7) | typedef natural_t mach_port_name_t;
type natural_t (line 8) | typedef natural_t mach_port_seqno_t;
type natural_t (line 9) | typedef natural_t mach_port_msgcount_t;
type natural_t (line 10) | typedef natural_t mach_msg_type_number_t;
type natural_t (line 11) | typedef natural_t mach_msg_size_t;
type kern_return_t (line 12) | typedef kern_return_t mach_msg_return_t;
type __darwin_ptrdiff_t (line 19) | typedef long __darwin_ptrdiff_t;
type __darwin_ptrdiff_t (line 21) | typedef int __darwin_ptrdiff_t;
type __darwin_uuid_t (line 26) | typedef __darwin_uuid_t uuid_t;
type __darwin_ptrdiff_t (line 28) | typedef __darwin_ptrdiff_t ptrdiff_t;
type task (line 30) | struct task
type task_t (line 31) | typedef task_t task_port_t;
type integer_t (line 33) | typedef integer_t mach_msg_id_t;
type integer_t (line 34) | typedef integer_t mach_port_delta_t;
type mode_t (line 38) | typedef uint16_t mode_t;
type mach_vm_size_t (line 39) | typedef uint64_t mach_vm_size_t;
type u_int64_t (line 40) | typedef u_int64_t user_addr_t;
type boolean_t (line 42) | typedef int boolean_t;
type gid_t (line 44) | typedef char gid_t;
type uid_t (line 45) | typedef short uid_t;
type pid_t (line 46) | typedef int pid_t;
type FourCharCode (line 48) | typedef unsigned int FourCharCode;
type mach_msg_trailer_type_t (line 49) | typedef unsigned int mach_msg_trailer_type_t;
type mach_msg_trailer_size_t (line 50) | typedef unsigned int mach_msg_trailer_size_t;
type mach_msg_bits_t (line 51) | typedef unsigned int mach_msg_bits_t;
type vm_offset_t (line 53) | typedef vm_offset_t pointer_t;
type SInt16 (line 55) | typedef SInt16 OSErr;
type SInt32 (line 56) | typedef SInt32 OSStatus;
type UInt32 (line 57) | typedef UInt32 OptionBits;
type FourCharCode (line 59) | typedef FourCharCode OSType;
type ipc_space (line 61) | struct ipc_space
type mach_port_limits_t (line 63) | typedef struct mach_port_limits {
type mach_port_options_t (line 67) | typedef struct mach_port_options {
type mach_msg_header_t (line 73) | typedef struct mach_msg_header {
type mach_vm_address_t (line 82) | typedef mach_vm_address_t mach_port_context_t;
type mach_port_options_t (line 83) | typedef mach_port_options_t *mach_port_options_ptr_t;
type security_token_t (line 85) | typedef struct security_token {
type audit_token_t (line 89) | typedef struct audit_token {
type mach_msg_context_trailer_t (line 93) | typedef struct mach_msg_context_trailer {
FILE: QuartzCore/Types.h
type CAFrameRateRange (line 4) | typedef struct CAFrameRateRange {
FILE: Security/Types.h
type __SecTask (line 8) | struct __SecTask {
type __SecCertificate (line 16) | struct __SecCertificate
type __SecIdentity (line 17) | struct __SecIdentity
type __SecKey (line 18) | struct __SecKey
type __SecPolicy (line 19) | struct __SecPolicy
type __SecAccessControl (line 20) | struct __SecAccessControl
type __SecKeychain (line 21) | struct __SecKeychain
type __SecKeychainItem (line 22) | struct __SecKeychainItem
type __SecKeychainSearch (line 23) | struct __SecKeychainSearch
type __SecTrustedApplication (line 24) | struct __SecTrustedApplication
type __SecAccess (line 25) | struct __SecAccess
type __SecTrust (line 26) | struct __SecTrust
type __SecPassword (line 27) | struct __SecPassword
type __SecTrust (line 28) | struct __SecTrust
type __SecTask (line 29) | struct __SecTask
type __SecCode (line 30) | struct __SecCode
type __SecRequirement (line 31) | struct __SecRequirement
type __SecRandom (line 33) | struct __SecRandom
type uint32 (line 35) | typedef uint32 CSSM_TP_ACTION;
type uint32 (line 36) | typedef uint32 CSSM_TP_HANDLE;
type uint32 (line 37) | typedef uint32 CSSM_EVIDENCE_FORM;
type uint32 (line 38) | typedef uint32 CSSM_DL_HANDLE;
type uint32 (line 39) | typedef uint32 CSSM_DB_HANDLE;
type CSSM_RETURN (line 52) | typedef enum cssm_return { CSSM_OK = 0, CSSM_FAIL = -1 } CSSM_RETURN;
type CSSM_EVIDENCE (line 54) | typedef struct cssm_evidence {
type CSSM_TP_VERIFY_CONTEXT_RESULT (line 59) | typedef struct cssm_tp_verify_context_result {
type CSSM_DB_INDEX_TYPE (line 79) | typedef enum cssm_db_index_type {
type CSSM_DB_INDEXED_DATA_LOCATION (line 84) | typedef enum cssm_db_indexed_data_location {
type CSSM_DL_DB_HANDLE (line 90) | typedef struct cssm_dl_db_handle {
type CSSM_DB_ATTRIBUTE_NAME_FORMAT (line 95) | typedef enum cssm_db_attribute_name_format {
type CSSM_DATA (line 102) | typedef struct cssm_data {
type CSSM_DATA (line 106) | typedef CSSM_DATA CSSM_OID, *CSSM_OID_PTR;
type CSSM_DB_ATTRIBUTE_INFO (line 108) | typedef struct cssm_db_attribute_info {
type CSSM_DB_INDEX_INFO (line 117) | typedef struct cssm_db_index_info {
type CSSM_DB_UNIQUE_RECORD (line 123) | typedef struct cssm_db_unique_record {
type CSSM_TP_APPLE_EVIDENCE_INFO (line 128) | typedef struct CSSM_TP_APPLE_EVIDENCE_INFO {
type OSType (line 137) | typedef OSType SecKeychainAttrType;
type SecKeychainAttribute (line 139) | typedef struct SecKeychainAttribute {
type SecKeychainAttribute (line 145) | typedef SecKeychainAttribute *SecKeychainAttributePtr;
type SecKeychainAttributeList (line 147) | typedef struct SecKeychainAttributeList {
type SecKeychainAttributeInfo (line 152) | typedef struct SecKeychainAttributeInfo {
type UInt32 (line 158) | typedef UInt32 SecKeychainStatus;
type SecTrustResultType (line 173) | typedef SecTrustResultType SecTrustUserSetting;
FILE: SpringBoard/Types.h
type SBIconImageInfo (line 24) | typedef struct SBIconImageInfo {
FILE: Swift/Swift.h
type HeapObject (line 8) | struct HeapObject
type HeapObject (line 10) | struct HeapObject
type HeapObject (line 11) | struct HeapObject
FILE: Swift/Types.h
type HeapObject (line 4) | struct HeapObject
type OpaqueValue (line 5) | struct OpaqueValue
type Metadata (line 6) | struct Metadata
type HeapMetadata (line 7) | struct HeapMetadata
type WitnessTable (line 8) | struct WitnessTable
type ProtocolRequirement (line 9) | struct ProtocolRequirement
type ClassDescriptor (line 10) | struct ClassDescriptor
type MethodDescriptor (line 11) | struct MethodDescriptor
type TypeContextDescriptor (line 12) | struct TypeContextDescriptor
type ValueTypeDescriptor (line 13) | struct ValueTypeDescriptor
type OpaqueTypeDescriptor (line 14) | struct OpaqueTypeDescriptor
type ProtocolConformanceDescriptor (line 15) | struct ProtocolConformanceDescriptor
type TypeLayout (line 16) | struct TypeLayout
type ProtocolRecord (line 17) | struct ProtocolRecord
type ProtocolConformanceRecord (line 18) | struct ProtocolConformanceRecord
type ProtocolClassConstraint (line 19) | struct ProtocolClassConstraint
type MetadataDependency (line 20) | struct MetadataDependency
type MetadataResponse (line 21) | struct MetadataResponse
type MetadataRequest (line 22) | struct MetadataRequest
type ProtocolDescriptorRef (line 23) | struct ProtocolDescriptorRef
type BoxPair (line 24) | struct BoxPair
type ValueBuffer (line 25) | struct ValueBuffer
type opaque (line 27) | struct opaque
type type (line 28) | struct type
type error (line 29) | struct error
type HeapObject (line 38) | struct HeapObject {
type MetadataResponse (line 42) | struct MetadataResponse {
FILE: System/Types.h
type __asl_object_s (line 6) | struct __asl_object_s
type clockid_t (line 8) | typedef int clockid_t;
type container_error_t (line 9) | typedef long container_error_t;
type malloc_zone_t (line 11) | typedef struct _malloc_zone_t {
FILE: SystemConfiguration/Types.h
type __SCDynamicStore (line 4) | struct __SCDynamicStore
type __SCNetworkReachability (line 5) | struct __SCNetworkReachability
FILE: UIKit/Types.h
type __UIImage (line 8) | struct __UIImage
type UIEdgeInsets (line 10) | typedef struct UIEdgeInsets {
type UIOffset (line 14) | typedef struct UIOffset {
type NSDirectionalEdgeInsets (line 18) | typedef struct NSDirectionalEdgeInsets {
type CFNSString (line 223) | typedef CFNSString UIContentSizeCategory;
FILE: dyld/Types.h
type dyld_platform_t (line 6) | typedef uint32_t dyld_platform_t;
type dyld_build_version_t (line 8) | typedef struct dyld_build_version_t {
type dyld_process_info_base (line 13) | struct dyld_process_info_base
type dyld_unwind_sections (line 15) | typedef struct dyld_unwind_sections {
type Platform (line 23) | typedef enum Platform {
type PlatformInfo (line 37) | typedef struct PlatformInfo {
FILE: dyld/dyld.h
type mach_header (line 10) | struct mach_header
type mach_header (line 13) | struct mach_header
type dyld_unwind_sections (line 20) | struct dyld_unwind_sections
type mach_header (line 24) | struct mach_header
type mach_header (line 30) | struct mach_header
FILE: fishhook/fishhook.h
type rebinding (line 3) | struct rebinding {
type rebinding (line 9) | struct rebinding
type rebinding (line 11) | struct rebinding
FILE: icu/Types.h
type USet (line 7) | typedef struct USet USet;
type UBool (line 9) | typedef int8_t UBool;
type UChar (line 10) | typedef uint16_t UChar;
type UChar32 (line 11) | typedef int32_t UChar32;
type UProperty (line 22) | typedef enum UProperty {
type UScriptCode (line 166) | typedef enum UScriptCode {
type UCharCategory (line 375) | typedef enum UCharCategory {
type UCharDirection (line 449) | typedef enum UCharDirection {
type UBidiPairedBracketType (line 479) | typedef enum UBidiPairedBracketType {
type UBlockCode (line 489) | typedef enum UBlockCode {
type UEastAsianWidth (line 791) | typedef enum UEastAsianWidth {
type UCharNameChoice (line 804) | typedef enum UCharNameChoice {
type UPropertyNameChoice (line 818) | typedef enum UPropertyNameChoice {
type UDecompositionType (line 827) | typedef enum UDecompositionType {
type UJoiningType (line 852) | typedef enum UJoiningType {
type UJoiningGroup (line 866) | typedef enum UJoiningGroup {
type UGraphemeClusterBreak (line 976) | typedef enum UGraphemeClusterBreak {
type UWordBreakValues (line 1001) | typedef enum UWordBreakValues {
type USentenceBreak (line 1031) | typedef enum USentenceBreak {
type ULineBreak (line 1052) | typedef enum ULineBreak {
type UNumericType (line 1103) | typedef enum UNumericType {
type UHangulSyllableType (line 1114) | typedef enum UHangulSyllableType {
type UErrorCode (line 1127) | typedef enum UErrorCode {
type BinaryProperty (line 1323) | struct BinaryProperty
type UBool (line 1325) | typedef UBool BinaryPropertyContains(const BinaryProperty &prop, UChar32...
type BinaryProperty (line 1327) | typedef struct BinaryProperty {
type UBreakIterator (line 1333) | typedef struct UBreakIterator UBreakIterator;
FILE: icu/icu.h
type UBool (line 59) | typedef UBool UCharEnumTypeRange(const void *context, UChar32 start, UCh...
type UBool (line 60) | typedef UBool UEnumCharNamesFn(void *context, UChar32 code, UCharNameCho...
FILE: objc/Types.h
type objc_object (line 6) | struct objc_object {
type Protocol (line 12) | typedef struct Protocol {
type objc_ivar (line 18) | struct objc_ivar
type objc_category (line 19) | struct objc_category
type objc_property (line 20) | struct objc_property
type objc_method (line 21) | struct objc_method
type objc_AssociationPolicy (line 23) | typedef uintptr_t objc_AssociationPolicy;
type objc_property_attribute_t (line 27) | typedef struct objc_property_attribute {
type objc_super (line 32) | typedef struct objc_super {
type objc_tag_index_t (line 37) | typedef enum objc_tag_index_t {
type BOOL (line 65) | typedef BOOL (*objc_hook_getClass)(const char *name, Class *outClass);
FILE: objc/objc.h
type mach_header (line 29) | struct mach_header
type objc_super (line 87) | struct objc_super
type objc_super (line 88) | struct objc_super
type objc_method_description (line 144) | struct objc_method_description
type objc_method_description (line 145) | struct objc_method_description
type objc_method_description (line 146) | struct objc_method_description
type objc_super (line 176) | struct objc_super
FILE: os/Types.h
type _os_object_s (line 17) | struct _os_object_s
type os_log_s (line 19) | struct os_log_s
type os_activity_s (line 20) | struct os_activity_s
type os_transaction_s (line 21) | struct os_transaction_s
type os_activity_scope_state_s (line 22) | struct os_activity_scope_state_s
type os_workgroup_attr_opaque_s (line 24) | struct os_workgroup_attr_opaque_s {
type os_workgroup_interval_data_opaque_s (line 29) | struct os_workgroup_interval_data_opaque_s {
type os_workgroup_join_token_opaque_s (line 34) | struct os_workgroup_join_token_opaque_s {
type os_workgroup_interval_data_s (line 39) | typedef struct os_workgroup_interval_data_opaque_s os_workgroup_interval...
type os_workgroup_interval_data_opaque_s (line 40) | struct os_workgroup_interval_data_opaque_s
type os_workgroup_attr_s (line 41) | typedef struct os_workgroup_attr_opaque_s os_workgroup_attr_s;
type os_workgroup_attr_opaque_s (line 42) | struct os_workgroup_attr_opaque_s
type os_workgroup_mpt_attr_s (line 43) | typedef struct os_workgroup_max_parallel_threads_attr_s os_workgroup_mpt...
type os_workgroup_max_parallel_threads_attr_s (line 44) | struct os_workgroup_max_parallel_threads_attr_s
type os_workgroup_join_token_s (line 45) | typedef struct os_workgroup_join_token_opaque_s os_workgroup_join_token_s;
type os_workgroup_join_token_opaque_s (line 46) | struct os_workgroup_join_token_opaque_s
type os_unfair_lock (line 48) | typedef struct os_unfair_lock_s {
type os_unfair_recursive_lock (line 52) | typedef struct os_unfair_recursive_lock_s {
type NSObject (line 57) | typedef NSObject *os_workgroup_t;
type os_workgroup_t (line 58) | typedef os_workgroup_t *os_workgroup_interval_t;
type os_state_hints_s (line 99) | struct os_state_hints_s {
type os_state_data_decoder_s (line 106) | struct os_state_data_decoder_s {
type os_state_data_s (line 116) | struct os_state_data_s {
type os_state_handle_t (line 127) | typedef uint64_t os_state_handle_t;
type os_state_data_t (line 128) | typedef os_state_data_t (*os_state_block_t)(os_state_hints_t hints);
type os_workgroup_index (line 130) | typedef uint32_t os_workgroup_index;
type os_activity_id_t (line 132) | typedef uint64_t os_activity_id_t;
type os_signpost_id_t (line 133) | typedef uint64_t os_signpost_id_t;
type os_once_t (line 135) | typedef long os_once_t;
type os_once_t (line 136) | typedef os_once_t os_alloc_token_t;
type _os_alloc_once_s (line 144) | struct _os_alloc_once_s {
type os_lock_t (line 166) | typedef union os_lock {
type os_log_pack_s (line 176) | typedef struct os_log_pack_s {
type _os_nospin_lock_s (line 185) | struct _os_nospin_lock_s
type os_log_s (line 189) | struct os_log_s
FILE: os/os.h
type _os_alloc_once_s (line 76) | struct _os_alloc_once_s
FILE: pthread/Types.h
type __darwin_pthread_handler_rec (line 16) | struct __darwin_pthread_handler_rec {
type _opaque_pthread_attr_t (line 22) | struct _opaque_pthread_attr_t {
type _opaque_pthread_t (line 27) | struct _opaque_pthread_t {
type _opaque_pthread_mutex_t (line 33) | struct _opaque_pthread_mutex_t {
type _opaque_pthread_mutex_t (line 38) | typedef _opaque_pthread_mutex_t __darwin_pthread_mutex_t;
type __darwin_pthread_mutex_t (line 39) | typedef __darwin_pthread_mutex_t pthread_mutex_t;
type _opaque_pthread_cond_t (line 41) | struct _opaque_pthread_cond_t {
type __darwin_pthread_cond_t (line 46) | typedef struct _opaque_pthread_cond_t __darwin_pthread_cond_t;
type __darwin_pthread_cond_t (line 47) | typedef __darwin_pthread_cond_t pthread_cond_t;
type pthread_mutexattr_t (line 49) | typedef struct pthread_mutexattr_t {
type _opaque_pthread_t (line 56) | struct _opaque_pthread_t
type __darwin_pthread_attr_t (line 57) | typedef struct _opaque_pthread_attr_t __darwin_pthread_attr_t;
type __darwin_pthread_t (line 59) | typedef __darwin_pthread_t pthread_t;
type __darwin_pthread_attr_t (line 60) | typedef __darwin_pthread_attr_t pthread_attr_t;
FILE: pthread/pthread.h
type timespec (line 8) | struct timespec
FILE: sandbox/Types.h
type sandbox_filter_type (line 6) | enum sandbox_filter_type {
type sandbox_profile (line 24) | struct sandbox_profile {
type sandbox_params (line 30) | struct sandbox_params {
type sandbox_filter_type (line 38) | enum sandbox_filter_type
type sandbox_filter_type (line 39) | enum sandbox_filter_type
type sandbox_filter_type (line 40) | enum sandbox_filter_type
type sandbox_filter_type (line 41) | enum sandbox_filter_type
FILE: sandbox/sandbox.h
type sandbox_filter_type (line 12) | enum sandbox_filter_type
type sandbox_filter_type (line 13) | enum sandbox_filter_type
FILE: sqlite/Types.h
type sqlite_int64 (line 4) | typedef long long int sqlite_int64;
type sqlite_uint64 (line 5) | typedef unsigned long long int sqlite_uint64;
type sqlite_int64 (line 6) | typedef sqlite_int64 sqlite3_int64;
type sqlite_uint64 (line 7) | typedef sqlite_uint64 sqlite3_uint64;
type sqlite3 (line 9) | typedef struct sqlite3 sqlite3;
type sqlite3_stmt (line 10) | typedef struct sqlite3_stmt sqlite3_stmt;
FILE: xpc/Types.h
type NSObject (line 6) | typedef NSObject *xpc_object_t;
type NSObject (line 7) | typedef NSObject *OS_xpc_mach_send;
type _xpc_type_s (line 9) | struct _xpc_type_s
type _xpc_pipe_s (line 10) | struct _xpc_pipe_s
type xpc_object_t (line 12) | typedef xpc_object_t xpc_connection_t;
type xpc_object_t (line 13) | typedef xpc_object_t xpc_bundle_t;
type xpc_object_t (line 14) | typedef xpc_object_t xpc_endpoint_t;
type xpc_object_t (line 15) | typedef xpc_object_t xpc_activity_t;
type xpc_activity_state_t (line 23) | typedef long xpc_activity_state_t;
type _xpc_type_s (line 25) | struct _xpc_type_s
type _xpc_type_s (line 26) | struct _xpc_type_s
type _xpc_type_s (line 27) | struct _xpc_type_s
type _xpc_type_s (line 28) | struct _xpc_type_s
type _xpc_type_s (line 29) | struct _xpc_type_s
type _xpc_type_s (line 30) | struct _xpc_type_s
type _xpc_type_s (line 31) | struct _xpc_type_s
type _xpc_type_s (line 32) | struct _xpc_type_s
Condensed preview — 91 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (433K chars).
[
{
"path": ".clang-format",
"chars": 344,
"preview": "BasedOnStyle: LLVM\nLanguage: Cpp\nColumnLimit: 200\nMaxEmptyLinesToKeep: 1\nPointerBindsToType: false\nAllowShortBlocksOnASi"
},
{
"path": ".gitattributes",
"chars": 66,
"preview": "# Auto detect text files and perform LF normalization\n* text=auto\n"
},
{
"path": ".gitignore",
"chars": 10,
"preview": ".DS_Store\n"
},
{
"path": ".vscode/c_cpp_properties.json",
"chars": 644,
"preview": "{\n \"configurations\": [\n {\n \"name\": \"Win32\",\n \"includePath\": [\n \"${workspa"
},
{
"path": ".vscode/settings.json",
"chars": 156,
"preview": "{\n \"files.associations\": {\n \"*.h\": \"objective-cpp\"\n },\n \"C_Cpp.clang_format_fallbackStyle\": \"LLVM\",\n "
},
{
"path": "AVFCapture/AVFCapture.h",
"chars": 972,
"preview": "#import \"../CoreFoundation/Types.h\"\n#import \"../Foundation/Types.h\"\n\nCFStringRef AVGestaltGetStringAnswer(CFStringRef ke"
},
{
"path": "AVFoundation/AVFoundation.h",
"chars": 517,
"preview": "#import \"../CoreGraphics/Types.h\"\n#import \"../Foundation/Types.h\"\n\nCGRect AVMakeRectWithAspectRatioInsideRect(CGSize asp"
},
{
"path": "AppSupport/AppSupport.h",
"chars": 632,
"preview": "#import \"../CoreFoundation/Types.h\"\n#import \"../Kernel/Types.h\"\n#import \"Types.h\"\n\nBOOL CPIsInternalDevice(void);\n\nvoid "
},
{
"path": "AppSupport/Types.h",
"chars": 53,
"preview": "#ifndef APP_SUPPORT_H_\n#define APP_SUPPORT_H_\n\n#endif"
},
{
"path": "AssetsLibraryServices/AssetsLibraryServices.h",
"chars": 368,
"preview": "#import \"../Darwin/Types.h\"\n\nvoid pl_dispatch_after(dispatch_time_t when, dispatch_queue_t queue, dispatch_block_t block"
},
{
"path": "AudioToolbox/AudioToolbox.h",
"chars": 847,
"preview": "#import \"../BaseTypes.h\"\n#import \"../Kernel/Types.h\"\n#import \"../CoreFoundation/Types.h\"\n#import \"Types.h\"\n\nOSStatus Aud"
},
{
"path": "AudioToolbox/Types.h",
"chars": 1694,
"preview": "#ifndef AUDIOTOOLBOX_H_\n#define AUDIOTOOLBOX_H_\n\n#import \"../CoreAudio/Types.h\"\n\ntypedef struct AudioFormatListItem {\n "
},
{
"path": "BaseTypes.h",
"chars": 2124,
"preview": "#ifndef BASE_TYPES_H_\n#define BASE_TYPES_H_\n\n#ifndef GHIDRA\n #define PS_ENUM(_type, _name) enum _name : _type\n#else\n "
},
{
"path": "CommonCrypto/CommonCrypto.h",
"chars": 4819,
"preview": "#import \"Types.h\"\n\nint CCDigest(CCDigestAlgorithm alg, const uint8_t *data, size_t len, uint8_t *out);\n\nint CC_MD4_Init("
},
{
"path": "CommonCrypto/Types.h",
"chars": 5866,
"preview": "#ifndef COMMONCRYPTO_H_\n#define COMMONCRYPTO_H_\n\n#import \"../BaseTypes.h\"\n\ntypedef uint32_t CC_LONG;\ntypedef uint64_t CC"
},
{
"path": "CoreAnimation/CoreAnimation.h",
"chars": 1493,
"preview": "#import \"../CoreFoundation/Types.h\"\n#import \"Types.h\"\n\nbool CATransform3DIsAffine(CATransform3D t);\nbool CATransform3DIs"
},
{
"path": "CoreAnimation/Types.h",
"chars": 484,
"preview": "#ifndef COREANIMATION_H_\n#define COREANIMATION_H_\n\n#import \"../CoreGraphics/Types.h\"\n\ntypedef struct CATransform3D {\n "
},
{
"path": "CoreAudio/CoreAudio.h",
"chars": 17,
"preview": "#import \"Types.h\""
},
{
"path": "CoreAudio/Types.h",
"chars": 1333,
"preview": "#ifndef COREAUDIO_H_\n#define COREAUDIO_H_\n\n#import \"../BaseTypes.h\"\n\ntypedef UInt32 AudioChannelLabel;\ntypedef UInt32 Au"
},
{
"path": "CoreFoundation/CoreFoundation.h",
"chars": 46478,
"preview": "#import \"../BaseTypes.h\"\n#import \"../Darwin/Types.h\"\n#import \"../xpc/Types.h\"\n#import \"Types.h\"\n\ndouble CFStringGetDoubl"
},
{
"path": "CoreFoundation/Types.h",
"chars": 19044,
"preview": "#ifndef COREFOUNDATION_H_\n#define COREFOUNDATION_H_\n\n#import \"../BaseTypes.h\"\n\n#ifdef __EA64__\n\nstruct __CFString {\n "
},
{
"path": "CoreGraphics/CoreGraphics.h",
"chars": 32223,
"preview": "#import \"../CoreFoundation/Types.h\"\n#import \"../Foundation/Types.h\"\n#import \"../IOSurface/Types.h\"\n#import \"Types.h\"\n\nCF"
},
{
"path": "CoreGraphics/Types.h",
"chars": 8715,
"preview": "#ifndef COREGRAPHICS_H_\n#define COREGRAPHICS_H_\n\n#import \"../BaseTypes.h\"\n#import \"../CoreFoundation/Types.h\"\n\n#ifdef __"
},
{
"path": "CoreMedia/CoreMedia.h",
"chars": 15541,
"preview": "#import \"../BaseTypes.h\"\n#import \"../Kernel/Types.h\"\n#import \"../AudioToolbox/Types.h\"\n#import \"../CoreGraphics/Types.h\""
},
{
"path": "CoreMedia/Types.h",
"chars": 7417,
"preview": "#ifndef COREMEDIA_H_\n#define COREMEDIA_H_\n\n#import \"../BaseTypes.h\"\n#import \"../CoreFoundation/Types.h\"\n#import \"../Kern"
},
{
"path": "CoreServices/CoreServices.h",
"chars": 603,
"preview": "#import \"../BaseTypes.h\"\n#import \"../CoreFoundation/Types.h\"\n#import \"Types.h\"\n\nBoolean UTTypeConformsTo(CFStringRef inU"
},
{
"path": "CoreServices/Types.h",
"chars": 55,
"preview": "#ifndef CORESERVICES_H_\n#define CORESERVICES_H_\n\n#endif"
},
{
"path": "CoreText/CoreText.h",
"chars": 11547,
"preview": "#import \"../BaseTypes.h\"\n#import \"../CoreFoundation/Types.h\"\n#import \"../CoreGraphics/Types.h\"\n#import \"Types.h\"\n\nCGAffi"
},
{
"path": "CoreText/Types.h",
"chars": 6287,
"preview": "#ifndef CORETEXT_H_\n#define CORETEXT_H_\n\n#import \"../BaseTypes.h\"\n#import \"../CoreFoundation/Types.h\"\n\ntypedef struct __"
},
{
"path": "CoreVideo/CoreVideo.h",
"chars": 3769,
"preview": "#import \"../BaseTypes.h\"\n#import \"../Kernel/Types.h\"\n#import \"../CoreGraphics/Types.h\"\n#import \"../CoreFoundation/Types."
},
{
"path": "CoreVideo/Types.h",
"chars": 756,
"preview": "#ifndef COREVIDEO_H_\n#define COREVIDEO_H_\n\n#import \"../BaseTypes.h\"\n\ntypedef struct __CVBuffer *CVBufferRef;\ntypedef str"
},
{
"path": "CydiaSubstrate/CydiaSubstrate.h",
"chars": 2392,
"preview": "/* Cydia Substrate - Powerful Code Insertion Platform\n * Copyright (C) 2008-2019 Jay Freeman (saurik)\n*/\n\n/*\n * "
},
{
"path": "CydiaSubstrate/Types.h",
"chars": 201,
"preview": "#ifndef SUBSTRATE_H_\n#define SUBSTRATE_H_\n\n#ifndef __EA64__\ntypedef struct mach_header MSImageHeader;\n#else\ntypedef stru"
},
{
"path": "Darwin/Darwin.h",
"chars": 9566,
"preview": "#import \"../pthread/Types.h\"\n#import \"Types.h\"\n\nbool dispatch_data_apply(dispatch_data_t data, dispatch_data_applier_t a"
},
{
"path": "Darwin/Types.h",
"chars": 3528,
"preview": "#ifndef MY_DARWIN_H_\n#define MY_DARWIN_H_\n\n#import \"../BaseTypes.h\"\n#import \"../Foundation/Types.h\"\n#import \"../Kernel/T"
},
{
"path": "Foundation/Foundation.h",
"chars": 5095,
"preview": "#import \"../BaseTypes.h\"\n#import \"../CoreGraphics/Types.h\"\n#import \"../UIKit/Types.h\"\n#import \"Types.h\"\n\nBOOL NSCompareH"
},
{
"path": "Foundation/Types.h",
"chars": 3539,
"preview": "#ifndef FOUNDATION_H_\n#define FOUNDATION_H_\n\n#import \"../BaseTypes.h\"\n#import \"../CoreFoundation/Types.h\"\n#import \"../Co"
},
{
"path": "GraphicsServices/GraphicsServices.h",
"chars": 4426,
"preview": "#import \"../BaseTypes.h\"\n#import \"../Kernel/Types.h\"\n#import \"Types.h\"\n\nfloat GSEventGetDeltaX(GSEventRef event);\nfloat "
},
{
"path": "GraphicsServices/Types.h",
"chars": 4985,
"preview": "#ifndef GRAPHICSSERVICES_H_\n#define GRAPHICSSERVICES_H_\n\n#import \"../CoreFoundation/Types.h\"\n#import \"../CoreGraphics/Ty"
},
{
"path": "IDA.h",
"chars": 1422,
"preview": "// #define SWIFT\n// #define IOS14\n#import \"Types.h\"\n#import \"Kernel/Kernel.h\"\n#import \"dyld/dyld.h\"\n#import \"pthread/pth"
},
{
"path": "IOKit/IOKit.h",
"chars": 21578,
"preview": "#import \"../BaseTypes.h\"\n#import \"../Darwin/Types.h\"\n#import \"../Kernel/Types.h\"\n#import \"../CoreFoundation/Types.h\"\n#im"
},
{
"path": "IOKit/NXTypes.h",
"chars": 3801,
"preview": "#ifndef _NX_TYPES\n#define _NX_TYPES\n#ifndef GHIDRA\n\n// Doesn't work correctly on IDA Pro 7.0\n\n#import \"../BaseTypes.h\"\n\n"
},
{
"path": "IOKit/Types.h",
"chars": 18215,
"preview": "#ifndef IOKIT_H_\n#define IOKIT_H_\n\n#import \"../BaseTypes.h\"\n#import \"../CoreFoundation/Types.h\"\n#import \"NXTypes.h\"\n\n#de"
},
{
"path": "IOMobileFramebuffer/IOMobileFramebuffer.h",
"chars": 1284,
"preview": "#import \"../Kernel/Types.h\"\n#import \"../IOSurface/Types.h\"\n#import \"Types.h\"\n\nIOMobileFramebufferReturn IOMobileFramebuf"
},
{
"path": "IOMobileFramebuffer/Types.h",
"chars": 568,
"preview": "#ifndef IOMOBILEFRAMEBUFFER_H_\n#define IOMOBILEFRAMEBUFFER_H_\n\n#import \"../CoreGraphics/Types.h\"\n#import \"../IOKit/Types"
},
{
"path": "IOSurface/IOSurface.h",
"chars": 2517,
"preview": "#import \"../BaseTypes.h\"\n#import \"../Kernel/Types.h\"\n#import \"../CoreGraphics/Types.h\"\n#import \"../CoreFoundation/Types."
},
{
"path": "IOSurface/Types.h",
"chars": 149,
"preview": "#ifndef IOSURFACE_H_\n#define IOSURFACE_H_\n\n#import \"../BaseTypes.h\"\n\ntypedef struct __IOSurface *IOSurfaceRef;\n\ntypedef "
},
{
"path": "Kernel/Kernel.h",
"chars": 983,
"preview": "#import \"../BaseTypes.h\"\n#import \"Types.h\"\n\nint kdebug_trace(uint32_t debugid, uint64_t arg1, uint64_t arg2, uint64_t ar"
},
{
"path": "Kernel/Types.h",
"chars": 2347,
"preview": "#ifndef KERNEL_H_\n#define KERNEL_H_\n\n#import \"../BaseTypes.h\"\n\ntypedef __darwin_natural_t natural_t;\ntypedef natural_t m"
},
{
"path": "LICENSE",
"chars": 2325,
"preview": "MIT License\n\nCopyright (c) 2019 - 2025 PoomSmart\n\nPermission is hereby granted, free of charge, to any person obtaining "
},
{
"path": "MediaRemote/MediaRemote.h",
"chars": 2192,
"preview": "#import \"../BaseTypes.h\"\n#import \"../Darwin/Types.h\"\n#import \"../CoreFoundation/Types.h\"\n#import \"../Foundation/Types.h\""
},
{
"path": "MediaRemote/Types.h",
"chars": 6609,
"preview": "#ifndef MEDIAREMOTE_H_\n#define MEDIAREMOTE_H_\n\n#import \"../CoreFoundation/Types.h\"\n#import \"../Foundation/Types.h\"\n\nPS_E"
},
{
"path": "MobileGestalt/MobileGestalt.h",
"chars": 953,
"preview": "#import \"../BaseTypes.h\"\n#import \"../CoreFoundation/Types.h\"\n#import \"../Foundation/Types.h\"\n#import \"Types.h\"\n\nSInt32 M"
},
{
"path": "MobileGestalt/Types.h",
"chars": 661,
"preview": "#import \"../BaseTypes.h\"\n\nPS_ENUM(int, MGProductType) {\n MGProductTypeUnknown = -1,\n};\n\nPS_ENUM(int, MGDeviceClass) {"
},
{
"path": "PowerLog/PowerLog.h",
"chars": 311,
"preview": "#import \"../CoreFoundation/Types.h\"\n\nbool PLShouldLogRegisteredEvent(int clientID, CFStringRef event);\n\nvoid PLLogRegist"
},
{
"path": "QuartzCore/QuartzCore.h",
"chars": 191,
"preview": "#import \"Types.h\"\n\nbool CAFrameRateRangeIsEqualToRange(CAFrameRateRange range, CAFrameRateRange other);\n\nCAFrameRateRang"
},
{
"path": "QuartzCore/Types.h",
"chars": 222,
"preview": "#ifndef QUARTZCORE_H_\n#define QUARTZCORE_H_\n\ntypedef struct CAFrameRateRange {\n float minimum;\n float maximum;\n "
},
{
"path": "README.md",
"chars": 2926,
"preview": "# IDAObjcTypes\nA collection of (public and private) types and functions definitions useful for iOS/macOS binaries analys"
},
{
"path": "Security/Security.h",
"chars": 6923,
"preview": "#import \"../BaseTypes.h\"\n#import \"../CoreFoundation/Types.h\"\n#import \"../Darwin/Types.h\"\n#import \"../Kernel/Types.h\"\n#im"
},
{
"path": "Security/Types.h",
"chars": 15954,
"preview": "#ifndef SECURITY_H_\n#define SECURITY_H_\n\n#import \"../BaseTypes.h\"\n#import \"../CoreFoundation/Types.h\"\n#import \"../Kernel"
},
{
"path": "SoftLinking/SoftLinking.h",
"chars": 73,
"preview": "void *_sl_dlopen(const char **);\nvoid *_sl_dlopen_audited(const char **);"
},
{
"path": "SpringBoard/Types.h",
"chars": 881,
"preview": "#ifndef SPRINGBOARD_H_\n#define SPRINGBOARD_H_\n\n#import \"../CoreFoundation/Types.h\"\n#import \"../Foundation/Types.h\"\n\nPS_E"
},
{
"path": "SpringBoardHome/Types.h",
"chars": 1132,
"preview": "#ifndef SPRINGBOARDHOME_H_\n#define SPRINGBOARDHOME_H_\n\n#import \"../Foundation/Types.h\"\n\nPS_ENUM(NSUInteger, SBHScreenTyp"
},
{
"path": "Swift/Swift.h",
"chars": 11234,
"preview": "#import \"../BaseTypes.h\"\n#import \"../objc/Types.h\"\n#import \"Types.h\"\n\nbool swift_dynamicCast(opaque*, opaque*, type*, ty"
},
{
"path": "Swift/Types.h",
"chars": 1531,
"preview": "#ifndef SWIFT_H_\n#define SWIFT_H_\n\ntypedef struct HeapObject *HeapObject;\ntypedef struct OpaqueValue *OpaqueValue;\ntyped"
},
{
"path": "System/System.h",
"chars": 1243,
"preview": "#import \"../BaseTypes.h\"\n#import \"../Darwin/Types.h\"\n#import \"../Kernel/Types.h\"\n#import \"Types.h\"\n\nvoid asl_release(asl"
},
{
"path": "System/Types.h",
"chars": 1168,
"preview": "#ifndef SYSTEM_H_\n#define SYSTEM_H_\n\n#import \"../BaseTypes.h\"\n\ntypedef struct __asl_object_s *asl_object_t;\n\ntypedef int"
},
{
"path": "SystemConfiguration/SystemConfiguration.h",
"chars": 488,
"preview": "#import \"../CoreFoundation/Types.h\"\n#import \"Types.h\"\n\nCFDictionaryRef SCDynamicStoreCopyDHCPInfo(SCDynamicStoreRef stor"
},
{
"path": "SystemConfiguration/Types.h",
"chars": 265,
"preview": "#ifndef SYSTEMCONFIGURATION_H_\n#define SYSTEMCONFIGURATION_H_\n\ntypedef struct __SCDynamicStore *SCDynamicStoreRef;\ntyped"
},
{
"path": "Types.h",
"chars": 1051,
"preview": "#ifndef IDATYPES_H_\n#define IDATYPES_H_\n\n#import \"BaseTypes.h\"\n\n#import \"AppSupport/Types.h\"\n#import \"AudioToolbox/Types"
},
{
"path": "UIKit/Types.h",
"chars": 7628,
"preview": "#ifndef UIKIT_H_\n#define UIKIT_H_\n\n#import \"../CoreFoundation/Types.h\"\n#import \"../CoreGraphics/Types.h\"\n#import \"../Fou"
},
{
"path": "UIKit/UIKit.h",
"chars": 4074,
"preview": "#import \"../BaseTypes.h\"\n#import \"../CoreGraphics/Types.h\"\n#import \"../IOSurface/Types.h\"\n#import \"Types.h\"\n\nUIEdgeInset"
},
{
"path": "dyld/Types.h",
"chars": 1257,
"preview": "#ifndef DYLD_H_\n#define DYLD_H_\n\n#import \"../BaseTypes.h\"\n\ntypedef uint32_t dyld_platform_t;\n\ntypedef struct dyld_build_"
},
{
"path": "dyld/dyld.h",
"chars": 1293,
"preview": "#import \"../BaseTypes.h\"\n#import \"Types.h\"\n\ndyld_platform_t dyld_get_active_platform(void);\ndyld_platform_t dyld_get_bas"
},
{
"path": "fishhook/fishhook.h",
"chars": 299,
"preview": "#import \"../BaseTypes.h\"\n\nstruct rebinding {\n const char *name;\n void *replacement;\n void **replaced;\n};\n\nint r"
},
{
"path": "icu/Types.h",
"chars": 37764,
"preview": "\n#ifndef ICU_H_\n#define ICU_H_\n\n#import \"../BaseTypes.h\"\n\ntypedef struct USet USet;\n\ntypedef int8_t UBool;\ntypedef uint1"
},
{
"path": "icu/icu.h",
"chars": 5705,
"preview": "#import \"../BaseTypes.h\"\n#import \"Types.h\"\n\n#define U_NO_NUMERIC_VALUE ((double)-123456789.)\n\nUBool u_hasBinaryProperty("
},
{
"path": "objc/Types.h",
"chars": 1574,
"preview": "#ifndef OBJC_H_\n#define OBJC_H_\n\n#import \"../BaseTypes.h\"\n\nstruct objc_object {\n Class isa;\n};\n\ntypedef void *id;\n\nty"
},
{
"path": "objc/objc.h",
"chars": 9098,
"preview": "#import \"../BaseTypes.h\"\n#import \"../Kernel/Types.h\"\n#import \"../System/Types.h\"\n#import \"../Foundation/Types.h\"\n#import"
},
{
"path": "os/Types.h",
"chars": 6470,
"preview": "#ifndef OS_H_\n#define OS_H_\n\n#import \"../BaseTypes.h\"\n#import \"../Foundation/Types.h\"\n\n#ifdef __EA64__\n#define __OS_WORK"
},
{
"path": "os/os.h",
"chars": 6080,
"preview": "#import \"../BaseTypes.h\"\n#import \"../Darwin/Types.h\"\n#import \"../CoreFoundation/Types.h\"\n#import \"Types.h\"\n\nbool _os_fea"
},
{
"path": "pthread/Types.h",
"chars": 1393,
"preview": "#ifndef DARWIN_H_\n#define DARWIN_H_\n\n#import \"../BaseTypes.h\"\n\n#ifdef __EA64__\n#define __PTHREAD_SIZE__ 8176\n#define __P"
},
{
"path": "pthread/pthread.h",
"chars": 984,
"preview": "#import \"../Kernel/Types.h\"\n#import \"../Darwin/Types.h\"\n#import \"Types.h\"\n\n\nint pthread_main_np(void);\nint pthread_attr_"
},
{
"path": "sandbox/Types.h",
"chars": 1194,
"preview": "#ifndef SANDBOX_H_\n#define SANDBOX_H_\n\n#import \"../BaseTypes.h\"\n\nenum sandbox_filter_type {\n SANDBOX_FILTER_NONE,\n "
},
{
"path": "sandbox/sandbox.h",
"chars": 1527,
"preview": "#import \"../BaseTypes.h\"\n#import \"../Kernel/Types.h\"\n#import \"Types.h\"\n\nchar *sandbox_extension_issue_file(const char *e"
},
{
"path": "sqlite/Types.h",
"chars": 281,
"preview": "#ifndef MY_SQLITE_H_\n#define MY_SQLITE_H_\n\ntypedef long long int sqlite_int64;\ntypedef unsigned long long int sqlite_uin"
},
{
"path": "sqlite/sqlite.h",
"chars": 484,
"preview": "#import \"Types.h\"\n#import \"../BaseTypes.h\"\n\nint sqlite3_prepare_v3(sqlite3 *db, const char *zSql, int nByte, unsigned in"
},
{
"path": "xpc/Types.h",
"chars": 1130,
"preview": "#ifndef XPC_H_\n#define XPC_H_\n\n#import \"../Foundation/Types.h\"\n\ntypedef NSObject *xpc_object_t;\ntypedef NSObject *OS_xpc"
},
{
"path": "xpc/xpc.h",
"chars": 10507,
"preview": "#import \"../BaseTypes.h\"\n#import \"../Kernel/Types.h\"\n#import \"../Darwin/Types.h\"\n#import \"Types.h\"\n\nxpc_type_t xpc_get_t"
}
]
// ... and 2 more files (download for full content)
About this extraction
This page contains the full source code of the PoomSmart/IDAObjcTypes GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 91 files (408.7 KB), approximately 113.2k tokens, and a symbol index with 686 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.