Home
last modified time | relevance | path

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

12

/external/icu/icu4c/source/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()
164 int32_t textLength, in ubrk_setText() argument
169 utext_openUChars(&ut, text, textLength, status); in ubrk_setText()
Dunistr.cpp215 int32_t textLength) { in UnicodeString() argument
217 doReplace(0, 0, text, 0, textLength); in UnicodeString()
222 int32_t textLength) { in UnicodeString() argument
227 } else if(textLength < -1 || in UnicodeString()
228 (textLength == -1 && !isTerminated) || in UnicodeString()
229 (textLength >= 0 && isTerminated && text[textLength] != 0) in UnicodeString()
233 if(textLength == -1) { in UnicodeString()
235 textLength = u_strlen(text); in UnicodeString()
237 setArray((UChar *)text, textLength, isTerminated ? textLength + 1 : textLength); in UnicodeString()
1144 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.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()
/external/fonttools/Lib/fontTools/ttLib/tables/
DT_S_I__1.py15 glyphID, textLength, textOffset = indextable.indices[i]
16 if textLength == 0x8000:
18 textLength = indextable.indices[i+1][1]
19 if textLength > 0x8000:
21 text = data[textOffset:textOffset+textLength]
22 assert len(text) == textLength
28 extraCode, textLength, textOffset = indextable.extra_indices[i]
29 if textLength == 0x8000:
31 textLength = len(data) - textOffset
33 textLength = indextable.extra_indices[i+1][1]
[all …]
DT_S_I__0.py8 def fixlongs(glyphID, textLength, textOffset): argument
9 return int(glyphID), int(textLength), textOffset
21 glyphID, textLength, textOffset = fixlongs(*struct.unpack(tsi0Format, data[:size]))
22 indices.append((glyphID, textLength, textOffset))
35 for index, textLength, textOffset in self.indices:
36 data = data + struct.pack(tsi0Format, index, textLength, textOffset)
38 for index, textLength, textOffset in self.extra_indices:
39 data = data + struct.pack(tsi0Format, index, textLength, textOffset)
/external/icu/icu4c/source/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.cpp438 int32_t* textLength, in utrans_transUChars() argument
451 int32_t textLen = (textLength == NULL || *textLength < 0) in utrans_transUChars()
452 ? u_strlen(text) : *textLength; in utrans_transUChars()
461 if(textLength != NULL) { in utrans_transUChars()
462 *textLength = textLen; in utrans_transUChars()
469 int32_t* textLength, in utrans_transIncrementalUChars() argument
481 int32_t textLen = (textLength == NULL || *textLength < 0) in utrans_transIncrementalUChars()
482 ? u_strlen(text) : *textLength; in utrans_transIncrementalUChars()
491 if(textLength != NULL) { in utrans_transIncrementalUChars()
492 *textLength = textLen; in utrans_transIncrementalUChars()
Dunum.cpp325 int32_t textLength, in parseRes() argument
332 const UnicodeString src((UBool)(textLength == -1), text, textLength); in parseRes()
353 int32_t textLength, in unum_parse() argument
358 parseRes(res, fmt, text, textLength, parsePos, status); in unum_parse()
365 int32_t textLength, in unum_parseInt64() argument
370 parseRes(res, fmt, text, textLength, parsePos, status); in unum_parseInt64()
377 int32_t textLength, in unum_parseDouble() argument
382 parseRes(res, fmt, text, textLength, parsePos, status); in unum_parseDouble()
389 int32_t textLength, in unum_parseDecimal() argument
403 parseRes(res, fmt, text, textLength, parsePos, status); in unum_parseDecimal()
[all …]
Ducoleitr.cpp264 int32_t textLength, in ucol_openElements() argument
270 if (coll == NULL || (text == NULL && textLength != 0)) { in ucol_openElements()
280 UnicodeString s((UBool)(textLength < 0), text, textLength); in ucol_openElements()
465 int32_t textLength, in ucol_setText() argument
472 if ((text == NULL && textLength != 0)) { in ucol_setText()
476 UnicodeString s((UBool)(textLength < 0), text, textLength); in ucol_setText()
Dusearch.cpp292 uint32_t patternlength = pattern->textLength; in initializePatternCETable()
304 ucol_setText(coleiter, pattern->text, pattern->textLength, status); in initializePatternCETable()
364 uint32_t patternlength = pattern->textLength; in initializePatternPCETable()
375 ucol_setText(coleiter, pattern->text, pattern->textLength, status); in initializePatternPCETable()
436 int32_t length = pattern->textLength; in initializePattern()
700 int32_t textlength = strsrch->search->textLength; in getNextUStringSearchBaseOffset()
768 setColEIterOffset(strsrch->textIter, strsrch->search->textLength); in setMatchNotFound()
954 strsrch->search->textLength) > 0xFF; in hasAccentsBeforeMatch()
965 strsrch->search->textLength) & LAST_BYTE_MASK_) { in hasAccentsBeforeMatch()
1002 int32_t textlength = strsrch->search->textLength; in hasAccentsAfterMatch()
[all …]
Dstsearch.cpp317 if (m_search_->matchedIndex == m_search_->textLength) { in handleNext()
327 > m_search_->textLength) { in handleNext()
367 m_search_->textLength, &status); in handleNext()
392 ucol_setOffset(m_strsrch_->textIter, m_search_->textLength, &status); in handleNext()
Dusrchimp.h133 int32_t textLength; // exact length member
151 int32_t textLength; // exact length member
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
DCCMBlockCipher.java388 int textLength = getAssociatedTextLength(); in calculateMac() local
389 if (textLength < ((1 << 16) - (1 << 8))) in calculateMac()
391 cMac.update((byte)(textLength >> 8)); in calculateMac()
392 cMac.update((byte)textLength); in calculateMac()
400 cMac.update((byte)(textLength >> 24)); in calculateMac()
401 cMac.update((byte)(textLength >> 16)); in calculateMac()
402 cMac.update((byte)(textLength >> 8)); in calculateMac()
403 cMac.update((byte)textLength); in calculateMac()
417 extra = (extra + textLength) % 16; in calculateMac()
/external/icu/icu4c/source/i18n/unicode/
Dunum.h635 int32_t textLength,
659 int32_t textLength,
683 int32_t textLength,
716 int32_t textLength,
744 int32_t textLength,
771 int32_t textLength,
Ducoleitr.h113 int32_t textLength,
205 int32_t textLength,
Dutrans.h472 int32_t* textLength,
507 int32_t* textLength,
/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/icu/icu4c/source/common/unicode/
Dubrk.h217 int32_t textLength,
239 int32_t textLength,
317 int32_t textLength,
Dchariter.h665 int32_t textLength; variable
718 return textLength; in getLength()
/external/icu/icu4c/source/io/
Dustdio.c131 int32_t textLength; in u_file_translit() local
185 textLength = f->fTranslit->length; in u_file_translit()
187 pos.contextLimit = textLength; in u_file_translit()
189 pos.limit = textLength; in u_file_translit()
193 &textLength, in u_file_translit()
208 textLength = f->fTranslit->length; in u_file_translit()
213 &textLength, in u_file_translit()
/external/skia/src/ports/
DSkFontMgr_win_dw.cpp648 UINT32* textLength) override in GetTextAtPosition() argument
652 *textLength = 0; in GetTextAtPosition()
656 *textLength = fLength - textPosition; in GetTextAtPosition()
663 UINT32* textLength) override in GetTextBeforePosition() argument
667 *textLength = 0; in GetTextBeforePosition()
671 *textLength = textPosition; in GetTextBeforePosition()
682 UINT32* textLength, in GetLocaleName() argument
691 UINT32* textLength, in GetNumberSubstitution() argument
/external/chromium-trace/trace-viewer/tracing/third_party/vinn/third_party/parse5/test/data/tree_construction/
Dtests11.dat2 …surfaceScale='' systemLanguage='' tableValues='' targetX='' targetY='' textLength='' viewBox='' vi…
66 | textLength=""
138 | textLength=""
210 | textLength=""
218 …surfaceScale='' systemLanguage='' tableValues='' targetX='' targetY='' textLength='' viewBox='' vi…
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTrie2.java541 textLength = text.length(); in CharSequenceIterator()
546 private int textLength; field in Trie2.CharSequenceIterator
552 if (i < 0 || i > textLength) { in set()
560 return index<textLength; in hasNext()

12