Home
last modified time | relevance | path

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

123

/external/freetype/src/base/
Dftsnames.c62 if ( entry->stringLength > 0 && !entry->string ) in FT_Get_Sfnt_Name()
68 if ( FT_QNEW_ARRAY ( entry->string, entry->stringLength ) || in FT_Get_Sfnt_Name()
70 FT_STREAM_READ( entry->string, entry->stringLength ) ) in FT_Get_Sfnt_Name()
73 entry->stringLength = 0; in FT_Get_Sfnt_Name()
82 aname->string_len = entry->stringLength; in FT_Get_Sfnt_Name()
118 if ( entry->stringLength > 0 && !entry->string ) in FT_Get_Sfnt_LangTag()
124 if ( FT_QNEW_ARRAY ( entry->string, entry->stringLength ) || in FT_Get_Sfnt_LangTag()
126 FT_STREAM_READ( entry->string, entry->stringLength ) ) in FT_Get_Sfnt_LangTag()
129 entry->stringLength = 0; in FT_Get_Sfnt_LangTag()
134 alangTag->string_len = entry->stringLength; in FT_Get_Sfnt_LangTag()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DExperimentalTestDataProvider.java41 private final int stringLength; field in ExperimentalTestDataProvider
43 public ExperimentalTestDataProvider(int stringLength) { in ExperimentalTestDataProvider() argument
44 this.stringLength = stringLength; in ExperimentalTestDataProvider()
80 StringBuilder builder = new StringBuilder(stringLength); in getString()
81 for (int i = 0; i < stringLength; ++i) { in getString()
/external/cronet/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DExperimentalTestDataProvider.java41 private final int stringLength; field in ExperimentalTestDataProvider
43 public ExperimentalTestDataProvider(int stringLength) { in ExperimentalTestDataProvider() argument
44 this.stringLength = stringLength; in ExperimentalTestDataProvider()
80 StringBuilder builder = new StringBuilder(stringLength); in getString()
81 for (int i = 0; i < stringLength; ++i) { in getString()
/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/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/
DVariantFolder.java149 int stringLength = source.length(); in getClosure() local
150 if (stringLength == 0) { in getClosure()
155 Set<String>[][] combos = new Set[stringLength][]; in getClosure()
156 for (int i = 0; i < stringLength; ++i) { in getClosure()
157 combos[i] = new Set[stringLength - i]; in getClosure()
159 for (int i = 0; i < stringLength; ++i) { in getClosure()
163 for (int level = 1; level < stringLength; ++level) { in getClosure()
165 for (int start = 0; start < stringLength - level; ++start) { in getClosure()
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowNativePathParser.java25 protected static void nParseStringForPath(long pathPtr, String pathString, int stringLength) { in nParseStringForPath() argument
26 PathParserNatives.nParseStringForPath(pathPtr, pathString, stringLength); in nParseStringForPath()
30 protected static long nCreatePathDataFromString(String pathString, int stringLength) { in nCreatePathDataFromString() argument
31 return PathParserNatives.nCreatePathDataFromString(pathString, stringLength); in nCreatePathDataFromString()
/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/cronet/third_party/icu/source/test/cintltst/
Dusettest.c328 int32_t stringLength = 0; in expectContainment() local
333 stringLength = (int32_t)(p - stringStart - 1); in expectContainment()
334 strncpy(strCopy, stringStart, stringLength); in expectContainment()
335 strCopy[stringLength] = 0; in expectContainment()
337 u_charsToUChars(stringStart, ustr, stringLength); in expectContainment()
339 if (uset_containsString(set, ustr, stringLength) == isIn) { in expectContainment()
486 int32_t stringLength = 0; in expectItems() local
491 stringLength = (int32_t)(p - stringStart - 1); in expectItems()
492 strncpy(strCopy, stringStart, stringLength); in expectItems()
493 strCopy[stringLength] = 0; in expectItems()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dusettest.c328 int32_t stringLength = 0; in expectContainment() local
333 stringLength = (int32_t)(p - stringStart - 1); in expectContainment()
334 strncpy(strCopy, stringStart, stringLength); in expectContainment()
335 strCopy[stringLength] = 0; in expectContainment()
337 u_charsToUChars(stringStart, ustr, stringLength); in expectContainment()
339 if (uset_containsString(set, ustr, stringLength) == isIn) { in expectContainment()
486 int32_t stringLength = 0; in expectItems() local
491 stringLength = (int32_t)(p - stringStart - 1); in expectItems()
492 strncpy(strCopy, stringStart, stringLength); in expectItems()
493 strCopy[stringLength] = 0; in expectItems()
[all …]
/external/cronet/third_party/icu/source/test/intltest/
Dbytestrietest.cpp737 int32_t stringLength= (i&1) ? -1 : static_cast<int32_t>(strlen(data[i].s)); in checkNext() local
739 if( !USTRINGTRIE_HAS_VALUE(result=trie.next(data[i].s, stringLength)) || in checkNext()
752 stringLength = static_cast<int32_t>(strlen(data[i].s)); in checkNext()
754 for(int32_t j=0; j<stringLength; ++j) { in checkNext()
822 int32_t stringLength= static_cast<int32_t>(strlen(expectedString)); in checkNextWithState() local
823 int32_t partialLength = stringLength / 3; in checkNextWithState()
849 stringLength-partialLength)) || in checkNextWithState()
857 stringLength-partialLength)) || in checkNextWithState()
876 int32_t stringLength= static_cast<int32_t>(strlen(expectedString)); in checkNextWithState64() local
877 int32_t partialLength = stringLength / 3; in checkNextWithState64()
[all …]
Ducharstrietest.cpp865 int32_t stringLength= (i&1) ? -1 : expectedString.length(); in checkNext() local
868 result=trie.next(expectedString.getTerminatedBuffer(), stringLength)) || in checkNext()
881 stringLength=expectedString.length(); in checkNext()
883 for(int32_t j=0; j<stringLength; ++j) { in checkNext()
943 int32_t stringLength=expectedString.length(); in checkNextWithState() local
944 int32_t partialLength=stringLength/3; in checkNextWithState()
970 stringLength-partialLength)) || in checkNextWithState()
978 stringLength-partialLength)) || in checkNextWithState()
997 int32_t stringLength=expectedString.length(); in checkNextWithState64() local
998 int32_t partialLength = stringLength / 3; in checkNextWithState64()
[all …]
/external/icu/icu4c/source/test/intltest/
Dbytestrietest.cpp737 int32_t stringLength= (i&1) ? -1 : static_cast<int32_t>(strlen(data[i].s)); in checkNext() local
739 if( !USTRINGTRIE_HAS_VALUE(result=trie.next(data[i].s, stringLength)) || in checkNext()
752 stringLength = static_cast<int32_t>(strlen(data[i].s)); in checkNext()
754 for(int32_t j=0; j<stringLength; ++j) { in checkNext()
822 int32_t stringLength= static_cast<int32_t>(strlen(expectedString)); in checkNextWithState() local
823 int32_t partialLength = stringLength / 3; in checkNextWithState()
849 stringLength-partialLength)) || in checkNextWithState()
857 stringLength-partialLength)) || in checkNextWithState()
876 int32_t stringLength= static_cast<int32_t>(strlen(expectedString)); in checkNextWithState64() local
877 int32_t partialLength = stringLength / 3; in checkNextWithState64()
[all …]
Ducharstrietest.cpp865 int32_t stringLength= (i&1) ? -1 : expectedString.length(); in checkNext() local
868 result=trie.next(expectedString.getTerminatedBuffer(), stringLength)) || in checkNext()
881 stringLength=expectedString.length(); in checkNext()
883 for(int32_t j=0; j<stringLength; ++j) { in checkNext()
943 int32_t stringLength=expectedString.length(); in checkNextWithState() local
944 int32_t partialLength=stringLength/3; in checkNextWithState()
970 stringLength-partialLength)) || in checkNextWithState()
978 stringLength-partialLength)) || in checkNextWithState()
997 int32_t stringLength=expectedString.length(); in checkNextWithState64() local
998 int32_t partialLength = stringLength / 3; in checkNextWithState64()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/
DCharSequences.java136 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/
DCharSequences.java138 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/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()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DBytesTrieTest.java657 int stringLength=data[i].s.length(); in checkNext() local
659 if( !(result=trie.next(data[i].bytes, 0, stringLength)).hasValue() || in checkNext()
673 for(int j=0; j<stringLength; ++j) { in checkNext()
737 int stringLength=data[i].s.length(); in checkNextWithState() local
738 int partialLength=stringLength/3; in checkNextWithState()
761 } else if(!(result=trie.next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState()
766 next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState()
784 int stringLength=data[i].s.length(); in checkNextWithState64() local
785 int partialLength=stringLength/3; in checkNextWithState64()
809 } else if(!(result=trie.next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState64()
[all …]
DCharsTrieTest.java763 int stringLength=expectedString.length(); in checkNext() local
765 if( !(result=trie.next(expectedString, 0, stringLength)).hasValue() || in checkNext()
779 for(int j=0; j<stringLength; ++j) { in checkNext()
846 int stringLength=expectedString.length(); in checkNextWithState() local
847 int partialLength=stringLength/3; in checkNextWithState()
870 } else if(!(result=trie.next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState()
875 next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState()
893 int stringLength=expectedString.length(); in checkNextWithState64() local
894 int partialLength=stringLength/3; in checkNextWithState64()
918 } else if(!(result=trie.next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState64()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DBytesTrieTest.java660 int stringLength=data[i].s.length(); in checkNext() local
662 if( !(result=trie.next(data[i].bytes, 0, stringLength)).hasValue() || in checkNext()
676 for(int j=0; j<stringLength; ++j) { in checkNext()
740 int stringLength=data[i].s.length(); in checkNextWithState() local
741 int partialLength=stringLength/3; in checkNextWithState()
764 } else if(!(result=trie.next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState()
769 next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState()
787 int stringLength=data[i].s.length(); in checkNextWithState64() local
788 int partialLength=stringLength/3; in checkNextWithState64()
812 } else if(!(result=trie.next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState64()
[all …]
DCharsTrieTest.java766 int stringLength=expectedString.length(); in checkNext() local
768 if( !(result=trie.next(expectedString, 0, stringLength)).hasValue() || in checkNext()
782 for(int j=0; j<stringLength; ++j) { in checkNext()
849 int stringLength=expectedString.length(); in checkNextWithState() local
850 int partialLength=stringLength/3; in checkNextWithState()
873 } else if(!(result=trie.next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState()
878 next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState()
896 int stringLength=expectedString.length(); in checkNextWithState64() local
897 int partialLength=stringLength/3; in checkNextWithState64()
921 } else if(!(result=trie.next(expectedString, partialLength, stringLength)).hasValue() || in checkNextWithState64()
[all …]
/external/gptfdisk/
Dsupport.cc46 int stringLength; in ReadString() local
49 stringLength = strlen(efiString); in ReadString()
50 if ((stringLength > 0) && (efiString[stringLength - 1] == '\n')) in ReadString()
51 efiString[stringLength - 1] = '\0'; in ReadString()
/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/robolectric/nativeruntime/src/main/java/org/robolectric/nativeruntime/
DPathParserNatives.java11 public static native void nParseStringForPath(long pathPtr, String pathString, int stringLength); in nParseStringForPath() argument
13 public static native long nCreatePathDataFromString(String pathString, int stringLength); in nCreatePathDataFromString() argument
/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()

123