Searched refs:textLength (Results 1 - 25 of 139) sorted by relevance

123456

/external/chromium_org/third_party/icu/source/common/
H A Dchariter.cpp22 : textLength(0), pos(0), begin(0), end(0) {
26 : textLength(length), pos(0), begin(0), end(length) {
27 if(textLength < 0) {
28 textLength = end = 0;
33 : textLength(length), pos(position), begin(0), end(length) {
34 if(textLength < 0) {
35 textLength = end = 0;
45 : textLength(length), pos(position), begin(textBegin), end(textEnd) {
46 if(textLength < 0) {
47 textLength
[all...]
H A Dubrk.cpp34 int32_t textLength,
80 ubrk_setText(uBI, text, textLength, status);
97 int32_t textLength,
114 ubrk_setText(uBI, text, textLength, status);
166 int32_t textLength,
178 utext_openUChars(&ut, text, textLength, status);
31 ubrk_open(UBreakIteratorType type, const char *locale, const UChar *text, int32_t textLength, UErrorCode *status) argument
94 ubrk_openRules( const UChar *rules, int32_t rulesLength, const UChar *text, int32_t textLength, UParseError *parseErr, UErrorCode *status) argument
164 ubrk_setText(UBreakIterator* bi, const UChar* text, int32_t textLength, UErrorCode* status) argument
H A Duchriter.cpp78 && textLength == realThat.textLength
86 return uhash_hashUCharsN(text, textLength) ^ pos ^ begin ^ end;
355 end = textLength = newTextLength;
361 result = UnicodeString(text, textLength);
/external/icu/icu4c/source/common/
H A Dchariter.cpp22 : textLength(0), pos(0), begin(0), end(0) {
26 : textLength(length), pos(0), begin(0), end(length) {
27 if(textLength < 0) {
28 textLength = end = 0;
33 : textLength(length), pos(position), begin(0), end(length) {
34 if(textLength < 0) {
35 textLength = end = 0;
45 : textLength(length), pos(position), begin(textBegin), end(textEnd) {
46 if(textLength < 0) {
47 textLength
[all...]
H A Dubrk.cpp34 int32_t textLength,
80 ubrk_setText(uBI, text, textLength, status);
97 int32_t textLength,
114 ubrk_setText(uBI, text, textLength, status);
164 int32_t textLength,
169 utext_openUChars(&ut, text, textLength, status);
31 ubrk_open(UBreakIteratorType type, const char *locale, const UChar *text, int32_t textLength, UErrorCode *status) argument
94 ubrk_openRules( const UChar *rules, int32_t rulesLength, const UChar *text, int32_t textLength, UParseError *parseErr, UErrorCode *status) argument
162 ubrk_setText(UBreakIterator* bi, const UChar* text, int32_t textLength, UErrorCode* status) argument
/external/fonttools/Lib/fontTools/ttLib/tables/
H A DT_S_I__0.py8 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)
H A 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
[all...]
/external/fonttools/Tools/fontTools/ttLib/tables/
H A DT_S_I__0.py8 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)
H A 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
[all...]
/external/chromium_org/third_party/icu/source/common/unicode/
H A Durep.h102 * @param textLength the number of UChars at text, or -1 if text
110 int32_t textLength);
H A Dubrk.h207 * @param textLength The number of characters in text, or -1 if null-terminated.
217 int32_t textLength,
227 * @param textLength The number of characters in text, or -1 if null-terminated.
239 int32_t textLength,
304 * @param textLength The length of the text
311 int32_t textLength,
/external/chromium_org/third_party/icu/source/i18n/
H A Dsearch.cpp36 m_search_->textLength = other.m_search_->textLength;
159 m_search_->textLength = m_text_.length();
190 m_search_->textLength == that.m_search_->textLength &&
193 m_search_->textLength * sizeof(UChar)) == 0));
222 setOffset(m_search_->textLength, status);
223 return handlePrev(m_search_->textLength, status);
244 int32_t textlength = m_search_->textLength;
286 offset = m_search_->textLength;
[all...]
H A Dusrchimp.h27 int32_t textLength; // exact length member in struct:USearch
45 int32_t textLength; // exact length member in struct:UPattern
H A Dutrans.cpp437 int32_t* textLength,
450 int32_t textLen = (textLength == NULL || *textLength < 0)
451 ? u_strlen(text) : *textLength;
460 if(textLength != NULL) {
461 *textLength = textLen;
468 int32_t* textLength,
480 int32_t textLen = (textLength == NULL || *textLength < 0)
481 ? u_strlen(text) : *textLength;
[all...]
/external/icu/icu4c/source/common/unicode/
H A Durep.h102 * @param textLength the number of UChars at text, or -1 if text
110 int32_t textLength);
H A Dubrk.h207 * @param textLength The number of characters in text, or -1 if null-terminated.
217 int32_t textLength,
227 * @param textLength The number of characters in text, or -1 if null-terminated.
239 int32_t textLength,
310 * @param textLength The length of the text
317 int32_t textLength,
/external/icu/icu4c/source/i18n/
H A Dsearch.cpp36 m_search_->textLength = other.m_search_->textLength;
159 m_search_->textLength = m_text_.length();
190 m_search_->textLength == that.m_search_->textLength &&
193 m_search_->textLength * sizeof(UChar)) == 0));
222 setOffset(m_search_->textLength, status);
223 return handlePrev(m_search_->textLength, status);
244 int32_t textlength = m_search_->textLength;
286 offset = m_search_->textLength;
[all...]
H A Dutrans.cpp438 int32_t* textLength,
451 int32_t textLen = (textLength == NULL || *textLength < 0)
452 ? u_strlen(text) : *textLength;
461 if(textLength != NULL) {
462 *textLength = textLen;
469 int32_t* textLength,
481 int32_t textLen = (textLength == NULL || *textLength < 0)
482 ? u_strlen(text) : *textLength;
[all...]
H A Ducoleitr.cpp266 int32_t textLength,
272 if (coll == NULL || (text == NULL && textLength != 0)) {
282 UnicodeString s((UBool)(textLength < 0), text, textLength);
467 int32_t textLength,
474 if ((text == NULL && textLength != 0)) {
478 UnicodeString s((UBool)(textLength < 0), text, textLength);
264 ucol_openElements(const UCollator *coll, const UChar *text, int32_t textLength, UErrorCode *status) argument
465 ucol_setText( UCollationElements *elems, const UChar *text, int32_t textLength, UErrorCode *status) argument
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGTextContentElement.idl34 readonly attribute SVGAnimatedLength textLength;
/external/icu/icu4c/source/i18n/unicode/
H A Ducoleitr.h105 * @param textLength The number of characters in text, or -1 if null-terminated
113 int32_t textLength,
197 * @param textLength The length of text, or -1 if null-terminated.
205 int32_t textLength,
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
H A DCCMBlockCipher.java383 int textLength = getAssociatedTextLength();
384 if (textLength < ((1 << 16) - (1 << 8)))
386 cMac.update((byte)(textLength >> 8));
387 cMac.update((byte)textLength);
395 cMac.update((byte)(textLength >> 24));
396 cMac.update((byte)(textLength >> 16));
397 cMac.update((byte)(textLength >> 8));
398 cMac.update((byte)textLength);
412 extra = (extra + textLength) % 16;
/external/chromium_org/third_party/eyesfree/src/android/java/src/com/googlecode/eyesfree/braille/selfbraille/
H A DWriteData.java134 int textLength = mText.length();
135 if (selectionStart > textLength || selectionEnd > textLength) {
/external/chromium_org/third_party/icu/source/i18n/unicode/
H A Ducoleitr.h113 * @param textLength The number of characters in text, or -1 if null-terminated
121 int32_t textLength,
261 * @param textLength The length of text, or -1 if null-terminated.
269 int32_t textLength,
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DSVGTextMetricsBuilder.cpp46 unsigned textLength() const { return static_cast<unsigned>(m_run.charactersLength()); } function in class:WebCore::SVGTextMetricsCalculator
50 return U16_IS_LEAD(m_run[textPosition]) && textPosition + 1 < textLength() && U16_IS_TRAIL(m_run[textPosition + 1]);
77 , m_run(SVGTextMetrics::constructTextRun(text, 0, text->textLength()))
201 unsigned textLength = calculator.textLength(); local
204 for (; textPosition < textLength; textPosition += currentMetrics.length()) {

Completed in 1453 milliseconds

123456