Lines Matching refs:i

38 function am1(i, x, w, j, c, n) {  argument
40 var v = x * this[i++] + w[j] + c;
49 function am2(i, x, w, j, c, n) { argument
52 var l = this[i] & 0x7fff;
53 var h = this[i++] >> 15;
63 function am3(i, x, w, j, c, n) { argument
66 var l = this[i] & 0x3fff;
67 var h = this[i++] >> 14;
112 function intAt(s, i) { argument
113 var c = BI_RC[s.charCodeAt(i)];
119 for ( var i = this.t - 1; i >= 0; --i)
120 r[i] = this[i];
138 function nbv(i) { argument
140 r.fromInt(i);
165 var i = s.length, mi = false, sh = 0;
166 while (--i >= 0) {
167 var x = (k == 8) ? s[i] & 0xff : intAt(s, i);
169 if (s.charAt(i) == "-")
219 var km = (1 << k) - 1, d, m = false, r = "", i = this.t;
220 var p = this.DB - (i * this.DB) % k;
221 if (i-- > 0) {
222 if (p < this.DB && (d = this[i] >> p) > 0) {
226 while (i >= 0) {
228 d = (this[i] & ((1 << p) - 1)) << (k - p);
229 d |= this[--i] >> (p += this.DB - k);
231 d = (this[i] >> (p -= k)) & km;
234 --i;
263 var i = this.t;
264 r = i - a.t;
267 while (--i >= 0)
268 if ((r = this[i] - a[i]) != 0)
309 var i;
310 for (i = this.t - 1; i >= 0; --i)
311 r[i + n] = this[i];
312 for (i = n - 1; i >= 0; --i)
313 r[i] = 0;
320 for ( var i = n; i < this.t; ++i)
321 r[i - n] = this[i];
331 var ds = Math.floor(n / this.DB), c = (this.s << bs) & this.DM, i;
332 for (i = this.t - 1; i >= 0; --i) {
333 r[i + ds + 1] = (this[i] >> cbs) | c;
334 c = (this[i] & bm) << bs;
336 for (i = ds - 1; i >= 0; --i)
337 r[i] = 0;
356 for ( var i = ds + 1; i < this.t; ++i) {
357 r[i - ds - 1] |= (this[i] & bm) << cbs;
358 r[i - ds] = this[i] >> bs;
368 var i = 0, c = 0, m = Math.min(a.t, this.t);
369 while (i < m) {
370 c += this[i] - a[i];
371 r[i++] = c & this.DM;
376 while (i < this.t) {
377 c += this[i];
378 r[i++] = c & this.DM;
384 while (i < a.t) {
385 c -= a[i];
386 r[i++] = c & this.DM;
393 r[i++] = this.DV + c;
395 r[i++] = c;
396 r.t = i;
404 var i = x.t;
405 r.t = i + y.t;
406 while (--i >= 0)
407 r[i] = 0;
408 for (i = 0; i < y.t; ++i)
409 r[i + x.t] = x.am(0, y[i], r, i, 0, x.t);
419 var i = r.t = 2 * x.t;
420 while (--i >= 0)
421 r[i] = 0;
422 for (i = 0; i < x.t - 1; ++i) {
423 var c = x.am(i, x[i], r, 2 * i, 0, 1);
424 if ((r[i + x.t] += x.am(i + 1, 2 * x[i], r, 2 * i + 1, c, x.t - i - 1)) >= x.DV) {
425 r[i + x.t] -= x.DV;
426 r[i + x.t + 1] = 1;
430 r[r.t - 1] += x.am(i, x[i], r, 2 * i, 0, 1);
466 var i = r.t, j = i - ys, t = (q == null) ? nbi() : q;
478 var qd = (r[--i] == y0) ? this.DM : Math.floor(r[i] * d1
479 + (r[i - 1] + e) * d2);
480 if ((r[i] += y.am(0, qd, r, j, 0, ys)) < qd) { // Try it out
483 while (r[i] < --qd)
600 for ( var i = 0; i < this.m.t; ++i) {
602 var j = x[i] & 0x7fff;
603 var u0 = (j * this.mpl + (((j * this.mph + (x[i] >> 15) * this.mpl) & this.um) << 15))
606 j = i + this.m.t;
607 x[j] += this.m.am(0, u0, x, i, 0, this.m.t);
647 var r = nbi(), r2 = nbi(), g = z.convert(this), i = nbits(e) - 1;
649 while (--i >= 0) {
651 if ((e & (1 << i)) > 0)
704 this.i = 0;
711 var i, j, t;
712 for (i = 0; i < 256; ++i)
713 this.S[i] = i;
715 for (i = 0; i < 256; ++i) {
716 j = (j + this.S[i] + key[i % key.length]) & 255;
717 t = this.S[i];
718 this.S[i] = this.S[j];
721 this.i = 0;
727 this.i = (this.i + 1) & 255;
728 this.j = (this.j + this.S[this.i]) & 255;
729 t = this.S[this.i];
730 this.S[this.i] = this.S[this.j];
732 return this.S[(t + this.S[this.i]) & 255];
809 var i;
810 for (i = 0; i < ba.length; ++i)
811 ba[i] = rng_get_byte();
827 var i = 0;
828 while (i + n < s.length) {
829 ret += s.substring(i, i + n) + "\n";
830 i += n;
832 return ret + s.substring(i, s.length);
849 var i = s.length - 1;
850 while (i >= 0 && n > 0)
851 ba[--n] = s.charCodeAt(i--);
924 var i;
927 for (i = 0; i + 3 <= h.length; i += 3) {
928 c = parseInt(h.substring(i, i + 3), 16);
931 if (i + 1 == h.length) {
932 c = parseInt(h.substring(i, i + 1), 16);
934 } else if (i + 2 == h.length) {
935 c = parseInt(h.substring(i, i + 2), 16);
946 var i;
949 for (i = 0; i < s.length; ++i) {
950 if (s.charAt(i) == b64pad)
952 v = b64map.indexOf(s.charAt(i));
983 var i;
985 for (i = 0; 2 * i < h.length; ++i) {
986 a[i] = parseInt(h.substring(2 * i, 2 * i + 2), 16);