Home
last modified time | relevance | path

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

/third_party/flutter/skia/tools/skqp/src/
Dskqp_main.cpp51 size_t matchLen = strlen(matchName); in should_skip() local
56 matchLen--; in should_skip()
60 matchLen--; in should_skip()
62 if ((matchEnd = matchName[matchLen - 1] == '$')) { in should_skip()
63 matchLen--; in should_skip()
65 if (matchStart ? (!matchEnd || matchLen == testLen) in should_skip()
66 && strncmp(name, matchName, matchLen) == 0 in should_skip()
67 : matchEnd ? matchLen <= testLen in should_skip()
68 && strncmp(name + testLen - matchLen, matchName, matchLen) == 0 in should_skip()
/third_party/skia/tools/skqp/src/
Dskqp_main.cpp57 size_t matchLen = strlen(matchName); in should_skip() local
62 matchLen--; in should_skip()
66 matchLen--; in should_skip()
68 if ((matchEnd = matchName[matchLen - 1] == '$')) { in should_skip()
69 matchLen--; in should_skip()
71 if (matchStart ? (!matchEnd || matchLen == testLen) in should_skip()
72 && strncmp(name, matchName, matchLen) == 0 in should_skip()
73 : matchEnd ? matchLen <= testLen in should_skip()
74 && strncmp(name + testLen - matchLen, matchName, matchLen) == 0 in should_skip()
/third_party/skia/tools/flags/
DCommandLineFlags.cpp367 size_t matchLen = strlen(matchName); in ShouldSkipImpl() local
372 matchLen--; in ShouldSkipImpl()
376 matchLen--; in ShouldSkipImpl()
378 if ((matchEnd = matchName[matchLen - 1] == '$')) { in ShouldSkipImpl()
379 matchLen--; in ShouldSkipImpl()
382 ? (!matchEnd || matchLen == testLen) && strncmp(name, matchName, matchLen) == 0 in ShouldSkipImpl()
384 ? matchLen <= testLen && in ShouldSkipImpl()
385 strncmp(name + testLen - matchLen, matchName, matchLen) == 0 in ShouldSkipImpl()
/third_party/flutter/skia/tools/flags/
DCommandLineFlags.cpp367 size_t matchLen = strlen(matchName); in ShouldSkipImpl() local
372 matchLen--; in ShouldSkipImpl()
376 matchLen--; in ShouldSkipImpl()
378 if ((matchEnd = matchName[matchLen - 1] == '$')) { in ShouldSkipImpl()
379 matchLen--; in ShouldSkipImpl()
382 ? (!matchEnd || matchLen == testLen) && strncmp(name, matchName, matchLen) == 0 in ShouldSkipImpl()
384 ? matchLen <= testLen && in ShouldSkipImpl()
385 strncmp(name + testLen - matchLen, matchName, matchLen) == 0 in ShouldSkipImpl()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DTextTrieMap.java348 int matchLen = next.lenMatches(text, offset); in add() local
349 if (matchLen == next._text.length) { in add()
351 next.add(text, offset + matchLen, value); in add()
354 next.split(matchLen); in add()
355 next.add(text, offset + matchLen, value); in add()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTextTrieMap.java339 int matchLen = next.lenMatches(text, offset); in add() local
340 if (matchLen == next._text.length) { in add()
342 next.add(text, offset + matchLen, value); in add()
345 next.split(matchLen); in add()
346 next.add(text, offset + matchLen, value); in add()
/third_party/flutter/skia/third_party/externals/icu/source/common/
Dustring.cpp469 int32_t matchLen, matchBMPLen, strItr, matchItr; in _matchFromSet() local
480 matchLen = matchBMPLen; in _matchFromSet()
481 while(matchSet[matchLen] != 0) { in _matchFromSet()
482 ++matchLen; in _matchFromSet()
489 for(matchItr = 0; matchItr < matchLen; ++matchItr) { in _matchFromSet()
495 for(matchItr = 0; matchItr < matchLen; ++matchItr) { in _matchFromSet()
515 for(matchItr = matchBMPLen; matchItr < matchLen;) { in _matchFromSet()
516 U16_NEXT(matchSet, matchItr, matchLen, matchCh); in _matchFromSet()
522 for(matchItr = matchBMPLen; matchItr < matchLen;) { in _matchFromSet()
523 U16_NEXT(matchSet, matchItr, matchLen, matchCh); in _matchFromSet()
Duniset.cpp630 int32_t matchLen = matchRest(text, offset, limit, trial); in matches() local
634 if (matchLen == maxLen) { in matches()
640 if (matchLen == trial.length()) { in matches()
642 if (matchLen > highWaterLength) { in matches()
643 highWaterLength = matchLen; in matches()
647 if (forward && matchLen < highWaterLength) { in matches()
/third_party/skia/third_party/externals/icu/source/common/
Dustring.cpp469 int32_t matchLen, matchBMPLen, strItr, matchItr; in _matchFromSet() local
480 matchLen = matchBMPLen; in _matchFromSet()
481 while(matchSet[matchLen] != 0) { in _matchFromSet()
482 ++matchLen; in _matchFromSet()
489 for(matchItr = 0; matchItr < matchLen; ++matchItr) { in _matchFromSet()
495 for(matchItr = 0; matchItr < matchLen; ++matchItr) { in _matchFromSet()
515 for(matchItr = matchBMPLen; matchItr < matchLen;) { in _matchFromSet()
516 U16_NEXT(matchSet, matchItr, matchLen, matchCh); in _matchFromSet()
522 for(matchItr = matchBMPLen; matchItr < matchLen;) { in _matchFromSet()
523 U16_NEXT(matchSet, matchItr, matchLen, matchCh); in _matchFromSet()
Duniset.cpp604 int32_t matchLen = matchRest(text, offset, limit, trial); in matches() local
608 if (matchLen == maxLen) { in matches()
614 if (matchLen == trial.length()) { in matches()
616 if (matchLen > highWaterLength) { in matches()
617 highWaterLength = matchLen; in matches()
621 if (forward && matchLen < highWaterLength) { in matches()
/third_party/node/deps/icu-small/source/common/
Dustring.cpp469 int32_t matchLen, matchBMPLen, strItr, matchItr; in _matchFromSet() local
480 matchLen = matchBMPLen; in _matchFromSet()
481 while(matchSet[matchLen] != 0) { in _matchFromSet()
482 ++matchLen; in _matchFromSet()
489 for(matchItr = 0; matchItr < matchLen; ++matchItr) { in _matchFromSet()
495 for(matchItr = 0; matchItr < matchLen; ++matchItr) { in _matchFromSet()
515 for(matchItr = matchBMPLen; matchItr < matchLen;) { in _matchFromSet()
516 U16_NEXT(matchSet, matchItr, matchLen, matchCh); in _matchFromSet()
522 for(matchItr = matchBMPLen; matchItr < matchLen;) { in _matchFromSet()
523 U16_NEXT(matchSet, matchItr, matchLen, matchCh); in _matchFromSet()
Duniset.cpp604 int32_t matchLen = matchRest(text, offset, limit, trial); in matches() local
608 if (matchLen == maxLen) { in matches()
614 if (matchLen == trial.length()) { in matches()
616 if (matchLen > highWaterLength) { in matches()
617 highWaterLength = matchLen; in matches()
621 if (forward && matchLen < highWaterLength) { in matches()
/third_party/icu/icu4c/source/common/
Dustring.cpp469 int32_t matchLen, matchBMPLen, strItr, matchItr; in _matchFromSet() local
480 matchLen = matchBMPLen; in _matchFromSet()
481 while(matchSet[matchLen] != 0) { in _matchFromSet()
482 ++matchLen; in _matchFromSet()
489 for(matchItr = 0; matchItr < matchLen; ++matchItr) { in _matchFromSet()
495 for(matchItr = 0; matchItr < matchLen; ++matchItr) { in _matchFromSet()
515 for(matchItr = matchBMPLen; matchItr < matchLen;) { in _matchFromSet()
516 U16_NEXT(matchSet, matchItr, matchLen, matchCh); in _matchFromSet()
522 for(matchItr = matchBMPLen; matchItr < matchLen;) { in _matchFromSet()
523 U16_NEXT(matchSet, matchItr, matchLen, matchCh); in _matchFromSet()
Duniset.cpp604 int32_t matchLen = matchRest(text, offset, limit, trial); in matches() local
608 if (matchLen == maxLen) { in matches()
614 if (matchLen == trial.length()) { in matches()
616 if (matchLen > highWaterLength) { in matches()
617 highWaterLength = matchLen; in matches()
621 if (forward && matchLen < highWaterLength) { in matches()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNFRule.java1284 int matchLen = position.getEndIndex() - start; in findText() local
1288 && str.regionMatches(start + matchLen, suffix, 0, suffix.length())) in findText()
1290 … return new int[]{start - prefix.length(), matchLen + prefix.length() + suffix.length()}; in findText()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DNFRule.java1281 int matchLen = position.getEndIndex() - start; in findText() local
1285 && str.regionMatches(start + matchLen, suffix, 0, suffix.length())) in findText()
1287 … return new int[]{start - prefix.length(), matchLen + prefix.length() + suffix.length()}; in findText()
/third_party/skia/third_party/externals/icu/source/i18n/
Dnfrule.cpp1492 int32_t matchLen = position.getEndIndex() - start; in findText() local
1496 … && str.compare(start + matchLen, suffix.length(), suffix, 0, suffix.length()) == 0) in findText()
1498 *length = matchLen + prefix.length() + suffix.length(); in findText()
Dsmpdtfmt.cpp2897 int32_t matchLen = 0; in matchString() local
2898 if ((matchLen = matchStringWithOptionalDot(text, start, data[i])) > bestMatchLength) { in matchString()
2900 bestMatchLength = matchLen; in matchString()
2908 … if ((matchLen = matchStringWithOptionalDot(text, start, leapMonthName)) > bestMatchLength) { in matchString()
2910 bestMatchLength = matchLen; in matchString()
/third_party/node/deps/icu-small/source/i18n/
Dnfrule.cpp1492 int32_t matchLen = position.getEndIndex() - start; in findText() local
1496 … && str.compare(start + matchLen, suffix.length(), suffix, 0, suffix.length()) == 0) in findText()
1498 *length = matchLen + prefix.length() + suffix.length(); in findText()
Dsmpdtfmt.cpp2922 int32_t matchLen = 0; in matchString() local
2923 if ((matchLen = matchStringWithOptionalDot(text, start, data[i])) > bestMatchLength) { in matchString()
2925 bestMatchLength = matchLen; in matchString()
2933 … if ((matchLen = matchStringWithOptionalDot(text, start, leapMonthName)) > bestMatchLength) { in matchString()
2935 bestMatchLength = matchLen; in matchString()
/third_party/icu/icu4c/source/i18n/
Dnfrule.cpp1492 int32_t matchLen = position.getEndIndex() - start; in findText() local
1496 … && str.compare(start + matchLen, suffix.length(), suffix, 0, suffix.length()) == 0) in findText()
1498 *length = matchLen + prefix.length() + suffix.length(); in findText()
Dsmpdtfmt.cpp2897 int32_t matchLen = 0; in matchString() local
2898 if ((matchLen = matchStringWithOptionalDot(text, start, data[i])) > bestMatchLength) { in matchString()
2900 bestMatchLength = matchLen; in matchString()
2908 … if ((matchLen = matchStringWithOptionalDot(text, start, leapMonthName)) > bestMatchLength) { in matchString()
2910 bestMatchLength = matchLen; in matchString()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dnfrule.cpp1488 int32_t matchLen = position.getEndIndex() - start; in findText() local
1492 … && str.compare(start + matchLen, suffix.length(), suffix, 0, suffix.length()) == 0) in findText()
1494 *length = matchLen + prefix.length() + suffix.length(); in findText()
Dsmpdtfmt.cpp2813 int32_t matchLen = 0; in matchString() local
2814 if ((matchLen = matchStringWithOptionalDot(text, start, data[i])) > bestMatchLength) { in matchString()
2816 bestMatchLength = matchLen; in matchString()
2824 … if ((matchLen = matchStringWithOptionalDot(text, start, leapMonthName)) > bestMatchLength) { in matchString()
2826 bestMatchLength = matchLen; in matchString()