Searched refs:charsLeft (Results 1 – 5 of 5) sorted by relevance
/external/webkit/WebCore/dom/ |
D | Text.cpp | 310 PassRefPtr<Text> Text::createWithLengthLimit(Document* doc, const String& text, unsigned& charsLeft… in createWithLengthLimit() argument 312 if (charsLeft == text.length() && charsLeft <= maxChars) { in createWithLengthLimit() 313 charsLeft = 0; in createWithLengthLimit() 317 unsigned start = text.length() - charsLeft; in createWithLengthLimit() 318 unsigned end = start + std::min(charsLeft, maxChars); in createWithLengthLimit() 330 charsLeft = text.length() - end; in createWithLengthLimit()
|
D | Text.h | 60 …static PassRefPtr<Text> createWithLengthLimit(Document*, const String&, unsigned& charsLeft, unsig…
|
/external/webkit/WebCore/loader/ |
D | TextDocument.cpp | 155 unsigned charsLeft = string.length(); in write() local 156 while (charsLeft) { in write() 158 RefPtr<Text> text = Text::createWithLengthLimit(m_doc, string, charsLeft); in write()
|
/external/icu4c/io/ |
D | ustdio.c | 319 int32_t charsLeft = (int32_t)(f->str.fLimit - f->str.fPos); in u_file_write_flush() local 320 if (flushIO && charsLeft > count) { in u_file_write_flush() 323 written = ufmt_min(count, charsLeft); in u_file_write_flush()
|
/external/webkit/WebCore/html/ |
D | HTMLParser.cpp | 240 unsigned charsLeft = text.length(); in parseToken() local 241 while (charsLeft) { in parseToken() 243 n = Text::createWithLengthLimit(m_document, text, charsLeft); in parseToken()
|