Searched refs:matchInfo (Results 1 – 4 of 4) sorted by relevance
/external/v8/src/ |
D | string.js | 307 function ExpandReplacement(string, subject, matchInfo, result) { argument 328 %_SubString(subject, matchInfo[CAPTURE0], matchInfo[CAPTURE1]); 331 result += %_SubString(subject, 0, matchInfo[CAPTURE0]); 334 result += %_SubString(subject, matchInfo[CAPTURE1], subject.length); 339 var number_of_captures = NUMBER_OF_CAPTURES(matchInfo); 351 var start = matchInfo[CAPTURE(scaled_index)]; 354 %_SubString(subject, start, matchInfo[CAPTURE(scaled_index + 1)]); 486 var matchInfo = DoRegExpExec(regexp, subject, 0); 487 if (IS_NULL(matchInfo)) { 491 var index = matchInfo[CAPTURE0]; [all …]
|
D | regexp.js | 148 var matchInfo = %_RegExpExec(regexp, string, start, lastMatchInfo); 149 if (matchInfo !== null) { 151 RETURN_NEW_RESULT_FROM_MATCH_INFO(matchInfo, string);
|
/external/icu/icu4c/source/i18n/ |
D | tznames.cpp | 379 MatchInfo* matchInfo = new MatchInfo(nameType, matchLength, &tzID, NULL); in addZone() local 380 if (matchInfo == NULL) { in addZone() 384 matches(status)->addElement(matchInfo, status); in addZone() 386 delete matchInfo; in addZone() 396 MatchInfo* matchInfo = new MatchInfo(nameType, matchLength, NULL, &mzID); in addMetaZone() local 397 if (matchInfo == NULL) { in addMetaZone() 401 matches(status)->addElement(matchInfo, status); in addMetaZone() 403 delete matchInfo; in addMetaZone()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | TimeZoneGenericNames.java | 641 GenericMatchInfo matchInfo = new GenericMatchInfo(); in handlePrefixMatch() local 642 matchInfo.tzID = info.tzID; in handlePrefixMatch() 643 matchInfo.nameType = info.type; in handlePrefixMatch() 644 matchInfo.matchLength = matchLength; in handlePrefixMatch() 649 _matches.add(matchInfo); in handlePrefixMatch() 782 private GenericMatchInfo createGenericMatchInfo(MatchInfo matchInfo) { in createGenericMatchInfo() argument 785 switch (matchInfo.nameType()) { in createGenericMatchInfo() 801 … throw new IllegalArgumentException("Unexpected MatchInfo name type - " + matchInfo.nameType()); in createGenericMatchInfo() 804 String tzID = matchInfo.tzID(); in createGenericMatchInfo() 806 String mzID = matchInfo.mzID(); in createGenericMatchInfo() [all …]
|