/external/freetype/src/base/ |
D | ftsnames.c | 63 if ( entry->stringLength > 0 && !entry->string ) in FT_Get_Sfnt_Name() 69 if ( FT_NEW_ARRAY ( entry->string, entry->stringLength ) || in FT_Get_Sfnt_Name() 71 FT_STREAM_READ( entry->string, entry->stringLength ) ) in FT_Get_Sfnt_Name() 74 entry->stringLength = 0; in FT_Get_Sfnt_Name() 83 aname->string_len = entry->stringLength; in FT_Get_Sfnt_Name() 119 if ( entry->stringLength > 0 && !entry->string ) in FT_Get_Sfnt_LangTag() 125 if ( FT_NEW_ARRAY ( entry->string, entry->stringLength ) || in FT_Get_Sfnt_LangTag() 127 FT_STREAM_READ( entry->string, entry->stringLength ) ) in FT_Get_Sfnt_LangTag() 130 entry->stringLength = 0; in FT_Get_Sfnt_LangTag() 135 alangTag->string_len = entry->stringLength; in FT_Get_Sfnt_LangTag()
|
/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/icu/icu4c/source/test/cintltst/ |
D | usettest.c | 274 int32_t stringLength = 0; in expectContainment() local 279 stringLength = (int32_t)(p - stringStart - 1); in expectContainment() 280 strncpy(strCopy, stringStart, stringLength); in expectContainment() 281 strCopy[stringLength] = 0; in expectContainment() 283 u_charsToUChars(stringStart, ustr, stringLength); in expectContainment() 285 if (uset_containsString(set, ustr, stringLength) == isIn) { in expectContainment() 421 int32_t stringLength = 0; in expectItems() local 426 stringLength = (int32_t)(p - stringStart - 1); in expectItems() 427 strncpy(strCopy, stringStart, stringLength); in expectItems() 428 strCopy[stringLength] = 0; in expectItems() [all …]
|
/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/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()
|
D | appledristr.h | 196 CARD32 stringLength B32; /* 0 on error */ 239 CARD32 stringLength B32; /*32 */
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/ |
D | CharSequences.java | 136 int stringLength = string.length(); in compare() local 137 if (stringLength == 0) { in compare() 148 return stringLength - 1; in compare() 156 if (stringLength > 1) { in compare() 163 return stringLength - 2; in compare()
|
/external/icu/android_icu4j/src/main/java/android/icu/lang/ |
D | CharSequences.java | 138 int stringLength = string.length(); in compare() local 139 if (stringLength == 0) { in compare() 150 return stringLength - 1; in compare() 158 if (stringLength > 1) { in compare() 165 return stringLength - 2; in compare()
|
/external/v8/src/js/ |
D | harmony-string-padding.js | 19 var stringLength = thisString.length; 21 if (maxLength <= stringLength) return ""; 33 var fillLength = maxLength - stringLength;
|
/external/icu/icu4c/source/test/intltest/ |
D | bytestrietest.cpp | 694 int32_t stringLength= (i&1) ? -1 : strlen(data[i].s); in checkNext() local 696 if( !USTRINGTRIE_HAS_VALUE(result=trie.next(data[i].s, stringLength)) || in checkNext() 709 stringLength=strlen(data[i].s); in checkNext() 711 for(int32_t j=0; j<stringLength; ++j) { in checkNext() 779 int32_t stringLength=strlen(expectedString); in checkNextWithState() local 780 int32_t partialLength=stringLength/3; in checkNextWithState() 806 stringLength-partialLength)) || in checkNextWithState() 814 stringLength-partialLength)) || in checkNextWithState() 834 int32_t stringLength=strlen(expectedString); in checkNextString() local 835 if(!trie.next(expectedString, stringLength/2)) { in checkNextString() [all …]
|
D | ucharstrietest.cpp | 863 int32_t stringLength= (i&1) ? -1 : expectedString.length(); in checkNext() local 866 result=trie.next(expectedString.getTerminatedBuffer(), stringLength)) || in checkNext() 879 stringLength=expectedString.length(); in checkNext() 881 for(int32_t j=0; j<stringLength; ++j) { in checkNext() 941 int32_t stringLength=expectedString.length(); in checkNextWithState() local 942 int32_t partialLength=stringLength/3; in checkNextWithState() 968 stringLength-partialLength)) || in checkNextWithState() 976 stringLength-partialLength)) || in checkNextWithState() 996 int32_t stringLength=expectedString.length(); in checkNextString() local 997 if(!trie.next(expectedString.getTerminatedBuffer(), stringLength/2)) { in checkNextString() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | BytesTrieTest.java | 601 int stringLength=data[i].s.length(); in checkNext() local 603 if( !(result=trie.next(data[i].bytes, 0, stringLength)).hasValue() || in checkNext() 617 for(int j=0; j<stringLength; ++j) { in checkNext() 681 int stringLength=data[i].s.length(); in checkNextWithState() local 682 int partialLength=stringLength/3; in checkNextWithState() 705 } else if(!(result=trie.next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState() 710 next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState() 729 int stringLength=data[i].s.length(); in checkNextString() local 730 if(!trie.next(expectedString, 0, stringLength/2).matches()) { in checkNextString() 735 trie.next(expectedString, stringLength/2, stringLength); in checkNextString()
|
D | CharsTrieTest.java | 744 int stringLength=expectedString.length(); in checkNext() local 746 if( !(result=trie.next(expectedString, 0, stringLength)).hasValue() || in checkNext() 760 for(int j=0; j<stringLength; ++j) { in checkNext() 827 int stringLength=expectedString.length(); in checkNextWithState() local 828 int partialLength=stringLength/3; in checkNextWithState() 851 } else if(!(result=trie.next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState() 856 next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState() 875 int stringLength=expectedString.length(); in checkNextString() local 876 if(!trie.next(expectedString, 0, stringLength/2).matches()) { in checkNextString() 881 trie.next(expectedString, stringLength/2, stringLength); in checkNextString()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | BytesTrieTest.java | 598 int stringLength=data[i].s.length(); in checkNext() local 600 if( !(result=trie.next(data[i].bytes, 0, stringLength)).hasValue() || in checkNext() 614 for(int j=0; j<stringLength; ++j) { in checkNext() 678 int stringLength=data[i].s.length(); in checkNextWithState() local 679 int partialLength=stringLength/3; in checkNextWithState() 702 } else if(!(result=trie.next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState() 707 next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState() 726 int stringLength=data[i].s.length(); in checkNextString() local 727 if(!trie.next(expectedString, 0, stringLength/2).matches()) { in checkNextString() 732 trie.next(expectedString, stringLength/2, stringLength); in checkNextString()
|
D | CharsTrieTest.java | 741 int stringLength=expectedString.length(); in checkNext() local 743 if( !(result=trie.next(expectedString, 0, stringLength)).hasValue() || in checkNext() 757 for(int j=0; j<stringLength; ++j) { in checkNext() 824 int stringLength=expectedString.length(); in checkNextWithState() local 825 int partialLength=stringLength/3; in checkNextWithState() 848 } else if(!(result=trie.next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState() 853 next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState() 872 int stringLength=expectedString.length(); in checkNextString() local 873 if(!trie.next(expectedString, 0, stringLength/2).matches()) { in checkNextString() 878 trie.next(expectedString, stringLength/2, stringLength); in checkNextString()
|
/external/swiftshader/src/OpenGL/libGL/ |
D | Shader.cpp | 72 int stringLength; in setSource() local 76 stringLength = length[i]; in setSource() 80 stringLength = (int)strlen(string[i]); in setSource() 83 strncpy(code, string[i], stringLength); in setSource() 84 code += stringLength; in setSource()
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/ |
D | TypesLengths.java | 106 private static int stringLength; field in TypesLengths 168 return stringLength; in getTypeLength() 258 stringLength = typeLength; in setTypeLength()
|
/external/swiftshader/src/OpenGL/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/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/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/freetype/src/sfnt/ |
D | sfdriver.c | 489 if ( FT_ALLOC( result, entry->stringLength / 2 + 1 ) ) in get_win_string() 493 FT_FRAME_ENTER( entry->stringLength ) ) in get_win_string() 496 entry->stringLength = 0; in get_win_string() 506 for ( len = entry->stringLength / 2; len > 0; len--, p += 2 ) in get_win_string() 550 if ( FT_ALLOC( result, entry->stringLength + 1 ) ) in get_apple_string() 554 FT_FRAME_ENTER( entry->stringLength ) ) in get_apple_string() 558 entry->stringLength = 0; in get_apple_string() 567 for ( len = entry->stringLength; len > 0; len--, p++ ) in get_apple_string() 608 if ( name->nameID == id && name->stringLength > 0 ) in sfnt_get_name_id()
|
D | ttload.c | 835 FT_FRAME_USHORT( stringLength ), in tt_face_load_name() 846 FT_FRAME_USHORT( stringLength ), in tt_face_load_name() 909 entry->stringOffset + entry->stringLength > storage_limit ) in tt_face_load_name() 912 entry->stringLength = 0; in tt_face_load_name() 939 if ( entry->stringLength == 0 ) in tt_face_load_name() 945 entry->stringOffset + entry->stringLength > storage_limit ) in tt_face_load_name() 956 !table->langTags[entry->languageID - 0x8000U].stringLength ) in tt_face_load_name()
|
D | sfobjs.c | 66 len = (FT_UInt)entry->stringLength / 2; in tt_name_ascii_from_utf16() 101 len = (FT_UInt)entry->stringLength; in tt_name_ascii_from_other() 167 if ( rec->nameID == nameid && rec->stringLength > 0 ) in tt_face_get_name() 269 if ( FT_QNEW_ARRAY ( rec->string, rec->stringLength ) || in tt_face_get_name() 271 FT_STREAM_READ( rec->string, rec->stringLength ) ) in tt_face_get_name() 274 rec->stringLength = 0; in tt_face_get_name()
|
/external/proguard/src/proguard/ |
D | ClassPathEntry.java | 209 int stringLength = string.length(); in endsWithIgnoreCase() local 212 return string.regionMatches(true, stringLength - in endsWithIgnoreCase()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowPathParser.java | 13 public static long nCreatePathDataFromString(String pathString, int stringLength) { in nCreatePathDataFromString() argument
|