Home
last modified time | relevance | path

Searched refs:matchLen (Results 1 – 10 of 10) sorted by relevance

/external/skia/tools/flags/
DSkCommandLineFlags.cpp351 size_t matchLen = strlen(matchName); in ShouldSkipImpl() local
356 matchLen--; in ShouldSkipImpl()
360 matchLen--; in ShouldSkipImpl()
362 if ((matchEnd = matchName[matchLen - 1] == '$')) { in ShouldSkipImpl()
363 matchLen--; in ShouldSkipImpl()
365 if (matchStart ? (!matchEnd || matchLen == testLen) in ShouldSkipImpl()
366 && strncmp(name, matchName, matchLen) == 0 in ShouldSkipImpl()
367 : matchEnd ? matchLen <= testLen in ShouldSkipImpl()
368 && strncmp(name + testLen - matchLen, matchName, matchLen) == 0 in ShouldSkipImpl()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTextTrieMap.java74 public Iterator<V> get(CharSequence text, int start, int[] matchLen) { in get() argument
77 if (matchLen != null && matchLen.length > 0) { in get()
78 matchLen[0] = handler.getMatchLength(); in get()
291 int matchLen = next.lenMatches(text, offset); in add() local
292 if (matchLen == next._text.length) { in add()
294 next.add(text, offset + matchLen, value); in add()
297 next.split(matchLen); in add()
298 next.add(text, offset + matchLen, value); in add()
/external/icu/icu4c/source/common/
Dustring.cpp466 int32_t matchLen, matchBMPLen, strItr, matchItr; in _matchFromSet() local
477 matchLen = matchBMPLen; in _matchFromSet()
478 while(matchSet[matchLen] != 0) { in _matchFromSet()
479 ++matchLen; in _matchFromSet()
486 for(matchItr = 0; matchItr < matchLen; ++matchItr) { in _matchFromSet()
492 for(matchItr = 0; matchItr < matchLen; ++matchItr) { in _matchFromSet()
512 for(matchItr = matchBMPLen; matchItr < matchLen;) { in _matchFromSet()
513 U16_NEXT(matchSet, matchItr, matchLen, matchCh); in _matchFromSet()
519 for(matchItr = matchBMPLen; matchItr < matchLen;) { in _matchFromSet()
520 U16_NEXT(matchSet, matchItr, matchLen, matchCh); in _matchFromSet()
Duniset.cpp676 int32_t matchLen = matchRest(text, offset, limit, trial); in matches() local
680 if (matchLen == maxLen) { in matches()
686 if (matchLen == trial.length()) { in matches()
688 if (matchLen > highWaterLength) { in matches()
689 highWaterLength = matchLen; in matches()
693 if (forward && matchLen < highWaterLength) { in matches()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNFRule.java1168 int matchLen = position.getEndIndex() - start; in findText() local
1172 && str.regionMatches(start + matchLen, suffix, 0, suffix.length())) in findText()
1174 … return new int[]{start - prefix.length(), matchLen + prefix.length() + suffix.length()}; in findText()
DTimeZoneFormat.java3012 int[] matchLen = new int[] {0};
3013 Iterator<String> itr = ZONE_ID_TRIE.get(text, pos.getIndex(), matchLen);
3016 pos.setIndex(pos.getIndex() + matchLen[0]);
3055 int[] matchLen = new int[] {0};
3056 Iterator<String> itr = SHORT_ZONE_ID_TRIE.get(text, pos.getIndex(), matchLen);
3059 pos.setIndex(pos.getIndex() + matchLen[0]);
/external/icu/icu4c/source/i18n/
Dnfrule.cpp1404 int32_t matchLen = position.getEndIndex() - start; in findText() local
1408 … && str.compare(start + matchLen, suffix.length(), suffix, 0, suffix.length()) == 0) in findText()
1410 *length = matchLen + prefix.length() + suffix.length(); in findText()
Dsmpdtfmt.cpp2513 int32_t matchLen = 0; in matchString() local
2514 if ((matchLen = matchStringWithOptionalDot(text, start, data[i])) > bestMatchLength) { in matchString()
2516 bestMatchLength = matchLen; in matchString()
2525 … if ((matchLen = matchStringWithOptionalDot(text, start, leapMonthName)) > bestMatchLength) { in matchString()
2527 bestMatchLength = matchLen; in matchString()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.jdt.core_3.6.2.v_A76_R36x.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...