Searched refs:charactersConverted (Results 1 – 1 of 1) sorted by relevance
301 …CFIndex charactersConverted = CFStringGetBytes(cfs.get(), range, m_encoding, lossByte, false, buff… in encode() local304 if (charactersConverted != charactersLeft) { in encode()305 … unsigned badChar = CFStringGetCharacterAtIndex(cfs.get(), startPos + charactersConverted); in encode()306 ++charactersConverted; in encode()307 … if ((badChar & 0xFC00) == 0xD800 && charactersConverted != charactersLeft) { // is high surrogate in encode()308 … UniChar low = CFStringGetCharacterAtIndex(cfs.get(), startPos + charactersConverted); in encode()313 ++charactersConverted; in encode()323 startPos += charactersConverted; in encode()324 charactersLeft -= charactersConverted; in encode()