Searched defs:stringLength (Results 1 - 25 of 25) sorted by relevance

/external/webkit/Source/WebCore/platform/text/
H A DTextStream.cpp87 size_t stringLength = strlen(string); local
89 if (stringLength > numeric_limits<size_t>::max() - textLength)
91 m_text.grow(textLength + stringLength);
92 for (size_t i = 0; i < stringLength; ++i)
/external/webkit/Tools/TestWebKitAPI/
H A DPlatformUtilities.cpp57 size_t stringLength = WKStringGetUTF8CString(string, buffer.get(), bufferSize); local
58 return std::string(buffer.get(), stringLength - 1);
/external/webkit/Tools/WebKitTestRunner/
H A DStringFunctions.h71 size_t stringLength = WKStringGetUTF8CString(string, buffer.get(), bufferSize); local
72 return std::string(buffer.get(), stringLength - 1);
/external/webkit/Source/JavaScriptCore/runtime/
H A DUString.cpp210 unsigned stringLength = this->length(); local
211 offset = min(offset, stringLength);
212 length = min(length, stringLength - offset);
214 if (!offset && length == stringLength)
/external/webkit/Source/WebCore/platform/graphics/mac/
H A DComplexTextControllerCoreText.cpp45 ComplexTextController::ComplexTextRun::ComplexTextRun(CTRunRef ctRun, const SimpleFontData* fontData, const UChar* characters, unsigned stringLocation, size_t stringLength, CFRange runRange) argument
49 , m_stringLength(stringLength)
H A DComplexTextController.h72 static PassRefPtr<ComplexTextRun> create(CTRunRef ctRun, const SimpleFontData* fontData, const UChar* characters, unsigned stringLocation, size_t stringLength, CFRange runRange) argument
74 return adoptRef(new ComplexTextRun(ctRun, fontData, characters, stringLocation, stringLength, runRange));
78 static PassRefPtr<ComplexTextRun> create(ATSUTextLayout atsuTextLayout, const SimpleFontData* fontData, const UChar* characters, unsigned stringLocation, size_t stringLength, bool ltr, bool directionalOverride) argument
80 return adoptRef(new ComplexTextRun(atsuTextLayout, fontData, characters, stringLocation, stringLength, ltr, directionalOverride));
83 static PassRefPtr<ComplexTextRun> create(const SimpleFontData* fontData, const UChar* characters, unsigned stringLocation, size_t stringLength, bool ltr) argument
85 return adoptRef(new ComplexTextRun(fontData, characters, stringLocation, stringLength, ltr));
92 size_t stringLength() const { return m_stringLength; } function in class:WebCore::ComplexTextController::ComplexTextRun
103 ComplexTextRun(CTRunRef, const SimpleFontData*, const UChar* characters, unsigned stringLocation, size_t stringLength, CFRange runRange);
107 ComplexTextRun(ATSUTextLayout, const SimpleFontData*, const UChar* characters, unsigned stringLocation, size_t stringLength, bool ltr, bool directionalOverride);
110 ComplexTextRun(const SimpleFontData*, const UChar* characters, unsigned stringLocation, size_t stringLength, boo
[all...]
H A DComplexTextControllerATSUI.cpp144 ComplexTextController::ComplexTextRun::ComplexTextRun(ATSUTextLayout atsuTextLayout, const SimpleFontData* fontData, const UChar* characters, unsigned stringLocation, size_t stringLength, bool ltr, bool directionalOverride) argument
148 , m_stringLength(stringLength)
149 , m_indexEnd(stringLength)
167 for (size_t i = 0; i < stringLength; ++i) {
173 substituteCharacters.grow(stringLength);
174 memcpy(substituteCharacters.data(), characters, stringLength * sizeof(UChar));
187 Vector<UChar, 256> shapedArabic(stringLength);
188 shapeArabic(substituteCharacters.isEmpty() ? characters : substituteCharacters.data(), shapedArabic.data(), stringLength);
196 substituteCharacters.grow(stringLength + 2);
198 memcpy(substituteCharacters.data() + 1, characters, stringLength * sizeo
[all...]
H A DComplexTextController.cpp124 int stringLength = complexTextRun.stringLength(); local
125 TextBreakIterator* cursorPositionIterator = cursorMovementIterator(complexTextRun.characters(), stringLength);
140 clusterEnd = stringLength;
304 ComplexTextController::ComplexTextRun::ComplexTextRun(const SimpleFontData* fontData, const UChar* characters, unsigned stringLocation, size_t stringLength, bool ltr) argument
308 , m_stringLength(stringLength)
309 , m_indexEnd(stringLength)
/external/icu4c/test/cintltst/
H A Dusettest.c273 int32_t stringLength = 0; local
278 stringLength = (int32_t)(p - stringStart - 1);
279 strncpy(strCopy, stringStart, stringLength);
280 strCopy[stringLength] = 0;
282 u_charsToUChars(stringStart, ustr, stringLength);
284 if (uset_containsString(set, ustr, stringLength) == isIn) {
420 int32_t stringLength = 0; local
425 stringLength = (int32_t)(p - stringStart - 1);
426 strncpy(strCopy, stringStart, stringLength);
427 strCopy[stringLength]
[all...]
/external/icu4c/test/intltest/
H A Dbytestrietest.cpp682 int32_t stringLength= (i&1) ? -1 : strlen(data[i].s); local
684 if( !USTRINGTRIE_HAS_VALUE(result=trie.next(data[i].s, stringLength)) ||
697 stringLength=strlen(data[i].s);
699 for(int32_t j=0; j<stringLength; ++j) {
767 int32_t stringLength=strlen(expectedString); local
768 int32_t partialLength=stringLength/3;
794 stringLength-partialLength)) ||
802 stringLength-partialLength)) ||
822 int32_t stringLength=strlen(expectedString); local
823 if(!trie.next(expectedString, stringLength/
[all...]
H A Ducharstrietest.cpp861 int32_t stringLength= (i&1) ? -1 : expectedString.length(); local
864 result=trie.next(expectedString.getTerminatedBuffer(), stringLength)) ||
877 stringLength=expectedString.length();
879 for(int32_t j=0; j<stringLength; ++j) {
939 int32_t stringLength=expectedString.length(); local
940 int32_t partialLength=stringLength/3;
966 stringLength-partialLength)) ||
974 stringLength-partialLength)) ||
994 int32_t stringLength=expectedString.length(); local
995 if(!trie.next(expectedString.getTerminatedBuffer(), stringLength/
[all...]
/external/webkit/Source/JavaScriptCore/wtf/url/src/
H A DURLParser.h477 static inline int consecutiveSlashes(const CHAR *string, int beginOffset, int stringLength) argument
480 while (beginOffset + count < stringLength && isURLSlash(string[beginOffset + count]))
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/
H A DShader.cpp94 int stringLength; local
98 stringLength = length[i];
102 stringLength = (int)strlen(string[i]);
105 strncpy(code, string[i], stringLength);
106 code += stringLength;
/external/icu4c/i18n/
H A Dbmsearch.cpp60 int32_t stringLength();
274 int32_t Target::stringLength() function in class:Target
662 int32_t tlen = target->stringLength();
/external/webkit/Source/JavaScriptCore/wtf/text/
H A DWTFString.cpp261 unsigned stringLength = this->length(); local
262 offset = min(offset, stringLength);
263 length = min(length, stringLength - offset);
265 if (!offset && length == stringLength)
/external/webkit/Source/WebKit/android/jni/
H A DWebHistory.cpp650 unsigned stringLength; local
651 if (!readUnsigned(data, end, stringLength)) {
658 ALOGV("Reading %-16s %d %.*s", dbgLabel, stringLength, stringLength, data);
661 if (!stringLength) {
666 if ((end < data) || ((unsigned)(end - data) < stringLength)) {
667 ALOGW("Not enough data to read content; tag=\"%s\" end=%p data=%p stringLength=%u",
668 dbgLabel ? dbgLabel : "<no tag>", end, data, stringLength);
673 if (stringLength > MAX_REASONABLE_STRING_LENGTH) {
674 ALOGW("String length is suspiciously large (>%d); tag=\"%s\" end=%p data=%p stringLength
[all...]
/external/harfbuzz/src/
H A Dharfbuzz-arabic.c886 static void shapedString(const HB_UChar16 *uc, hb_uint32 stringLength, hb_uint32 from, hb_uint32 len, HB_UChar16 *shapeBuffer, int *shapedLength, argument
899 assert(stringLength >= from + len);
911 if (f + l < stringLength)
942 const HB_UChar16 pch = nextChar(uc, stringLength, pos);
1062 if (f + l + item->item.pos < item->stringLength) {
1125 shapedString(item->string, item->stringLength, item->item.pos, item->item.length, shapedChars, &slen,
H A Dharfbuzz-shaper.cpp655 void HB_GetCharAttributes(const HB_UChar16 *string, hb_uint32 stringLength, argument
659 calcLineBreaks(string, stringLength, attributes);
687 void HB_GetWordBoundaries(const HB_UChar16 *string, hb_uint32 stringLength, argument
691 if (stringLength == 0)
695 for (hb_uint32 i = 1; i < stringLength; ++i) {
709 while (lookahead < stringLength) {
761 void HB_GetSentenceBoundaries(const HB_UChar16 *string, hb_uint32 stringLength, argument
765 if (stringLength == 0)
769 for (hb_uint32 i = 1; i < stringLength; ++i) {
778 while (lookahead < stringLength) {
[all...]
H A 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 in struct:HB_ShaperItem_
/external/webkit/Source/WebCore/platform/win/
H A DClipboardUtilitiesWin.cpp701 size_t stringLength = charString.length(); local
702 medium.hGlobal = ::GlobalAlloc(GPTR, stringLength + 1);
706 memcpy(buffer, charString.data(), stringLength);
707 buffer[stringLength] = 0;
/external/webkit/Tools/DumpRenderTree/win/
H A DDumpRenderTree.cpp755 unsigned stringLength = SysStringLen(resultString); local
756 int bufferSize = ::WideCharToMultiByte(CP_UTF8, 0, resultString, stringLength, 0, 0, 0, 0);
758 ::WideCharToMultiByte(CP_UTF8, 0, resultString, stringLength, buffer, bufferSize + 1, 0, 0);
/external/freetype/include/freetype/internal/
H A Dtttypes.h194 /* stringLength :: The length of the string in bytes. */
207 FT_UShort stringLength; member in struct:TT_NameEntryRec_
/external/zxing/core/
H A Dcore.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/zxing/ com/google/zxing/aztec/ ...
/external/emma/lib/
H A Demma.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/vladium/ com/vladium/app/ com/vladium/app/IAppVersion ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.jdt.core_3.6.2.v_A76_R36x.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 455 milliseconds