Home
last modified time | relevance | path

Searched refs:textLength (Results 1 – 25 of 84) sorted by relevance

1234

/external/icu4c/common/
Dchariter.cpp22 : textLength(0), pos(0), begin(0), end(0) { in CharacterIterator()
26 : textLength(length), pos(0), begin(0), end(length) { in CharacterIterator()
27 if(textLength < 0) { in CharacterIterator()
28 textLength = end = 0; in CharacterIterator()
33 : textLength(length), pos(position), begin(0), end(length) { in CharacterIterator()
34 if(textLength < 0) { in CharacterIterator()
35 textLength = end = 0; in CharacterIterator()
45 : textLength(length), pos(position), begin(textBegin), end(textEnd) { in CharacterIterator()
46 if(textLength < 0) { in CharacterIterator()
47 textLength = 0; in CharacterIterator()
[all …]
Dubrk.cpp34 int32_t textLength, in ubrk_open() argument
80 ubrk_setText(uBI, text, textLength, status); in ubrk_open()
97 int32_t textLength, in ubrk_openRules() argument
114 ubrk_setText(uBI, text, textLength, status); in ubrk_openRules()
166 int32_t textLength, in ubrk_setText() argument
171 utext_openUChars(&ut, text, textLength, status); in ubrk_setText()
Dunistr.cpp229 int32_t textLength) in UnicodeString() argument
233 doReplace(0, 0, text, 0, textLength); in UnicodeString()
238 int32_t textLength) in UnicodeString() argument
245 } else if(textLength < -1 || in UnicodeString()
246 (textLength == -1 && !isTerminated) || in UnicodeString()
247 (textLength >= 0 && isTerminated && text[textLength] != 0) in UnicodeString()
251 if(textLength == -1) { in UnicodeString()
253 textLength = u_strlen(text); in UnicodeString()
255 setArray((UChar *)text, textLength, isTerminated ? textLength + 1 : textLength); in UnicodeString()
1138 int32_t textLength) in setTo() argument
[all …]
Duchriter.cpp79 && textLength == realThat.textLength in operator ==()
87 return ustr_hashUCharsN(text, textLength) ^ pos ^ begin ^ end; in hashCode()
356 end = textLength = newTextLength; in setText()
362 result = UnicodeString(text, textLength); in getText()
Dusc_impl.c43 int32_t textLength; member
252 scriptRun->textLength = length; in uscript_setRunText()
263 if (scriptRun == NULL || scriptRun->scriptLimit >= scriptRun->textLength) { in uscript_nextRun()
270 …iptStart = scriptRun->scriptLimit; scriptRun->scriptLimit < scriptRun->textLength; scriptRun->scri… in uscript_nextRun()
280 … if (high >= 0xD800 && high <= 0xDBFF && scriptRun->scriptLimit < scriptRun->textLength - 1) { in uscript_nextRun()
/external/webkit/Source/WebCore/accessibility/gtk/
DAccessibilityObjectAtk.cpp115 unsigned textLength = text().length(); in getLengthForTextRange() local
117 if (textLength) in getLengthForTextRange()
118 return textLength; in getLengthForTextRange()
125 textLength = renderText ? renderText->textLength() : 0; in getLengthForTextRange()
130 if (!textLength && allowsTextRanges()) in getLengthForTextRange()
131 textLength = textUnderElement().length(); in getLengthForTextRange()
133 return textLength; in getLengthForTextRange()
/external/icu4c/i18n/
Dsearch.cpp36 m_search_->textLength = other.m_search_->textLength; in SearchIterator()
159 m_search_->textLength = m_text_.length(); in setText()
190 m_search_->textLength == that.m_search_->textLength && in operator ==()
193 m_search_->textLength * sizeof(UChar)) == 0)); in operator ==()
222 setOffset(m_search_->textLength, status); in last()
223 return handlePrev(m_search_->textLength, status); in last()
244 int32_t textlength = m_search_->textLength; in next()
286 offset = m_search_->textLength; in previous()
355 m_search_->textLength = 0; in SearchIterator()
374 m_search_->textLength = text.length(); in SearchIterator()
[all …]
Dutrans.cpp437 int32_t* textLength, in utrans_transUChars() argument
450 int32_t textLen = (textLength == NULL || *textLength < 0) in utrans_transUChars()
451 ? u_strlen(text) : *textLength; in utrans_transUChars()
460 if(textLength != NULL) { in utrans_transUChars()
461 *textLength = textLen; in utrans_transUChars()
468 int32_t* textLength, in utrans_transIncrementalUChars() argument
480 int32_t textLen = (textLength == NULL || *textLength < 0) in utrans_transIncrementalUChars()
481 ? u_strlen(text) : *textLength; in utrans_transIncrementalUChars()
490 if(textLength != NULL) { in utrans_transIncrementalUChars()
491 *textLength = textLen; in utrans_transIncrementalUChars()
Dunum.cpp320 int32_t textLength, in parseRes() argument
327 const UnicodeString src((UBool)(textLength == -1), text, textLength); in parseRes()
348 int32_t textLength, in unum_parse() argument
353 parseRes(res, fmt, text, textLength, parsePos, status); in unum_parse()
360 int32_t textLength, in unum_parseInt64() argument
365 parseRes(res, fmt, text, textLength, parsePos, status); in unum_parseInt64()
372 int32_t textLength, in unum_parseDouble() argument
377 parseRes(res, fmt, text, textLength, parsePos, status); in unum_parseDouble()
384 int32_t textLength, in unum_parseDecimal() argument
398 parseRes(res, fmt, text, textLength, parsePos, status); in unum_parseDecimal()
[all …]
Dusearch.cpp302 uint32_t patternlength = pattern->textLength; in initializePatternCETable()
315 pattern->textLength, in initializePatternCETable()
377 uint32_t patternlength = pattern->textLength; in initializePatternPCETable()
389 pattern->textLength, in initializePatternPCETable()
451 int32_t length = pattern->textLength; in initializePattern()
715 int32_t textlength = strsrch->search->textLength; in getNextUStringSearchBaseOffset()
783 setColEIterOffset(strsrch->textIter, strsrch->search->textLength); in setMatchNotFound()
969 strsrch->search->textLength) > 0xFF; in hasAccentsBeforeMatch()
980 strsrch->search->textLength) & LAST_BYTE_MASK_) { in hasAccentsBeforeMatch()
1017 int32_t textlength = strsrch->search->textLength; in hasAccentsAfterMatch()
[all …]
Dusrchimp.h27 int32_t textLength; // exact length member
45 int32_t textLength; // exact length member
/external/webkit/Source/WebCore/rendering/svg/
DSVGTextLayoutAttributesBuilder.cpp107 atCharacter += text->textLength(); in processRenderSVGInlineText()
112 unsigned textLength = text->textLength(); in processRenderSVGInlineText() local
113 for (unsigned textPosition = 0; textPosition < textLength; ++textPosition) { in processRenderSVGInlineText()
153 …ributesBuilder::buildLayoutAttributesForAllCharacters(RenderSVGText* textRoot, unsigned textLength) in buildLayoutAttributesForAllCharacters() argument
155 ASSERT(textLength); in buildLayoutAttributesForAllCharacters()
161 m_positioningLists.fillWithEmptyValues(textLength); in buildLayoutAttributesForAllCharacters()
164 TextPosition wholeTextPosition(outermostTextElement, 0, textLength); in buildLayoutAttributesForAllCharacters()
190 unsigned textLength = text->textLength(); in propagateLayoutAttributes() local
194 attributes.reserveCapacity(textLength); in propagateLayoutAttributes()
200 … for (unsigned textPosition = 0; textPosition < textLength; textPosition += metricsLength) { in propagateLayoutAttributes()
DSVGTextMetrics.cpp37 …rics(RenderSVGInlineText* textRenderer, const TextRun& run, unsigned position, unsigned textLength) in SVGTextMetrics() argument
46 int extraCharsAvailable = textLength - (position + run.length()); in SVGTextMetrics()
102 return SVGTextMetrics(text, run, position, text->textLength()); in measureCharacterRange()
DRenderSVGInlineText.cpp139 ASSERT(m_attributes.xValues().size() == textLength()); in characterStartsNewTextChunk()
140 ASSERT(m_attributes.yValues().size() == textLength()); in characterStartsNewTextChunk()
142 ASSERT(position < static_cast<int>(textLength())); in characterStartsNewTextChunk()
173 if (!firstTextBox() || !textLength()) in positionForPoint()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
DCCMBlockCipher.java310 int textLength = getAssociatedTextLength(); in calculateMac() local
311 if (textLength < ((1 << 16) - (1 << 8))) in calculateMac()
313 cMac.update((byte)(textLength >> 8)); in calculateMac()
314 cMac.update((byte)textLength); in calculateMac()
322 cMac.update((byte)(textLength >> 24)); in calculateMac()
323 cMac.update((byte)(textLength >> 16)); in calculateMac()
324 cMac.update((byte)(textLength >> 8)); in calculateMac()
325 cMac.update((byte)textLength); in calculateMac()
340 extra = (extra + textLength) % 16; in calculateMac()
/external/webkit/Source/WebCore/platform/text/
DTextStream.cpp88 size_t textLength = m_text.size(); in operator <<() local
89 if (stringLength > numeric_limits<size_t>::max() - textLength) in operator <<()
91 m_text.grow(textLength + stringLength); in operator <<()
93 m_text[textLength + i] = string[i]; in operator <<()
/external/webkit/Source/WebCore/platform/graphics/wince/
DFontWinCE.cpp79 int textLength() const { return m_spaces ? m_spaces : m_textRun.length(); } in textLength() function in WebCore::TextRunComponent
222 int len = comp.textLength(); in drawComplexText()
273 offset += comp.textLength(); in offsetForPositionForComplexText()
282 return offset + comp.textLength(); in offsetForPositionForComplexText()
287 offset += comp.textLength(); in offsetForPositionForComplexText()
299 if (start + comp.textLength() <= cursor) { in cursorToX()
300 start += comp.textLength(); in cursorToX()
310 pos = comp.textLength() - pos; in cursorToX()
/external/replicaisland/src/com/replica/replicaisland/
DConversationDialogActivity.java98 int textLength = text.length(); in formatPages() local
107 int fittingChars = paint.breakText(text, currentOffset, textLength, true, maxWidth, null); in formatPages()
109 if (currentOffset + fittingChars < textLength) { in formatPages()
122 currentOffset = textLength; in formatPages()
125 if (lineCount >= maxLinesPerPage || currentOffset >= textLength) { in formatPages()
141 } while (currentOffset < textLength); in formatPages()
/external/icu4c/i18n/unicode/
Dunum.h554 int32_t textLength,
578 int32_t textLength,
602 int32_t textLength,
635 int32_t textLength,
663 int32_t textLength,
/external/webkit/Source/WebCore/icu/unicode/
Dubrk.h317 int32_t textLength,
339 int32_t textLength,
392 int32_t textLength,
Ducoleitr.h113 int32_t textLength,
207 int32_t textLength,
/external/icu4c/common/unicode/
Dubrk.h217 int32_t textLength,
239 int32_t textLength,
311 int32_t textLength,
/external/chromium/webkit/glue/
Dregular_expression_unittest.cc19 const int textLength; member
29 int matchedLength = matches[i].textLength; in testMatches()
31 WebString(matches[i].text, matches[i].textLength), 0, &matchedLength)); in testMatches()
/external/icu4c/io/
Dustdio.c128 int32_t textLength; in u_file_translit() local
182 textLength = f->fTranslit->length; in u_file_translit()
184 pos.contextLimit = textLength; in u_file_translit()
186 pos.limit = textLength; in u_file_translit()
190 &textLength, in u_file_translit()
205 textLength = f->fTranslit->length; in u_file_translit()
210 &textLength, in u_file_translit()
/external/webkit/Source/WebCore/rendering/
DRenderText.cpp388 …IntRect ellipsisRect = (option == ClipToEllipsis) ? ellipsisRectForBox(box, 0, textLength()) : Int… in absoluteQuads()
474 if (!firstTextBox() || textLength() == 0) in positionForPoint()
671 int len = textLength(); in trimmedPrefWidths()
795 int len = textLength(); in computePreferredLogicalWidths()
967 int length = textLength(); in isAllCollapsibleWhitespace()
1011 endPos = textLength(); in setSelectionState()
1041 unsigned oldLen = textLength(); in setTextWithOffset()
1189 ASSERT(!isBR() || (textLength() == 1 && m_text[0] == '\n')); in setTextInternal()
1301 if (from >= textLength()) in width()
1304 if (from + len > textLength()) in width()
[all …]

1234