Home
last modified time | relevance | path

Searched refs:extraBytesToRead (Results 1 – 1 of 1) sorted by relevance

/external/webkit/JavaScriptCore/wtf/unicode/
DUTF8.cpp242 int extraBytesToRead = UTF8SequenceLength(*source) - 1; in convertUTF8ToUTF16() local
243 if (source + extraBytesToRead >= sourceEnd) { in convertUTF8ToUTF16()
248 if (!isLegalUTF8(reinterpret_cast<const unsigned char*>(source), extraBytesToRead + 1)) { in convertUTF8ToUTF16()
253 switch (extraBytesToRead) { in convertUTF8ToUTF16()
261 ch -= offsetsFromUTF8[extraBytesToRead]; in convertUTF8ToUTF16()
264 source -= (extraBytesToRead + 1); // Back up source pointer! in convertUTF8ToUTF16()
271 source -= (extraBytesToRead + 1); // return to the illegal value itself in convertUTF8ToUTF16()
281 source -= (extraBytesToRead + 1); // return to the start in convertUTF8ToUTF16()
288 source -= (extraBytesToRead + 1); // Back up source pointer! in convertUTF8ToUTF16()