Lines Matching refs:jspb
53 jspb.arith.UInt64 = function(lo, hi) {
73 jspb.arith.UInt64.prototype.cmp = function(other) {
88 jspb.arith.UInt64.prototype.rightShift = function() {
91 return new jspb.arith.UInt64(lo >>> 0, hi >>> 0);
99 jspb.arith.UInt64.prototype.leftShift = function() {
102 return new jspb.arith.UInt64(lo >>> 0, hi >>> 0);
110 jspb.arith.UInt64.prototype.msb = function() {
119 jspb.arith.UInt64.prototype.lsb = function() {
128 jspb.arith.UInt64.prototype.zero = function() {
138 jspb.arith.UInt64.prototype.add = function(other) {
143 return new jspb.arith.UInt64(lo >>> 0, hi >>> 0);
152 jspb.arith.UInt64.prototype.sub = function(other) {
157 return new jspb.arith.UInt64(lo >>> 0, hi >>> 0);
167 jspb.arith.UInt64.mul32x32 = function(a, b) {
198 return new jspb.arith.UInt64(productLow >>> 0, productHigh >>> 0);
208 jspb.arith.UInt64.prototype.mul = function(a) {
210 var lo = jspb.arith.UInt64.mul32x32(this.lo, a);
211 var hi = jspb.arith.UInt64.mul32x32(this.hi, a);
227 jspb.arith.UInt64.prototype.div = function(_divisor) {
235 var quotient = new jspb.arith.UInt64(0, 0);
236 var remainder = new jspb.arith.UInt64(this.lo, this.hi);
237 var divisor = new jspb.arith.UInt64(_divisor, 0);
238 var unit = new jspb.arith.UInt64(1, 0);
268 jspb.arith.UInt64.prototype.toString = function() {
289 jspb.arith.UInt64.fromString = function(s) {
290 var result = new jspb.arith.UInt64(0, 0);
292 var digit64 = new jspb.arith.UInt64(0, 0);
309 jspb.arith.UInt64.prototype.clone = function() {
310 return new jspb.arith.UInt64(this.lo, this.hi);
328 jspb.arith.Int64 = function(lo, hi) {
347 jspb.arith.Int64.prototype.add = function(other) {
352 return new jspb.arith.Int64(lo >>> 0, hi >>> 0);
361 jspb.arith.Int64.prototype.sub = function(other) {
366 return new jspb.arith.Int64(lo >>> 0, hi >>> 0);
374 jspb.arith.Int64.prototype.clone = function() {
375 return new jspb.arith.Int64(this.lo, this.hi);
384 jspb.arith.Int64.prototype.toString = function() {
387 var num = new jspb.arith.UInt64(this.lo, this.hi);
389 num = new jspb.arith.UInt64(0, 0).sub(num);
400 jspb.arith.Int64.fromString = function(s) {
405 var num = jspb.arith.UInt64.fromString(s);
410 num = new jspb.arith.UInt64(0, 0).sub(num);
412 return new jspb.arith.Int64(num.lo, num.hi);