Home
last modified time | relevance | path

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

12

/external/pdfium/third_party/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/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/icu/icu4c/source/test/cintltst/
Dusettest.c272 int32_t stringLength = 0; in expectContainment() local
277 stringLength = (int32_t)(p - stringStart - 1); in expectContainment()
278 strncpy(strCopy, stringStart, stringLength); in expectContainment()
279 strCopy[stringLength] = 0; in expectContainment()
281 u_charsToUChars(stringStart, ustr, stringLength); in expectContainment()
283 if (uset_containsString(set, ustr, stringLength) == isIn) { in expectContainment()
419 int32_t stringLength = 0; in expectItems() local
424 stringLength = (int32_t)(p - stringStart - 1); in expectItems()
425 strncpy(strCopy, stringStart, stringLength); in expectItems()
426 strCopy[stringLength] = 0; in expectItems()
[all …]
/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/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/
DCharSequences.java134 int stringLength = string.length(); in compare() local
135 if (stringLength == 0) { in compare()
146 return stringLength - 1; in compare()
154 if (stringLength > 1) { in compare()
161 return stringLength - 2; in compare()
/external/pdfium/third_party/freetype/src/sfnt/
Dsfdriver.c241 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()
Dttload.c775 FT_FRAME_USHORT( stringLength ), in tt_face_load_name()
831 if ( entry->stringLength == 0 ) in tt_face_load_name()
837 entry->stringOffset + entry->stringLength > storage_limit ) in tt_face_load_name()
841 entry->stringLength = 0; in tt_face_load_name()
886 entry->stringLength = 0; in tt_face_free_name()
Dsfobjs.c60 len = (FT_UInt)entry->stringLength / 2; in tt_name_entry_ascii_from_utf16()
95 len = (FT_UInt)entry->stringLength; in tt_name_entry_ascii_from_other()
178 if ( rec->nameID == nameid && rec->stringLength > 0 ) in tt_face_get_name()
280 if ( FT_QNEW_ARRAY ( rec->string, rec->stringLength ) || in tt_face_get_name()
282 FT_STREAM_READ( rec->string, rec->stringLength ) ) in tt_face_get_name()
285 rec->stringLength = 0; in tt_face_get_name()
/external/freetype/src/sfnt/
Dsfdriver.c241 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()
Dttload.c812 FT_FRAME_USHORT( stringLength ), in tt_face_load_name()
868 if ( entry->stringLength == 0 ) in tt_face_load_name()
874 entry->stringOffset + entry->stringLength > storage_limit ) in tt_face_load_name()
878 entry->stringLength = 0; in tt_face_load_name()
923 entry->stringLength = 0; in tt_face_free_name()
Dsfobjs.c60 len = (FT_UInt)entry->stringLength / 2; in tt_name_entry_ascii_from_utf16()
95 len = (FT_UInt)entry->stringLength; in tt_name_entry_ascii_from_other()
178 if ( rec->nameID == nameid && rec->stringLength > 0 ) in tt_face_get_name()
280 if ( FT_QNEW_ARRAY ( rec->string, rec->stringLength ) || in tt_face_get_name()
282 FT_STREAM_READ( rec->string, rec->stringLength ) ) in tt_face_get_name()
285 rec->stringLength = 0; in tt_face_get_name()
/external/mesa3d/src/glx/apple/
Dappledri.c337 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()
Dappledristr.h196 CARD32 stringLength B32; /* 0 on error */
239 CARD32 stringLength B32; /*32 */
/external/icu/icu4c/source/test/intltest/
Dbytestrietest.cpp681 int32_t stringLength= (i&1) ? -1 : strlen(data[i].s); in checkNext() local
683 if( !USTRINGTRIE_HAS_VALUE(result=trie.next(data[i].s, stringLength)) || in checkNext()
696 stringLength=strlen(data[i].s); in checkNext()
698 for(int32_t j=0; j<stringLength; ++j) { in checkNext()
766 int32_t stringLength=strlen(expectedString); in checkNextWithState() local
767 int32_t partialLength=stringLength/3; in checkNextWithState()
793 stringLength-partialLength)) || in checkNextWithState()
801 stringLength-partialLength)) || in checkNextWithState()
821 int32_t stringLength=strlen(expectedString); in checkNextString() local
822 if(!trie.next(expectedString, stringLength/2)) { in checkNextString()
[all …]
Ducharstrietest.cpp860 int32_t stringLength= (i&1) ? -1 : expectedString.length(); in checkNext() local
863 result=trie.next(expectedString.getTerminatedBuffer(), stringLength)) || in checkNext()
876 stringLength=expectedString.length(); in checkNext()
878 for(int32_t j=0; j<stringLength; ++j) { in checkNext()
938 int32_t stringLength=expectedString.length(); in checkNextWithState() local
939 int32_t partialLength=stringLength/3; in checkNextWithState()
965 stringLength-partialLength)) || in checkNextWithState()
973 stringLength-partialLength)) || in checkNextWithState()
993 int32_t stringLength=expectedString.length(); in checkNextString() local
994 if(!trie.next(expectedString.getTerminatedBuffer(), stringLength/2)) { in checkNextString()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DBytesTrieTest.java576 int stringLength=data[i].s.length(); in checkNext() local
578 if( !(result=trie.next(data[i].bytes, 0, stringLength)).hasValue() || in checkNext()
592 for(int j=0; j<stringLength; ++j) { in checkNext()
656 int stringLength=data[i].s.length(); in checkNextWithState() local
657 int partialLength=stringLength/3; in checkNextWithState()
680 } else if(!(result=trie.next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState()
685 next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState()
704 int stringLength=data[i].s.length(); in checkNextString() local
705 if(!trie.next(expectedString, 0, stringLength/2).matches()) { in checkNextString()
710 trie.next(expectedString, stringLength/2, stringLength); in checkNextString()
DCharsTrieTest.java716 int stringLength=expectedString.length(); in checkNext() local
718 if( !(result=trie.next(expectedString, 0, stringLength)).hasValue() || in checkNext()
732 for(int j=0; j<stringLength; ++j) { in checkNext()
799 int stringLength=expectedString.length(); in checkNextWithState() local
800 int partialLength=stringLength/3; in checkNextWithState()
823 } else if(!(result=trie.next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState()
828 next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState()
847 int stringLength=expectedString.length(); in checkNextString() local
848 if(!trie.next(expectedString, 0, stringLength/2).matches()) { in checkNextString()
853 trie.next(expectedString, stringLength/2, stringLength); in checkNextString()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
DTypesLengths.java106 private static int stringLength; field in TypesLengths
168 return stringLength; in getTypeLength()
258 stringLength = typeLength; in setTypeLength()
/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/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/proguard/src/proguard/
DClassPathEntry.java209 int stringLength = string.length(); in endsWithIgnoreCase() local
212 return string.regionMatches(true, stringLength - in endsWithIgnoreCase()
/external/v8/test/mjsunit/
Dconstant-folding-2.js225 test(function stringLength() { function
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRLexer.m223 unsigned int stringLength = [aString length];
224 while ( i < stringLength ) {
/external/pdfium/third_party/freetype/include/internal/
Dtttypes.h276 FT_UShort stringLength; member

12