Home
last modified time | relevance | path

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

12345

/external/cronet/third_party/icu/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()
192 int32_t textLength, in ubrk_setText() argument
196 utext_openUChars(&ut, text, textLength, status); in ubrk_setText()
/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()
192 int32_t textLength, in ubrk_setText() argument
196 utext_openUChars(&ut, text, textLength, status); in ubrk_setText()
/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/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.cpp366 int32_t textLength, in parseRes() argument
373 const UnicodeString src((UBool)(textLength == -1), text, textLength); in parseRes()
394 int32_t textLength, in unum_parse() argument
399 parseRes(res, fmt, text, textLength, parsePos, status); in unum_parse()
406 int32_t textLength, in unum_parseInt64() argument
411 parseRes(res, fmt, text, textLength, parsePos, status); in unum_parseInt64()
418 int32_t textLength, in unum_parseDouble() argument
423 parseRes(res, fmt, text, textLength, parsePos, status); in unum_parseDouble()
430 int32_t textLength, in unum_parseDecimal() argument
444 parseRes(res, fmt, text, textLength, parsePos, status); in unum_parseDecimal()
[all …]
Dusearch.cpp273 uint32_t patternlength = pattern->textLength; in initializePatternCETable()
285 ucol_setText(coleiter, pattern->text, pattern->textLength, status); in initializePatternCETable()
340 uint32_t patternlength = pattern->textLength; in initializePatternPCETable()
351 ucol_setText(coleiter, pattern->text, pattern->textLength, status); in initializePatternPCETable()
407 int32_t length = pattern->textLength; in initializePattern()
467 strsrch->search->text, strsrch->search->textLength, &status); in getBreakIterator()
488 setColEIterOffset(strsrch->textIter, strsrch->search->textLength, localStatus); in setMatchNotFound()
534 UnicodeString(false, strsrch->pattern.text, strsrch->pattern.textLength), p2, status); in checkIdentical()
657 result->search->textLength = textlength; in usearch_openFromCollator()
660 result->pattern.textLength = patternlength; in usearch_openFromCollator()
[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()
/external/cronet/third_party/icu/source/i18n/
Dsearch.cpp38 m_search_->textLength = other.m_search_->textLength; in SearchIterator()
160 m_search_->textLength = m_text_.length(); in setText()
191 m_search_->textLength == that.m_search_->textLength && in operator ==()
194 m_search_->textLength * sizeof(UChar)) == 0)); in operator ==()
223 setOffset(m_search_->textLength, status); in last()
224 return handlePrev(m_search_->textLength, status); in last()
245 int32_t textlength = m_search_->textLength; in next()
287 offset = m_search_->textLength; in previous()
356 m_search_->textLength = 0; in SearchIterator()
375 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.cpp366 int32_t textLength, in parseRes() argument
373 const UnicodeString src((UBool)(textLength == -1), text, textLength); in parseRes()
394 int32_t textLength, in unum_parse() argument
399 parseRes(res, fmt, text, textLength, parsePos, status); in unum_parse()
406 int32_t textLength, in unum_parseInt64() argument
411 parseRes(res, fmt, text, textLength, parsePos, status); in unum_parseInt64()
418 int32_t textLength, in unum_parseDouble() argument
423 parseRes(res, fmt, text, textLength, parsePos, status); in unum_parseDouble()
430 int32_t textLength, in unum_parseDecimal() argument
444 parseRes(res, fmt, text, textLength, parsePos, status); in unum_parseDecimal()
[all …]
Dusearch.cpp273 uint32_t patternlength = pattern->textLength; in initializePatternCETable()
285 ucol_setText(coleiter, pattern->text, pattern->textLength, status); in initializePatternCETable()
340 uint32_t patternlength = pattern->textLength; in initializePatternPCETable()
351 ucol_setText(coleiter, pattern->text, pattern->textLength, status); in initializePatternPCETable()
407 int32_t length = pattern->textLength; in initializePattern()
467 strsrch->search->text, strsrch->search->textLength, &status); in getBreakIterator()
488 setColEIterOffset(strsrch->textIter, strsrch->search->textLength, localStatus); in setMatchNotFound()
534 UnicodeString(false, strsrch->pattern.text, strsrch->pattern.textLength), p2, status); in checkIdentical()
657 result->search->textLength = textlength; in usearch_openFromCollator()
660 result->pattern.textLength = patternlength; in usearch_openFromCollator()
[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()
/external/harfbuzz_ng/src/
Dhb-directwrite.cc319 TextAnalysis (const wchar_t* text, uint32_t textLength, in TextAnalysis() argument
321 : mTextLength (textLength), mText (text), mLocaleName (localeName), in TextAnalysis()
363 OUT uint32_t* textLength) in GetTextAtPosition() argument
369 *textLength = 0; in GetTextAtPosition()
374 *textLength = mTextLength - textPosition; in GetTextAtPosition()
382 OUT uint32_t* textLength) in GetTextBeforePosition() argument
389 *textLength = 0; in GetTextBeforePosition()
394 *textLength = textPosition; in GetTextBeforePosition()
402 IFACEMETHODIMP GetLocaleName (uint32_t textPosition, uint32_t* textLength, in GetLocaleName() argument
408 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/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()

12345