Searched defs:textLength (Results 1 - 25 of 32) sorted by relevance

12

/external/webkit/Source/WebCore/accessibility/gtk/
H A DAccessibilityObjectAtk.cpp115 unsigned textLength = text().length(); local
117 if (textLength)
118 return textLength;
125 textLength = renderText ? renderText->textLength() : 0;
130 if (!textLength && allowsTextRanges())
131 textLength = textUnderElement().length();
133 return textLength;
/external/webkit/Source/WebCore/platform/text/
H A DTextStream.cpp88 size_t textLength = m_text.size(); local
89 if (stringLength > numeric_limits<size_t>::max() - textLength)
91 m_text.grow(textLength + stringLength);
93 m_text[textLength + i] = string[i];
/external/webkit/Source/WebCore/rendering/svg/
H A DSVGTextMetrics.cpp37 SVGTextMetrics::SVGTextMetrics(RenderSVGInlineText* textRenderer, const TextRun& run, unsigned position, unsigned textLength) argument
46 int extraCharsAvailable = textLength - (position + run.length());
102 return SVGTextMetrics(text, run, position, text->textLength());
H A DSVGTextLayoutAttributesBuilder.cpp107 atCharacter += text->textLength();
112 unsigned textLength = text->textLength(); local
113 for (unsigned textPosition = 0; textPosition < textLength; ++textPosition) {
153 void SVGTextLayoutAttributesBuilder::buildLayoutAttributesForAllCharacters(RenderSVGText* textRoot, unsigned textLength) argument
155 ASSERT(textLength);
161 m_positioningLists.fillWithEmptyValues(textLength);
164 TextPosition wholeTextPosition(outermostTextElement, 0, textLength);
190 unsigned textLength = text->textLength(); local
[all...]
/external/chromium/webkit/glue/
H A Dregular_expression_unittest.cc19 const int textLength; member in struct:__anon2511::Match
29 int matchedLength = matches[i].textLength;
31 WebString(matches[i].text, matches[i].textLength), 0, &matchedLength));
/external/icu4c/common/unicode/
H A Dchariter.h659 int32_t textLength; member in class:CharacterIterator
712 return textLength;
H A Dunistr.h1884 * This must be true if <code>textLength==-1</code>.
1886 * @param textLength The number of Unicode characters in <code>text</code> to alias.
1894 int32_t textLength);
2831 * @param textLength The number of Unicode characters in <TT>text</TT>
2836 int32_t textLength);
2850 * This must be true if <code>textLength==-1</code>.
2852 * @param textLength The number of Unicode characters in <code>text</code> to alias.
2859 int32_t textLength);
3549 int32_t len = length(), textLength = text.length(); local
3552 len == textLength
[all...]
/external/webkit/Source/WebCore/editing/
H A DTextCheckingHelper.h41 int textLength() const { return text().length(); } function in class:WebCore::TextCheckingParagraph
/external/icu4c/common/
H A Dubrk.cpp34 int32_t textLength,
80 ubrk_setText(uBI, text, textLength, status);
97 int32_t textLength,
114 ubrk_setText(uBI, text, textLength, status);
166 int32_t textLength,
171 utext_openUChars(&ut, text, textLength, status);
31 ubrk_open(UBreakIteratorType type, const char *locale, const UChar *text, int32_t textLength, UErrorCode *status) argument
94 ubrk_openRules( const UChar *rules, int32_t rulesLength, const UChar *text, int32_t textLength, UParseError *parseErr, UErrorCode *status) argument
164 ubrk_setText(UBreakIterator* bi, const UChar* text, int32_t textLength, UErrorCode* status) argument
H A Dusc_impl.c43 int32_t textLength; member in struct:UScriptRun
252 scriptRun->textLength = length;
263 if (scriptRun == NULL || scriptRun->scriptLimit >= scriptRun->textLength) {
270 for (scriptRun->scriptStart = scriptRun->scriptLimit; scriptRun->scriptLimit < scriptRun->textLength; scriptRun->scriptLimit += 1) {
280 if (high >= 0xD800 && high <= 0xDBFF && scriptRun->scriptLimit < scriptRun->textLength - 1) {
H A Dunistr.cpp225 int32_t textLength)
229 doReplace(0, 0, text, 0, textLength);
234 int32_t textLength)
241 } else if(textLength < -1 ||
242 (textLength == -1 && !isTerminated) ||
243 (textLength >= 0 && isTerminated && text[textLength] != 0)
247 if(textLength == -1) {
249 textLength = u_strlen(text);
251 setArray((UChar *)text, textLength, isTerminate
224 UnicodeString(const UChar *text, int32_t textLength) argument
232 UnicodeString(UBool isTerminated, const UChar *text, int32_t textLength) argument
1088 setTo(UBool isTerminated, const UChar *text, int32_t textLength) argument
[all...]
/external/webkit/Source/WebCore/html/
H A DHTMLTextAreaElement.h47 int textLength() const { return value().length(); } function in class:WebCore::HTMLTextAreaElement
/external/webkit/Source/WebCore/rendering/
H A DRenderText.h71 unsigned textLength() const { return m_text.length(); } // non virtual implementation of length() function in class:WebCore::RenderText
146 // will use the more efficient textLength() instead, while
148 virtual unsigned length() const { return textLength(); }
/external/webkit/Tools/MiniBrowser/win/
H A DBrowserWindow.cpp247 int textLength = ::GetWindowTextLength(m_comboBoxWindow); local
249 buffer.resize(textLength + 1);
/external/icu4c/i18n/
H A Dusrchimp.h27 int32_t textLength; // exact length member in struct:USearch
45 int32_t textLength; // exact length member in struct:UPattern
H A Ducoleitr.cpp313 int32_t textLength,
331 textLength = 0;
333 uprv_init_collIterate(coll, text, textLength, &result->iteratordata_, status);
667 int32_t textLength,
680 textLength = 0;
691 uprv_init_collIterate(elems->iteratordata_.coll, text, textLength,
311 ucol_openElements(const UCollator *coll, const UChar *text, int32_t textLength, UErrorCode *status) argument
665 ucol_setText( UCollationElements *elems, const UChar *text, int32_t textLength, UErrorCode *status) argument
H A Dunum.cpp352 int32_t textLength,
360 int32_t len = (textLength == -1 ? u_strlen(text) : textLength);
386 int32_t textLength,
391 parseRes(res, fmt, text, textLength, parsePos, FALSE, status);
398 int32_t textLength,
403 parseRes(res, fmt, text, textLength, parsePos, FALSE, status);
410 int32_t textLength,
415 parseRes(res, fmt, text, textLength, parsePos, FALSE, status);
422 int32_t textLength,
349 parseRes(Formattable& res, const UNumberFormat* fmt, const UChar* text, int32_t textLength, int32_t *parsePos , UBool parseCurrency, UErrorCode *status) argument
384 unum_parse( const UNumberFormat* fmt, const UChar* text, int32_t textLength, int32_t *parsePos , UErrorCode *status) argument
396 unum_parseInt64( const UNumberFormat* fmt, const UChar* text, int32_t textLength, int32_t *parsePos , UErrorCode *status) argument
408 unum_parseDouble( const UNumberFormat* fmt, const UChar* text, int32_t textLength, int32_t *parsePos , UErrorCode *status) argument
420 unum_parseDecimal(const UNumberFormat* fmt, const UChar* text, int32_t textLength, int32_t *parsePos , char *outBuf, int32_t outBufLength, UErrorCode *status) argument
452 unum_parseDoubleCurrency(const UNumberFormat* fmt, const UChar* text, int32_t textLength, int32_t* parsePos, UChar* currency, UErrorCode* status) argument
[all...]
H A Dudat.cpp197 int32_t textLength,
203 const UnicodeString src((UBool)(textLength == -1), text, textLength);
230 int32_t textLength,
236 const UnicodeString src((UBool)(textLength == -1), text, textLength);
195 udat_parse( const UDateFormat* format, const UChar* text, int32_t textLength, int32_t *parsePos, UErrorCode *status) argument
227 udat_parseCalendar(const UDateFormat* format, UCalendar* calendar, const UChar* text, int32_t textLength, int32_t *parsePos, UErrorCode *status) argument
/external/icu4c/test/letest/
H A Dgendata.cpp41 le_int32 textLength; member in struct:TestInput
/external/icu4c/io/
H A Dustdio.c128 int32_t textLength; local
182 textLength = f->fTranslit->length;
184 pos.contextLimit = textLength;
186 pos.limit = textLength;
190 &textLength,
205 textLength = f->fTranslit->length;
210 &textLength,
/external/webkit/Source/WebCore/platform/graphics/wince/
H A DFontWinCE.cpp79 int textLength() const { return m_spaces ? m_spaces : m_textRun.length(); } function in class:WebCore::TextRunComponent
222 int len = comp.textLength();
273 offset += comp.textLength();
282 return offset + comp.textLength();
287 offset += comp.textLength();
299 if (start + comp.textLength() <= cursor) {
300 start += comp.textLength();
310 pos = comp.textLength() - pos;
/external/icu4c/test/cintltst/
H A Dutransts.c93 const UChar* text, int32_t textLength) {
95 int32_t newLen = Xlength(rep) + limit - start + textLength;
98 u_strncpy(newText + start, text, textLength);
99 u_strcpy(newText + start + textLength, x->text + limit);
92 Xreplace(UReplaceable* rep, int32_t start, int32_t limit, const UChar* text, int32_t textLength) argument
H A Dcustrtst.c1700 testUNormIteratorWithText(const UChar *text, int32_t textLength, int32_t middle, argument
1721 uiter_setString(&iter2, text, textLength);
1727 length=unorm_normalize(text, textLength, mode, 0, buffer, LENGTHOF(buffer), &errorCode);
H A Dreapits.c420 int32_t textLength; local
429 result = uregex_getText(re, &textLength, &status);
431 TEST_ASSERT(textLength == -1);
436 result = uregex_getText(re, &textLength, &status);
438 TEST_ASSERT(textLength == 7);
443 result = uregex_getText(re, &textLength, &status);
445 TEST_ASSERT(textLength == 4);
1566 int32_t textLength; local
1590 result = uregex_getText(re, &textLength, &status); /* flattens UText into buffer */
1591 TEST_ASSERT(textLength
[all...]
/external/icu4c/test/intltest/
H A Dustrtest.cpp1767 UnicodeString(UBool /*isTerminated*/, const UChar * /*text*/, int32_t textLength) : i(textLength) {} argument

Completed in 3087 milliseconds

12