HomeSort by relevance Sort by last modified time
    Searched refs:textLength (Results 1 - 25 of 250) sorted by null

1 2 3 4 5 6 7 8 910

  /external/icu/icu4c/source/common/
chariter.cpp 24 : textLength(0), pos(0), begin(0), end(0) {
28 : textLength(length), pos(0), begin(0), end(length) {
29 if(textLength < 0) {
30 textLength = end = 0;
35 : textLength(length), pos(position), begin(0), end(length) {
36 if(textLength < 0) {
37 textLength = end = 0;
47 : textLength(length), pos(position), begin(textBegin), end(textEnd) {
48 if(textLength < 0) {
49 textLength = 0
    [all...]
simpleformatter.cpp 77 int32_t textLength = 0;
99 if (textLength > 0) {
100 compiledPattern.setCharAt(compiledPattern.length() - textLength - 1,
101 (UChar)(ARG_NUM_LIMIT + textLength));
102 textLength = 0;
136 if (textLength == 0) {
141 if (++textLength == MAX_SEGMENT_LENGTH) {
142 textLength = 0;
145 if (textLength > 0) {
146 compiledPattern.setCharAt(compiledPattern.length() - textLength - 1
    [all...]
ubrk.cpp 36 int32_t textLength,
82 ubrk_setText(uBI, text, textLength, status);
99 int32_t textLength,
116 ubrk_setText(uBI, text, textLength, status);
166 int32_t textLength,
170 utext_openUChars(&ut, text, textLength, status);
uchriter.cpp 81 && textLength == realThat.textLength
89 return ustr_hashUCharsN(text, textLength) ^ pos ^ begin ^ end;
358 end = textLength = newTextLength;
364 result = UnicodeString(text, textLength);
usc_impl.c 43 int32_t textLength;
252 scriptRun->textLength = length;
263 if (scriptRun == NULL || scriptRun->scriptLimit >= scriptRun->textLength) {
270 for (scriptRun->scriptStart = scriptRun->scriptLimit; scriptRun->scriptLimit < scriptRun->textLength; scriptRun->scriptLimit += 1) {
280 if (high >= 0xD800 && high <= 0xDBFF && scriptRun->scriptLimit < scriptRun->textLength - 1) {
  /external/fonttools/Lib/fontTools/ttLib/tables/
T_S_I__0.py 8 def fixlongs(glyphID, textLength, textOffset):
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)
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...]
  /frameworks/base/libs/hwui/tests/common/scenes/
GlyphStressAnimation.cpp 47 ssize_t textLength = 26 * 2;
59 canvas->drawText(text.get(), 0, textLength, textLength,
  /frameworks/base/core/java/android/view/
AccessibilityIterators.java 261 final int textLength = mText.length();
262 if (textLength <= 0) {
265 if (offset >= textLength) {
272 while (start < textLength && mText.charAt(start) == '\n'
276 if (start >= textLength) {
280 while (end < textLength && !isEndBoundary(end)) {
288 final int textLength = mText.length();
289 if (textLength <= 0) {
296 if (end > textLength) {
297 end = textLength;
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/format/
FormatUtils.java 146 int textLength = text.length();
149 if (prefixLength == 0 || textLength < prefixLength) {
154 while (i < textLength) {
156 while (i < textLength && !Character.isLetterOrDigit(text.charAt(i))) {
160 if (i + prefixLength > textLength) {
176 while (i < textLength && Character.isLetterOrDigit(text.charAt(i))) {
  /packages/apps/Dialer/java/com/android/contacts/common/format/
FormatUtils.java 144 int textLength = text.length();
147 if (prefixLength == 0 || textLength < prefixLength) {
152 while (i < textLength) {
154 while (i < textLength && !Character.isLetterOrDigit(text.charAt(i))) {
158 if (i + prefixLength > textLength) {
174 while (i < textLength && Character.isLetterOrDigit(text.charAt(i))) {
  /external/icu/icu4c/source/common/unicode/
urep.h 104 * @param textLength the number of UChars at text, or -1 if text
112 int32_t textLength);
ubrk.h 234 * @param textLength The number of characters in text, or -1 if null-terminated.
244 int32_t textLength,
254 * @param textLength The number of characters in text, or -1 if null-terminated.
266 int32_t textLength,
341 * @param textLength The length of the text
348 int32_t textLength,
chariter.h 667 int32_t textLength;
720 return textLength;
  /external/icu/icu4c/source/i18n/
search.cpp 38 m_search_->textLength = other.m_search_->textLength;
161 m_search_->textLength = m_text_.length();
192 m_search_->textLength == that.m_search_->textLength &&
195 m_search_->textLength * sizeof(UChar)) == 0));
224 setOffset(m_search_->textLength, status);
225 return handlePrev(m_search_->textLength, status);
246 int32_t textlength = m_search_->textLength; local
    [all...]
utrans.cpp 440 int32_t* textLength,
453 int32_t textLen = (textLength == NULL || *textLength < 0)
454 ? u_strlen(text) : *textLength;
463 if(textLength != NULL) {
464 *textLength = textLen;
471 int32_t* textLength,
483 int32_t textLen = (textLength == NULL || *textLength < 0)
484 ? u_strlen(text) : *textLength;
    [all...]
  /external/harfbuzz_ng/src/
hb-directwrite.cc 309 uint32_t textLength,
313 , mTextLength(textLength)
355 OUT uint32_t* textLength)
360 *textLength = 0;
364 *textLength = mTextLength - textPosition;
371 OUT uint32_t* textLength)
377 *textLength = 0;
381 *textLength = textPosition;
390 uint32_t* textLength,
398 OUT uint32_t* textLength,
    [all...]
  /external/icu/icu4c/source/i18n/unicode/
ucoleitr.h 107 * @param textLength The number of characters in text, or -1 if null-terminated
115 int32_t textLength,
199 * @param textLength The length of text, or -1 if null-terminated.
207 int32_t textLength,
unum.h 661 * @param textLength The length of text, or -1 if null-terminated.
676 int32_t textLength,
687 * @param textLength The length of text, or -1 if null-terminated.
702 int32_t textLength,
713 * @param textLength The length of text, or -1 if null-terminated.
728 int32_t textLength,
743 * @param textLength The length of text, or -1 if null-terminated.
763 int32_t textLength,
774 * @param textLength the length of text, or -1 if null-terminated
791 int32_t textLength,
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
CCMBlockCipher.java 390 int textLength = getAssociatedTextLength();
391 if (textLength < ((1 << 16) - (1 << 8)))
393 cMac.update((byte)(textLength >> 8));
394 cMac.update((byte)textLength);
402 cMac.update((byte)(textLength >> 24));
403 cMac.update((byte)(textLength >> 16));
404 cMac.update((byte)(textLength >> 8));
405 cMac.update((byte)textLength);
419 extra = (extra + textLength) % 16;
  /frameworks/minikin/tests/util/
UnicodeUtils.cpp 105 const int32_t textLength = static_cast<int32_t>(text.size());
107 while (i < textLength) {
108 U8_NEXT(text.c_str(), i, textLength, c);
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
SimpleFormatterImpl.java 91 int textLength = 0;
113 if (textLength > 0) {
114 sb.setCharAt(sb.length() - textLength - 1, (char)(ARG_NUM_LIMIT + textLength));
115 textLength = 0;
151 if (textLength == 0) {
156 if (++textLength == MAX_SEGMENT_LENGTH) {
157 textLength = 0;
160 if (textLength > 0) {
161 sb.setCharAt(sb.length() - textLength - 1, (char)(ARG_NUM_LIMIT + textLength))
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
SimpleFormatterImpl.java 89 int textLength = 0;
111 if (textLength > 0) {
112 sb.setCharAt(sb.length() - textLength - 1, (char)(ARG_NUM_LIMIT + textLength));
113 textLength = 0;
149 if (textLength == 0) {
154 if (++textLength == MAX_SEGMENT_LENGTH) {
155 textLength = 0;
158 if (textLength > 0) {
159 sb.setCharAt(sb.length() - textLength - 1, (char)(ARG_NUM_LIMIT + textLength))
    [all...]
  /frameworks/base/core/java/android/widget/
AccessibilityIterators.java 137 final int textLength = mText.length();
138 if (textLength <= 0) {
166 final int textLength = mText.length();
167 if (textLength <= 0) {
  /frameworks/base/core/java/android/text/
BoringLayout.java 236 private static boolean hasAnyInterestingChars(CharSequence text, int textLength) {
240 for (int start = 0; start < textLength; start += MAX_BUF_LEN) {
241 final int end = Math.min(start + MAX_BUF_LEN, textLength);
269 final int textLength = text.length();
270 if (hasAnyInterestingChars(text, textLength)) {
273 if (textDir != null && textDir.isRtl(text, 0, textLength)) {
278 Object[] styles = sp.getSpans(0, textLength, ParagraphStyle.class);
292 line.set(paint, text, 0, textLength, Layout.DIR_LEFT_TO_RIGHT,

Completed in 1007 milliseconds

1 2 3 4 5 6 7 8 910