Home
last modified time | relevance | path

Searched refs:commonLength (Results 1 – 3 of 3) sorted by relevance

/external/cldr/tools/java/org/unicode/cldr/api/
DPrefixVisitorHost.java130 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);
DCldrPath.java105 int commonLength = minLength; in getCommonPrefixLength() local
109 commonLength = length - 1; in getCommonPrefixLength()
115 return commonLength; in getCommonPrefixLength()
/external/icu/icu4c/source/common/
Dbytestriebuilder.cpp119 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()