Home
last modified time | relevance | path

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

/external/skqp/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()
/external/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()
/external/skia/tools/flags/
DSkCommandLineFlags.cpp378 size_t matchLen = strlen(matchName); in ShouldSkipImpl() local
383 matchLen--; in ShouldSkipImpl()
387 matchLen--; in ShouldSkipImpl()
389 if ((matchEnd = matchName[matchLen - 1] == '$')) { in ShouldSkipImpl()
390 matchLen--; in ShouldSkipImpl()
392 if (matchStart ? (!matchEnd || matchLen == testLen) in ShouldSkipImpl()
393 && strncmp(name, matchName, matchLen) == 0 in ShouldSkipImpl()
394 : matchEnd ? matchLen <= testLen in ShouldSkipImpl()
395 && strncmp(name + testLen - matchLen, matchName, matchLen) == 0 in ShouldSkipImpl()
/external/skqp/tools/flags/
DSkCommandLineFlags.cpp378 size_t matchLen = strlen(matchName); in ShouldSkipImpl() local
383 matchLen--; in ShouldSkipImpl()
387 matchLen--; in ShouldSkipImpl()
389 if ((matchEnd = matchName[matchLen - 1] == '$')) { in ShouldSkipImpl()
390 matchLen--; in ShouldSkipImpl()
392 if (matchStart ? (!matchEnd || matchLen == testLen) in ShouldSkipImpl()
393 && strncmp(name, matchName, matchLen) == 0 in ShouldSkipImpl()
394 : matchEnd ? matchLen <= testLen in ShouldSkipImpl()
395 && strncmp(name + testLen - matchLen, matchName, matchLen) == 0 in ShouldSkipImpl()
/external/skia/tools/bookmaker/
DtextParser.h51 const size_t matchLen = fChar - wordStart; in anyOf() local
54 if (strlen(word) == matchLen && !strncmp(wordStart, word, matchLen)) { in anyOf()
82 size_t matchLen = matchEnd - matchStart; in anyWord() local
84 if (word.length() != matchLen) { in anyWord()
87 for (unsigned index = 0; index < matchLen; ++index) { in anyWord()
180 int matchLen = strlen(match); in endsWith() local
181 if (matchLen > fChar - fLine) { in endsWith()
184 return !strncmp(fChar - matchLen, match, matchLen); in endsWith()
523 size_t matchLen = strlen(match); in strnstr() local
524 SkASSERT(matchLen > 0); in strnstr()
[all …]
/external/skqp/tools/bookmaker/
DtextParser.h51 const size_t matchLen = fChar - wordStart; in anyOf() local
54 if (strlen(word) == matchLen && !strncmp(wordStart, word, matchLen)) { in anyOf()
82 size_t matchLen = matchEnd - matchStart; in anyWord() local
84 if (word.length() != matchLen) { in anyWord()
87 for (unsigned index = 0; index < matchLen; ++index) { in anyWord()
180 int matchLen = strlen(match); in endsWith() local
181 if (matchLen > fChar - fLine) { in endsWith()
184 return !strncmp(fChar - matchLen, match, matchLen); in endsWith()
523 size_t matchLen = strlen(match); in strnstr() local
524 SkASSERT(matchLen > 0); in strnstr()
[all …]
/external/icu/android_icu4j/src/main/java/android/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()
/external/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()
/external/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.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()
/external/python/setuptools/setuptools/_vendor/
Dpyparsing.py2374 self.matchLen = len(matchString)
2392 (self.matchLen==1 or instring.startswith(self.match,loc)) ):
2393 return loc+self.matchLen, self.match
2422 self.matchLen = len(matchString)
2440 if ( (instring[ loc:loc+self.matchLen ].upper() == self.caselessmatch) and
2441 …(loc >= len(instring)-self.matchLen or instring[loc+self.matchLen].upper() not in self.identChars)…
2443 return loc+self.matchLen, self.match
2446 (self.matchLen==1 or instring.startswith(self.match,loc)) and
2447 … (loc >= len(instring)-self.matchLen or instring[loc+self.matchLen] not in self.identChars) and
2449 return loc+self.matchLen, self.match
[all …]
/external/python/setuptools/pkg_resources/_vendor/
Dpyparsing.py2374 self.matchLen = len(matchString)
2392 (self.matchLen==1 or instring.startswith(self.match,loc)) ):
2393 return loc+self.matchLen, self.match
2422 self.matchLen = len(matchString)
2440 if ( (instring[ loc:loc+self.matchLen ].upper() == self.caselessmatch) and
2441 …(loc >= len(instring)-self.matchLen or instring[loc+self.matchLen].upper() not in self.identChars)…
2443 return loc+self.matchLen, self.match
2446 (self.matchLen==1 or instring.startswith(self.match,loc)) and
2447 … (loc >= len(instring)-self.matchLen or instring[loc+self.matchLen] not in self.identChars) and
2449 return loc+self.matchLen, self.match
[all …]
/external/icu/android_icu4j/src/main/java/android/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()
DDecimalFormat_ICU58_Android.java2496 int matchLen = matchesDigit(text, position, parsedDigit); in subparse() local
2497 if (matchLen > 0) { in subparse()
2517 position += matchLen; in subparse()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNFRule.java1280 int matchLen = position.getEndIndex() - start; in findText() local
1284 && str.regionMatches(start + matchLen, suffix, 0, suffix.length())) in findText()
1286 … return new int[]{start - prefix.length(), matchLen + prefix.length() + suffix.length()}; in findText()
DDecimalFormat_ICU58_Android.java2508 int matchLen = matchesDigit(text, position, parsedDigit); in subparse() local
2509 if (matchLen > 0) { in subparse()
2529 position += matchLen; in subparse()
/external/icu/icu4c/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()
/external/lzma/DOC/
Dlzma-specification.txt644 matchLen = len + kMatchMinLen;