Searched refs:cfstr (Results 1 - 25 of 41) sorted by relevance

12

/macosx-10.10/vim-55/src/
H A Dos_mac_conv.c54 CFStringRef cfstr; local
76 cfstr = CFStringCreateWithBytes(NULL, ptr, len, from, 0);
78 if(cfstr == NULL)
83 while (cfstr == NULL && unconvlenp != NULL && len > 1 && *unconvlenp < 6)
87 cfstr = CFStringCreateWithBytes(NULL, ptr, len, from, 0);
89 if (cfstr == NULL)
99 CFRelease(cfstr);
104 CFRange convertRange = CFRangeMake(0, CFStringGetLength(cfstr));
106 CFStringGetBytes(cfstr, convertRange, to, NULL, FALSE, NULL, 0, (CFIndex *)&buflen);
109 CFRelease(cfstr);
185 CFStringRef cfstr; local
235 CFStringRef cfstr; local
[all...]
/macosx-10.10/bootp-298/bootplib/
H A Dcfutil.h57 my_CFStringToCStringAndLengthExt(CFStringRef cfstr, char * str, int len,
60 my_CFStringToCStringAndLength(CFStringRef cfstr, char * str, int len) argument
62 return (my_CFStringToCStringAndLengthExt(cfstr, str, len, FALSE));
94 my_CFStringToCString(CFStringRef cfstr, CFStringEncoding encoding);
H A Dcfutil.c182 my_CFStringToCStringAndLengthExt(CFStringRef cfstr, char * str, int len, argument
187 CFStringGetBytes(cfstr, CFRangeMake(0, CFStringGetLength(cfstr)),
480 my_CFStringToCString(CFStringRef cfstr, CFStringEncoding encoding) argument
486 range = CFRangeMake(0, CFStringGetLength(cfstr));
487 CFStringGetBytes(cfstr, range, encoding,
493 CFStringGetBytes(cfstr, range, encoding, 0, FALSE, str, l, &l);
/macosx-10.10/security_dotmac_tp-55107.1/lib/
H A DdotMacTpMutils.h47 CFStringRef cfstr);
H A DdotMacTpRpcGlue.cpp239 const CFStringRef cfstr,
244 cfstr, kCFStringEncodingUTF8, 0);
567 CFStringRef cfstr = (CFStringRef)CFDictionaryGetValue(dict, local
569 if((cfstr == NULL) || (CFGetTypeID(cfstr) != CFStringGetTypeID())) {
573 cfstrToCdata(cfstr, dmarc->archiveName, alloc);
575 cfstr = (CFStringRef)CFDictionaryGetValue(dict, kArchiveListExpires);
576 if((cfstr == NULL) || (CFGetTypeID(cfstr) != CFStringGetTypeID())) {
580 cfstrToCdata(cfstr, dmar
238 cfstrToCdata( const CFStringRef cfstr, CSSM_DATA &cdata, Allocator &alloc) argument
621 CFStringRef cfstr = (CFStringRef)CFDictionaryGetValue(dict, local
[all...]
H A DdotMacTpMutils.m36 CFStringRef cfstr)
38 NSLog(@"%s %@\n", cstr, cfstr);
/macosx-10.10/WebCore-7600.1.25/platform/win/
H A DBString.cpp88 BString::BString(CFStringRef cfstr) argument
91 if (!cfstr)
94 const UniChar* uniChars = CFStringGetCharactersPtr(cfstr);
96 m_bstr = SysAllocStringLen((LPCWSTR)uniChars, CFStringGetLength(cfstr));
100 CFIndex length = CFStringGetLength(cfstr);
102 CFStringGetCharacters(cfstr, CFRangeMake(0, length), (UniChar*)m_bstr);
/macosx-10.10/autofs-246/od_user_homes/
H A Dod_user_homes.c32 od_cfstrlen(CFStringRef cfstr) argument
34 return (CFStringGetMaximumSizeForEncoding(CFStringGetLength(cfstr),
42 od_cfstrlcpy(char *string, CFStringRef cfstr, size_t size) argument
44 return (CFStringGetCString(cfstr, string, (CFIndex)size,
54 od_CFStringtoCString(CFStringRef cfstr) argument
59 length = od_cfstrlen(cfstr);
63 if (!od_cfstrlcpy(string, cfstr, length + 1)) {
/macosx-10.10/Security-57031.1.35/SecurityTests/clxutils/rootStoreTool/
H A DrootUtils.h70 CFStringRef cfstr);
H A DrootUtils.cpp112 CFStringRef cfstr)
114 CFDataRef strData = CFStringCreateExternalRepresentation(NULL, cfstr,
111 printCfStr( CFStringRef cfstr) argument
/macosx-10.10/Security-57031.1.35/SecurityTool/
H A Dtrusted_cert_utils.h42 void printCfStr(CFStringRef cfstr);
H A Dtrusted_cert_utils.c99 CFStringRef cfstr)
101 CFDataRef strData = CFStringCreateExternalRepresentation(NULL, cfstr,
98 printCfStr( CFStringRef cfstr) argument
/macosx-10.10/bless-103/test/
H A DUtilitiesCFPrettyPrint.c215 CFStringRef cfstr = NULL; local
219 cfstr = CFStringCreateWithFormat(kCFAllocatorDefault, NULL, CFSTR("%@"), typeRef);
220 if(cfstr == NULL && typeRef != NULL) cfstr = CFSTR("<error getting string representation>");
223 len = CFStringGetMaximumSizeForEncoding(CFStringGetLength(cfstr), kCFStringEncodingUTF8) + 1;
226 if (!CFStringGetCString(cfstr, str, len, kCFStringEncodingUTF8)) {
/macosx-10.10/eap8021x-198/EAP8021X.fproj/
H A DmyCFUtil.c85 S_copy_cstring(CFStringRef cfstr, CFRange range, CFStringEncoding encoding) argument
90 CFStringGetBytes(cfstr, range, encoding, 0, FALSE, NULL, 0, &l);
95 CFStringGetBytes(cfstr, range, encoding, 0, FALSE, str, l, &l);
101 my_CFStringToCString(CFStringRef cfstr, CFStringEncoding encoding) argument
106 range = CFRangeMake(0, CFStringGetLength(cfstr));
108 return (S_copy_cstring(cfstr, range, encoding));
115 str = S_copy_cstring(cfstr, range, S_encodings[i]);
H A DmyCFUtil.h44 my_CFStringToCString(CFStringRef cfstr, CFStringEncoding encoding);
/macosx-10.10/ipsec-286.1.1/ipsec-tools/racoon/
H A Dplog.c448 createCStringFromCFString(CFAllocatorRef allocator, CFStringRef cfstr) argument
450 CFIndex cstr_len = CFStringGetMaximumSizeForEncoding(CFStringGetLength(cfstr), kCFStringEncodingUTF8) + 1;
452 CFStringGetCString(cfstr, cstr, cstr_len, kCFStringEncodingUTF8);
460 CFStringRef cfstr; local
464 cfstr = CFStringCreateWithFormatAndArguments(kCFAllocatorDefault, NULL, fmt, args);
467 cstr = createCStringFromCFString(kCFAllocatorDefault, cfstr);
471 CFRelease(cfstr);
/macosx-10.10/autofs-246/dumpammap/
H A Ddumpammap.c61 od_CFStringtoCString(CFStringRef cfstr) argument
66 length = CFStringGetMaximumSizeForEncoding(CFStringGetLength(cfstr),
71 if (!CFStringGetCString(cfstr, string, length + 1,
/macosx-10.10/msdosfs-209.1.1/msdos_util.tproj/
H A Ddosutil.c774 CFStringRef cfstr; local
782 cfstr = CFStringCreateWithCString(kCFAllocatorDefault, volName, kCFStringEncodingUTF8);
783 if (cfstr == NULL)
785 if (! CFStringGetCString(cfstr, tmplabel, LABEL_LENGTH, kCFStringEncodingWindowsLatin1))
787 CFRelease(cfstr);
933 CFStringRef cfstr; local
957 cfstr = CFStringCreateWithCString(NULL, label, encoding);
958 if (cfstr == NULL && encoding != kCFStringEncodingDOSLatin1)
959 cfstr = CFStringCreateWithCString(NULL, label, kCFStringEncodingDOSLatin1);
960 if (cfstr
[all...]
/macosx-10.10/autofs-246/automountlib/
H A Dns_od.c101 od_cfstrlen(CFStringRef cfstr) argument
103 return (CFStringGetMaximumSizeForEncoding(CFStringGetLength(cfstr),
111 od_cfstrlcpy(char *string, CFStringRef cfstr, size_t size) argument
113 return (CFStringGetCString(cfstr, string, (CFIndex)size,
123 od_CFStringtoCString(CFStringRef cfstr) argument
128 length = od_cfstrlen(cfstr);
132 if (!od_cfstrlcpy(string, cfstr, length + 1)) {
/macosx-10.10/msdosfs-209.1.1/mount_msdos.tproj/
H A Dmount_msdos.c589 CFStringRef cfstr; local
741 cfstr = CFStringCreateWithCString(NULL, label, GetDefaultDOSEncoding());
742 if (cfstr == NULL)
743 cfstr = CFStringCreateWithCString(NULL, label, kCFStringEncodingDOSLatin1);
744 if (cfstr == NULL)
749 mutable = CFStringCreateMutableCopy(NULL, 0, cfstr);
756 CFRelease(cfstr);
/macosx-10.10/pam_modules-140/common/
H A DCommon.c569 CFStringRef cfstr = NULL; local
577 retval = od_record_attribute_create_cfstring(record, kODAttributeTypeUserShell, &cfstr);
583 if (NULL == cfstr) {
588 if (CFStringCompare(cfstr, CFSTR("/usr/bin/false"), 0) == kCFCompareEqualTo) {
597 if (NULL != cfstr) {
598 CFRelease(cfstr);
/macosx-10.10/Security-57031.1.35/SecurityTests/clxutils/p12/
H A Dp12Decode.cpp23 CFStringRef cfstr)
25 CFIndex len = CFStringGetLength(cfstr) + 1;
27 if(CFStringGetCString(cfstr, outStr, len, kCFStringEncodingASCII)) {
22 printUcStr( CFStringRef cfstr) argument
/macosx-10.10/bootp-298/DHCPServer/
H A DDHCPServer.c143 cfstring_to_cstring(CFStringRef cfstr, char * str, int len) argument
148 range = CFRangeMake(0, CFStringGetLength(cfstr));
149 (void)CFStringGetBytes(cfstr, range, kCFStringEncodingMacRoman,
/macosx-10.10/IOHIDFamily-606.1.7/IOHIDEventSystemPlugIns/
H A DIOHIDEventSystemStatistics.cpp354 CFStringRef cfstr; local
357 cfstr = (CFStringRef) CFArrayGetValueAtIndex(logStrings, i);
358 if (!cfstr) continue;
360 cstr = CFStringGetCStringPtr(cfstr, kCFStringEncodingUTF8);
/macosx-10.10/efax-38/efax/
H A Defaxos.c1256 CFTypeRef cfstr; /* CFString */ local
1266 if (!matched && (cfstr = IORegistryEntryCreateCFProperty(obj, CFSTR(kIOCalloutDeviceKey), kCFAllocatorDefault, 0)))
1268 CFStringGetCString(cfstr, bsdpath, sizeof(bsdpath), kCFStringEncodingUTF8);
1269 CFRelease(cfstr);
1273 if (!matched && (cfstr = IORegistryEntryCreateCFProperty(obj, CFSTR(kIODialinDeviceKey), kCFAllocatorDefault, 0)))
1275 CFStringGetCString(cfstr, bsdpath, sizeof(bsdpath), kCFStringEncodingUTF8);
1276 CFRelease(cfstr);

Completed in 338 milliseconds

12