/external/proguard/src/proguard/gui/splash/ |
TypeWriterString.java | 57 int stringLength = string.length(); 58 int length = (int)(stringLength * t + 0.5); 63 if (t > 0.0 && length < stringLength)
|
/external/proguard/src/proguard/util/ |
ExtensionMatcher.java | 58 int stringLength = string.length(); 61 return string.regionMatches(true, stringLength - suffixLength, suffix, 0, suffixLength);
|
/external/freetype/src/base/ |
ftsnames.c | 61 if ( entry->stringLength > 0 && entry->string == NULL ) 67 if ( FT_NEW_ARRAY ( entry->string, entry->stringLength ) || 69 FT_STREAM_READ( entry->string, entry->stringLength ) ) 72 entry->stringLength = 0; 81 aname->string_len = entry->stringLength;
|
/external/smali/dexlib/src/main/java/org/jf/dexlib/ |
OdexDependencies.java | 54 int stringLength = in.readInt(); 57 dependencies[i] = new String(in.readBytes(stringLength), 0, stringLength-1, "US-ASCII");
|
/external/webkit/Source/WebCore/platform/graphics/mac/ |
ComplexTextController.h | 72 static PassRefPtr<ComplexTextRun> create(CTRunRef ctRun, const SimpleFontData* fontData, const UChar* characters, unsigned stringLocation, size_t stringLength, CFRange runRange) 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) 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) 85 return adoptRef(new ComplexTextRun(fontData, characters, stringLocation, stringLength, ltr)); 92 size_t stringLength() const { return m_stringLength; } 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, bool ltr) [all...] |
ComplexTextControllerATSUI.cpp | 144 ComplexTextController::ComplexTextRun::ComplexTextRun(ATSUTextLayout atsuTextLayout, const SimpleFontData* fontData, const UChar* characters, unsigned stringLocation, size_t stringLength, bool ltr, bool directionalOverride) 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 * sizeof(UChar)) [all...] |
ComplexTextController.cpp | 124 int stringLength = complexTextRun.stringLength(); 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) 308 , m_stringLength(stringLength) 309 , m_indexEnd(stringLength)
|
ComplexTextControllerCoreText.cpp | 45 ComplexTextController::ComplexTextRun::ComplexTextRun(CTRunRef ctRun, const SimpleFontData* fontData, const UChar* characters, unsigned stringLocation, size_t stringLength, CFRange runRange) 49 , m_stringLength(stringLength)
|
/external/webkit/Source/WebCore/platform/text/ |
TextStream.cpp | 87 size_t stringLength = strlen(string); 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/emma/core/java12/com/vladium/util/ |
WCMatcher.java | 238 final int stringLength = string.length; 269 if (si_i == stringLength) return false; 283 if (si + i == stringLength) return true; 297 final int stringLength = string.length; 328 if (si_i == stringLength) return false; 342 if (si + i == stringLength) return true;
|
/external/webkit/Tools/TestWebKitAPI/ |
PlatformUtilities.cpp | 57 size_t stringLength = WKStringGetUTF8CString(string, buffer.get(), bufferSize); 58 return std::string(buffer.get(), stringLength - 1);
|
/external/harfbuzz/src/ |
harfbuzz-shaper.h | 150 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 */
|
/external/proguard/src/proguard/ |
DataEntryReaderFactory.java | 150 int stringLength = string.length(); 153 return string.regionMatches(true, stringLength - suffixLength, suffix, 0, suffixLength);
|
DataEntryWriterFactory.java | 159 int stringLength = string.length(); 162 return string.regionMatches(true, stringLength - suffixLength, suffix, 0, suffixLength);
|
/external/webkit/Tools/WebKitTestRunner/ |
StringFunctions.h | 71 size_t stringLength = WKStringGetUTF8CString(string, buffer.get(), bufferSize); 72 return std::string(buffer.get(), stringLength - 1);
|
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/ |
Shader.cpp | 94 int stringLength; 98 stringLength = length[i]; 102 stringLength = (int)strlen(string[i]); 105 strncpy(code, string[i], stringLength); 106 code += stringLength;
|
/external/icu4c/test/cintltst/ |
usettest.c | 273 int32_t stringLength = 0; 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; 425 stringLength = (int32_t)(p - stringStart - 1); 426 strncpy(strCopy, stringStart, stringLength); 427 strCopy[stringLength] = 0 [all...] |
/external/proguard/src/proguard/classfile/constant/ |
Utf8Constant.java | 191 int stringLength = string.length(); 192 for (int stringIndex = 0; stringIndex < stringLength; stringIndex++) 208 for (int stringIndex = 0; stringIndex < stringLength; stringIndex++)
|
/external/freetype/src/sfnt/ |
sfdriver.c | 238 if ( name->nameID == 6 && name->stringLength > 0 ) 256 FT_UInt len = name->stringLength / 2; 262 if ( !FT_ALLOC( result, name->stringLength + 1 ) ) 270 FT_FRAME_ENTER( name->stringLength ) ) 273 name->stringLength = 0; 298 FT_UInt len = name->stringLength; 313 name->stringLength = 0;
|
/external/icu4c/test/intltest/ |
bytestrietest.cpp | 682 int32_t stringLength= (i&1) ? -1 : strlen(data[i].s); 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); 768 int32_t partialLength=stringLength/3; 794 stringLength-partialLength)) || 802 stringLength-partialLength)) || 822 int32_t stringLength=strlen(expectedString); 823 if(!trie.next(expectedString, stringLength/2)) [all...] |
ucharstrietest.cpp | 861 int32_t stringLength= (i&1) ? -1 : expectedString.length(); 864 result=trie.next(expectedString.getTerminatedBuffer(), stringLength)) || 877 stringLength=expectedString.length(); 879 for(int32_t j=0; j<stringLength; ++j) { [all...] |
/external/webkit/Source/WebKit/android/jni/ |
WebHistory.cpp | 653 unsigned stringLength; 654 if (!readUnsigned(data, end, stringLength)) { 661 ALOGV("Reading %-16s %d %.*s", dbgLabel, stringLength, stringLength, data); 664 if (!stringLength) { 669 if ((end < data) || ((unsigned)(end - data) < stringLength)) { 670 ALOGW("Not enough data to read content; tag=\"%s\" end=%p data=%p stringLength=%u", 671 dbgLabel ? dbgLabel : "<no tag>", end, data, stringLength); 676 if (stringLength > MAX_REASONABLE_STRING_LENGTH) { 677 ALOGW("String length is suspiciously large (>%d); tag=\"%s\" end=%p data=%p stringLength=%u" [all...] |
/dalvik/vm/ |
Exception.h | 444 void dvmThrowStringIndexOutOfBoundsExceptionWithIndex(jsize stringLength, 452 void dvmThrowStringIndexOutOfBoundsExceptionWithRegion(jsize stringLength,
|
/external/webkit/Source/JavaScriptCore/runtime/ |
UString.cpp | 210 unsigned stringLength = this->length(); 211 offset = min(offset, stringLength); 212 length = min(length, stringLength - offset); 214 if (!offset && length == stringLength)
|
/external/webkit/Source/WebKit2/Shared/mac/ |
ArgumentCodersMac.mm | 198 NSUInteger stringLength = [plainString.get() length]; 216 ASSERT(rangeLocation + rangeLength <= stringLength); 217 if (rangeLocation + rangeLength <= rangeLocation || rangeLocation + rangeLength > stringLength)
|