/external/icu/icu4c/source/common/ |
D | chariter.cpp | 22 : 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 …]
|
D | simplepatternformatter.cpp | 76 int32_t textLength = 0; in compileMinMaxPlaceholders() local 98 if (textLength > 0) { in compileMinMaxPlaceholders() 99 compiledPattern.setCharAt(compiledPattern.length() - textLength - 1, in compileMinMaxPlaceholders() 100 (UChar)(ARG_NUM_LIMIT + textLength)); in compileMinMaxPlaceholders() 101 textLength = 0; in compileMinMaxPlaceholders() 135 if (textLength == 0) { in compileMinMaxPlaceholders() 140 if (++textLength == MAX_SEGMENT_LENGTH) { in compileMinMaxPlaceholders() 141 textLength = 0; in compileMinMaxPlaceholders() 144 if (textLength > 0) { in compileMinMaxPlaceholders() 145 compiledPattern.setCharAt(compiledPattern.length() - textLength - 1, in compileMinMaxPlaceholders() [all …]
|
D | ubrk.cpp | 34 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 168 utext_openUChars(&ut, text, textLength, status); in ubrk_setText()
|
D | unistr.cpp | 215 int32_t textLength) { in UnicodeString() argument 217 doAppend(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() 1231 int32_t textLength) in setTo() argument [all …]
|
D | usc_impl.c | 43 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()
|
D | uchriter.cpp | 79 && 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/ |
D | T_S_I__1.py | 15 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 …]
|
D | T_S_I__0.py | 8 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/ |
D | search.cpp | 36 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 …]
|
D | utrans.cpp | 438 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()
|
D | unum.cpp | 335 int32_t textLength, in parseRes() argument 342 const UnicodeString src((UBool)(textLength == -1), text, textLength); in parseRes() 363 int32_t textLength, in unum_parse() argument 368 parseRes(res, fmt, text, textLength, parsePos, status); in unum_parse() 375 int32_t textLength, in unum_parseInt64() argument 380 parseRes(res, fmt, text, textLength, parsePos, status); in unum_parseInt64() 387 int32_t textLength, in unum_parseDouble() argument 392 parseRes(res, fmt, text, textLength, parsePos, status); in unum_parseDouble() 399 int32_t textLength, in unum_parseDecimal() argument 413 parseRes(res, fmt, text, textLength, parsePos, status); in unum_parseDecimal() [all …]
|
D | ucoleitr.cpp | 274 int32_t textLength, in ucol_openElements() argument 280 if (coll == NULL || (text == NULL && textLength != 0)) { in ucol_openElements() 290 UnicodeString s((UBool)(textLength < 0), text, textLength); in ucol_openElements() 478 int32_t textLength, in ucol_setText() argument 485 if ((text == NULL && textLength != 0)) { in ucol_setText() 489 UnicodeString s((UBool)(textLength < 0), text, textLength); in ucol_setText()
|
D | usearch.cpp | 296 uint32_t patternlength = pattern->textLength; in initializePatternCETable() 308 ucol_setText(coleiter, pattern->text, pattern->textLength, status); in initializePatternCETable() 368 uint32_t patternlength = pattern->textLength; in initializePatternPCETable() 379 ucol_setText(coleiter, pattern->text, pattern->textLength, status); in initializePatternPCETable() 440 int32_t length = pattern->textLength; in initializePattern() 704 int32_t textlength = strsrch->search->textLength; in getNextUStringSearchBaseOffset() 772 setColEIterOffset(strsrch->textIter, strsrch->search->textLength); in setMatchNotFound() 958 strsrch->search->textLength) > 0xFF; in hasAccentsBeforeMatch() 969 strsrch->search->textLength) & LAST_BYTE_MASK_) { in hasAccentsBeforeMatch() 1006 int32_t textlength = strsrch->search->textLength; in hasAccentsAfterMatch() [all …]
|
D | stsearch.cpp | 317 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()
|
/external/harfbuzz_ng/src/ |
D | hb-directwrite.cc | 365 uint32_t textLength, in TextAnalysis() argument 369 , mTextLength(textLength) in TextAnalysis() 411 OUT uint32_t* textLength) in GetTextAtPosition() argument 416 *textLength = 0; in GetTextAtPosition() 420 *textLength = mTextLength - textPosition; in GetTextAtPosition() 427 OUT uint32_t* textLength) in GetTextBeforePosition() argument 433 *textLength = 0; in GetTextBeforePosition() 437 *textLength = textPosition; in GetTextBeforePosition() 446 uint32_t* textLength, in GetLocaleName() argument 453 OUT uint32_t* textLength, in GetNumberSubstitution() argument [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | SimplePatternFormatter.java | 120 int textLength = 0; in compileToStringMinMaxPlaceholders() local 142 if (textLength > 0) { in compileToStringMinMaxPlaceholders() 143 sb.setCharAt(sb.length() - textLength - 1, (char)(ARG_NUM_LIMIT + textLength)); in compileToStringMinMaxPlaceholders() 144 textLength = 0; in compileToStringMinMaxPlaceholders() 180 if (textLength == 0) { in compileToStringMinMaxPlaceholders() 185 if (++textLength == MAX_SEGMENT_LENGTH) { in compileToStringMinMaxPlaceholders() 186 textLength = 0; in compileToStringMinMaxPlaceholders() 189 if (textLength > 0) { in compileToStringMinMaxPlaceholders() 190 sb.setCharAt(sb.length() - textLength - 1, (char)(ARG_NUM_LIMIT + textLength)); in compileToStringMinMaxPlaceholders()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | SimplePatternFormatter.java | 118 int textLength = 0; in compileToStringMinMaxPlaceholders() local 140 if (textLength > 0) { in compileToStringMinMaxPlaceholders() 141 sb.setCharAt(sb.length() - textLength - 1, (char)(ARG_NUM_LIMIT + textLength)); in compileToStringMinMaxPlaceholders() 142 textLength = 0; in compileToStringMinMaxPlaceholders() 178 if (textLength == 0) { in compileToStringMinMaxPlaceholders() 183 if (++textLength == MAX_SEGMENT_LENGTH) { in compileToStringMinMaxPlaceholders() 184 textLength = 0; in compileToStringMinMaxPlaceholders() 187 if (textLength > 0) { in compileToStringMinMaxPlaceholders() 188 sb.setCharAt(sb.length() - textLength - 1, (char)(ARG_NUM_LIMIT + textLength)); in compileToStringMinMaxPlaceholders()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/ |
D | CCMBlockCipher.java | 390 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/icu/icu4c/source/i18n/unicode/ |
D | unum.h | 663 int32_t textLength, 689 int32_t textLength, 715 int32_t textLength, 750 int32_t textLength, 778 int32_t textLength, 807 int32_t textLength,
|
D | ucoleitr.h | 113 int32_t textLength, 205 int32_t textLength,
|
D | utrans.h | 472 int32_t* textLength, 507 int32_t* textLength,
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | ConversationDialogActivity.java | 98 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/ |
D | ubrk.h | 229 int32_t textLength, 251 int32_t textLength, 329 int32_t textLength,
|
D | chariter.h | 665 int32_t textLength; variable 718 return textLength; in getLength()
|
/external/icu/icu4c/source/io/ |
D | ustdio.c | 131 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()
|