Lines Matching refs:elem
436 var elem = res[i];
437 if (%_IsSmi(elem)) {
438 if (elem > 0) {
439 match_start = (elem >> 11) + (elem & 0x7ff);
441 match_start = res[++i] - elem;
444 override[0] = elem;
448 %_CallFunction(receiver, elem, match_start, subject, replace);
450 match_start += elem.length;
457 var elem = res[i];
458 if (!%_IsSmi(elem)) {
459 // elem must be an Array.
461 lastMatchInfoOverride = elem;
462 var func_result = %Apply(replace, receiver, elem, 0, elem.length);