Searched refs:matchInfo (Results 1 - 4 of 4) sorted by relevance

/external/v8/src/
H A Dstring.js307 function ExpandReplacement(string, subject, matchInfo, result) {
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)) {
640 var matchInfo = DoRegExpExec(separator, subject, startIndex); variable
[all...]
H A Dregexp.js148 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/
H A Dtznames.cpp379 MatchInfo* matchInfo = new MatchInfo(nameType, matchLength, &tzID, NULL); local
380 if (matchInfo == NULL) {
384 matches(status)->addElement(matchInfo, status);
386 delete matchInfo;
396 MatchInfo* matchInfo = new MatchInfo(nameType, matchLength, NULL, &mzID); local
397 if (matchInfo == NULL) {
401 matches(status)->addElement(matchInfo, status);
403 delete matchInfo;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DTimeZoneGenericNames.java641 GenericMatchInfo matchInfo = new GenericMatchInfo();
642 matchInfo.tzID = info.tzID;
643 matchInfo.nameType = info.type;
644 matchInfo.matchLength = matchLength;
645 //matchInfo.timeType = TimeType.UNKNOWN;
649 _matches.add(matchInfo);
779 * @param matchInfo the MatchInfo
782 private GenericMatchInfo createGenericMatchInfo(MatchInfo matchInfo) { argument
785 switch (matchInfo.nameType()) {
801 throw new IllegalArgumentException("Unexpected MatchInfo name type - " + matchInfo
[all...]

Completed in 505 milliseconds