Searched defs:matchInfo (Results 1 - 3 of 3) sorted by relevance

/external/chromium_org/v8/src/
H A Dstring.js328 function ExpandReplacement(string, subject, matchInfo, result) {
349 %_SubString(subject, matchInfo[CAPTURE0], matchInfo[CAPTURE1]);
352 result += %_SubString(subject, 0, matchInfo[CAPTURE0]);
355 result += %_SubString(subject, matchInfo[CAPTURE1], subject.length);
360 var number_of_captures = NUMBER_OF_CAPTURES(matchInfo);
372 var start = matchInfo[CAPTURE(scaled_index)];
375 %_SubString(subject, start, matchInfo[CAPTURE(scaled_index + 1)]);
507 var matchInfo = DoRegExpExec(regexp, subject, 0);
508 if (IS_NULL(matchInfo)) {
674 var matchInfo = DoRegExpExec(separator, subject, startIndex); variable
[all...]
/external/v8/src/
H A Dstring.js288 function ExpandReplacement(string, subject, matchInfo, builder) {
298 var m = NUMBER_OF_CAPTURES(matchInfo) >> 1; // Includes the match.
312 builder.addSpecialSlice(matchInfo[CAPTURE0],
313 matchInfo[CAPTURE1]);
316 builder.addSpecialSlice(0, matchInfo[CAPTURE0]);
319 builder.addSpecialSlice(matchInfo[CAPTURE1], subject.length);
340 addCaptureString(builder, matchInfo, n);
391 function addCaptureString(builder, matchInfo, index) {
395 var start = matchInfo[CAPTURE(scaled)];
397 var end = matchInfo[CAPTUR
641 var matchInfo = DoRegExpExec(separator, subject, startIndex); variable
[all...]
/external/icu4c/i18n/
H A Dtznames.cpp369 MatchInfo* matchInfo = new MatchInfo(nameType, matchLength, &tzID, NULL); local
370 if (matchInfo == NULL) {
374 matches(status)->addElement(matchInfo, status);
376 delete matchInfo;
386 MatchInfo* matchInfo = new MatchInfo(nameType, matchLength, NULL, &mzID); local
387 if (matchInfo == NULL) {
391 matches(status)->addElement(matchInfo, status);
393 delete matchInfo;

Completed in 154 milliseconds