Lines Matching defs:usedCharLen
123 CF_PRIVATE CFIndex __CFStringEncodingPlatformUnicodeToBytes(uint32_t encoding, uint32_t flags, const UniChar *characters, CFIndex numChars, CFIndex *usedCharLen, uint8_t *bytes, CFIndex maxByteLen, CFIndex *usedByteLen) {
150 if (usedCharLen) *usedCharLen = 0;
156 if (usedCharLen) *usedCharLen = (numChars - 1);
165 if (usedCharLen) *usedCharLen = numChars;
174 CF_PRIVATE CFIndex __CFStringEncodingPlatformBytesToUnicode(uint32_t encoding, uint32_t flags, const uint8_t *bytes, CFIndex numBytes, CFIndex *usedByteLen, UniChar *characters, CFIndex maxCharLen, CFIndex *usedCharLen) {
202 if (usedCharLen) *usedCharLen = usedLen;
210 if (usedCharLen) *usedCharLen = usedLen;
220 CFIndex usedCharLen;
221 return (__CFStringEncodingPlatformBytesToUnicode(encoding, flags, bytes, numBytes, NULL, NULL, 0, &usedCharLen) == kCFStringEncodingConversionSuccess ? usedCharLen : 0);