Searched refs:commonLength (Results 1 – 3 of 3) sorted by relevance
/external/cldr/tools/java/org/unicode/cldr/api/ |
D | PrefixVisitorHost.java | 130 int commonLength = 0; 132 commonLength = CldrPath.getCommonPrefixLength(lastValuePath, path); 133 checkState(commonLength <= lastValuePath.getLength(), 135 handleLastPath(commonLength); 138 checkState(commonLength <= path.getLength(), 140 recursiveStartVisit(path.getParent(), commonLength, new PrefixContext()); 160 /* @Nullable */ CldrPath prefix, int commonLength, PrefixContext ctx) { 161 if (prefix != null && prefix.getLength() > commonLength) { 162 recursiveStartVisit(prefix.getParent(), commonLength, ctx);
|
D | CldrPath.java | 105 int commonLength = minLength; in getCommonPrefixLength() local 109 commonLength = length - 1; in getCommonPrefixLength() 115 return commonLength; in getCommonPrefixLength()
|
/external/icu/icu4c/source/common/ |
D | bytestriebuilder.cpp | 119 int32_t commonLength; in compareStringTo() local 121 commonLength=thisString.length(); in compareStringTo() 123 commonLength=otherString.length(); in compareStringTo() 125 int32_t diff=uprv_memcmp(thisString.data(), otherString.data(), commonLength); in compareStringTo()
|