Home
last modified time | relevance | path

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

123

/external/icu/icu4c/source/common/
Dchariter.cpp24 : textLength(0), pos(0), begin(0), end(0) { in CharacterIterator()
28 : textLength(length), pos(0), begin(0), end(length) { in CharacterIterator()
29 if(textLength < 0) { in CharacterIterator()
30 textLength = end = 0; in CharacterIterator()
35 : textLength(length), pos(position), begin(0), end(length) { in CharacterIterator()
36 if(textLength < 0) { in CharacterIterator()
37 textLength = end = 0; in CharacterIterator()
47 : textLength(length), pos(position), begin(textBegin), end(textEnd) { in CharacterIterator()
48 if(textLength < 0) { in CharacterIterator()
49 textLength = 0; in CharacterIterator()
[all …]
Dsimpleformatter.cpp77 int32_t textLength = 0; in applyPatternMinMaxArguments() local
99 if (textLength > 0) { in applyPatternMinMaxArguments()
100 compiledPattern.setCharAt(compiledPattern.length() - textLength - 1, in applyPatternMinMaxArguments()
101 (UChar)(ARG_NUM_LIMIT + textLength)); in applyPatternMinMaxArguments()
102 textLength = 0; in applyPatternMinMaxArguments()
136 if (textLength == 0) { in applyPatternMinMaxArguments()
141 if (++textLength == MAX_SEGMENT_LENGTH) { in applyPatternMinMaxArguments()
142 textLength = 0; in applyPatternMinMaxArguments()
145 if (textLength > 0) { in applyPatternMinMaxArguments()
146 compiledPattern.setCharAt(compiledPattern.length() - textLength - 1, in applyPatternMinMaxArguments()
[all …]
Dubrk.cpp37 int32_t textLength, in ubrk_open() argument
83 ubrk_setText(uBI, text, textLength, status); in ubrk_open()
100 int32_t textLength, in ubrk_openRules() argument
117 ubrk_setText(uBI, text, textLength, status); in ubrk_openRules()
125 const UChar * text, int32_t textLength, in ubrk_openBinaryRules() argument
141 ubrk_setText(uBI, text, textLength, status); in ubrk_openBinaryRules()
200 int32_t textLength, in ubrk_setText() argument
204 utext_openUChars(&ut, text, textLength, status); in ubrk_setText()
Dunistr.cpp215 int32_t textLength) { in UnicodeString() argument
217 doAppend(text, 0, textLength); in UnicodeString()
222 int32_t textLength) { in UnicodeString() argument
228 } else if(textLength < -1 || in UnicodeString()
229 (textLength == -1 && !isTerminated) || in UnicodeString()
230 (textLength >= 0 && isTerminated && text[textLength] != 0) in UnicodeString()
234 if(textLength == -1) { in UnicodeString()
236 textLength = u_strlen(text); in UnicodeString()
238 setArray(const_cast<UChar *>(text), textLength, in UnicodeString()
239 isTerminated ? textLength + 1 : textLength); in UnicodeString()
[all …]
/external/fonttools/Lib/fontTools/ttLib/tables/
DT_S_I__1.py24 for i, (glyphID, textLength, textOffset) in enumerate(indices):
32 if textLength < 0x8000:
36 elif textLength == 0x8000:
64 textLength = nextTextOffset - textOffset
68 "%r textLength (%d) must not be > 32768" % (name, textLength))
69 text = data[textOffset:textOffset+textLength]
70 assert len(text) == textLength
96 textLength = len(text)
97 if textLength >= 0x8000:
98 textLength = 0x8000
[all …]
DT_S_I__0.py13 def fixlongs(glyphID, textLength, textOffset): argument
14 return int(glyphID), int(textLength), textOffset
26 glyphID, textLength, textOffset = fixlongs(*struct.unpack(tsi0Format, data[:size]))
27 indices.append((glyphID, textLength, textOffset))
40 for index, textLength, textOffset in self.indices:
41 data = data + struct.pack(tsi0Format, index, textLength, textOffset)
43 for index, textLength, textOffset in self.extra_indices:
44 data = data + struct.pack(tsi0Format, index, textLength, textOffset)
/external/harfbuzz_ng/src/
Dhb-directwrite.cc324 TextAnalysis (const wchar_t* text, uint32_t textLength, in TextAnalysis() argument
326 : mTextLength (textLength), mText (text), mLocaleName (localeName), in TextAnalysis()
368 OUT uint32_t* textLength) in GetTextAtPosition() argument
374 *textLength = 0; in GetTextAtPosition()
379 *textLength = mTextLength - textPosition; in GetTextAtPosition()
387 OUT uint32_t* textLength) in GetTextBeforePosition() argument
394 *textLength = 0; in GetTextBeforePosition()
399 *textLength = textPosition; in GetTextBeforePosition()
407 IFACEMETHODIMP GetLocaleName (uint32_t textPosition, uint32_t* textLength, in GetLocaleName() argument
413 OUT uint32_t* textLength, in GetNumberSubstitution() argument
[all …]
/external/dokka/core/src/main/kotlin/Model/
DContent.kt4 val textLength: Int constant
8 override val textLength: Int get() = 0 constant
26 override val textLength: Int in isEmpty() constant in org.jetbrains.dokka.ContentBlock
27 get() = children.sumBy { it.textLength } in isEmpty()
34 override val textLength: Int constant in org.jetbrains.dokka.NodeRenderContent
67 override val textLength: Int constant in org.jetbrains.dokka.ContentText
72 override val textLength: Int constant in org.jetbrains.dokka.ContentKeyword
79 override val textLength: Int constant in org.jetbrains.dokka.ContentIdentifier
84 override val textLength: Int constant in org.jetbrains.dokka.ContentSymbol
89 override val textLength: Int constant in org.jetbrains.dokka.ContentEntity
[all …]
/external/icu/icu4c/source/i18n/
Dsearch.cpp38 m_search_->textLength = other.m_search_->textLength; in SearchIterator()
161 m_search_->textLength = m_text_.length(); in setText()
192 m_search_->textLength == that.m_search_->textLength && in operator ==()
195 m_search_->textLength * sizeof(UChar)) == 0)); in operator ==()
224 setOffset(m_search_->textLength, status); in last()
225 return handlePrev(m_search_->textLength, status); in last()
246 int32_t textlength = m_search_->textLength; in next()
288 offset = m_search_->textLength; in previous()
357 m_search_->textLength = 0; in SearchIterator()
376 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()
Dunum.cpp369 int32_t textLength, in parseRes() argument
376 const UnicodeString src((UBool)(textLength == -1), text, textLength); in parseRes()
397 int32_t textLength, in unum_parse() argument
402 parseRes(res, fmt, text, textLength, parsePos, status); in unum_parse()
409 int32_t textLength, in unum_parseInt64() argument
414 parseRes(res, fmt, text, textLength, parsePos, status); in unum_parseInt64()
421 int32_t textLength, in unum_parseDouble() argument
426 parseRes(res, fmt, text, textLength, parsePos, status); in unum_parseDouble()
433 int32_t textLength, in unum_parseDecimal() argument
447 parseRes(res, fmt, text, textLength, parsePos, status); in unum_parseDecimal()
[all …]
Ducoleitr.cpp276 int32_t textLength, in ucol_openElements() argument
282 if (coll == NULL || (text == NULL && textLength != 0)) { in ucol_openElements()
292 UnicodeString s((UBool)(textLength < 0), text, textLength); in ucol_openElements()
480 int32_t textLength, in ucol_setText() argument
487 if ((text == NULL && textLength != 0)) { in ucol_setText()
491 UnicodeString s((UBool)(textLength < 0), text, textLength); in ucol_setText()
Dusearch.cpp298 uint32_t patternlength = pattern->textLength; in initializePatternCETable()
310 ucol_setText(coleiter, pattern->text, pattern->textLength, status); in initializePatternCETable()
370 uint32_t patternlength = pattern->textLength; in initializePatternPCETable()
381 ucol_setText(coleiter, pattern->text, pattern->textLength, status); in initializePatternPCETable()
442 int32_t length = pattern->textLength; in initializePattern()
706 int32_t textlength = strsrch->search->textLength; in getNextUStringSearchBaseOffset()
774 setColEIterOffset(strsrch->textIter, strsrch->search->textLength); in setMatchNotFound()
960 strsrch->search->textLength) > 0xFF; in hasAccentsBeforeMatch()
971 strsrch->search->textLength) & LAST_BYTE_MASK_) { in hasAccentsBeforeMatch()
1008 int32_t textlength = strsrch->search->textLength; in hasAccentsAfterMatch()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DSimpleFormatterImpl.java97 int textLength = 0; in compileToStringMinMaxArguments() local
119 if (textLength > 0) { in compileToStringMinMaxArguments()
120 sb.setCharAt(sb.length() - textLength - 1, (char)(ARG_NUM_LIMIT + textLength)); in compileToStringMinMaxArguments()
121 textLength = 0; in compileToStringMinMaxArguments()
157 if (textLength == 0) { in compileToStringMinMaxArguments()
162 if (++textLength == MAX_SEGMENT_LENGTH) { in compileToStringMinMaxArguments()
163 textLength = 0; in compileToStringMinMaxArguments()
166 if (textLength > 0) { in compileToStringMinMaxArguments()
167 sb.setCharAt(sb.length() - textLength - 1, (char)(ARG_NUM_LIMIT + textLength)); in compileToStringMinMaxArguments()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DSimpleFormatterImpl.java95 int textLength = 0; in compileToStringMinMaxArguments() local
117 if (textLength > 0) { in compileToStringMinMaxArguments()
118 sb.setCharAt(sb.length() - textLength - 1, (char)(ARG_NUM_LIMIT + textLength)); in compileToStringMinMaxArguments()
119 textLength = 0; in compileToStringMinMaxArguments()
155 if (textLength == 0) { in compileToStringMinMaxArguments()
160 if (++textLength == MAX_SEGMENT_LENGTH) { in compileToStringMinMaxArguments()
161 textLength = 0; in compileToStringMinMaxArguments()
164 if (textLength > 0) { in compileToStringMinMaxArguments()
165 sb.setCharAt(sb.length() - textLength - 1, (char)(ARG_NUM_LIMIT + textLength)); in compileToStringMinMaxArguments()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
DCCMBlockCipher.java390 int textLength = getAssociatedTextLength(); in calculateMac() local
391 if (textLength < ((1 << 16) - (1 << 8))) in calculateMac()
393 cMac.update((byte)(textLength >> 8)); in calculateMac()
394 cMac.update((byte)textLength); in calculateMac()
402 cMac.update((byte)(textLength >> 24)); in calculateMac()
403 cMac.update((byte)(textLength >> 16)); in calculateMac()
404 cMac.update((byte)(textLength >> 8)); in calculateMac()
405 cMac.update((byte)textLength); in calculateMac()
419 extra = (extra + textLength) % 16; in calculateMac()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/modes/
DCCMBlockCipher.java392 int textLength = getAssociatedTextLength(); in calculateMac() local
393 if (textLength < ((1 << 16) - (1 << 8))) in calculateMac()
395 cMac.update((byte)(textLength >> 8)); in calculateMac()
396 cMac.update((byte)textLength); in calculateMac()
404 cMac.update((byte)(textLength >> 24)); in calculateMac()
405 cMac.update((byte)(textLength >> 16)); in calculateMac()
406 cMac.update((byte)(textLength >> 8)); in calculateMac()
407 cMac.update((byte)textLength); in calculateMac()
421 extra = (extra + textLength) % 16; in calculateMac()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/modes/
DCCMBlockCipher.java392 int textLength = getAssociatedTextLength(); in calculateMac() local
393 if (textLength < ((1 << 16) - (1 << 8))) in calculateMac()
395 cMac.update((byte)(textLength >> 8)); in calculateMac()
396 cMac.update((byte)textLength); in calculateMac()
404 cMac.update((byte)(textLength >> 24)); in calculateMac()
405 cMac.update((byte)(textLength >> 16)); in calculateMac()
406 cMac.update((byte)(textLength >> 8)); in calculateMac()
407 cMac.update((byte)textLength); in calculateMac()
421 extra = (extra + textLength) % 16; in calculateMac()
/external/icu/icu4c/source/common/unicode/
Dubrk.h248 int32_t textLength,
270 int32_t textLength,
296 const UChar * text, int32_t textLength,
394 int32_t textLength,
/external/icu/libandroidicu/include/unicode/
Dubrk.h248 int32_t textLength,
270 int32_t textLength,
296 const UChar * text, int32_t textLength,
394 int32_t textLength,
Dunum.h775 int32_t textLength,
801 int32_t textLength,
827 int32_t textLength,
862 int32_t textLength,
890 int32_t textLength,
919 int32_t textLength,
/external/icu/libicu/cts_headers/unicode/
Dubrk.h248 int32_t textLength,
270 int32_t textLength,
296 const UChar * text, int32_t textLength,
394 int32_t textLength,
Dunum.h775 int32_t textLength,
801 int32_t textLength,
827 int32_t textLength,
862 int32_t textLength,
890 int32_t textLength,
919 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/i18n/unicode/
Dunum.h775 int32_t textLength,
801 int32_t textLength,
827 int32_t textLength,
862 int32_t textLength,
890 int32_t textLength,
919 int32_t textLength,

123