Searched refs:bytesToAllocate (Results 1 - 3 of 3) sorted by relevance

/macosx-10.10.1/WebKit-7600.1.25/mac/Misc/
H A DWebNSURLExtras.mm192 CFIndex bytesToAllocate = CFURLGetBytes((CFURLRef)self, NULL, 0);
193 buffer = static_cast<UInt8 *>(malloc(bytesToAllocate));
194 bytesFilled = CFURLGetBytes((CFURLRef)self, buffer, bytesToAllocate);
195 ASSERT(bytesFilled == bytesToAllocate);
/macosx-10.10.1/Security-57031.1.35/Security/include/security_smime/
H A DtsaSupport.c241 CFIndex bytesToAllocate = CFStringGetMaximumSizeForEncoding(length, kCFStringEncodingUTF8) + 1; local
242 result = malloc(bytesToAllocate);
243 if (!CFStringGetCString(inStr, result, bytesToAllocate, kCFStringEncodingUTF8))
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_smime/lib/
H A DtsaSupport.c241 CFIndex bytesToAllocate = CFStringGetMaximumSizeForEncoding(length, kCFStringEncodingUTF8) + 1; local
242 result = malloc(bytesToAllocate);
243 if (!CFStringGetCString(inStr, result, bytesToAllocate, kCFStringEncodingUTF8))

Completed in 178 milliseconds