Searched refs:canBeEightbit (Results 1 - 1 of 1) sorted by path

/macosx-10.9.5/CF-855.17/
H A DCFString.c3866 Boolean canBeEightbit = isSepCFString && __CFStrIsEightBit(separatorString); local
3885 // canBeEightbit is already false if the separator is an NSString...
3886 if (CF_IS_OBJC(__kCFStringTypeID, otherString) || ! __CFStrIsEightBit(otherString)) canBeEightbit = false;
3889 buffer = (uint8_t *)CFAllocatorAllocate(alloc, canBeEightbit ? ((numChars + 1) * sizeof(uint8_t)) : (numChars * sizeof(UniChar)), 0);
3892 separatorNumByte = CFStringGetLength(separatorString) * (canBeEightbit ? sizeof(uint8_t) : sizeof(UniChar));
3901 } else if (canBeEightbit) {
3918 CFIndex otherNumByte = __CFStrLength2(otherString, otherContents) * (canBeEightbit ? sizeof(uint8_t) : sizeof(UniChar));
3920 if (canBeEightbit || __CFStrIsUnicode(otherString)) {
3928 if (canBeEightbit) *bufPtr = 0; // NULL byte;
3930 return canBeEightbit
[all...]

Completed in 283 milliseconds