Home
last modified time | relevance | path

Searched refs:matchInfo (Results 1 – 5 of 5) sorted by relevance

/external/v8/src/
Dstring.js288 function ExpandReplacement(string, subject, matchInfo, builder) { argument
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) { argument
395 var start = matchInfo[CAPTURE(scaled)];
397 var end = matchInfo[CAPTURE(scaled + 1)];
[all …]
Dregexp.js162 var matchInfo = %_RegExpExec(regexp, string, start, lastMatchInfo);
163 if (matchInfo !== null) {
165 return BuildResultFromMatchInfo(matchInfo, string);
Dmessages.js560 var matchInfo = new InternalArray(CAPTURE(3) + 1);
562 %_RegExpExec(sourceUrlPattern, source, sourceUrlPos - 4, matchInfo);
565 SubString(source, matchInfo[CAPTURE(2)], matchInfo[CAPTURE(3)]);
/external/chromium/chrome/browser/resources/net_internals/
Deventsview.js260 matchInfo = regExp.exec(sourceText);
261 if (matchInfo == null)
265 'parameter': matchInfo[1]};
278 var matchInfo = this.parseDirective_(sourceText, directive);
279 if (matchInfo == null)
283 var negationInfo = /^(-?)(\S*?)$/.exec(matchInfo.parameter);
284 matchInfo.parameter = negationInfo[2];
285 matchInfo.isNegated = (negationInfo[1] == '-');
286 return matchInfo;
/external/icu4c/i18n/
Dtznames.cpp392 MatchInfo* matchInfo = new MatchInfo(nameType, matchLength, &tzID, NULL); in addZone() local
393 if (matchInfo == NULL) { in addZone()
397 matches(status)->addElement(matchInfo, status); in addZone()
399 delete matchInfo; in addZone()
409 MatchInfo* matchInfo = new MatchInfo(nameType, matchLength, NULL, &mzID); in addMetaZone() local
410 if (matchInfo == NULL) { in addMetaZone()
414 matches(status)->addElement(matchInfo, status); in addMetaZone()
416 delete matchInfo; in addMetaZone()