Searched refs:matchInfo (Results 1 – 5 of 5) sorted by relevance
/external/v8/src/js/ |
D | regexp.js | 157 var matchInfo = %_RegExpExec(regexp, string, start, RegExpLastMatchInfo); 158 if (matchInfo !== null) { 160 if (REGEXP_STICKY(regexp)) regexp.lastIndex = matchInfo[CAPTURE1]; 161 RETURN_NEW_RESULT_FROM_MATCH_INFO(matchInfo, string); 331 var matchInfo = DoRegExpExec(separator, subject, startIndex); 332 if (matchInfo === null || length === (startMatch = matchInfo[CAPTURE0])) { 336 var endIndex = matchInfo[CAPTURE1]; 348 var matchinfo_len = NUMBER_OF_CAPTURES(matchInfo) + REGEXP_FIRST_CAPTURE; 350 var start = matchInfo[i++]; 351 var end = matchInfo[i++];
|
D | string.js | 301 function ExpandReplacement(string, subject, matchInfo, result) { argument 322 %_SubString(subject, matchInfo[CAPTURE0], matchInfo[CAPTURE1]); 325 result += %_SubString(subject, 0, matchInfo[CAPTURE0]); 328 result += %_SubString(subject, matchInfo[CAPTURE1], subject.length); 333 var number_of_captures = NUMBER_OF_CAPTURES(matchInfo); 345 var start = matchInfo[CAPTURE(scaled_index)]; 348 %_SubString(subject, start, matchInfo[CAPTURE(scaled_index + 1)]); 470 var matchInfo = RegExpExec(regexp, subject, 0); 471 if (IS_NULL(matchInfo)) { 475 var index = matchInfo[CAPTURE0]; [all …]
|
/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/android_icu4j/src/main/java/android/icu/impl/ |
D | TimeZoneGenericNames.java | 643 GenericMatchInfo matchInfo = new GenericMatchInfo(); in handlePrefixMatch() local 644 matchInfo.tzID = info.tzID; in handlePrefixMatch() 645 matchInfo.nameType = info.type; in handlePrefixMatch() 646 matchInfo.matchLength = matchLength; in handlePrefixMatch() 651 _matches.add(matchInfo); in handlePrefixMatch() 784 private GenericMatchInfo createGenericMatchInfo(MatchInfo matchInfo) { in createGenericMatchInfo() argument 787 switch (matchInfo.nameType()) { in createGenericMatchInfo() 803 … throw new IllegalArgumentException("Unexpected MatchInfo name type - " + matchInfo.nameType()); in createGenericMatchInfo() 806 String tzID = matchInfo.tzID(); in createGenericMatchInfo() 808 String mzID = matchInfo.mzID(); in createGenericMatchInfo() [all …]
|
/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 …]
|