this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Generate IOSurface stubs

+932
+19
src/IOSurface/CMakeLists.txt
··· 1 + project(IOSurface) 2 + 3 + set(DYLIB_COMPAT_VERSION "1.0.0") 4 + set(DYLIB_CURRENT_VERSION "1.0.0") 5 + 6 + add_framework(IOSurface 7 + FAT 8 + CURRENT_VERSION 9 + VERSION "A" 10 + 11 + SOURCES 12 + src/IOSurface.m 13 + src/IOSurface.m 14 + 15 + DEPENDENCIES 16 + system 17 + objc 18 + Foundation 19 + )
+172
src/IOSurface/include/IOSurface/IOSurface.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2017 Lubos Dolezel 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + 21 + #ifndef _IOSurface_H_ 22 + #define _IOSurface_H_ 23 + 24 + #import <Foundation/Foundation.h> 25 + 26 + @interface IOSurface : NSObject 27 + 28 + @end 29 + 30 + void* IOSurfaceAlignProperty(void); 31 + void* IOSurfaceAllowsPixelSizeCasting(void); 32 + void* IOSurfaceBindAccel(void); 33 + void* IOSurfaceBindAccelOnPlane(void); 34 + void* IOSurfaceClientAlignProperty(void); 35 + void* IOSurfaceClientAllowsPixelSizeCasting(void); 36 + void* IOSurfaceClientBindAccel(void); 37 + void* IOSurfaceClientCopyAllValues(void); 38 + void* IOSurfaceClientCopyDataValueBytes(void); 39 + void* IOSurfaceClientCopyValue(void); 40 + void* IOSurfaceClientCreate(void); 41 + void* IOSurfaceClientCreateMachPort(void); 42 + void* IOSurfaceClientDecrementUseCount(void); 43 + void* IOSurfaceClientFlushProcessorCaches(void); 44 + void* IOSurfaceClientGetAllocSize(void); 45 + void* IOSurfaceClientGetBaseAddress(void); 46 + void* IOSurfaceClientGetBaseAddressOfPlane(void); 47 + void* IOSurfaceClientGetBitDepthOfComponentOfPlane(void); 48 + void* IOSurfaceClientGetBitOffsetOfComponentOfPlane(void); 49 + void* IOSurfaceClientGetBulkAttachments(void); 50 + void* IOSurfaceClientGetBytesPerElement(void); 51 + void* IOSurfaceClientGetBytesPerElementOfPlane(void); 52 + void* IOSurfaceClientGetBytesPerRow(void); 53 + void* IOSurfaceClientGetBytesPerRowOfPlane(void); 54 + void* IOSurfaceClientGetCacheMode(void); 55 + void* IOSurfaceClientGetElementHeight(void); 56 + void* IOSurfaceClientGetElementHeightOfPlane(void); 57 + void* IOSurfaceClientGetElementWidth(void); 58 + void* IOSurfaceClientGetElementWidthOfPlane(void); 59 + void* IOSurfaceClientGetHeight(void); 60 + void* IOSurfaceClientGetHeightOfPlane(void); 61 + void* IOSurfaceClientGetID(void); 62 + void* IOSurfaceClientGetNameOfComponentOfPlane(void); 63 + void* IOSurfaceClientGetNumberOfComponentsOfPlane(void); 64 + void* IOSurfaceClientGetPixelFormat(void); 65 + void* IOSurfaceClientGetPlaneCount(void); 66 + void* IOSurfaceClientGetPropertyAlignment(void); 67 + void* IOSurfaceClientGetPropertyMaximum(void); 68 + void* IOSurfaceClientGetProtectionOptions(void); 69 + void* IOSurfaceClientGetRangeOfComponentOfPlane(void); 70 + void* IOSurfaceClientGetSeed(void); 71 + void* IOSurfaceClientGetSubsampling(void); 72 + void* IOSurfaceClientGetTypeOfComponentOfPlane(void); 73 + void* IOSurfaceClientGetUseCount(void); 74 + void* IOSurfaceClientGetWidth(void); 75 + void* IOSurfaceClientGetWidthOfPlane(void); 76 + void* IOSurfaceClientGetYCbCrMatrix(void); 77 + void* IOSurfaceClientIncrementUseCount(void); 78 + void* IOSurfaceClientIsDisplayable(void); 79 + void* IOSurfaceClientIsInUse(void); 80 + void* IOSurfaceClientLock(void); 81 + void* IOSurfaceClientLookup(void); 82 + void* IOSurfaceClientLookupFromMachPort(void); 83 + void* IOSurfaceClientNeedsBindAccel(void); 84 + void* IOSurfaceClientRelease(void); 85 + void* IOSurfaceClientRemoveSurfaceNotify(void); 86 + void* IOSurfaceClientRemoveValue(void); 87 + void* IOSurfaceClientRetain(void); 88 + void* IOSurfaceClientSetBulkAttachments(void); 89 + void* IOSurfaceClientSetPurgeable(void); 90 + void* IOSurfaceClientSetSurfaceNotify(void); 91 + void* IOSurfaceClientSetValue(void); 92 + void* IOSurfaceClientSetYCbCrMatrix(void); 93 + void* IOSurfaceClientSupportsProtectionOptions(void); 94 + void* IOSurfaceClientUnlock(void); 95 + void* IOSurfaceCopyAllValues(void); 96 + void* IOSurfaceCopyDataValueBytes(void); 97 + void* IOSurfaceCopyValue(void); 98 + void* IOSurfaceCreate(void); 99 + void* IOSurfaceCreateMachPort(void); 100 + void* IOSurfaceCreateXPCObject(void); 101 + void* IOSurfaceDecrementUseCount(void); 102 + void* IOSurfaceFlushProcessorCaches(void); 103 + void* IOSurfaceGetAllocSize(void); 104 + void* IOSurfaceGetBaseAddress(void); 105 + void* IOSurfaceGetBaseAddressOfPlane(void); 106 + void* IOSurfaceGetBitDepthOfComponentOfPlane(void); 107 + void* IOSurfaceGetBitOffsetOfComponentOfPlane(void); 108 + void* IOSurfaceGetBitsPerBlock(void); 109 + void* IOSurfaceGetBitsPerBlockOfPlane(void); 110 + void* IOSurfaceGetBlockHeightOfPlane(void); 111 + void* IOSurfaceGetBlockWidthOfPlane(void); 112 + void* IOSurfaceGetBulkAttachments(void); 113 + void* IOSurfaceGetBytesPerElement(void); 114 + void* IOSurfaceGetBytesPerElementOfPlane(void); 115 + void* IOSurfaceGetBytesPerRow(void); 116 + void* IOSurfaceGetBytesPerRowOfPlane(void); 117 + void* IOSurfaceGetCacheMode(void); 118 + void* IOSurfaceGetElementHeight(void); 119 + void* IOSurfaceGetElementHeightOfPlane(void); 120 + void* IOSurfaceGetElementWidth(void); 121 + void* IOSurfaceGetElementWidthOfPlane(void); 122 + void* IOSurfaceGetGraphicsCommPageAddress(void); 123 + void* IOSurfaceGetHeight(void); 124 + void* IOSurfaceGetHeightOfPlane(void); 125 + void* IOSurfaceGetID(void); 126 + void* IOSurfaceGetNameOfComponentOfPlane(void); 127 + void* IOSurfaceGetNumberOfComponentsOfPlane(void); 128 + void* IOSurfaceGetPixelFormat(void); 129 + void* IOSurfaceGetPlaneCount(void); 130 + void* IOSurfaceGetPropertyAlignment(void); 131 + void* IOSurfaceGetPropertyMaximum(void); 132 + void* IOSurfaceGetProtectionOptions(void); 133 + void* IOSurfaceGetRangeOfComponentOfPlane(void); 134 + void* IOSurfaceGetSeed(void); 135 + void* IOSurfaceGetSeedOfPlane(void); 136 + void* IOSurfaceGetSubsampling(void); 137 + void* IOSurfaceGetTypeID(void); 138 + void* IOSurfaceGetTypeOfComponentOfPlane(void); 139 + void* IOSurfaceGetUseCount(void); 140 + void* IOSurfaceGetWidth(void); 141 + void* IOSurfaceGetWidthOfPlane(void); 142 + void* IOSurfaceGetYCbCrMatrix(void); 143 + void* IOSurfaceIncrementUseCount(void); 144 + void* IOSurfaceIsDisplayable(void); 145 + void* IOSurfaceIsInUse(void); 146 + void* IOSurfaceLock(void); 147 + void* IOSurfaceLockPlane(void); 148 + void* IOSurfaceLog(void); 149 + void* IOSurfaceLookup(void); 150 + void* IOSurfaceLookupFromMachPort(void); 151 + void* IOSurfaceLookupFromXPCObject(void); 152 + void* IOSurfaceNeedsBindAccel(void); 153 + void* IOSurfaceNeedsBindAccelOnPlane(void); 154 + void* IOSurfaceNotifierCreate(void); 155 + void* IOSurfaceNotifierGetMachPort(void); 156 + void* IOSurfaceNotifierGetRunLoopSource(void); 157 + void* IOSurfaceNotifierGetTypeID(void); 158 + void* IOSurfaceNotifierSetDispatchQueue(void); 159 + void* IOSurfaceRemoveAllValues(void); 160 + void* IOSurfaceRemoveValue(void); 161 + void* IOSurfaceSetBulkAttachments(void); 162 + void* IOSurfaceSetBulkAttachments2(void); 163 + void* IOSurfaceSetPurgeable(void); 164 + void* IOSurfaceSetValue(void); 165 + void* IOSurfaceSetValues(void); 166 + void* IOSurfaceSetYCbCrMatrix(void); 167 + void* IOSurfaceSupportsProtectionOptions(void); 168 + void* IOSurfaceUnlock(void); 169 + void* IOSurfaceUnlockPlane(void); 170 + void* _ioSurfaceAddClientRef(void); 171 + 172 + #endif
+741
src/IOSurface/src/IOSurface.m
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2017 Lubos Dolezel 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + #include <stdlib.h> 21 + #include <stdio.h> 22 + #import <IOSurface/IOSurface.h> 23 + 24 + static int verbose = 0; 25 + 26 + __attribute__((constructor)) 27 + static void initme(void) { 28 + verbose = getenv("STUB_VERBOSE") != NULL; 29 + } 30 + 31 + @implementation IOSurface 32 + 33 + - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector { 34 + return [NSMethodSignature signatureWithObjCTypes: "v@:"]; 35 + } 36 + 37 + - (void)forwardInvocation:(NSInvocation *)anInvocation { 38 + NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]); 39 + } 40 + 41 + @end 42 + 43 + sting(void) { 44 + if (verbose) puts("STUB: IOSurfaceAllowsPixelSizeCasting called"); 45 + return NULL; 46 + } 47 + 48 + void* IOSurfaceBindAccel(void) { 49 + if (verbose) puts("STUB: IOSurfaceBindAccel called"); 50 + return NULL; 51 + } 52 + 53 + void* IOSurfaceBindAccelOnPlane(void) { 54 + if (verbose) puts("STUB: IOSurfaceBindAccelOnPlane called"); 55 + return NULL; 56 + } 57 + 58 + void* IOSurfaceClientAlignProperty(void) { 59 + if (verbose) puts("STUB: IOSurfaceClientAlignProperty called"); 60 + return NULL; 61 + } 62 + 63 + void* IOSurfaceClientAllowsPixelSizeCasting(void) { 64 + if (verbose) puts("STUB: IOSurfaceClientAllowsPixelSizeCasting called"); 65 + return NULL; 66 + } 67 + 68 + void* IOSurfaceClientBindAccel(void) { 69 + if (verbose) puts("STUB: IOSurfaceClientBindAccel called"); 70 + return NULL; 71 + } 72 + 73 + void* IOSurfaceClientCopyAllValues(void) { 74 + if (verbose) puts("STUB: IOSurfaceClientCopyAllValues called"); 75 + return NULL; 76 + } 77 + 78 + void* IOSurfaceClientCopyDataValueBytes(void) { 79 + if (verbose) puts("STUB: IOSurfaceClientCopyDataValueBytes called"); 80 + return NULL; 81 + } 82 + 83 + void* IOSurfaceClientCopyValue(void) { 84 + if (verbose) puts("STUB: IOSurfaceClientCopyValue called"); 85 + return NULL; 86 + } 87 + 88 + void* IOSurfaceClientCreate(void) { 89 + if (verbose) puts("STUB: IOSurfaceClientCreate called"); 90 + return NULL; 91 + } 92 + 93 + void* IOSurfaceClientCreateMachPort(void) { 94 + if (verbose) puts("STUB: IOSurfaceClientCreateMachPort called"); 95 + return NULL; 96 + } 97 + 98 + void* IOSurfaceClientDecrementUseCount(void) { 99 + if (verbose) puts("STUB: IOSurfaceClientDecrementUseCount called"); 100 + return NULL; 101 + } 102 + 103 + void* IOSurfaceClientFlushProcessorCaches(void) { 104 + if (verbose) puts("STUB: IOSurfaceClientFlushProcessorCaches called"); 105 + return NULL; 106 + } 107 + 108 + void* IOSurfaceClientGetAllocSize(void) { 109 + if (verbose) puts("STUB: IOSurfaceClientGetAllocSize called"); 110 + return NULL; 111 + } 112 + 113 + void* IOSurfaceClientGetBaseAddress(void) { 114 + if (verbose) puts("STUB: IOSurfaceClientGetBaseAddress called"); 115 + return NULL; 116 + } 117 + 118 + void* IOSurfaceClientGetBaseAddressOfPlane(void) { 119 + if (verbose) puts("STUB: IOSurfaceClientGetBaseAddressOfPlane called"); 120 + return NULL; 121 + } 122 + 123 + void* IOSurfaceClientGetBitDepthOfComponentOfPlane(void) { 124 + if (verbose) puts("STUB: IOSurfaceClientGetBitDepthOfComponentOfPlane called"); 125 + return NULL; 126 + } 127 + 128 + void* IOSurfaceClientGetBitOffsetOfComponentOfPlane(void) { 129 + if (verbose) puts("STUB: IOSurfaceClientGetBitOffsetOfComponentOfPlane called"); 130 + return NULL; 131 + } 132 + 133 + void* IOSurfaceClientGetBulkAttachments(void) { 134 + if (verbose) puts("STUB: IOSurfaceClientGetBulkAttachments called"); 135 + return NULL; 136 + } 137 + 138 + void* IOSurfaceClientGetBytesPerElement(void) { 139 + if (verbose) puts("STUB: IOSurfaceClientGetBytesPerElement called"); 140 + return NULL; 141 + } 142 + 143 + void* IOSurfaceClientGetBytesPerElementOfPlane(void) { 144 + if (verbose) puts("STUB: IOSurfaceClientGetBytesPerElementOfPlane called"); 145 + return NULL; 146 + } 147 + 148 + void* IOSurfaceClientGetBytesPerRow(void) { 149 + if (verbose) puts("STUB: IOSurfaceClientGetBytesPerRow called"); 150 + return NULL; 151 + } 152 + 153 + void* IOSurfaceClientGetBytesPerRowOfPlane(void) { 154 + if (verbose) puts("STUB: IOSurfaceClientGetBytesPerRowOfPlane called"); 155 + return NULL; 156 + } 157 + 158 + void* IOSurfaceClientGetCacheMode(void) { 159 + if (verbose) puts("STUB: IOSurfaceClientGetCacheMode called"); 160 + return NULL; 161 + } 162 + 163 + void* IOSurfaceClientGetElementHeight(void) { 164 + if (verbose) puts("STUB: IOSurfaceClientGetElementHeight called"); 165 + return NULL; 166 + } 167 + 168 + void* IOSurfaceClientGetElementHeightOfPlane(void) { 169 + if (verbose) puts("STUB: IOSurfaceClientGetElementHeightOfPlane called"); 170 + return NULL; 171 + } 172 + 173 + void* IOSurfaceClientGetElementWidth(void) { 174 + if (verbose) puts("STUB: IOSurfaceClientGetElementWidth called"); 175 + return NULL; 176 + } 177 + 178 + void* IOSurfaceClientGetElementWidthOfPlane(void) { 179 + if (verbose) puts("STUB: IOSurfaceClientGetElementWidthOfPlane called"); 180 + return NULL; 181 + } 182 + 183 + void* IOSurfaceClientGetHeight(void) { 184 + if (verbose) puts("STUB: IOSurfaceClientGetHeight called"); 185 + return NULL; 186 + } 187 + 188 + void* IOSurfaceClientGetHeightOfPlane(void) { 189 + if (verbose) puts("STUB: IOSurfaceClientGetHeightOfPlane called"); 190 + return NULL; 191 + } 192 + 193 + void* IOSurfaceClientGetID(void) { 194 + if (verbose) puts("STUB: IOSurfaceClientGetID called"); 195 + return NULL; 196 + } 197 + 198 + void* IOSurfaceClientGetNameOfComponentOfPlane(void) { 199 + if (verbose) puts("STUB: IOSurfaceClientGetNameOfComponentOfPlane called"); 200 + return NULL; 201 + } 202 + 203 + void* IOSurfaceClientGetNumberOfComponentsOfPlane(void) { 204 + if (verbose) puts("STUB: IOSurfaceClientGetNumberOfComponentsOfPlane called"); 205 + return NULL; 206 + } 207 + 208 + void* IOSurfaceClientGetPixelFormat(void) { 209 + if (verbose) puts("STUB: IOSurfaceClientGetPixelFormat called"); 210 + return NULL; 211 + } 212 + 213 + void* IOSurfaceClientGetPlaneCount(void) { 214 + if (verbose) puts("STUB: IOSurfaceClientGetPlaneCount called"); 215 + return NULL; 216 + } 217 + 218 + void* IOSurfaceClientGetPropertyAlignment(void) { 219 + if (verbose) puts("STUB: IOSurfaceClientGetPropertyAlignment called"); 220 + return NULL; 221 + } 222 + 223 + void* IOSurfaceClientGetPropertyMaximum(void) { 224 + if (verbose) puts("STUB: IOSurfaceClientGetPropertyMaximum called"); 225 + return NULL; 226 + } 227 + 228 + void* IOSurfaceClientGetProtectionOptions(void) { 229 + if (verbose) puts("STUB: IOSurfaceClientGetProtectionOptions called"); 230 + return NULL; 231 + } 232 + 233 + void* IOSurfaceClientGetRangeOfComponentOfPlane(void) { 234 + if (verbose) puts("STUB: IOSurfaceClientGetRangeOfComponentOfPlane called"); 235 + return NULL; 236 + } 237 + 238 + void* IOSurfaceClientGetSeed(void) { 239 + if (verbose) puts("STUB: IOSurfaceClientGetSeed called"); 240 + return NULL; 241 + } 242 + 243 + void* IOSurfaceClientGetSubsampling(void) { 244 + if (verbose) puts("STUB: IOSurfaceClientGetSubsampling called"); 245 + return NULL; 246 + } 247 + 248 + void* IOSurfaceClientGetTypeOfComponentOfPlane(void) { 249 + if (verbose) puts("STUB: IOSurfaceClientGetTypeOfComponentOfPlane called"); 250 + return NULL; 251 + } 252 + 253 + void* IOSurfaceClientGetUseCount(void) { 254 + if (verbose) puts("STUB: IOSurfaceClientGetUseCount called"); 255 + return NULL; 256 + } 257 + 258 + void* IOSurfaceClientGetWidth(void) { 259 + if (verbose) puts("STUB: IOSurfaceClientGetWidth called"); 260 + return NULL; 261 + } 262 + 263 + void* IOSurfaceClientGetWidthOfPlane(void) { 264 + if (verbose) puts("STUB: IOSurfaceClientGetWidthOfPlane called"); 265 + return NULL; 266 + } 267 + 268 + void* IOSurfaceClientGetYCbCrMatrix(void) { 269 + if (verbose) puts("STUB: IOSurfaceClientGetYCbCrMatrix called"); 270 + return NULL; 271 + } 272 + 273 + void* IOSurfaceClientIncrementUseCount(void) { 274 + if (verbose) puts("STUB: IOSurfaceClientIncrementUseCount called"); 275 + return NULL; 276 + } 277 + 278 + void* IOSurfaceClientIsDisplayable(void) { 279 + if (verbose) puts("STUB: IOSurfaceClientIsDisplayable called"); 280 + return NULL; 281 + } 282 + 283 + void* IOSurfaceClientIsInUse(void) { 284 + if (verbose) puts("STUB: IOSurfaceClientIsInUse called"); 285 + return NULL; 286 + } 287 + 288 + void* IOSurfaceClientLock(void) { 289 + if (verbose) puts("STUB: IOSurfaceClientLock called"); 290 + return NULL; 291 + } 292 + 293 + void* IOSurfaceClientLookup(void) { 294 + if (verbose) puts("STUB: IOSurfaceClientLookup called"); 295 + return NULL; 296 + } 297 + 298 + void* IOSurfaceClientLookupFromMachPort(void) { 299 + if (verbose) puts("STUB: IOSurfaceClientLookupFromMachPort called"); 300 + return NULL; 301 + } 302 + 303 + void* IOSurfaceClientNeedsBindAccel(void) { 304 + if (verbose) puts("STUB: IOSurfaceClientNeedsBindAccel called"); 305 + return NULL; 306 + } 307 + 308 + void* IOSurfaceClientRelease(void) { 309 + if (verbose) puts("STUB: IOSurfaceClientRelease called"); 310 + return NULL; 311 + } 312 + 313 + void* IOSurfaceClientRemoveSurfaceNotify(void) { 314 + if (verbose) puts("STUB: IOSurfaceClientRemoveSurfaceNotify called"); 315 + return NULL; 316 + } 317 + 318 + void* IOSurfaceClientRemoveValue(void) { 319 + if (verbose) puts("STUB: IOSurfaceClientRemoveValue called"); 320 + return NULL; 321 + } 322 + 323 + void* IOSurfaceClientRetain(void) { 324 + if (verbose) puts("STUB: IOSurfaceClientRetain called"); 325 + return NULL; 326 + } 327 + 328 + void* IOSurfaceClientSetBulkAttachments(void) { 329 + if (verbose) puts("STUB: IOSurfaceClientSetBulkAttachments called"); 330 + return NULL; 331 + } 332 + 333 + void* IOSurfaceClientSetPurgeable(void) { 334 + if (verbose) puts("STUB: IOSurfaceClientSetPurgeable called"); 335 + return NULL; 336 + } 337 + 338 + void* IOSurfaceClientSetSurfaceNotify(void) { 339 + if (verbose) puts("STUB: IOSurfaceClientSetSurfaceNotify called"); 340 + return NULL; 341 + } 342 + 343 + void* IOSurfaceClientSetValue(void) { 344 + if (verbose) puts("STUB: IOSurfaceClientSetValue called"); 345 + return NULL; 346 + } 347 + 348 + void* IOSurfaceClientSetYCbCrMatrix(void) { 349 + if (verbose) puts("STUB: IOSurfaceClientSetYCbCrMatrix called"); 350 + return NULL; 351 + } 352 + 353 + void* IOSurfaceClientSupportsProtectionOptions(void) { 354 + if (verbose) puts("STUB: IOSurfaceClientSupportsProtectionOptions called"); 355 + return NULL; 356 + } 357 + 358 + void* IOSurfaceClientUnlock(void) { 359 + if (verbose) puts("STUB: IOSurfaceClientUnlock called"); 360 + return NULL; 361 + } 362 + 363 + void* IOSurfaceCopyAllValues(void) { 364 + if (verbose) puts("STUB: IOSurfaceCopyAllValues called"); 365 + return NULL; 366 + } 367 + 368 + void* IOSurfaceCopyDataValueBytes(void) { 369 + if (verbose) puts("STUB: IOSurfaceCopyDataValueBytes called"); 370 + return NULL; 371 + } 372 + 373 + void* IOSurfaceCopyValue(void) { 374 + if (verbose) puts("STUB: IOSurfaceCopyValue called"); 375 + return NULL; 376 + } 377 + 378 + void* IOSurfaceCreate(void) { 379 + if (verbose) puts("STUB: IOSurfaceCreate called"); 380 + return NULL; 381 + } 382 + 383 + void* IOSurfaceCreateMachPort(void) { 384 + if (verbose) puts("STUB: IOSurfaceCreateMachPort called"); 385 + return NULL; 386 + } 387 + 388 + void* IOSurfaceCreateXPCObject(void) { 389 + if (verbose) puts("STUB: IOSurfaceCreateXPCObject called"); 390 + return NULL; 391 + } 392 + 393 + void* IOSurfaceDecrementUseCount(void) { 394 + if (verbose) puts("STUB: IOSurfaceDecrementUseCount called"); 395 + return NULL; 396 + } 397 + 398 + void* IOSurfaceFlushProcessorCaches(void) { 399 + if (verbose) puts("STUB: IOSurfaceFlushProcessorCaches called"); 400 + return NULL; 401 + } 402 + 403 + void* IOSurfaceGetAllocSize(void) { 404 + if (verbose) puts("STUB: IOSurfaceGetAllocSize called"); 405 + return NULL; 406 + } 407 + 408 + void* IOSurfaceGetBaseAddress(void) { 409 + if (verbose) puts("STUB: IOSurfaceGetBaseAddress called"); 410 + return NULL; 411 + } 412 + 413 + void* IOSurfaceGetBaseAddressOfPlane(void) { 414 + if (verbose) puts("STUB: IOSurfaceGetBaseAddressOfPlane called"); 415 + return NULL; 416 + } 417 + 418 + void* IOSurfaceGetBitDepthOfComponentOfPlane(void) { 419 + if (verbose) puts("STUB: IOSurfaceGetBitDepthOfComponentOfPlane called"); 420 + return NULL; 421 + } 422 + 423 + void* IOSurfaceGetBitOffsetOfComponentOfPlane(void) { 424 + if (verbose) puts("STUB: IOSurfaceGetBitOffsetOfComponentOfPlane called"); 425 + return NULL; 426 + } 427 + 428 + void* IOSurfaceGetBitsPerBlock(void) { 429 + if (verbose) puts("STUB: IOSurfaceGetBitsPerBlock called"); 430 + return NULL; 431 + } 432 + 433 + void* IOSurfaceGetBitsPerBlockOfPlane(void) { 434 + if (verbose) puts("STUB: IOSurfaceGetBitsPerBlockOfPlane called"); 435 + return NULL; 436 + } 437 + 438 + void* IOSurfaceGetBlockHeightOfPlane(void) { 439 + if (verbose) puts("STUB: IOSurfaceGetBlockHeightOfPlane called"); 440 + return NULL; 441 + } 442 + 443 + void* IOSurfaceGetBlockWidthOfPlane(void) { 444 + if (verbose) puts("STUB: IOSurfaceGetBlockWidthOfPlane called"); 445 + return NULL; 446 + } 447 + 448 + void* IOSurfaceGetBulkAttachments(void) { 449 + if (verbose) puts("STUB: IOSurfaceGetBulkAttachments called"); 450 + return NULL; 451 + } 452 + 453 + void* IOSurfaceGetBytesPerElement(void) { 454 + if (verbose) puts("STUB: IOSurfaceGetBytesPerElement called"); 455 + return NULL; 456 + } 457 + 458 + void* IOSurfaceGetBytesPerElementOfPlane(void) { 459 + if (verbose) puts("STUB: IOSurfaceGetBytesPerElementOfPlane called"); 460 + return NULL; 461 + } 462 + 463 + void* IOSurfaceGetBytesPerRow(void) { 464 + if (verbose) puts("STUB: IOSurfaceGetBytesPerRow called"); 465 + return NULL; 466 + } 467 + 468 + void* IOSurfaceGetBytesPerRowOfPlane(void) { 469 + if (verbose) puts("STUB: IOSurfaceGetBytesPerRowOfPlane called"); 470 + return NULL; 471 + } 472 + 473 + void* IOSurfaceGetCacheMode(void) { 474 + if (verbose) puts("STUB: IOSurfaceGetCacheMode called"); 475 + return NULL; 476 + } 477 + 478 + void* IOSurfaceGetElementHeight(void) { 479 + if (verbose) puts("STUB: IOSurfaceGetElementHeight called"); 480 + return NULL; 481 + } 482 + 483 + void* IOSurfaceGetElementHeightOfPlane(void) { 484 + if (verbose) puts("STUB: IOSurfaceGetElementHeightOfPlane called"); 485 + return NULL; 486 + } 487 + 488 + void* IOSurfaceGetElementWidth(void) { 489 + if (verbose) puts("STUB: IOSurfaceGetElementWidth called"); 490 + return NULL; 491 + } 492 + 493 + void* IOSurfaceGetElementWidthOfPlane(void) { 494 + if (verbose) puts("STUB: IOSurfaceGetElementWidthOfPlane called"); 495 + return NULL; 496 + } 497 + 498 + void* IOSurfaceGetGraphicsCommPageAddress(void) { 499 + if (verbose) puts("STUB: IOSurfaceGetGraphicsCommPageAddress called"); 500 + return NULL; 501 + } 502 + 503 + void* IOSurfaceGetHeight(void) { 504 + if (verbose) puts("STUB: IOSurfaceGetHeight called"); 505 + return NULL; 506 + } 507 + 508 + void* IOSurfaceGetHeightOfPlane(void) { 509 + if (verbose) puts("STUB: IOSurfaceGetHeightOfPlane called"); 510 + return NULL; 511 + } 512 + 513 + void* IOSurfaceGetID(void) { 514 + if (verbose) puts("STUB: IOSurfaceGetID called"); 515 + return NULL; 516 + } 517 + 518 + void* IOSurfaceGetNameOfComponentOfPlane(void) { 519 + if (verbose) puts("STUB: IOSurfaceGetNameOfComponentOfPlane called"); 520 + return NULL; 521 + } 522 + 523 + void* IOSurfaceGetNumberOfComponentsOfPlane(void) { 524 + if (verbose) puts("STUB: IOSurfaceGetNumberOfComponentsOfPlane called"); 525 + return NULL; 526 + } 527 + 528 + void* IOSurfaceGetPixelFormat(void) { 529 + if (verbose) puts("STUB: IOSurfaceGetPixelFormat called"); 530 + return NULL; 531 + } 532 + 533 + void* IOSurfaceGetPlaneCount(void) { 534 + if (verbose) puts("STUB: IOSurfaceGetPlaneCount called"); 535 + return NULL; 536 + } 537 + 538 + void* IOSurfaceGetPropertyAlignment(void) { 539 + if (verbose) puts("STUB: IOSurfaceGetPropertyAlignment called"); 540 + return NULL; 541 + } 542 + 543 + void* IOSurfaceGetPropertyMaximum(void) { 544 + if (verbose) puts("STUB: IOSurfaceGetPropertyMaximum called"); 545 + return NULL; 546 + } 547 + 548 + void* IOSurfaceGetProtectionOptions(void) { 549 + if (verbose) puts("STUB: IOSurfaceGetProtectionOptions called"); 550 + return NULL; 551 + } 552 + 553 + void* IOSurfaceGetRangeOfComponentOfPlane(void) { 554 + if (verbose) puts("STUB: IOSurfaceGetRangeOfComponentOfPlane called"); 555 + return NULL; 556 + } 557 + 558 + void* IOSurfaceGetSeed(void) { 559 + if (verbose) puts("STUB: IOSurfaceGetSeed called"); 560 + return NULL; 561 + } 562 + 563 + void* IOSurfaceGetSeedOfPlane(void) { 564 + if (verbose) puts("STUB: IOSurfaceGetSeedOfPlane called"); 565 + return NULL; 566 + } 567 + 568 + void* IOSurfaceGetSubsampling(void) { 569 + if (verbose) puts("STUB: IOSurfaceGetSubsampling called"); 570 + return NULL; 571 + } 572 + 573 + void* IOSurfaceGetTypeID(void) { 574 + if (verbose) puts("STUB: IOSurfaceGetTypeID called"); 575 + return NULL; 576 + } 577 + 578 + void* IOSurfaceGetTypeOfComponentOfPlane(void) { 579 + if (verbose) puts("STUB: IOSurfaceGetTypeOfComponentOfPlane called"); 580 + return NULL; 581 + } 582 + 583 + void* IOSurfaceGetUseCount(void) { 584 + if (verbose) puts("STUB: IOSurfaceGetUseCount called"); 585 + return NULL; 586 + } 587 + 588 + void* IOSurfaceGetWidth(void) { 589 + if (verbose) puts("STUB: IOSurfaceGetWidth called"); 590 + return NULL; 591 + } 592 + 593 + void* IOSurfaceGetWidthOfPlane(void) { 594 + if (verbose) puts("STUB: IOSurfaceGetWidthOfPlane called"); 595 + return NULL; 596 + } 597 + 598 + void* IOSurfaceGetYCbCrMatrix(void) { 599 + if (verbose) puts("STUB: IOSurfaceGetYCbCrMatrix called"); 600 + return NULL; 601 + } 602 + 603 + void* IOSurfaceIncrementUseCount(void) { 604 + if (verbose) puts("STUB: IOSurfaceIncrementUseCount called"); 605 + return NULL; 606 + } 607 + 608 + void* IOSurfaceIsDisplayable(void) { 609 + if (verbose) puts("STUB: IOSurfaceIsDisplayable called"); 610 + return NULL; 611 + } 612 + 613 + void* IOSurfaceIsInUse(void) { 614 + if (verbose) puts("STUB: IOSurfaceIsInUse called"); 615 + return NULL; 616 + } 617 + 618 + void* IOSurfaceLock(void) { 619 + if (verbose) puts("STUB: IOSurfaceLock called"); 620 + return NULL; 621 + } 622 + 623 + void* IOSurfaceLockPlane(void) { 624 + if (verbose) puts("STUB: IOSurfaceLockPlane called"); 625 + return NULL; 626 + } 627 + 628 + void* IOSurfaceLog(void) { 629 + if (verbose) puts("STUB: IOSurfaceLog called"); 630 + return NULL; 631 + } 632 + 633 + void* IOSurfaceLookup(void) { 634 + if (verbose) puts("STUB: IOSurfaceLookup called"); 635 + return NULL; 636 + } 637 + 638 + void* IOSurfaceLookupFromMachPort(void) { 639 + if (verbose) puts("STUB: IOSurfaceLookupFromMachPort called"); 640 + return NULL; 641 + } 642 + 643 + void* IOSurfaceLookupFromXPCObject(void) { 644 + if (verbose) puts("STUB: IOSurfaceLookupFromXPCObject called"); 645 + return NULL; 646 + } 647 + 648 + void* IOSurfaceNeedsBindAccel(void) { 649 + if (verbose) puts("STUB: IOSurfaceNeedsBindAccel called"); 650 + return NULL; 651 + } 652 + 653 + void* IOSurfaceNeedsBindAccelOnPlane(void) { 654 + if (verbose) puts("STUB: IOSurfaceNeedsBindAccelOnPlane called"); 655 + return NULL; 656 + } 657 + 658 + void* IOSurfaceNotifierCreate(void) { 659 + if (verbose) puts("STUB: IOSurfaceNotifierCreate called"); 660 + return NULL; 661 + } 662 + 663 + void* IOSurfaceNotifierGetMachPort(void) { 664 + if (verbose) puts("STUB: IOSurfaceNotifierGetMachPort called"); 665 + return NULL; 666 + } 667 + 668 + void* IOSurfaceNotifierGetRunLoopSource(void) { 669 + if (verbose) puts("STUB: IOSurfaceNotifierGetRunLoopSource called"); 670 + return NULL; 671 + } 672 + 673 + void* IOSurfaceNotifierGetTypeID(void) { 674 + if (verbose) puts("STUB: IOSurfaceNotifierGetTypeID called"); 675 + return NULL; 676 + } 677 + 678 + void* IOSurfaceNotifierSetDispatchQueue(void) { 679 + if (verbose) puts("STUB: IOSurfaceNotifierSetDispatchQueue called"); 680 + return NULL; 681 + } 682 + 683 + void* IOSurfaceRemoveAllValues(void) { 684 + if (verbose) puts("STUB: IOSurfaceRemoveAllValues called"); 685 + return NULL; 686 + } 687 + 688 + void* IOSurfaceRemoveValue(void) { 689 + if (verbose) puts("STUB: IOSurfaceRemoveValue called"); 690 + return NULL; 691 + } 692 + 693 + void* IOSurfaceSetBulkAttachments(void) { 694 + if (verbose) puts("STUB: IOSurfaceSetBulkAttachments called"); 695 + return NULL; 696 + } 697 + 698 + void* IOSurfaceSetBulkAttachments2(void) { 699 + if (verbose) puts("STUB: IOSurfaceSetBulkAttachments2 called"); 700 + return NULL; 701 + } 702 + 703 + void* IOSurfaceSetPurgeable(void) { 704 + if (verbose) puts("STUB: IOSurfaceSetPurgeable called"); 705 + return NULL; 706 + } 707 + 708 + void* IOSurfaceSetValue(void) { 709 + if (verbose) puts("STUB: IOSurfaceSetValue called"); 710 + return NULL; 711 + } 712 + 713 + void* IOSurfaceSetValues(void) { 714 + if (verbose) puts("STUB: IOSurfaceSetValues called"); 715 + return NULL; 716 + } 717 + 718 + void* IOSurfaceSetYCbCrMatrix(void) { 719 + if (verbose) puts("STUB: IOSurfaceSetYCbCrMatrix called"); 720 + return NULL; 721 + } 722 + 723 + void* IOSurfaceSupportsProtectionOptions(void) { 724 + if (verbose) puts("STUB: IOSurfaceSupportsProtectionOptions called"); 725 + return NULL; 726 + } 727 + 728 + void* IOSurfaceUnlock(void) { 729 + if (verbose) puts("STUB: IOSurfaceUnlock called"); 730 + return NULL; 731 + } 732 + 733 + void* IOSurfaceUnlockPlane(void) { 734 + if (verbose) puts("STUB: IOSurfaceUnlockPlane called"); 735 + return NULL; 736 + } 737 + 738 + void* _ioSurfaceAddClientRef(void) { 739 + if (verbose) puts("STUB: _ioSurfaceAddClientRef called"); 740 + return NULL; 741 + }