Searched defs:utf16Length (Results 1 - 7 of 7) sorted by relevance

/external/webkit/Source/JavaScriptCore/wtf/text/
H A DAtomicString.cpp225 unsigned utf16Length; member in struct:WTF::HashAndUTF8Characters
236 if (buffer.utf16Length != string->length())
242 if (buffer.utf16Length != buffer.length)
257 location = StringImpl::createUninitialized(buffer.utf16Length, target).releaseRef();
260 if (convertUTF8ToUTF16(&source, source + buffer.length, &target, target + buffer.utf16Length) != conversionOK)
358 buffer.hash = calculateStringHashAndLengthFromUTF8(charactersStart, charactersEnd, buffer.length, buffer.utf16Length);
H A DWTFString.cpp758 unsigned utf16Length = buffer - stringBuffer.characters(); local
759 ASSERT(utf16Length < length);
760 return String(stringBuffer.characters(), utf16Length);
/external/webkit/Source/JavaScriptCore/wtf/unicode/
H A DUTF8.cpp317 unsigned calculateStringHashAndLengthFromUTF8(const char* data, const char* dataEnd, unsigned& dataLength, unsigned& utf16Length) argument
324 utf16Length = 0;
330 utf16Length++;
356 utf16Length++;
360 utf16Length += 2;
/external/webkit/Source/JavaScriptCore/wtf/unicode/glib/
H A DUnicodeGLib.cpp54 int utf16Length = 0; local
60 utf16Length += UTF8_IS_SURROGATE(character) ? 2 : 1;
64 return utf16Length;
/external/webkit/Source/WebCore/xml/
H A DXSLTProcessorLibxslt.cpp187 int utf16Length = bufferUChar - stringBuffer.characters(); local
188 resultOutput.append(stringBuffer.characters(), utf16Length);
/external/icu4c/tools/genrb/
H A Dreslist.c1631 string_writeUTF16v2(struct SRBRoot *bundle, struct SResource *res, int32_t utf16Length) { argument
1633 res->fRes = URES_MAKE_RESOURCE(URES_STRING_V2, utf16Length);
1639 bundle->f16BitUnits[utf16Length++] = (uint16_t)(0xdc00 + length);
1642 bundle->f16BitUnits[utf16Length] = (uint16_t)(0xdfef + (length >> 16));
1643 bundle->f16BitUnits[utf16Length + 1] = (uint16_t)length;
1644 utf16Length += 2;
1647 bundle->f16BitUnits[utf16Length] = 0xdfff;
1648 bundle->f16BitUnits[utf16Length + 1] = (uint16_t)(length >> 16);
1649 bundle->f16BitUnits[utf16Length + 2] = (uint16_t)length;
1650 utf16Length
1675 int32_t utf16Length = (bundle->f16BitUnitsLength + 20000) & ~1; local
[all...]
/external/icu4c/test/cintltst/
H A Dccapitst.c2487 int32_t utf16Length; local
2502 utf16Length=0;
2503 U16_APPEND_UNSAFE(utf16, utf16Length, c);
2511 &utf16Source, utf16+utf16Length,
2519 &utf16Source, utf16+utf16Length,

Completed in 316 milliseconds