Home
last modified time | relevance | path

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

/external/webkit/Source/WebCore/platform/text/
DString.cpp52 unsigned numGraphemeClusters(const String& s) in numGraphemeClusters() function
64 unsigned numCharactersInGraphemeClusters(const String& s, unsigned numGraphemeClusters) in numCharactersInGraphemeClusters() argument
68 return min(s.length(), numGraphemeClusters); in numCharactersInGraphemeClusters()
70 for (unsigned i = 0; i < numGraphemeClusters; ++i) { in numCharactersInGraphemeClusters()
DPlatformString.h38 unsigned numGraphemeClusters(const String& s);
/external/webkit/Source/WebCore/html/
DHTMLTextAreaElement.cpp252 unsigned currentLength = numGraphemeClusters(toRenderTextControl(renderer())->text()); in handleBeforeTextInsertedEvent()
258 …unsigned selectionLength = focused() ? numGraphemeClusters(plainText(document()->frame()->selectio… in handleBeforeTextInsertedEvent()
403 return numGraphemeClusters(value) > static_cast<unsigned>(max); in tooLong()
DValidityState.cpp71 return validationMessageTooLongText(numGraphemeClusters(text->value()), text->maxLength()); in validationMessage()
DHTMLInputElement.cpp215 return numGraphemeClusters(value) > static_cast<unsigned>(max); in tooLong()
/external/webkit/Source/WebCore/dom/
DInputElement.cpp185 …unsigned oldLength = numGraphemeClusters(toRenderTextControlSingleLine(element->renderer())->text(… in handleBeforeTextInsertedEvent()
192 …unsigned selectionLength = element->focused() ? numGraphemeClusters(plainText(element->document()-… in handleBeforeTextInsertedEvent()
/external/webkit/Source/WebCore/
DChangeLog-2010-05-2428485 Make 'numGraphemeClusters' & 'numCharactersInGraphemeClusters'
28503 (WebCore::numGraphemeClusters):
48920 (WebCore::HTMLInputElement::tooLong): Use numGraphemeClusters() instead of length().
48929 (WebCore::HTMLTextAreaElement::tooLong): Use numGraphemeClusters() instead of length().
DChangeLog-2006-05-106597 (WebCore::numGraphemeClusters): Added.
6644 numGraphemeClusters function, so it's based on grapheme clusters instead of characters and
DChangeLog-2010-01-2955713 … - Move numGraphemeClusters() and numCharactersInGraphemeClusters() from InputElement to String.
55731 (WebCore::String::numGraphemeClusters):
DChangeLog-2006-12-316055 (WebCore::numGraphemeClusters):
DChangeLog-2008-08-1061805 (WebCore::numGraphemeClusters): Remove now-unneeded const.
DChangeLog-2009-06-1651957 (WebCore::numGraphemeClusters):