Lines Matching refs:s

112 function intAt(s, i) {  argument
113 var c = BI_RC[s.charCodeAt(i)];
122 r.s = this.s;
128 this.s = (x < 0) ? -1 : 0;
145 function bnpFromString(s, b) { argument
160 this.fromRadix(s, b);
164 this.s = 0;
165 var i = s.length, mi = false, sh = 0;
167 var x = (k == 8) ? s[i] & 0xff : intAt(s, i);
169 if (s.charAt(i) == "-")
185 if (k == 8 && (s[0] & 0x80) != 0) {
186 this.s = -1;
197 var c = this.s & this.DM;
204 if (this.s < 0)
255 return (this.s < 0) ? this.negate() : this;
260 var r = this.s - a.s;
304 + nbits(this[this.t - 1] ^ (this.s & this.DM));
315 r.s = this.s;
323 r.s = this.s;
331 var ds = Math.floor(n / this.DB), c = (this.s << bs) & this.DM, i;
340 r.s = this.s;
346 r.s = this.s;
361 r[this.t - ds - 1] |= (this.s & bm) << cbs;
375 c -= a.s;
381 c += this.s;
383 c += this.s;
389 c -= a.s;
391 r.s = (c < 0) ? -1 : 0;
410 r.s = 0;
412 if (this.s != a.s)
431 r.s = 0;
451 var y = nbi(), ts = this.s, ms = m.s;
504 if (this.s < 0 && r.compareTo(BigInteger.ZERO) > 0)
514 if (x.s < 0 || x.compareTo(this.m) >= 0)
582 if (x.s < 0 && r.compareTo(BigInteger.ZERO) > 0)
640 return ((this.t > 0) ? (this[0] & 1) : this.s) == 0;
825 function linebrk(s, n) { argument
828 while (i + n < s.length) {
829 ret += s.substring(i, i + n) + "\n";
832 return ret + s.substring(i, s.length);
843 function pkcs1pad2(s, n) { argument
844 if (n < s.length + 11) {
849 var i = s.length - 1;
851 ba[--n] = s.charCodeAt(i--);
944 function b64tohex(s) { argument
949 for (i = 0; i < s.length; ++i) {
950 if (s.charAt(i) == b64pad)
952 v = b64map.indexOf(s.charAt(i));
980 function b64toBA(s) { argument
982 var h = b64tohex(s);