Home
last modified time | relevance | path

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

/external/webkit/JavaScriptCore/runtime/
DStringPrototype.cpp245 int matchLen; in stringProtoFuncReplace() local
247 … regExpConstructor->performMatch(reg, source, startPosition, matchIndex, matchLen, &ovector); in stringProtoFuncReplace()
257 int matchLen = ovector[i * 2 + 1] - matchStart; in stringProtoFuncReplace() local
262 cachedCall.setArgument(i, jsSubstring(exec, source, matchStart, matchLen)); in stringProtoFuncReplace()
273 lastIndex = matchIndex + matchLen; in stringProtoFuncReplace()
277 if (matchLen == 0) { in stringProtoFuncReplace()
286 int matchLen; in stringProtoFuncReplace() local
288 … regExpConstructor->performMatch(reg, source, startPosition, matchIndex, matchLen, &ovector); in stringProtoFuncReplace()
300 int matchLen = ovector[i * 2 + 1] - matchStart; in stringProtoFuncReplace() local
305 args.append(jsSubstring(exec, source, matchStart, matchLen)); in stringProtoFuncReplace()
[all …]
/external/icu4c/common/
Dustring.c465 int32_t matchLen, matchBMPLen, strItr, matchItr; in _matchFromSet() local
476 matchLen = matchBMPLen; in _matchFromSet()
477 while(matchSet[matchLen] != 0) { in _matchFromSet()
478 ++matchLen; in _matchFromSet()
485 for(matchItr = 0; matchItr < matchLen; ++matchItr) { in _matchFromSet()
491 for(matchItr = 0; matchItr < matchLen; ++matchItr) { in _matchFromSet()
511 for(matchItr = matchBMPLen; matchItr < matchLen;) { in _matchFromSet()
512 U16_NEXT(matchSet, matchItr, matchLen, matchCh); in _matchFromSet()
518 for(matchItr = matchBMPLen; matchItr < matchLen;) { in _matchFromSet()
519 U16_NEXT(matchSet, matchItr, matchLen, matchCh); in _matchFromSet()
Duniset.cpp622 int32_t matchLen = matchRest(text, offset, limit, trial); in matches() local
626 if (matchLen == maxLen) { in matches()
632 if (matchLen == trial.length()) { in matches()
634 if (matchLen > highWaterLength) { in matches()
635 highWaterLength = matchLen; in matches()
639 if (forward && matchLen < highWaterLength) { in matches()
/external/icu4c/i18n/
Dsmpdtfmt.cpp2156 int32_t matchLen; in subParse() local
2161 zsinfo = zsf->findSpecificShort(text, start, matchLen, status); in subParse()
2163 zsinfo = zsf->findSpecificLong(text, start, matchLen, status); in subParse()
2168 zsinfo = zsf->findGenericShort(text, start, matchLen, status); in subParse()
2170 zsinfo = zsf->findGenericLong(text, start, matchLen, status); in subParse()
2175 zsinfo = zsf->findSpecificShort(text, start, matchLen, status); in subParse()
2177 zsinfo = zsf->findGenericLocation(text, start, matchLen, status); in subParse()
2197 return start + matchLen; in subParse()