/external/chromium_org/third_party/WebKit/Source/platform/text/ |
D | TextBreakIterator.cpp | 29 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/freetype/src/base/ |
D | ftsnames.c | 61 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/ |
D | ftsnames.c | 61 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/ |
D | ComplexTextController.h | 77 …a* fontData, const UChar* characters, unsigned stringLocation, size_t stringLength, CFRange runRan… in create() argument 79 … adoptRef(new ComplexTextRun(ctRun, fontData, characters, stringLocation, stringLength, runRange)); in create() 82 …ontData* fontData, const UChar* characters, unsigned stringLocation, size_t stringLength, bool ltr) in create() argument 84 … return adoptRef(new ComplexTextRun(fontData, characters, stringLocation, stringLength, ltr)); in create() 91 size_t stringLength() const { return m_stringLength; } in stringLength() function 103 …leFontData*, const UChar* characters, unsigned stringLocation, size_t stringLength, CFRange runRan… 104 … SimpleFontData*, const UChar* characters, unsigned stringLocation, size_t stringLength, bool ltr);
|
/external/emma/core/java12/com/vladium/util/ |
D | WCMatcher.java | 238 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/ |
D | TypeWriterString.java | 57 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/ |
D | usettest.c | 273 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/ |
D | usettest.c | 273 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/smali/dexlib/src/main/java/org/jf/dexlib/ |
D | OdexDependencies.java | 54 int stringLength = in.readInt(); in OdexDependencies() local 57 … dependencies[i] = new String(in.readBytes(stringLength), 0, stringLength-1, "US-ASCII"); in OdexDependencies()
|
/external/freetype/src/sfnt/ |
D | sfdriver.c | 241 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()
|
D | sfobjs.c | 59 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/chromium_org/third_party/freetype/src/sfnt/ |
D | sfdriver.c | 241 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/mesa3d/src/glx/apple/ |
D | appledri.c | 337 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/ |
D | appledri.c | 337 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/icu4c/test/intltest/ |
D | bytestrietest.cpp | 682 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 …]
|
D | ucharstrietest.cpp | 861 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/ |
D | ExtensionMatcher.java | 58 int stringLength = string.length(); in endsWithIgnoreCase() local 61 return string.regionMatches(true, stringLength - suffixLength, suffix, 0, suffixLength); in endsWithIgnoreCase()
|
/external/harfbuzz/src/ |
D | 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 */ member
|
D | harfbuzz-arabic.c | 886 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() 1131 …shapedString(item->string, item->stringLength, item->item.pos, item->item.length, shapedChars, &sl… in HB_ArabicShape()
|
/external/proguard/src/proguard/classfile/constant/ |
D | Utf8Constant.java | 191 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/chromium_org/third_party/angle/src/libGLESv2/ |
D | Shader.cpp | 73 int stringLength; in setSource() local 77 stringLength = length[i]; in setSource() 81 stringLength = (int)strlen(string[i]); in setSource() 84 strncpy(code, string[i], stringLength); in setSource() 85 code += stringLength; in setSource()
|
/external/proguard/src/proguard/ |
D | DataEntryReaderFactory.java | 150 int stringLength = string.length(); in endsWithIgnoreCase() local 153 return string.regionMatches(true, stringLength - suffixLength, suffix, 0, suffixLength); in endsWithIgnoreCase()
|
D | DataEntryWriterFactory.java | 159 int stringLength = string.length(); in endsWithIgnoreCase() local 162 return string.regionMatches(true, stringLength - suffixLength, suffix, 0, suffixLength); in endsWithIgnoreCase()
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
D | CSSTokenizer-in.cpp | 1511 unsigned stringLength = string.length(); in setupTokenizer() local 1512 unsigned length = stringLength + m_parsedTextPrefixLength + m_parsedTextSuffixLength + 1; in setupTokenizer() 1515 if (!stringLength || string.is8Bit()) { in setupTokenizer() 1520 if (stringLength) in setupTokenizer() 1521 …(m_dataStart8.get() + m_parsedTextPrefixLength, string.characters8(), stringLength * sizeof(LChar)… in setupTokenizer() 1523 unsigned start = m_parsedTextPrefixLength + stringLength; in setupTokenizer() 1542 ASSERT(stringLength); in setupTokenizer() 1543 …memcpy(m_dataStart16.get() + m_parsedTextPrefixLength, string.characters16(), stringLength * sizeo… in setupTokenizer() 1545 unsigned start = m_parsedTextPrefixLength + stringLength; in setupTokenizer()
|
/external/harfbuzz_ng/src/hb-old/ |
D | harfbuzz-arabic.c | 886 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() 1131 …shapedString(item->string, item->stringLength, item->item.pos, item->item.length, shapedChars, &sl… in HB_ArabicShape()
|