Home
last modified time | relevance | path

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

123

/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.cpp234 int32_t textLength) in UnicodeString() argument
240 doReplace(0, 0, text, 0, textLength); in UnicodeString()
245 int32_t textLength) in UnicodeString() argument
246 : fLength(textLength), in UnicodeString()
247 fCapacity(isTerminated ? textLength + 1 : textLength), in UnicodeString()
257 } else if(textLength < -1 || in UnicodeString()
258 (textLength == -1 && !isTerminated) || in UnicodeString()
259 (textLength >= 0 && isTerminated && text[textLength] != 0) in UnicodeString()
262 } else if(textLength == -1) { in UnicodeString()
932 int32_t textLength) in setTo() argument
[all …]
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()
Duchriter.cpp77 && textLength == realThat.textLength in operator ==()
85 return uhash_hashUCharsN(text, textLength) ^ pos ^ begin ^ end; in hashCode()
354 end = textLength = newTextLength; in setText()
360 result = UnicodeString(text, textLength); in getText()
/external/icu4c/i18n/
Dsearch.cpp35 m_search_->textLength = other.m_search_->textLength; in SearchIterator()
130 m_search_->textLength = m_text_.length(); in setText()
160 m_search_->textLength == that.m_search_->textLength && in operator ==()
163 m_search_->textLength * sizeof(UChar)) == 0)); in operator ==()
192 setOffset(m_search_->textLength, status); in last()
193 return handlePrev(m_search_->textLength, status); in last()
214 int32_t textlength = m_search_->textLength; in next()
256 offset = m_search_->textLength; in previous()
317 m_search_->textLength = 0; in SearchIterator()
335 m_search_->textLength = text.length(); in SearchIterator()
[all …]
Dutrans.cpp440 int32_t* textLength, in utrans_transUChars() argument
453 int32_t textLen = (textLength == NULL || *textLength < 0) in utrans_transUChars()
454 ? u_strlen(text) : *textLength; in utrans_transUChars()
463 if(textLength != NULL) { in utrans_transUChars()
464 *textLength = textLen; in utrans_transUChars()
471 int32_t* textLength, in utrans_transIncrementalUChars() argument
483 int32_t textLen = (textLength == NULL || *textLength < 0) in utrans_transIncrementalUChars()
484 ? u_strlen(text) : *textLength; in utrans_transIncrementalUChars()
493 if(textLength != NULL) { in utrans_transIncrementalUChars()
494 *textLength = textLen; in utrans_transIncrementalUChars()
Ducoleitr.cpp37 int32_t textLength, in ucol_openElements() argument
57 textLength = 0; in ucol_openElements()
59 uprv_init_collIterate(coll, text, textLength, &result->iteratordata_); in ucol_openElements()
170 int32_t textLength, in ucol_setText() argument
183 textLength = 0; in ucol_setText()
187 uprv_init_collIterate(elems->iteratordata_.coll, text, textLength, in ucol_setText()
Dunum.cpp290 int32_t textLength, in parseRes() argument
298 int32_t len = (textLength == -1 ? u_strlen(text) : textLength); in parseRes()
324 int32_t textLength, in unum_parse() argument
329 parseRes(res, fmt, text, textLength, parsePos, FALSE, status); in unum_parse()
336 int32_t textLength, in unum_parseInt64() argument
341 parseRes(res, fmt, text, textLength, parsePos, FALSE, status); in unum_parseInt64()
348 int32_t textLength, in unum_parseDouble() argument
353 parseRes(res, fmt, text, textLength, parsePos, FALSE, status); in unum_parseDouble()
360 int32_t textLength, in unum_parseDoubleCurrency() argument
365 parseRes(res, fmt, text, textLength, parsePos, TRUE, status); in unum_parseDoubleCurrency()
Dusearch.cpp256 uint32_t patternlength = pattern->textLength; in initializePatternCETable()
269 pattern->textLength, in initializePatternCETable()
321 int32_t length = pattern->textLength; in initializePattern()
573 int32_t textlength = strsrch->search->textLength; in getNextUStringSearchBaseOffset()
640 setColEIterOffset(strsrch->textIter, strsrch->search->textLength); in setMatchNotFound()
825 strsrch->search->textLength) > 0xFF; in hasAccentsBeforeMatch()
836 strsrch->search->textLength) & LAST_BYTE_MASK_) { in hasAccentsBeforeMatch()
873 int32_t textlength = strsrch->search->textLength; in hasAccentsAfterMatch()
953 strsrch->pattern.textLength, in checkIdentical()
971 strsrch->pattern.textLength, FALSE, 0, &status); in checkIdentical()
[all …]
Dusrchimp.h26 int32_t textLength; // exact length member
43 int32_t textLength; // exact length member
Duregex.cpp260 int32_t textLength, in uregex_setText() argument
265 if (text == NULL || textLength < -1) { in uregex_setText()
270 regexp->fTextLength = textLength; in uregex_setText()
271 UBool isTerminated = (textLength == -1); in uregex_setText()
273 regexp->fTextString.setTo(isTerminated, text, textLength); in uregex_setText()
286 int32_t *textLength, in uregex_getText() argument
291 if (textLength != NULL) { in uregex_getText()
292 *textLength = regexp->fTextLength; in uregex_getText()
/external/webkit/WebCore/rendering/
DRenderSVGInlineText.cpp71 rects.append(computeRepaintRectForRange(0, 0, textLength())); in absoluteRects()
76 quads.append(computeRepaintQuadForRange(0, 0, textLength())); in absoluteQuads()
96 endPos = textLength(); in selectionRectForRepaint()
100 endPos = textLength(); in selectionRectForRepaint()
152 if (!textBox || textLength() == 0) in positionForPoint()
DRenderText.cpp324 if (!firstTextBox() || textLength() == 0) in positionForPoint()
480 int len = textLength(); in trimmedPrefWidths()
601 int len = textLength(); in calcPrefWidths()
793 endPos = textLength(); in setSelectionState()
821 unsigned oldLen = textLength(); in setTextWithOffset()
989 ASSERT(!isBR() || (textLength() == 1 && (*m_text)[0] == '\n')); in setTextInternal()
1060 if (from >= textLength()) in width()
1063 if (from + len > textLength()) in width()
1064 len = textLength() - from; in width()
1071 ASSERT(from + len <= textLength()); in width()
[all …]
/external/webkit/WebCore/svg/
DSVGTextContentElement.cpp68 float textLength = 0.0f; in cumulativeCharacterRangeLength() local
85 textLength += textBox->calculateGlyphHeight(style, newOffset, 0); in cumulativeCharacterRangeLength()
87textLength += textBox->calculateGlyphWidth(style, newOffset, 0, charsConsumed, glyphName); in cumulativeCharacterRangeLength()
98 return textLength; in cumulativeCharacterRangeLength()
144 …float textLength = cumulativeCharacterRangeLength(start, end, textBox, startOffset, -1, -1, isVert… in chunkPortionCallback() local
147 m_queryFloatResult += textLength; in chunkPortionCallback()
149 m_queryFloatResult += textLength; in chunkPortionCallback()
159 …float textLength = cumulativeCharacterRangeLength(start, end, textBox, startOffset, startPosition,… in chunkPortionCallback() local
162 m_queryFloatResult += textLength; in chunkPortionCallback()
164 m_queryFloatResult += textLength; in chunkPortionCallback()
/external/webkit/WebCore/platform/graphics/wince/
DFontWince.cpp78 int textLength() const { return m_spaces ? m_spaces : m_textRun.length(); } in textLength() function in WebCore::TextRunComponent
222 int len = comp.textLength(); in drawComplexText()
264 offset += comp.textLength(); in offsetForPositionForComplexText()
273 return offset + comp.textLength(); in offsetForPositionForComplexText()
278 offset += comp.textLength(); in offsetForPositionForComplexText()
290 if (start + comp.textLength() <= cursor) { in cursorToX()
291 start += comp.textLength(); in cursorToX()
301 pos = comp.textLength() - pos; in cursorToX()
/external/webkit/WebCore/platform/text/
DTextStream.cpp86 size_t textLength = m_text.size(); in operator <<() local
87 m_text.grow(textLength + stringLength); in operator <<()
89 m_text[textLength + i] = string[i]; in operator <<()
/external/icu4c/common/unicode/
Dubrk.h217 int32_t textLength,
239 int32_t textLength,
292 int32_t textLength,
Dchariter.h659 int32_t textLength; variable
712 return textLength; in getLength()
/external/webkit/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/i18n/unicode/
Dunum.h401 int32_t textLength,
425 int32_t textLength,
449 int32_t textLength,
475 int32_t textLength,
Ducoleitr.h113 int32_t textLength,
207 int32_t textLength,
Dutrans.h451 int32_t* textLength,
486 int32_t* textLength,
/external/icu4c/io/
Dustdio.c128 int32_t textLength; in u_file_translit() local
178 textLength = f->fTranslit->length; in u_file_translit()
180 pos.contextLimit = textLength; in u_file_translit()
182 pos.limit = textLength; in u_file_translit()
186 &textLength, in u_file_translit()
201 textLength = f->fTranslit->length; in u_file_translit()
206 &textLength, in u_file_translit()

123