Home
last modified time | relevance | path

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

/external/webkit/Source/JavaScriptCore/wtf/unicode/
DUTF8.cpp317 …dLengthFromUTF8(const char* data, const char* dataEnd, unsigned& dataLength, unsigned& utf16Length) in calculateStringHashAndLengthFromUTF8() argument
324 utf16Length = 0; in calculateStringHashAndLengthFromUTF8()
330 utf16Length++; in calculateStringHashAndLengthFromUTF8()
356 utf16Length++; in calculateStringHashAndLengthFromUTF8()
360 utf16Length += 2; in calculateStringHashAndLengthFromUTF8()
DUTF8.h73 …LengthFromUTF8(const char* data, const char* dataEnd, unsigned& dataLength, unsigned& utf16Length);
/external/webkit/Source/JavaScriptCore/wtf/text/
DAtomicString.cpp225 unsigned utf16Length; member
236 if (buffer.utf16Length != string->length()) in equal()
242 if (buffer.utf16Length != buffer.length) in equal()
257 location = StringImpl::createUninitialized(buffer.utf16Length, target).releaseRef(); in translate()
260 …tUTF8ToUTF16(&source, source + buffer.length, &target, target + buffer.utf16Length) != conversionO… in translate()
358 …lateStringHashAndLengthFromUTF8(charactersStart, charactersEnd, buffer.length, buffer.utf16Length); in fromUTF8Internal()
DWTFString.cpp758 unsigned utf16Length = buffer - stringBuffer.characters(); in fromUTF8() local
759 ASSERT(utf16Length < length); in fromUTF8()
760 return String(stringBuffer.characters(), utf16Length); in fromUTF8()
/external/webkit/Source/JavaScriptCore/wtf/unicode/glib/
DUnicodeGLib.cpp54 int utf16Length = 0; in getUTF16LengthFromUTF8() local
60 utf16Length += UTF8_IS_SURROGATE(character) ? 2 : 1; in getUTF16LengthFromUTF8()
64 return utf16Length; in getUTF16LengthFromUTF8()
/external/icu4c/tools/genrb/
Dreslist.c1631 string_writeUTF16v2(struct SRBRoot *bundle, struct SResource *res, int32_t utf16Length) { in string_writeUTF16v2() argument
1633 res->fRes = URES_MAKE_RESOURCE(URES_STRING_V2, utf16Length); in string_writeUTF16v2()
1639 bundle->f16BitUnits[utf16Length++] = (uint16_t)(0xdc00 + length); in string_writeUTF16v2()
1642 bundle->f16BitUnits[utf16Length] = (uint16_t)(0xdfef + (length >> 16)); in string_writeUTF16v2()
1643 bundle->f16BitUnits[utf16Length + 1] = (uint16_t)length; in string_writeUTF16v2()
1644 utf16Length += 2; in string_writeUTF16v2()
1647 bundle->f16BitUnits[utf16Length] = 0xdfff; in string_writeUTF16v2()
1648 bundle->f16BitUnits[utf16Length + 1] = (uint16_t)(length >> 16); in string_writeUTF16v2()
1649 bundle->f16BitUnits[utf16Length + 2] = (uint16_t)length; in string_writeUTF16v2()
1650 utf16Length += 3; in string_writeUTF16v2()
[all …]
/external/webkit/Source/WebCore/xml/
DXSLTProcessorLibxslt.cpp187 int utf16Length = bufferUChar - stringBuffer.characters(); in writeToVector() local
188 resultOutput.append(stringBuffer.characters(), utf16Length); in writeToVector()
/external/icu4c/test/cintltst/
Dccapitst.c2487 int32_t utf16Length; in getTestChar() local
2502 utf16Length=0; in getTestChar()
2503 U16_APPEND_UNSAFE(utf16, utf16Length, c); in getTestChar()
2511 &utf16Source, utf16+utf16Length, in getTestChar()
2519 &utf16Source, utf16+utf16Length, in getTestChar()
/external/webkit/Source/JavaScriptCore/
DChangeLog-2007-10-148884 (match): Got rid of utf16Length local variable to guarantee there's no