Searched refs:dataRef (Results 1 - 25 of 50) sorted by last modified time

12

/macosx-10.9.5/CF-855.17/
H A DCFURLAccess.c605 CFDataRef dataRef = NULL; local
608 dataRef = percentEscapeDecodeBuffer(alloc, srcBuffer, dataRange, false);
612 dataRef = base64DecodeData(alloc, unescapedAndStripped);
617 if (dataRef != NULL) {
618 *outData = dataRef;
/macosx-10.9.5/ipsec-258.100.1/ipsec-tools/racoon/
H A Doakley.c1719 CFDataRef dataRef; local
1721 if (iph1->rmconf->keychainCertRef == NULL || base64toCFData(iph1->rmconf->keychainCertRef, &dataRef))
1723 cert = crypto_cssm_get_x509cert(dataRef, &status);
1725 CFRelease(dataRef);
1786 CFDataRef dataRef; local
1788 if (iph1->rmconf->keychainCertRef == NULL || base64toCFData(iph1->rmconf->keychainCertRef, &dataRef))
1790 iph1->sig = crypto_cssm_getsign(dataRef, iph1->hash);
1791 CFRelease(dataRef);
3672 static int base64toCFData(vchar_t *textin, CFDataRef *dataRef) argument
3709 *dataRef
[all...]
/macosx-10.9.5/configd-596.15/SystemConfiguration.fproj/
H A DSCDPrivate.c308 _SCSerialize(CFPropertyListRef obj, CFDataRef *xml, void **dataRef, CFIndex *dataLen) argument
312 if ((xml == NULL) && ((dataRef == NULL) || (dataLen == NULL))) {
327 if ((dataRef != NULL) && (dataLen != NULL)) {
329 *dataRef = NULL;
336 if ((dataRef != NULL) && (dataLen != NULL)) {
337 *dataRef = (void *)CFDataGetBytePtr(myXml);
347 (void *)dataRef,
352 *dataRef = NULL;
366 _SCUnserialize(CFPropertyListRef *obj, CFDataRef xml, void *dataRef, CFIndex dataLen) argument
373 xml = CFDataCreateWithBytesNoCopy(NULL, (void *)dataRef, dataLe
400 _SCSerializeString(CFStringRef str, CFDataRef *data, void **dataRef, CFIndex *dataLen) argument
460 _SCUnserializeString(CFStringRef *str, CFDataRef utf8, void *dataRef, CFIndex dataLen) argument
488 _SCSerializeData(CFDataRef data, void **dataRef, CFIndex *dataLen) argument
518 _SCUnserializeData(CFDataRef *data, void *dataRef, CFIndex dataLen) argument
[all...]
H A DSCNetworkConnection.c624 CFDataRef dataRef = NULL; local
645 if (!_SCSerializeString(SCNetworkServiceGetServiceID(connectionPrivate->service), &dataRef, &data, &dataLen)) {
864 if (dataRef != NULL) CFRelease(dataRef);
H A DSCPrivate.h192 @param dataRef A pointer to the newly allocated/serialized data
198 void **dataRef,
208 @param dataRef A pointer to the serialized data
215 void *dataRef,
225 @param dataRef A pointer to the newly allocated/serialized data
231 void **dataRef,
241 @param dataRef A pointer to the serialized data
248 void *dataRef,
256 @param dataRef A pointer to the newly allocated/serialized data
261 void **dataRef,
[all...]
/macosx-10.9.5/ppp-727.90.1/Controller/
H A Dscnc_mach_server.c468 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 Dscnc_utils.c2137 CFMutableDataRef dataRef; // to be used as SCNCPluginExecCallbackRunLoopSource's info local
2142 dataRef = CFDataCreateMutable(NULL, sizeof(args));
2143 if (dataRef == NULL) {
2146 CFDataSetLength(dataRef, sizeof(args));
2147 dataPtr = CFDataGetMutableBytePtr(dataRef);
2150 args.rlc.info = dataRef; // use as SCNCPluginExecCallbackRunLoopSource's info
2154 CFRelease(dataRef);
2167 return dataRef; // to be used as exec_callback's context
/macosx-10.9.5/PowerManagement-420.90.1/pmconfigd/
H A DPrivateLib.c3140 CFDataRef dataRef = NULL; local
3158 dataRef = CFDictionaryGetValue(dict, keyRef);
3160 if (!dataRef)
3163 dataPtr = (int*)CFDataGetBytePtr(dataRef);
/macosx-10.9.5/configd-596.15/SystemConfiguration.fproj/helper/
H A DSCHelper_server.c2139 xmlData_t dataRef, /* raw XML bytes */
2157 if ((dataRef != NULL) && (dataLen > 0)) {
2158 if (!_SCUnserializeData(&data, (void *)dataRef, dataLen)) {
2137 _helperexec(mach_port_t server, uint32_t msgID, xmlData_t dataRef, mach_msg_type_number_t dataLen, xmlData_t traceRef, mach_msg_type_number_t traceLen, uint32_t *status, xmlDataOut_t *replyRef, mach_msg_type_number_t *replyLen) argument
/macosx-10.9.5/Security-55471.14.18/libsecurity_apple_x509_tp/lib/
H A DTPCertInfo.cpp1355 CFDataRef dataRef = CFDataCreateWithBytesNoCopy(kCFAllocatorDefault, local
1358 if(!dataRef) {
1362 dataRef);
1364 CFRelease(dataRef);
1369 CFRelease(dataRef);
/macosx-10.9.5/smb-697.95.1/lib/smb/
H A Dnb_net.c504 CFMutableDataRef dataRef; local
515 dataRef = (CFMutableDataRef)CFArrayGetValueAtIndex(addressArray, ii);
516 if (!dataRef)
519 conn = (struct connectAddress *)((void *)CFDataGetMutableBytePtr(dataRef));
591 dataRef = (CFMutableDataRef)CFArrayGetValueAtIndex(addressArray, ii);
592 if (!dataRef)
595 conn = (struct connectAddress *)((void *)CFDataGetMutableBytePtr(dataRef));
700 dataRef = (CFMutableDataRef)CFArrayGetValueAtIndex(addressArray, ii);
701 if (!dataRef)
703 conn = (struct connectAddress *)((void *)CFDataGetMutableBytePtr(dataRef));
[all...]
/macosx-10.9.5/bless-98/
H A Dfirmwaresyncd.c764 CFMutableDataRef dataRef; local
770 dataRef = CFDataCreateMutable(kCFAllocatorDefault, 0);
809 CFDataAppendBytes(dataRef, (UInt8 *)buffer, readBytes);
849 *output = dataRef;
/macosx-10.9.5/bless-98/libbless/EFI/
H A DBLSupportsLegacyMode.c70 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 DBLValidateXMLBootOption.c118 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.9.5/Security-55471.14.18/include/security_keychain/
H A DSecItem.cpp729 CFDataRef dataRef = CFDataCreate(allocator, (UInt8*) list.attr[i].data, list.attr[i].length); local
730 if (dataRef == NULL)
731 dataRef = (CFDataRef) CFRetain(kCFNull);
732 CFDictionaryAddValue(dictionaryRef, *(info[i].newItemType), dataRef);
733 CFRelease(dataRef);
1016 CFDataRef dataRef = CFDataCreate(allocator, (UInt8*)attribute->data, attribute->length); local
1017 if (dataRef == NULL)
1018 dataRef = (CFDataRef) CFRetain(kCFNull);
1019 CFDictionaryAddValue(dict, *(intInfo->newItemType), dataRef);
1020 CFRelease(dataRef);
3536 CFDataRef dataRef = CFDataCreate(allocator, (UInt8 *)data, length); local
[all...]
H A DSecTrustedApplication.cpp62 CFDataRef *dataRef)
66 Required(dataRef) = CFDataCreate(NULL, (const UInt8 *)path, strlen(path) + 1);
71 CFDataRef dataRef)
74 if (!dataRef)
76 TrustedApplication::required(appRef)->data(dataRef);
61 SecTrustedApplicationCopyData(SecTrustedApplicationRef appRef, CFDataRef *dataRef) argument
70 SecTrustedApplicationSetData(SecTrustedApplicationRef appRef, CFDataRef dataRef) argument
/macosx-10.9.5/Security-55471.14.18/libsecurity_keychain/Security/
H A DSecItem.cpp729 CFDataRef dataRef = CFDataCreate(allocator, (UInt8*) list.attr[i].data, list.attr[i].length); local
730 if (dataRef == NULL)
731 dataRef = (CFDataRef) CFRetain(kCFNull);
732 CFDictionaryAddValue(dictionaryRef, *(info[i].newItemType), dataRef);
733 CFRelease(dataRef);
1016 CFDataRef dataRef = CFDataCreate(allocator, (UInt8*)attribute->data, attribute->length); local
1017 if (dataRef == NULL)
1018 dataRef = (CFDataRef) CFRetain(kCFNull);
1019 CFDictionaryAddValue(dict, *(intInfo->newItemType), dataRef);
1020 CFRelease(dataRef);
3536 CFDataRef dataRef = CFDataCreate(allocator, (UInt8 *)data, length); local
[all...]
H A DSecTrustedApplication.cpp62 CFDataRef *dataRef)
66 Required(dataRef) = CFDataCreate(NULL, (const UInt8 *)path, strlen(path) + 1);
71 CFDataRef dataRef)
74 if (!dataRef)
76 TrustedApplication::required(appRef)->data(dataRef);
61 SecTrustedApplicationCopyData(SecTrustedApplicationRef appRef, CFDataRef *dataRef) argument
70 SecTrustedApplicationSetData(SecTrustedApplicationRef appRef, CFDataRef dataRef) argument
/macosx-10.9.5/Security-55471.14.18/libsecurity_keychain/lib/
H A DSecItem.cpp729 CFDataRef dataRef = CFDataCreate(allocator, (UInt8*) list.attr[i].data, list.attr[i].length); local
730 if (dataRef == NULL)
731 dataRef = (CFDataRef) CFRetain(kCFNull);
732 CFDictionaryAddValue(dictionaryRef, *(info[i].newItemType), dataRef);
733 CFRelease(dataRef);
1016 CFDataRef dataRef = CFDataCreate(allocator, (UInt8*)attribute->data, attribute->length); local
1017 if (dataRef == NULL)
1018 dataRef = (CFDataRef) CFRetain(kCFNull);
1019 CFDictionaryAddValue(dict, *(intInfo->newItemType), dataRef);
1020 CFRelease(dataRef);
3536 CFDataRef dataRef = CFDataCreate(allocator, (UInt8 *)data, length); local
[all...]
H A DSecTrustedApplication.cpp62 CFDataRef *dataRef)
66 Required(dataRef) = CFDataCreate(NULL, (const UInt8 *)path, strlen(path) + 1);
71 CFDataRef dataRef)
74 if (!dataRef)
76 TrustedApplication::required(appRef)->data(dataRef);
61 SecTrustedApplicationCopyData(SecTrustedApplicationRef appRef, CFDataRef *dataRef) argument
70 SecTrustedApplicationSetData(SecTrustedApplicationRef appRef, CFDataRef dataRef) argument
/macosx-10.9.5/Security-55471.14.18/libsecurity_ssl/sslViewer/
H A DsslAppUtils.cpp805 CFDataRef dataRef; local
810 dataRef = CFDataCreateWithBytesNoCopy(kCFAllocatorDefault,
812 secCert = SecCertificateCreateWithData(kCFAllocatorDefault, dataRef);
813 CFReleaseSafe(dataRef);
/macosx-10.9.5/WebKit2-7537.78.2/UIProcess/API/C/
H A DWKPage.cpp95 void WKPageLoadData(WKPageRef pageRef, WKDataRef dataRef, WKStringRef MIMETypeRef, WKStringRef encodingRef, WKURLRef baseURLRef) argument
97 toImpl(pageRef)->loadData(toImpl(dataRef), toWTFString(MIMETypeRef), toWTFString(encodingRef), toWTFString(baseURLRef));
100 void WKPageLoadDataWithUserData(WKPageRef pageRef, WKDataRef dataRef, WKStringRef MIMETypeRef, WKStringRef encodingRef, WKURLRef baseURLRef, WKTypeRef userDataRef) argument
102 toImpl(pageRef)->loadData(toImpl(dataRef), toWTFString(MIMETypeRef), toWTFString(encodingRef), toWTFString(baseURLRef), toImpl(userDataRef));
/macosx-10.9.5/WebKit2-7537.78.2/UIProcess/API/mac/
H A DWKPrintingView.mm239 static void pageDidDrawToPDF(WKDataRef dataRef, WKErrorRef, void* untypedContext)
245 WebData* data = toImpl(dataRef);
/macosx-10.9.5/Security-55471.14.18/libsecurity_manifest/lib/
H A DManifestInternal.cpp218 CFTypeRef dataRef = CFArrayGetValueAtIndex (exceptionList, n); local
219 if (CFGetTypeID (dataRef) != CFStringGetTypeID ())
225 std::string s = prefix + cfString (CFStringRef (dataRef));
/macosx-10.9.5/configd-596.15/dnsinfo/
H A Ddnsinfo_copy.c410 const void *dataRef; local
413 dataRef = xpc_dictionary_get_data(reply, DNSINFO_CONFIGURATION, &dataLen);
414 if ((dataRef != NULL) &&
416 _dns_config_buf_t *config = (_dns_config_buf_t *)(void *)dataRef;
424 bcopy((void *)dataRef, buf, dataLen);

Completed in 240 milliseconds

12