Home
last modified time | relevance | path

Searched refs:kCFAllocatorDefault (Results 1 – 25 of 45) sorted by relevance

12

/external/clang/test/Analysis/
DCFContainers-invalid.c9 extern const CFAllocatorRef kCFAllocatorDefault;
17 (void)CFArrayCreate(kCFAllocatorDefault); in testNoCrash()
18 (void)CFDictionaryCreate(kCFAllocatorDefault); in testNoCrash()
19 (void)CFSetCreate(kCFAllocatorDefault); in testNoCrash()
DCFContainers.mm8 const CFAllocatorRef kCFAllocatorDefault;
101 …CFArrayRef foo = CFArrayCreate(kCFAllocatorDefault, (const void **) x, sizeof(x) / sizeof(x[0]), 0…
103 …CFArrayRef fooNoWarn = CFArrayCreate(kCFAllocatorDefault, (const void **) xNoWarn, sizeof(xNoWarn)…
104 …CFArrayRef fooNoWarn2 = CFArrayCreate(kCFAllocatorDefault, 0, sizeof(xNoWarn) / sizeof(xNoWarn[0])…
105 …CFArrayRef fooNoWarn3 = CFArrayCreate(kCFAllocatorDefault, NULL, sizeof(xNoWarn) / sizeof(xNoWarn[…
109 …CFSetRef fSet = CFSetCreate(kCFAllocatorDefault, (const void**) pairs, count - 1, &kCFTypeSetCallB…
119 …keys[0] = CFSTR("January"); values[0] = CFNumberCreate(kCFAllocatorDefault, kCFNumberShortType, &…
120 …keys[1] = CFSTR("February"); values[1] = CFNumberCreate(kCFAllocatorDefault, kCFNumberShortType, &…
121 …keys[2] = CFSTR("March"); values[2] = CFNumberCreate(kCFAllocatorDefault, kCFNumberShortType, &day…
122 …keys[3] = CFSTR("April"); values[3] = CFNumberCreate(kCFAllocatorDefault, kCFNumberShortType, &day…
[all …]
Dcfref_PR2519.c9 extern const CFAllocatorRef kCFAllocatorDefault;
35 CFNumberRef _value = CFNumberCreate(kCFAllocatorDefault, kCFNumberIntType, &pid); in main()
36 …CFDictionaryRef userInfo = CFDictionaryCreate(kCFAllocatorDefault, (const void **)&_key, (const vo… in main()
DNSString.m30 extern const CFAllocatorRef kCFAllocatorDefault;
129 CFStringCreateWithFormat(kCFAllocatorDefault, 0, // expected-warning{{leak}}
182 …CFStringRef ref = CFStringCreateWithFormat(kCFAllocatorDefault, ((void*)0), ((CFStringRef) __built…
392 …return CFStringCreateWithFormat(kCFAllocatorDefault, ((void*)0), ((CFStringRef) __builtin___CFStri…
395 …return CFStringCreateWithFormat(kCFAllocatorDefault, ((void*)0), ((CFStringRef) __builtin___CFStri…
/external/libcups/cups/
Dtls-darwin.c123 …cfcommon_name = CFStringCreateWithCString(kCFAllocatorDefault, common_name, kCFStringEncodingUTF8); in cupsMakeServerCredentials()
134 …keyParams = CFDictionaryCreateMutable(kCFAllocatorDefault, 0, &kCFTypeDictionaryKeyCallBacks, &kCF… in cupsMakeServerCredentials()
157 CFNumberRef usage = CFNumberCreate(kCFAllocatorDefault, kCFNumberCFIndexType, &usageInt); in cupsMakeServerCredentials()
159 CFNumberRef len = CFNumberCreate(kCFAllocatorDefault, kCFNumberCFIndexType, &lenInt); in cupsMakeServerCredentials()
162 …CFDictionaryRef certParams = CFDictionaryCreate(kCFAllocatorDefault, certKeys, certValues, sizeof(… in cupsMakeServerCredentials()
168 CFArrayRef ca_o_dn = CFArrayCreate(kCFAllocatorDefault, ca_o, 2, NULL); in cupsMakeServerCredentials()
169 CFArrayRef ca_cn_dn = CFArrayCreate(kCFAllocatorDefault, ca_cn, 2, NULL); in cupsMakeServerCredentials()
172 ca_dn_array[0] = CFArrayCreate(kCFAllocatorDefault, (const void **)&ca_o_dn, 1, NULL); in cupsMakeServerCredentials()
173 ca_dn_array[1] = CFArrayCreate(kCFAllocatorDefault, (const void **)&ca_cn_dn, 1, NULL); in cupsMakeServerCredentials()
175 CFArrayRef subject = CFArrayCreate(kCFAllocatorDefault, ca_dn_array, 2, NULL); in cupsMakeServerCredentials()
[all …]
Dlanguage.c225 if ((localeid = CFStringCreateWithCString(kCFAllocatorDefault, language, in _cupsAppleLanguage()
229 kCFAllocatorDefault, localeid)) != NULL) in _cupsAppleLanguage()
259 localeName = CFLocaleCreateCanonicalLocaleIdentifierFromString(kCFAllocatorDefault, languageName); in _cupsAppleLocale()
1149 cfm = CFStringCreateWithCString(kCFAllocatorDefault, m, in _cupsMessageLookup()
1434 url = CFURLCreateFromFileSystemRepresentation(kCFAllocatorDefault, in appleMessageLoad()
1439 stream = CFReadStreamCreateWithFile(kCFAllocatorDefault, url); in appleMessageLoad()
1452 plist = CFPropertyListCreateWithStream(kCFAllocatorDefault, stream, 0, in appleMessageLoad()
1469 plist = CFPropertyListCreateWithStream(kCFAllocatorDefault, stream, 0, in appleMessageLoad()
/external/chromium-trace/catapult/telemetry/third_party/pyserial/serial/tools/
Dlist_ports_osx.py32 kCFAllocatorDefault = ctypes.c_void_p.in_dll(cf, "kCFAllocatorDefault") variable
75 kCFAllocatorDefault,
83 kCFAllocatorDefault,
102 kCFAllocatorDefault,
110 kCFAllocatorDefault,
/external/libchrome/base/time/
Dtime_mac.cc175 : CFTimeZoneCreateWithTimeIntervalFromGMT(kCFAllocatorDefault, 0)); in FromExploded()
177 kCFAllocatorDefault, kCFGregorianCalendar)); in FromExploded()
224 : CFTimeZoneCreateWithTimeIntervalFromGMT(kCFAllocatorDefault, 0)); in Explode()
226 kCFAllocatorDefault, kCFGregorianCalendar)); in Explode()
/external/clang/test/ARCMT/
Dnonobjc-to-objc-cast.m15 extern const CFAllocatorRef kCFAllocatorDefault;
42 NSString *_uuidString = (NSString *)CFUUIDCreateString(kCFAllocatorDefault, _uuid);
43 _uuidString = [(NSString *)CFUUIDCreateString(kCFAllocatorDefault, _uuid) autorelease];
Dnonobjc-to-objc-cast.m.result15 extern const CFAllocatorRef kCFAllocatorDefault;
42 …NSString *_uuidString = (NSString *)CFBridgingRelease(CFUUIDCreateString(kCFAllocatorDefault, _uui…
43 _uuidString = (NSString *)CFBridgingRelease(CFUUIDCreateString(kCFAllocatorDefault, _uuid));
Dobjcmt-arc-cf-annotations.m80 extern const CFAllocatorRef kCFAllocatorDefault;
435 …DADiskRef disk = DADiskCreateFromBSDName(kCFAllocatorDefault, 0, "hello"); // expected-warning{{le…
438 disk = DADiskCreateFromIOMedia(kCFAllocatorDefault, 0, media); // expected-warning{{leak}}
447 DADissenterRef dissenter = DADissenterCreate(kCFAllocatorDefault, // expected-warning{{leak}}
451 DASessionRef session = DASessionCreate(kCFAllocatorDefault); // expected-warning{{leak}}
1027 …CFMutableDictionaryRef x = CFDictionaryCreateMutable(kCFAllocatorDefault, 1, &kCFTypeDictionaryKey…
1031 CFNumberRef value = CFNumberCreate(kCFAllocatorDefault, kCFNumberSInt32Type, &z);
1043 CFNumberRef value = CFNumberCreate(kCFAllocatorDefault, kCFNumberSInt32Type, &z);
1054 CFAttributedStringRef string = CFAttributedStringCreate(kCFAllocatorDefault, str, 0);
1055 …CFMutableAttributedStringRef attrString = CFAttributedStringCreateMutableCopy(kCFAllocatorDefault,…
[all …]
Dobjcmt-arc-cf-annotations.m.result80 extern const CFAllocatorRef kCFAllocatorDefault;
471 …DADiskRef disk = DADiskCreateFromBSDName(kCFAllocatorDefault, 0, "hello"); // expected-warning{{le…
474 disk = DADiskCreateFromIOMedia(kCFAllocatorDefault, 0, media); // expected-warning{{leak}}
483 DADissenterRef dissenter = DADissenterCreate(kCFAllocatorDefault, // expected-warning{{leak}}
487 DASessionRef session = DASessionCreate(kCFAllocatorDefault); // expected-warning{{leak}}
1069 …CFMutableDictionaryRef x = CFDictionaryCreateMutable(kCFAllocatorDefault, 1, &kCFTypeDictionaryKey…
1073 CFNumberRef value = CFNumberCreate(kCFAllocatorDefault, kCFNumberSInt32Type, &z);
1085 CFNumberRef value = CFNumberCreate(kCFAllocatorDefault, kCFNumberSInt32Type, &z);
1096 CFAttributedStringRef string = CFAttributedStringCreate(kCFAllocatorDefault, str, 0);
1097 …CFMutableAttributedStringRef attrString = CFAttributedStringCreateMutableCopy(kCFAllocatorDefault,…
[all …]
/external/clang/test/SemaObjC/
Dobjc-cf-audited-warning.m15 const CFAllocatorRef kCFAllocatorDefault;
23 …CFURLRef url = CFURLCreateFromFileSystemRepresentation(kCFAllocatorDefault, filename, 10, 0); // e…
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRBitSet.m107 bitVector = CFBitVectorCreateMutable(kCFAllocatorDefault,0);
115 bitVector = CFBitVectorCreateMutable(kCFAllocatorDefault,0);
126 bitVector = CFBitVectorCreateMutable(kCFAllocatorDefault,0);
147 bitVector = CFBitVectorCreateMutable ( kCFAllocatorDefault, 0 );
167 bitVector = CFBitVectorCreateMutable ( kCFAllocatorDefault, 0 );
306 …ocWithZone:theZone] initWithBitVector:CFBitVectorCreateMutableCopy(kCFAllocatorDefault,0,bitVector…
/external/harfbuzz_ng/src/
Dhb-coretext.cc85 CFArrayRef cascade_list = CFArrayCreate (kCFAllocatorDefault, in HB_SHAPER_DATA_ENSURE_DECLARE()
90 CFDictionaryRef attributes = CFDictionaryCreate (kCFAllocatorDefault, in HB_SHAPER_DATA_ENSURE_DECLARE()
638 …CFMutableArrayRef features_array = CFArrayCreateMutable(kCFAllocatorDefault, 0, &kCFTypeArrayCallB… in _hb_coretext_shape()
649 CFNumberCreate (kCFAllocatorDefault, kCFNumberIntType, &active_features[j].rec.feature), in _hb_coretext_shape()
650 CFNumberCreate (kCFAllocatorDefault, kCFNumberIntType, &active_features[j].rec.setting) in _hb_coretext_shape()
652 CFDictionaryRef dict = CFDictionaryCreate (kCFAllocatorDefault, in _hb_coretext_shape()
666 CFDictionaryRef attributes = CFDictionaryCreate (kCFAllocatorDefault, in _hb_coretext_shape()
804 … CFMutableAttributedStringRef attr_string = CFAttributedStringCreateMutable (kCFAllocatorDefault, in _hb_coretext_shape()
823 CFStringRef lang = CFStringCreateWithCStringNoCopy (kCFAllocatorDefault, in _hb_coretext_shape()
864 CFNumberRef level_number = CFNumberCreate (kCFAllocatorDefault, kCFNumberIntType, &level); in _hb_coretext_shape()
[all …]
/external/webrtc/webrtc/base/
Dmacasyncsocket.cc346 cf_socket = CFSocketCreate(kCFAllocatorDefault, in Initialize()
350 cf_socket = CFSocketCreateWithNative(kCFAllocatorDefault, in Initialize()
371 source_ = CFSocketCreateRunLoopSource(kCFAllocatorDefault, socket_, 1); in Initialize()
395 CFDataRef cf_address = CFDataCreate(kCFAllocatorDefault, in CopyCFAddress()
Dmacsocketserver.cc77 kCFAllocatorDefault, in SetPosixSignalHandler()
88 CFFileDescriptorCreateRunLoopSource(kCFAllocatorDefault, desc, 0); in SetPosixSignalHandler()
Dmacutils.cc42 *str16 = CFStringCreateWithBytes(kCFAllocatorDefault, in ToUtf16()
/external/compiler-rt/test/asan/TestCases/Darwin/
Dsuppressions-sandbox.cc17 CFStringCreateWithBytes(kCFAllocatorDefault, (unsigned char *)a, 10, in main()
Dsuppressions-darwin.cc26 CFStringCreateWithBytes(kCFAllocatorDefault, (unsigned char *)a, 10, in main()
/external/compiler-rt/lib/asan/tests/
Dasan_mac_test_helpers.mm15 void *mem = CFAllocatorAllocate(kCFAllocatorDefault, 5, 0);
16 CFAllocatorDeallocate(kCFAllocatorDefault, mem);
17 CFAllocatorDeallocate(kCFAllocatorDefault, mem);
/external/skia/src/ports/
DSkFontHost_mac.cpp563 CFDictionaryCreateMutable(kCFAllocatorDefault, 0, in create_descriptor()
568 CFDictionaryCreateMutable(kCFAllocatorDefault, 0, in create_descriptor()
585 CFNumberCreate(kCFAllocatorDefault, kCFNumberSInt32Type, &ctFontTraits)); in create_descriptor()
592 CFNumberCreate(kCFAllocatorDefault, kCFNumberCGFloatType, &ctWeight)); in create_descriptor()
599 CFNumberCreate(kCFAllocatorDefault, kCFNumberCGFloatType, &ctWidth)); in create_descriptor()
606 CFNumberCreate(kCFAllocatorDefault, kCFNumberCGFloatType, &ctSlant)); in create_descriptor()
1790 CFDictionaryCreateMutable(kCFAllocatorDefault, 0, in ct_variation_from_cg_variation()
2295 CFDictionaryCreateMutable(kCFAllocatorDefault, 0, in CreateSet()
2368 kCFAllocatorDefault, reinterpret_cast<const UInt8 *>(&character), sizeof(character), in onMatchFamilyStyleCharacter()
2417 CFDictionaryCreateMutable(kCFAllocatorDefault, axisCount, in copy_axes()
[all …]
/external/webrtc/webrtc/modules/video_coding/codecs/h264/
Dh264_video_toolbox_encoder.cc31 return CFDictionaryCreate(kCFAllocatorDefault, keys, values, size, in CreateCFDictionary()
59 CFNumberCreate(kCFAllocatorDefault, kCFNumberSInt32Type, &value); in SetVTSessionProperty()
/external/protobuf/objectivec/
DGPBRootObject.m82 return CFStringCreateWithCString(kCFAllocatorDefault, key,
121 CFDictionaryCreateMutable(kCFAllocatorDefault, 0, &keyCallBacks,
/external/clang/test/Analysis/Inputs/
Dsystem-header-simulator-objc.h34 extern const CFAllocatorRef kCFAllocatorDefault;

12