Lines Matching refs:pos
406 var pos = 0; // index of last character output
419 out.push(s.substring(pos, charIndex));
429 pos = decodeHelper.next;
438 out.push(s.substring(pos));
576 var pos = 0; // the position past the last character processed so far in s
859 var pos = 0;
890 if (nstate && pos < i) {
891 var t = s.substring(pos, i);
893 pos = i;
923 if (i > pos) {
924 var t = s.substring(pos, i);
970 pos = i;
1176 var pos = s.lastIndexOf(endScriptTag);
1177 if (pos >= 0 && '>' == decodeHelper.decode(s, pos + 1) &&
1179 endTok = new PR_Token(s.substring(pos, s.length), PR_TAG);
1180 s = s.substring(0, pos);