Home
last modified time | relevance | path

Searched refs:stringLength (Results 1 – 25 of 48) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/platform/text/
DTextBreakIterator.cpp29 unsigned stringLength = string.length(); in numGraphemeClusters() local
31 if (!stringLength) in numGraphemeClusters()
36 return stringLength; in numGraphemeClusters()
40 return stringLength; in numGraphemeClusters()
50 unsigned stringLength = string.length(); in numCharactersInGraphemeClusters() local
52 if (!stringLength) in numCharactersInGraphemeClusters()
57 return std::min(stringLength, numGraphemeClusters); in numCharactersInGraphemeClusters()
61 return std::min(stringLength, numGraphemeClusters); in numCharactersInGraphemeClusters()
65 return stringLength; in numCharactersInGraphemeClusters()
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/
Dftsnames.c61 if ( entry->stringLength > 0 && entry->string == NULL ) in FT_Get_Sfnt_Name()
67 if ( FT_NEW_ARRAY ( entry->string, entry->stringLength ) || in FT_Get_Sfnt_Name()
69 FT_STREAM_READ( entry->string, entry->stringLength ) ) in FT_Get_Sfnt_Name()
72 entry->stringLength = 0; in FT_Get_Sfnt_Name()
81 aname->string_len = entry->stringLength; in FT_Get_Sfnt_Name()
/external/freetype/src/base/
Dftsnames.c61 if ( entry->stringLength > 0 && entry->string == NULL ) in FT_Get_Sfnt_Name()
67 if ( FT_NEW_ARRAY ( entry->string, entry->stringLength ) || in FT_Get_Sfnt_Name()
69 FT_STREAM_READ( entry->string, entry->stringLength ) ) in FT_Get_Sfnt_Name()
72 entry->stringLength = 0; in FT_Get_Sfnt_Name()
81 aname->string_len = entry->stringLength; in FT_Get_Sfnt_Name()
/external/chromium_org/third_party/freetype/src/base/
Dftsnames.c61 if ( entry->stringLength > 0 && entry->string == NULL ) in FT_Get_Sfnt_Name()
67 if ( FT_NEW_ARRAY ( entry->string, entry->stringLength ) || in FT_Get_Sfnt_Name()
69 FT_STREAM_READ( entry->string, entry->stringLength ) ) in FT_Get_Sfnt_Name()
72 entry->stringLength = 0; in FT_Get_Sfnt_Name()
81 aname->string_len = entry->stringLength; in FT_Get_Sfnt_Name()
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
DComplexTextController.h78 …a* fontData, const UChar* characters, unsigned stringLocation, size_t stringLength, CFRange runRan… in create() argument
80 … adoptRef(new ComplexTextRun(ctRun, fontData, characters, stringLocation, stringLength, runRange)); in create()
83 …ontData* fontData, const UChar* characters, unsigned stringLocation, size_t stringLength, bool ltr) in create() argument
85 … return adoptRef(new ComplexTextRun(fontData, characters, stringLocation, stringLength, ltr)); in create()
92 size_t stringLength() const { return m_stringLength; } in stringLength() function
104 …leFontData*, const UChar* characters, unsigned stringLocation, size_t stringLength, CFRange runRan…
105 … SimpleFontData*, const UChar* characters, unsigned stringLocation, size_t stringLength, bool ltr);
/external/emma/core/java12/com/vladium/util/
DWCMatcher.java238 final int stringLength = string.length; in matches() local
269 if (si_i == stringLength) return false; in matches()
283 if (si + i == stringLength) return true; in matches()
297 final int stringLength = string.length; in matches() local
328 if (si_i == stringLength) return false; in matches()
342 if (si + i == stringLength) return true; in matches()
/external/proguard/src/proguard/gui/splash/
DTypeWriterString.java57 int stringLength = string.length(); in getString() local
58 int length = (int)(stringLength * t + 0.5); in getString()
63 if (t > 0.0 && length < stringLength) in getString()
/external/icu/icu4c/source/test/cintltst/
Dusettest.c273 int32_t stringLength = 0; in expectContainment() local
278 stringLength = (int32_t)(p - stringStart - 1); in expectContainment()
279 strncpy(strCopy, stringStart, stringLength); in expectContainment()
280 strCopy[stringLength] = 0; in expectContainment()
282 u_charsToUChars(stringStart, ustr, stringLength); in expectContainment()
284 if (uset_containsString(set, ustr, stringLength) == isIn) { in expectContainment()
420 int32_t stringLength = 0; in expectItems() local
425 stringLength = (int32_t)(p - stringStart - 1); in expectItems()
426 strncpy(strCopy, stringStart, stringLength); in expectItems()
427 strCopy[stringLength] = 0; in expectItems()
[all …]
/external/chromium_org/third_party/icu/source/test/cintltst/
Dusettest.c273 int32_t stringLength = 0; in expectContainment() local
278 stringLength = (int32_t)(p - stringStart - 1); in expectContainment()
279 strncpy(strCopy, stringStart, stringLength); in expectContainment()
280 strCopy[stringLength] = 0; in expectContainment()
282 u_charsToUChars(stringStart, ustr, stringLength); in expectContainment()
284 if (uset_containsString(set, ustr, stringLength) == isIn) { in expectContainment()
420 int32_t stringLength = 0; in expectItems() local
425 stringLength = (int32_t)(p - stringStart - 1); in expectItems()
426 strncpy(strCopy, stringStart, stringLength); in expectItems()
427 strCopy[stringLength] = 0; in expectItems()
[all …]
/external/freetype/src/sfnt/
Dsfdriver.c241 if ( name->nameID == 6 && name->stringLength > 0 ) in sfnt_get_ps_name()
259 FT_UInt len = name->stringLength / 2; in sfnt_get_ps_name()
265 if ( !FT_ALLOC( result, name->stringLength + 1 ) ) in sfnt_get_ps_name()
273 FT_FRAME_ENTER( name->stringLength ) ) in sfnt_get_ps_name()
276 name->stringLength = 0; in sfnt_get_ps_name()
301 FT_UInt len = name->stringLength; in sfnt_get_ps_name()
316 name->stringLength = 0; in sfnt_get_ps_name()
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/sfnt/
Dsfdriver.c241 if ( name->nameID == 6 && name->stringLength > 0 ) in sfnt_get_ps_name()
259 FT_UInt len = name->stringLength / 2; in sfnt_get_ps_name()
265 if ( !FT_ALLOC( result, name->stringLength + 1 ) ) in sfnt_get_ps_name()
273 FT_FRAME_ENTER( name->stringLength ) ) in sfnt_get_ps_name()
276 name->stringLength = 0; in sfnt_get_ps_name()
301 FT_UInt len = name->stringLength; in sfnt_get_ps_name()
316 name->stringLength = 0; in sfnt_get_ps_name()
/external/chromium_org/third_party/freetype/src/sfnt/
Dsfdriver.c241 if ( name->nameID == 6 && name->stringLength > 0 ) in sfnt_get_ps_name()
259 FT_UInt len = name->stringLength / 2; in sfnt_get_ps_name()
265 if ( !FT_ALLOC( result, name->stringLength + 1 ) ) in sfnt_get_ps_name()
273 FT_FRAME_ENTER( name->stringLength ) ) in sfnt_get_ps_name()
276 name->stringLength = 0; in sfnt_get_ps_name()
301 FT_UInt len = name->stringLength; in sfnt_get_ps_name()
316 name->stringLength = 0; in sfnt_get_ps_name()
Dsfobjs.c59 len = (FT_UInt)entry->stringLength / 2; in tt_name_entry_ascii_from_utf16()
94 len = (FT_UInt)entry->stringLength; in tt_name_entry_ascii_from_other()
177 if ( rec->nameID == nameid && rec->stringLength > 0 ) in tt_face_get_name()
279 if ( FT_QNEW_ARRAY ( rec->string, rec->stringLength ) || in tt_face_get_name()
281 FT_STREAM_READ( rec->string, rec->stringLength ) ) in tt_face_get_name()
284 rec->stringLength = 0; in tt_face_get_name()
/external/mesa3d/src/glx/apple/
Dappledri.c337 if (rep.stringLength > 0 && rep.stringLength <= pathlen) { in XAppleDRICreateSharedBuffer()
338 _XReadPad(dpy, path, rep.stringLength); in XAppleDRICreateSharedBuffer()
404 if (rep.stringLength > 0 && rep.stringLength <= bufnamesize) { in XAppleDRICreatePixmap()
405 _XReadPad(dpy, bufname, rep.stringLength); in XAppleDRICreatePixmap()
419 else if (rep.stringLength > 0) { in XAppleDRICreatePixmap()
420 _XEatData(dpy, rep.stringLength); in XAppleDRICreatePixmap()
/external/chromium_org/third_party/mesa/src/src/glx/apple/
Dappledri.c337 if (rep.stringLength > 0 && rep.stringLength <= pathlen) { in XAppleDRICreateSharedBuffer()
338 _XReadPad(dpy, path, rep.stringLength); in XAppleDRICreateSharedBuffer()
404 if (rep.stringLength > 0 && rep.stringLength <= bufnamesize) { in XAppleDRICreatePixmap()
405 _XReadPad(dpy, bufname, rep.stringLength); in XAppleDRICreatePixmap()
419 else if (rep.stringLength > 0) { in XAppleDRICreatePixmap()
420 _XEatData(dpy, rep.stringLength); in XAppleDRICreatePixmap()
/external/icu/icu4c/source/test/intltest/
Dbytestrietest.cpp682 int32_t stringLength= (i&1) ? -1 : strlen(data[i].s); in checkNext() local
684 if( !USTRINGTRIE_HAS_VALUE(result=trie.next(data[i].s, stringLength)) || in checkNext()
697 stringLength=strlen(data[i].s); in checkNext()
699 for(int32_t j=0; j<stringLength; ++j) { in checkNext()
767 int32_t stringLength=strlen(expectedString); in checkNextWithState() local
768 int32_t partialLength=stringLength/3; in checkNextWithState()
794 stringLength-partialLength)) || in checkNextWithState()
802 stringLength-partialLength)) || in checkNextWithState()
822 int32_t stringLength=strlen(expectedString); in checkNextString() local
823 if(!trie.next(expectedString, stringLength/2)) { in checkNextString()
[all …]
Ducharstrietest.cpp861 int32_t stringLength= (i&1) ? -1 : expectedString.length(); in checkNext() local
864 result=trie.next(expectedString.getTerminatedBuffer(), stringLength)) || in checkNext()
877 stringLength=expectedString.length(); in checkNext()
879 for(int32_t j=0; j<stringLength; ++j) { in checkNext()
939 int32_t stringLength=expectedString.length(); in checkNextWithState() local
940 int32_t partialLength=stringLength/3; in checkNextWithState()
966 stringLength-partialLength)) || in checkNextWithState()
974 stringLength-partialLength)) || in checkNextWithState()
994 int32_t stringLength=expectedString.length(); in checkNextString() local
995 if(!trie.next(expectedString.getTerminatedBuffer(), stringLength/2)) { in checkNextString()
[all …]
/external/proguard/src/proguard/util/
DExtensionMatcher.java58 int stringLength = string.length(); in endsWithIgnoreCase() local
61 return string.regionMatches(true, stringLength - suffixLength, suffix, 0, suffixLength); in endsWithIgnoreCase()
/external/chromium_org/third_party/skia/third_party/harfbuzz/src/
Dharfbuzz-shaper.h134 void HB_GetCharAttributes(const HB_UChar16 *string, hb_uint32 stringLength,
139 void HB_GetWordBoundaries(const HB_UChar16 *string, hb_uint32 stringLength,
144 void HB_GetSentenceBoundaries(const HB_UChar16 *string, hb_uint32 stringLength,
253 hb_uint32 stringLength; /* input: the length of the input in 16-bit words */ member
Dharfbuzz-arabic.c886 static void shapedString(const HB_UChar16 *uc, hb_uint32 stringLength, hb_uint32 from, hb_uint32 le… in shapedString() argument
899 assert(stringLength >= from + len); in shapedString()
911 if (f + l < stringLength) in shapedString()
942 const HB_UChar16 pch = nextChar(uc, stringLength, pos); in shapedString()
1062 if (f + l + item->item.pos < item->stringLength) { in arabicSyriacOpenTypeShape()
1126 …shapedString(item->string, item->stringLength, item->item.pos, item->item.length, shapedChars, &sl… in HB_ArabicShape()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
DTypesLengths.java106 private static int stringLength; field in TypesLengths
168 return stringLength; in getTypeLength()
258 stringLength = typeLength; in setTypeLength()
/external/proguard/src/proguard/classfile/constant/
DUtf8Constant.java191 int stringLength = string.length(); in getByteArrayRepresentation() local
192 for (int stringIndex = 0; stringIndex < stringLength; stringIndex++) in getByteArrayRepresentation()
208 for (int stringIndex = 0; stringIndex < stringLength; stringIndex++) in getByteArrayRepresentation()
/external/proguard/src/proguard/
DClassPathEntry.java161 int stringLength = string.length(); in endsWithIgnoreCase() local
164 return string.regionMatches(true, stringLength - in endsWithIgnoreCase()
/external/skia/src/ports/
DSkTypeface_win_dw.cpp137 UINT32 stringLength; in next() local
138 HRBM(fStrings->GetStringLength(fIndex, &stringLength), "Could not get string length."); in next()
139 stringLength += 1; in next()
141 SkSMallocWCHAR wString(stringLength); in next()
142 HRBM(fStrings->GetString(fIndex, wString.get(), stringLength), "Could not get string."); in next()
/external/chromium_org/third_party/skia/src/ports/
DSkTypeface_win_dw.cpp137 UINT32 stringLength; in next() local
138 HRBM(fStrings->GetStringLength(fIndex, &stringLength), "Could not get string length."); in next()
139 stringLength += 1; in next()
141 SkSMallocWCHAR wString(stringLength); in next()
142 HRBM(fStrings->GetString(fIndex, wString.get(), stringLength), "Could not get string."); in next()

12