/macosx-10.10/ppp-786.1.1/Controller/ |
H A D | scnc_mach_server.c | 468 xmlData_t dataRef, /* raw XML bytes */ 491 if (!_SCUnserialize((CFPropertyListRef *)&optRef, NULL, (void *)dataRef, dataLen)) { 467 _pppcontroller_start(mach_port_t session, xmlData_t dataRef, mach_msg_type_number_t dataLen, int linger, int * result) argument
|
H A D | scnc_utils.c | 2146 CFMutableDataRef dataRef; // to be used as SCNCPluginExecCallbackRunLoopSource's info local 2151 dataRef = CFDataCreateMutable(NULL, sizeof(args)); 2152 if (dataRef == NULL) { 2155 CFDataSetLength(dataRef, sizeof(args)); 2156 dataPtr = CFDataGetMutableBytePtr(dataRef); 2159 args.rlc.info = dataRef; // use as SCNCPluginExecCallbackRunLoopSource's info 2163 CFRelease(dataRef); 2176 return dataRef; // to be used as exec_callback's context
|
/macosx-10.10/ipsec-286.1.1/ipsec-tools/racoon/ |
H A D | oakley.c | 1701 CFDataRef dataRef; local 1703 if (iph1->rmconf->keychainCertRef == NULL || base64toCFData(iph1->rmconf->keychainCertRef, &dataRef)) 1705 cert = crypto_cssm_get_x509cert(dataRef, &status); 1707 CFRelease(dataRef); 1768 CFDataRef dataRef; local 1770 if (iph1->rmconf->keychainCertRef == NULL || base64toCFData(iph1->rmconf->keychainCertRef, &dataRef)) 1772 iph1->sig = crypto_cssm_getsign(dataRef, iph1->hash); 1773 CFRelease(dataRef); 3471 static int base64toCFData(vchar_t *textin, CFDataRef *dataRef) argument 3508 *dataRef [all...] |
/macosx-10.10/configd-699.1.5/SystemConfiguration.fproj/ |
H A D | SCDPrivate.c | 355 _SCSerialize(CFPropertyListRef obj, CFDataRef *xml, void **dataRef, CFIndex *dataLen) argument 359 if ((xml == NULL) && ((dataRef == NULL) || (dataLen == NULL))) { 374 if ((dataRef != NULL) && (dataLen != NULL)) { 376 *dataRef = NULL; 383 if ((dataRef != NULL) && (dataLen != NULL)) { 384 *dataRef = (void *)CFDataGetBytePtr(myXml); 394 (void *)dataRef, 399 *dataRef = NULL; 413 _SCUnserialize(CFPropertyListRef *obj, CFDataRef xml, void *dataRef, CFIndex dataLen) argument 420 xml = CFDataCreateWithBytesNoCopy(NULL, (void *)dataRef, dataLe 447 _SCSerializeString(CFStringRef str, CFDataRef *data, void **dataRef, CFIndex *dataLen) argument 507 _SCUnserializeString(CFStringRef *str, CFDataRef utf8, void *dataRef, CFIndex dataLen) argument 535 _SCSerializeData(CFDataRef data, void **dataRef, CFIndex *dataLen) argument 565 _SCUnserializeData(CFDataRef *data, void *dataRef, CFIndex dataLen) argument [all...] |
H A D | SCNetworkConnection.c | 736 CFDataRef dataRef = NULL; local 757 if (!_SCSerializeString(SCNetworkServiceGetServiceID(connectionPrivate->service), &dataRef, &data, &dataLen)) { 976 if (dataRef != NULL) CFRelease(dataRef);
|
H A D | SCPrivate.h | 201 @param dataRef A pointer to the newly allocated/serialized data 207 void **dataRef, 217 @param dataRef A pointer to the serialized data 224 void *dataRef, 234 @param dataRef A pointer to the newly allocated/serialized data 240 void **dataRef, 250 @param dataRef A pointer to the serialized data 257 void *dataRef, 265 @param dataRef A pointer to the newly allocated/serialized data 270 void **dataRef, [all...] |
/macosx-10.10/bless-103/ |
H A D | firmwaresyncd.c | 764 CFMutableDataRef dataRef; local 770 dataRef = CFDataCreateMutable(kCFAllocatorDefault, 0); 809 CFDataAppendBytes(dataRef, (UInt8 *)buffer, readBytes); 849 *output = dataRef;
|
/macosx-10.10/bless-103/libbless/EFI/ |
H A D | BLSupportsLegacyMode.c | 70 CFDataRef dataRef; local 79 dataRef = IORegistryEntryCreateCFProperty(optionsNode, 83 if(dataRef != NULL 84 && CFGetTypeID(dataRef) == CFDataGetTypeID() 85 && CFDataGetLength(dataRef) == sizeof(uint32_t)) { 86 const UInt8 *bytes = CFDataGetBytePtr(dataRef); 93 if(dataRef) CFRelease(dataRef); 95 dataRef = IORegistryEntryCreateCFProperty(optionsNode, 99 if(dataRef ! [all...] |
H A D | BLValidateXMLBootOption.c | 118 CFDataRef dataRef; local 121 dataRef = IORegistryEntryCreateCFProperty(options, 125 if(dataRef == NULL) { 130 if(CFGetTypeID(dataRef) != CFDataGetTypeID() || CFDataGetLength(dataRef) < sizeof(uint16_t)) { 131 if(dataRef) CFRelease(dataRef); 136 orderBuffer = (const uint16_t *)CFDataGetBytePtr(dataRef); 139 CFRelease(dataRef); 148 CFDataRef dataRef; local 191 CFDataRef dataRef; local [all...] |
/macosx-10.10/PowerManagement-494.1.2/pmconfigd/ |
H A D | AutoWakeScheduler.c | 1021 CFDataRef dataRef = NULL; local 1036 dataRef = CFDataCreate(0, (const UInt8 *)flatPackage, packageLen); 1037 if (dataRef) { 1038 event = (CFDictionaryRef)CFPropertyListCreateWithData(0, dataRef, 0, NULL, NULL); 1106 if (dataRef) 1107 CFRelease(dataRef);
|
H A D | PrivateLib.c | 3620 CFDataRef dataRef = NULL; local 3638 dataRef = CFDictionaryGetValue(dict, keyRef); 3640 if (!dataRef) 3643 dataPtr = (int*)CFDataGetBytePtr(dataRef);
|
H A D | RepeatingAutoWake.c | 379 CFDataRef dataRef = NULL; local 392 dataRef = CFDataCreate(0, (const UInt8 *)flatPackage, packageLen); 393 if (dataRef) { 394 events = (CFDictionaryRef)CFPropertyListCreateWithData(0, dataRef, 0, NULL, NULL); 471 if (dataRef) 472 CFRelease(dataRef);
|
/macosx-10.10/Security-57031.1.35/Security/include/security_keychain/ |
H A D | SecTrustedApplication.cpp | 65 CFDataRef *dataRef) 69 Required(dataRef) = CFDataCreate(NULL, (const UInt8 *)path, strlen(path) + 1); 74 CFDataRef dataRef) 77 if (!dataRef) 79 TrustedApplication::required(appRef)->data(dataRef); 64 SecTrustedApplicationCopyData(SecTrustedApplicationRef appRef, CFDataRef *dataRef) argument 73 SecTrustedApplicationSetData(SecTrustedApplicationRef appRef, CFDataRef dataRef) argument
|
H A D | SecItem.cpp | 731 CFDataRef dataRef = CFDataCreate(allocator, (UInt8*) list.attr[i].data, list.attr[i].length); local 732 if (dataRef == NULL) 733 dataRef = (CFDataRef) CFRetain(kCFNull); 734 CFDictionaryAddValue(dictionaryRef, *(info[i].newItemType), dataRef); 735 CFRelease(dataRef); 1018 CFDataRef dataRef = CFDataCreate(allocator, (UInt8*)attribute->data, attribute->length); local 1019 if (dataRef == NULL) 1020 dataRef = (CFDataRef) CFRetain(kCFNull); 1021 CFDictionaryAddValue(dict, *(intInfo->newItemType), dataRef); 1022 CFRelease(dataRef); 3600 CFDataRef dataRef = CFDataCreate(allocator, (UInt8 *)data, length); local [all...] |
/macosx-10.10/Security-57031.1.35/Security/libsecurity_apple_x509_tp/lib/ |
H A D | TPCertInfo.cpp | 1355 CFDataRef dataRef = CFDataCreateWithBytesNoCopy(kCFAllocatorDefault, local 1358 if(!dataRef) { 1362 dataRef); 1364 CFRelease(dataRef); 1369 CFRelease(dataRef);
|
/macosx-10.10/Security-57031.1.35/Security/libsecurity_keychain/Security/ |
H A D | SecTrustedApplication.cpp | 65 CFDataRef *dataRef) 69 Required(dataRef) = CFDataCreate(NULL, (const UInt8 *)path, strlen(path) + 1); 74 CFDataRef dataRef) 77 if (!dataRef) 79 TrustedApplication::required(appRef)->data(dataRef); 64 SecTrustedApplicationCopyData(SecTrustedApplicationRef appRef, CFDataRef *dataRef) argument 73 SecTrustedApplicationSetData(SecTrustedApplicationRef appRef, CFDataRef dataRef) argument
|
H A D | SecItem.cpp | 731 CFDataRef dataRef = CFDataCreate(allocator, (UInt8*) list.attr[i].data, list.attr[i].length); local 732 if (dataRef == NULL) 733 dataRef = (CFDataRef) CFRetain(kCFNull); 734 CFDictionaryAddValue(dictionaryRef, *(info[i].newItemType), dataRef); 735 CFRelease(dataRef); 1018 CFDataRef dataRef = CFDataCreate(allocator, (UInt8*)attribute->data, attribute->length); local 1019 if (dataRef == NULL) 1020 dataRef = (CFDataRef) CFRetain(kCFNull); 1021 CFDictionaryAddValue(dict, *(intInfo->newItemType), dataRef); 1022 CFRelease(dataRef); 3600 CFDataRef dataRef = CFDataCreate(allocator, (UInt8 *)data, length); local [all...] |
/macosx-10.10/Security-57031.1.35/Security/libsecurity_keychain/lib/ |
H A D | SecTrustedApplication.cpp | 65 CFDataRef *dataRef) 69 Required(dataRef) = CFDataCreate(NULL, (const UInt8 *)path, strlen(path) + 1); 74 CFDataRef dataRef) 77 if (!dataRef) 79 TrustedApplication::required(appRef)->data(dataRef); 64 SecTrustedApplicationCopyData(SecTrustedApplicationRef appRef, CFDataRef *dataRef) argument 73 SecTrustedApplicationSetData(SecTrustedApplicationRef appRef, CFDataRef dataRef) argument
|
H A D | SecItem.cpp | 731 CFDataRef dataRef = CFDataCreate(allocator, (UInt8*) list.attr[i].data, list.attr[i].length); local 732 if (dataRef == NULL) 733 dataRef = (CFDataRef) CFRetain(kCFNull); 734 CFDictionaryAddValue(dictionaryRef, *(info[i].newItemType), dataRef); 735 CFRelease(dataRef); 1018 CFDataRef dataRef = CFDataCreate(allocator, (UInt8*)attribute->data, attribute->length); local 1019 if (dataRef == NULL) 1020 dataRef = (CFDataRef) CFRetain(kCFNull); 1021 CFDictionaryAddValue(dict, *(intInfo->newItemType), dataRef); 1022 CFRelease(dataRef); 3600 CFDataRef dataRef = CFDataCreate(allocator, (UInt8 *)data, length); local [all...] |
/macosx-10.10/Security-57031.1.35/Security/libsecurity_manifest/lib/ |
H A D | ManifestInternal.cpp | 218 CFTypeRef dataRef = CFArrayGetValueAtIndex (exceptionList, n); local 219 if (CFGetTypeID (dataRef) != CFStringGetTypeID ()) 225 std::string s = prefix + cfString (CFStringRef (dataRef));
|
/macosx-10.10/Security-57031.1.35/Security/libsecurity_ssl/sslViewer/ |
H A D | sslAppUtils.cpp | 805 CFDataRef dataRef; local 810 dataRef = CFDataCreateWithBytesNoCopy(kCFAllocatorDefault, 812 secCert = SecCertificateCreateWithData(kCFAllocatorDefault, dataRef); 813 CFReleaseSafe(dataRef);
|
/macosx-10.10/WebKit2-7600.1.25/WebProcess/WebPage/ |
H A D | WebPage.cpp | 3198 RetainPtr<CFDataRef> dataRef = adoptCF(CFDataCreate(nullptr, iconData.data(), iconData.size())); local 3199 RetainPtr<CGDataProviderRef> imageProviderRef = adoptCF(CGDataProviderCreateWithCFData(dataRef.get()));
|
/macosx-10.10/Security-57031.1.35/Security/libsecurity_transform/ |
H A D | custom.mm | 1524 CFDataRef dataRef = CFDataCreateWithBytesNoCopy(NULL, data, sizeof(data), kCFAllocatorNull); 1525 SecTransformSetAttribute(dt, kSecTransformInputAttributeName, dataRef, NULL); 1548 CFRelease(dataRef); 1553 // STAssertEquals(rc0, CFGetRetainCount(dataRef), @"The value we sent to INPUT hasn't been released"); 1593 CFDataRef dataRef = CFDataCreateWithBytesNoCopy(NULL, data, sizeof(data), kCFAllocatorNull); 1594 SecTransformSetAttribute(a, kSecTransformInputAttributeName, dataRef, NULL); 1595 CFRelease(dataRef);
|
/macosx-10.10/WebKit2-7600.1.25/UIProcess/API/C/ |
H A D | WKPage.cpp | 127 void WKPageLoadData(WKPageRef pageRef, WKDataRef dataRef, WKStringRef MIMETypeRef, WKStringRef encodingRef, WKURLRef baseURLRef) argument 129 toImpl(pageRef)->loadData(toImpl(dataRef), toWTFString(MIMETypeRef), toWTFString(encodingRef), toWTFString(baseURLRef)); 132 void WKPageLoadDataWithUserData(WKPageRef pageRef, WKDataRef dataRef, WKStringRef MIMETypeRef, WKStringRef encodingRef, WKURLRef baseURLRef, WKTypeRef userDataRef) argument 134 toImpl(pageRef)->loadData(toImpl(dataRef), toWTFString(MIMETypeRef), toWTFString(encodingRef), toWTFString(baseURLRef), toImpl(userDataRef));
|
/macosx-10.10/Security-57031.1.35/SecurityTests/regressions/kc/ |
H A D | kc-50-iPhone-emulation.c | 274 CFDataRef dataRef = CFDataCreateWithBytesNoCopy(NULL, (const UInt8*) data, strlen(data), NULL); local 275 CFDictionaryAddValue(dict, kSecValueData, dataRef);
|