Searched refs:numGraphemeClusters (Results 1 – 12 of 12) sorted by relevance
52 unsigned numGraphemeClusters(const String& s) in numGraphemeClusters() function64 unsigned numCharactersInGraphemeClusters(const String& s, unsigned numGraphemeClusters) in numCharactersInGraphemeClusters() argument68 return min(s.length(), numGraphemeClusters); in numCharactersInGraphemeClusters()70 for (unsigned i = 0; i < numGraphemeClusters; ++i) { in numCharactersInGraphemeClusters()
38 unsigned numGraphemeClusters(const String& s);
252 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()
71 return validationMessageTooLongText(numGraphemeClusters(text->value()), text->maxLength()); in validationMessage()
215 return numGraphemeClusters(value) > static_cast<unsigned>(max); in tooLong()
185 …unsigned oldLength = numGraphemeClusters(toRenderTextControlSingleLine(element->renderer())->text(… in handleBeforeTextInsertedEvent()192 …unsigned selectionLength = element->focused() ? numGraphemeClusters(plainText(element->document()-… in handleBeforeTextInsertedEvent()
28485 Make 'numGraphemeClusters' & 'numCharactersInGraphemeClusters'28503 (WebCore::numGraphemeClusters):48920 (WebCore::HTMLInputElement::tooLong): Use numGraphemeClusters() instead of length().48929 (WebCore::HTMLTextAreaElement::tooLong): Use numGraphemeClusters() instead of length().
6597 (WebCore::numGraphemeClusters): Added.6644 numGraphemeClusters function, so it's based on grapheme clusters instead of characters and
55713 … - Move numGraphemeClusters() and numCharactersInGraphemeClusters() from InputElement to String.55731 (WebCore::String::numGraphemeClusters):
6055 (WebCore::numGraphemeClusters):
61805 (WebCore::numGraphemeClusters): Remove now-unneeded const.
51957 (WebCore::numGraphemeClusters):