Reviewed By: ddino Differential Revision: D3184313 fb-gh-sync-id: 53624c4 fbshipit-source-id: 53624c4master
parent
82670de0c8
commit
8a1288860b
@ -1,20 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2015 - present Facebook, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This source code is licensed under the BSD style license found in the
|
||||
* LICENSE file in the root directory of this source tree. An additional grant
|
||||
* of patent rights can be found in the PATENTS file in the same directory.
|
||||
*/
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
CFBitVectorRef __cf_alloc(CFBitVectorRef);
|
||||
CFBitVectorRef __cf_non_null_alloc(CFBitVectorRef);
|
||||
|
||||
CFBitVectorRef CFBitVectorCreate(CFAllocatorRef allocator,
|
||||
const UInt8* bytes,
|
||||
CFIndex numBits) {
|
||||
CFBitVectorRef c;
|
||||
return __cf_non_null_alloc(c);
|
||||
}
|
@ -1,18 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2015 - present Facebook, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This source code is licensed under the BSD style license found in the
|
||||
* LICENSE file in the root directory of this source tree. An additional grant
|
||||
* of patent rights can be found in the PATENTS file in the same directory.
|
||||
*/
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
CFDateRef __cf_alloc(CFDateRef);
|
||||
CFDateRef __cf_non_null_alloc(CFDateRef);
|
||||
|
||||
CFDateRef CFDateCreate(CFAllocatorRef allocator, CFAbsoluteTime at) {
|
||||
CFDateRef c;
|
||||
return __cf_non_null_alloc(c);
|
||||
}
|
@ -1,18 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2015 - present Facebook, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This source code is licensed under the BSD style license found in the
|
||||
* LICENSE file in the root directory of this source tree. An additional grant
|
||||
* of patent rights can be found in the PATENTS file in the same directory.
|
||||
*/
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
CFMutableAttributedStringRef __cf_non_null_alloc(CFMutableAttributedStringRef);
|
||||
|
||||
CFMutableAttributedStringRef CFAttributedStringCreateMutable(
|
||||
CFAllocatorRef alloc, CFIndex maxLength) {
|
||||
CFMutableAttributedStringRef c;
|
||||
return __cf_non_null_alloc(c);
|
||||
}
|
@ -1,21 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2015 - present Facebook, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This source code is licensed under the BSD style license found in the
|
||||
* LICENSE file in the root directory of this source tree. An additional grant
|
||||
* of patent rights can be found in the PATENTS file in the same directory.
|
||||
*/
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
CFDictionaryRef __cf_alloc(CFDictionaryRef);
|
||||
CFDictionaryRef __cf_non_null_alloc(CFDictionaryRef);
|
||||
|
||||
CFDictionaryRef CFPreferencesCopyMultiple(CFArrayRef keysToFetch,
|
||||
CFStringRef appName,
|
||||
CFStringRef user,
|
||||
CFStringRef host) {
|
||||
CFDictionaryRef c;
|
||||
return __cf_non_null_alloc(c);
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2015 - present Facebook, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This source code is licensed under the BSD style license found in the
|
||||
* LICENSE file in the root directory of this source tree. An additional grant
|
||||
* of patent rights can be found in the PATENTS file in the same directory.
|
||||
*/
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
CFRunLoopSourceRef __cf_alloc(CFRunLoopSourceRef);
|
||||
CFRunLoopSourceRef __cf_non_null_alloc(CFRunLoopSourceRef);
|
||||
|
||||
CFRunLoopSourceRef CFRunLoopSourceCreate(CFAllocatorRef allocator,
|
||||
CFIndex order,
|
||||
CFRunLoopSourceContext* context) {
|
||||
CFRunLoopSourceRef c;
|
||||
return __cf_non_null_alloc(c);
|
||||
}
|
||||
|
||||
CFRunLoopSourceRef CFSocketCreateRunLoopSource(CFAllocatorRef allocator,
|
||||
CFSocketRef s,
|
||||
CFIndex order) {
|
||||
CFRunLoopSourceRef c;
|
||||
return __cf_non_null_alloc(c);
|
||||
}
|
@ -1,34 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2015 - present Facebook, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This source code is licensed under the BSD style license found in the
|
||||
* LICENSE file in the root directory of this source tree. An additional grant
|
||||
* of patent rights can be found in the PATENTS file in the same directory.
|
||||
*/
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
CFRunLoopObserverRef __cf_alloc(CFRunLoopObserverRef);
|
||||
CFRunLoopSourceRef __cf_non_null_alloc(CFRunLoopSourceRef);
|
||||
|
||||
CFRunLoopObserverRef CFRunLoopObserverCreate(
|
||||
CFAllocatorRef allocator,
|
||||
CFOptionFlags activities,
|
||||
Boolean repeats,
|
||||
CFIndex order,
|
||||
CFRunLoopObserverCallBack callout,
|
||||
CFRunLoopObserverContext* context) {
|
||||
CFRunLoopObserverRef c;
|
||||
return __cf_non_null_alloc(c);
|
||||
}
|
||||
|
||||
CFRunLoopObserverRef CFRunLoopObserverCreateWithHandler(
|
||||
CFAllocatorRef allocator,
|
||||
CFOptionFlags activities,
|
||||
Boolean repeats,
|
||||
CFIndex order,
|
||||
void (^block)(CFRunLoopObserverRef observer, CFRunLoopActivity activity)) {
|
||||
CFRunLoopObserverRef c;
|
||||
return __cf_non_null_alloc(c);
|
||||
}
|
@ -1,22 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2015 - present Facebook, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This source code is licensed under the BSD style license found in the
|
||||
* LICENSE file in the root directory of this source tree. An additional grant
|
||||
* of patent rights can be found in the PATENTS file in the same directory.
|
||||
*/
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
CFStringTokenizerRef __cf_alloc(CFStringTokenizerRef);
|
||||
CFStringTokenizerRef __cf_non_null_alloc(CFStringTokenizerRef);
|
||||
|
||||
CFStringTokenizerRef CFStringTokenizerCreate(CFAllocatorRef alloc,
|
||||
CFStringRef string,
|
||||
CFRange range,
|
||||
CFOptionFlags options,
|
||||
CFLocaleRef locale) {
|
||||
CFStringTokenizerRef c;
|
||||
return __cf_non_null_alloc(c);
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2015 - present Facebook, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This source code is licensed under the BSD style license found in the
|
||||
* LICENSE file in the root directory of this source tree. An additional grant
|
||||
* of patent rights can be found in the PATENTS file in the same directory.
|
||||
*/
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
CFUUIDRef __cf_alloc(CFUUIDRef);
|
||||
CFUUIDRef __cf_non_null_alloc(CFUUIDRef);
|
||||
|
||||
CFUUIDRef CFUUIDCreate(CFAllocatorRef alloc) {
|
||||
CFUUIDRef c;
|
||||
return __cf_non_null_alloc(c);
|
||||
}
|
||||
|
||||
CFUUIDRef CFUUIDCreateFromUUIDBytes(CFAllocatorRef alloc, CFUUIDBytes bytes) {
|
||||
|
||||
CFUUIDRef c;
|
||||
return __cf_non_null_alloc(c);
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2015 - present Facebook, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This source code is licensed under the BSD style license found in the
|
||||
* LICENSE file in the root directory of this source tree. An additional grant
|
||||
* of patent rights can be found in the PATENTS file in the same directory.
|
||||
*/
|
||||
|
||||
#import "SystemConfiguration/SCNetworkReachability.h"
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
SCNetworkReachabilityRef __cf_non_null_alloc(SCNetworkReachabilityRef);
|
||||
|
||||
SCNetworkReachabilityRef SCNetworkReachabilityCreateWithName(
|
||||
CFAllocatorRef allocator, const char* nodename) {
|
||||
SCNetworkReachabilityRef c;
|
||||
return __cf_non_null_alloc(c);
|
||||
}
|
||||
|
||||
SCNetworkReachabilityRef SCNetworkReachabilityCreateWithAddress(
|
||||
CFAllocatorRef allocator, const struct sockaddr* address) {
|
||||
SCNetworkReachabilityRef c;
|
||||
return __cf_non_null_alloc(c);
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2015 - present Facebook, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This source code is licensed under the BSD style license found in the
|
||||
* LICENSE file in the root directory of this source tree. An additional grant
|
||||
* of patent rights can be found in the PATENTS file in the same directory.
|
||||
*/
|
||||
|
||||
#import <CoreGraphics/CoreGraphics.h>
|
||||
#import <ImageIO/ImageIO.h>
|
||||
|
||||
CGImageDestinationRef __cf_non_null_alloc(CGImageDestinationRef);
|
||||
CGImageDestinationRef __cf_alloc(CGImageDestinationRef);
|
||||
|
||||
CGImageDestinationRef CGImageDestinationCreateWithURL(CFURLRef url,
|
||||
CFStringRef type,
|
||||
size_t count,
|
||||
CFDictionaryRef options) {
|
||||
CGImageDestinationRef c;
|
||||
return __cf_non_null_alloc(c);
|
||||
}
|
||||
|
||||
CGImageDestinationRef CGImageDestinationCreateWithData(
|
||||
CFMutableDataRef data,
|
||||
CFStringRef type,
|
||||
size_t count,
|
||||
CFDictionaryRef options) {
|
||||
CGImageDestinationRef c;
|
||||
return __cf_non_null_alloc(c);
|
||||
}
|
Loading…
Reference in new issue