Home
last modified time | relevance | path

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

12

/external/webkit/Source/WebCore/platform/graphics/mac/
DComplexTextController.h72 …a* fontData, const UChar* characters, unsigned stringLocation, size_t stringLength, CFRange runRan… in create() argument
74 … adoptRef(new ComplexTextRun(ctRun, fontData, characters, stringLocation, stringLength, runRange)); in create()
78 …a* fontData, const UChar* characters, unsigned stringLocation, size_t stringLength, bool ltr, bool… in create() argument
80 … ComplexTextRun(atsuTextLayout, fontData, characters, stringLocation, stringLength, ltr, direction… 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
103 …leFontData*, const UChar* characters, unsigned stringLocation, size_t stringLength, CFRange runRan…
107 …leFontData*, const UChar* characters, unsigned stringLocation, size_t stringLength, bool ltr, bool…
110 … SimpleFontData*, const UChar* characters, unsigned stringLocation, size_t stringLength, bool ltr);
DComplexTextControllerATSUI.cpp144 …a* fontData, const UChar* characters, unsigned stringLocation, size_t stringLength, bool ltr, bool… in ComplexTextRun() argument
148 , m_stringLength(stringLength) in ComplexTextRun()
149 , m_indexEnd(stringLength) in ComplexTextRun()
167 for (size_t i = 0; i < stringLength; ++i) { in ComplexTextRun()
173 substituteCharacters.grow(stringLength); in ComplexTextRun()
174 memcpy(substituteCharacters.data(), characters, stringLength * sizeof(UChar)); in ComplexTextRun()
187 Vector<UChar, 256> shapedArabic(stringLength); in ComplexTextRun()
188 …haracters.isEmpty() ? characters : substituteCharacters.data(), shapedArabic.data(), stringLength); in ComplexTextRun()
196 substituteCharacters.grow(stringLength + 2); in ComplexTextRun()
198 memcpy(substituteCharacters.data() + 1, characters, stringLength * sizeof(UChar)); in ComplexTextRun()
[all …]
DComplexTextController.cpp124 int stringLength = complexTextRun.stringLength(); in offsetForPosition() local
125 …erator* cursorPositionIterator = cursorMovementIterator(complexTextRun.characters(), stringLength); in offsetForPosition()
140 clusterEnd = stringLength; in offsetForPosition()
304 …ontData* fontData, const UChar* characters, unsigned stringLocation, size_t stringLength, bool ltr) in ComplexTextRun() argument
308 , m_stringLength(stringLength) in ComplexTextRun()
309 , m_indexEnd(stringLength) in ComplexTextRun()
/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/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/icu4c/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/webkit/Source/WebCore/platform/text/
DTextStream.cpp87 size_t stringLength = strlen(string); in operator <<() local
89 if (stringLength > numeric_limits<size_t>::max() - textLength) in operator <<()
91 m_text.grow(textLength + stringLength); in operator <<()
92 for (size_t i = 0; i < stringLength; ++i) in operator <<()
/external/smali/dexlib/src/main/java/org/jf/dexlib/
DOdexDependencies.java54 int stringLength = in.readInt(); in OdexDependencies() local
57 … dependencies[i] = new String(in.readBytes(stringLength), 0, stringLength-1, "US-ASCII"); in OdexDependencies()
/external/icu4c/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/harfbuzz/src/
Dharfbuzz-shaper.h150 void HB_GetCharAttributes(const HB_UChar16 *string, hb_uint32 stringLength,
155 void HB_GetWordBoundaries(const HB_UChar16 *string, hb_uint32 stringLength,
160 void HB_GetSentenceBoundaries(const HB_UChar16 *string, hb_uint32 stringLength,
269 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()
1125 …shapedString(item->string, item->stringLength, item->item.pos, item->item.length, shapedChars, &sl… in HB_ArabicShape()
/external/freetype/src/sfnt/
Dsfdriver.c238 if ( name->nameID == 6 && name->stringLength > 0 ) in sfnt_get_ps_name()
256 FT_UInt len = name->stringLength / 2; in sfnt_get_ps_name()
262 if ( !FT_ALLOC( result, name->stringLength + 1 ) ) in sfnt_get_ps_name()
270 FT_FRAME_ENTER( name->stringLength ) ) in sfnt_get_ps_name()
273 name->stringLength = 0; in sfnt_get_ps_name()
298 FT_UInt len = name->stringLength; in sfnt_get_ps_name()
313 name->stringLength = 0; in sfnt_get_ps_name()
Dsfobjs.c59 len = (FT_UInt)entry->stringLength / 2; in tt_name_entry_ascii_from_utf16()
90 len = (FT_UInt)entry->stringLength; in tt_name_entry_ascii_from_other()
169 if ( rec->nameID == nameid && rec->stringLength > 0 ) in tt_face_get_name()
271 if ( FT_QNEW_ARRAY ( rec->string, rec->stringLength ) || in tt_face_get_name()
273 FT_STREAM_READ( rec->string, rec->stringLength ) ) in tt_face_get_name()
276 rec->stringLength = 0; in tt_face_get_name()
Dttload.c770 FT_FRAME_USHORT( stringLength ), in tt_face_load_name()
826 if ( entry->stringLength == 0 ) in tt_face_load_name()
832 entry->stringOffset + entry->stringLength > storage_limit ) in tt_face_load_name()
836 entry->stringLength = 0; in tt_face_load_name()
881 entry->stringLength = 0; in tt_face_free_name()
/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/webkit/Source/WebKit/android/jni/
DWebHistory.cpp650 unsigned stringLength; in readString() local
651 if (!readUnsigned(data, end, stringLength)) { in readString()
658 ALOGV("Reading %-16s %d %.*s", dbgLabel, stringLength, stringLength, data); in readString()
661 if (!stringLength) { in readString()
666 if ((end < data) || ((unsigned)(end - data) < stringLength)) { in readString()
668 dbgLabel ? dbgLabel : "<no tag>", end, data, stringLength); in readString()
673 if (stringLength > MAX_REASONABLE_STRING_LENGTH) { in readString()
676 end, data, stringLength); in readString()
681 result = encoding.decode(data, stringLength, true, decodeFailed); in readString()
684 dbgLabel ? dbgLabel : "<no tag>", end, data, stringLength, in readString()
[all …]
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/
DShader.cpp94 int stringLength; in setSource() local
98 stringLength = length[i]; in setSource()
102 stringLength = (int)strlen(string[i]); in setSource()
105 strncpy(code, string[i], stringLength); in setSource()
106 code += stringLength; in setSource()
/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/webkit/Tools/TestWebKitAPI/
DPlatformUtilities.cpp57 size_t stringLength = WKStringGetUTF8CString(string, buffer.get(), bufferSize); in toSTD() local
58 return std::string(buffer.get(), stringLength - 1); in toSTD()
/external/webkit/Tools/WebKitTestRunner/
DStringFunctions.h71 size_t stringLength = WKStringGetUTF8CString(string, buffer.get(), bufferSize); in toSTD() local
72 return std::string(buffer.get(), stringLength - 1); in toSTD()
/external/webkit/Source/JavaScriptCore/runtime/
DUString.cpp210 unsigned stringLength = this->length(); in substringSharingImpl() local
211 offset = min(offset, stringLength); in substringSharingImpl()
212 length = min(length, stringLength - offset); in substringSharingImpl()
214 if (!offset && length == stringLength) in substringSharingImpl()
/external/proguard/src/proguard/
DDataEntryReaderFactory.java150 int stringLength = string.length(); in endsWithIgnoreCase() local
153 return string.regionMatches(true, stringLength - suffixLength, suffix, 0, suffixLength); in endsWithIgnoreCase()
DDataEntryWriterFactory.java159 int stringLength = string.length(); in endsWithIgnoreCase() local
162 return string.regionMatches(true, stringLength - suffixLength, suffix, 0, suffixLength); in endsWithIgnoreCase()

12