/third_party/protobuf/js/experimental/runtime/ |
D | int64.js | 35 static fromBits(lowBits, highBits) { argument 36 return new Int64(lowBits, highBits); 94 const highBits = parseInt(value.slice(-16, -8) || '', 16); 95 return (minus ? negate : Int64.fromBits)(lowBits, highBits); 120 constructor(lowBits, highBits) { argument 124 this.highBits_ = highBits | 0; 191 let highBits = this.highBits_; 194 nibbles[highIndex] = HEX_DIGITS[highBits & 0xF]; 196 highBits = highBits >>> 4; 240 const highBits = int64.getHighBitsUnsigned(); constant [all …]
|
/third_party/protobuf/js/experimental/runtime/kernel/ |
D | reader.js | 24 const {lowBits, highBits} = bufferDecoder.getVarint(start); 25 return lowBits !== 0 || highBits !== 0; 61 const {lowBits, highBits} = bufferDecoder.getVarint(start); 62 return Int64.fromBits(lowBits, highBits); 96 const highBits = bufferDecoder.getInt32(start + 4); 97 return Int64.fromBits(lowBits, highBits); 121 const {lowBits, highBits} = bufferDecoder.getVarint(start); 123 const decodedLowerBits = ((lowBits >>> 1) | (highBits & 0x01) << 31) ^ sign; 124 const decodedUpperBits = (highBits >>> 1) ^ sign;
|
D | buffer_decoder.js | 178 let highBits = 0; 184 return {lowBits, highBits}; 194 highBits = (middleByte & 0x70) >> 4; 197 return {lowBits, highBits}; 203 highBits |= (b & 0x7F) << shift; 205 return {lowBits, highBits}; 211 return {lowBits, highBits};
|
D | writer.js | 344 writeVarint64_(highBits, lowBits) { argument 347 const hasNext = !((shift >>> 7) === 0 && highBits === 0); 355 const splitBits = ((lowBits >>> 28) & 0x0F) | ((highBits & 0x07) << 4); 356 const hasMoreBits = !((highBits >> 3) === 0); 365 const shift = highBits >>> i; 374 this.currentBuffer_.push((highBits >>> 31) & 0x01); 403 const highBits = value.getHighBits(); 406 const sign = highBits >> 31; 408 const encodedHighBits = ((highBits << 1) | (lowBits >>> 31)) ^ sign;
|
D | buffer_decoder_test.js | 75 const {lowBits, highBits} = bufferDecoder.getVarint(0); 77 expect(highBits).toBe(0); 84 const {lowBits, highBits} = bufferDecoder.getVarint(0); 86 expect(highBits).toBe(0); 93 const {lowBits, highBits} = bufferDecoder.getVarint(0); 95 expect(highBits).toBe(-1);
|
/third_party/protobuf/js/binary/ |
D | encoder.js | 83 jspb.BinaryEncoder.prototype.writeSplitVarint64 = function(lowBits, highBits) { argument 85 goog.asserts.assert(highBits == Math.floor(highBits)); 88 goog.asserts.assert((highBits >= 0) && 89 (highBits < jspb.BinaryConstants.TWO_TO_32)); 93 while (highBits > 0 || lowBits > 127) { 95 lowBits = ((lowBits >>> 7) | (highBits << 25)) >>> 0; 96 highBits = highBits >>> 7; 108 jspb.BinaryEncoder.prototype.writeSplitFixed64 = function(lowBits, highBits) { argument 110 goog.asserts.assert(highBits == Math.floor(highBits)); 113 goog.asserts.assert((highBits >= 0) && [all …]
|
D | utils.js | 78 var highBits = Math.floor((value - lowBits) / 82 jspb.utils.split64High = highBits; 98 var highBits = Math.floor((value - lowBits) / 100 highBits = highBits >>> 0; 104 highBits = ~highBits >>> 0; 109 highBits++; 110 if (highBits > 0xFFFFFFFF) highBits = 0; 115 jspb.utils.split64High = highBits; 131 var highBits = jspb.utils.split64High; 137 if (highBits == 0) { [all …]
|
D | decoder.js | 292 var highBits = 0; 305 highBits |= (temp & 0x7F) >> 4; 312 highBits |= (temp & 0x7F) << (i * 7 + 3); 317 return convert(lowBits >>> 0, highBits >>> 0); 367 var highBits = 0; 370 highBits = (highBits << 8) | bytes[i + 4]; 372 return convert(lowBits, highBits);
|
D | writer.js | 918 field, lowBits, highBits) { argument 920 this.encoder_.writeSplitFixed64(lowBits, highBits); 931 field, lowBits, highBits) { argument 933 this.encoder_.writeSplitVarint64(lowBits, highBits); 944 field, lowBits, highBits) { argument 947 jspb.utils.toZigzag64(lowBits, highBits, function(lowBits, highBits) { argument 948 encoder.writeSplitVarint64(lowBits >>> 0, highBits >>> 0);
|
D | writer_test.js | 159 function bitsAsArray(lowBits, highBits) { argument 160 return [lowBits >>> 0, highBits >>> 0];
|
D | reader.js | 1002 return this.decoder_.readSplitVarint64(function(lowBits, highBits) { argument 1003 return jspb.utils.fromZigzag64(lowBits, highBits, convert);
|
D | reader_test.js | 420 function rejoin(lowBits, highBits) { argument 421 return highBits * 2 ** 32 + (lowBits >>> 0);
|
/third_party/vk-gl-cts/framework/delibs/deutil/ |
D | deFile.c | 317 LONG highBits = (LONG)((offset >> 32) & 0xFFFFFFFFll); in deFile_seek() local 329 return SetFilePointer(file->handle, lowBits, &highBits, method) != INVALID_SET_FILE_POINTER; in deFile_seek() 334 LONG highBits = 0; in deFile_getPosition() local 335 LONG lowBits = SetFilePointer(file->handle, 0, &highBits, FILE_CURRENT); in deFile_getPosition() 337 return (deInt64)(((deUint64)highBits << 32) | (deUint64)lowBits); in deFile_getPosition() 342 DWORD highBits = 0; in deFile_getSize() local 343 DWORD lowBits = GetFileSize(file->handle, &highBits); in deFile_getSize() 345 return (deInt64)(((deUint64)highBits << 32) | (deUint64)lowBits); in deFile_getSize()
|
/third_party/node/deps/icu-small/source/common/ |
D | putil.cpp | 353 uint32_t highBits = *(uint32_t*)u_topNBytesOfDouble(&number, in uprv_isNaN() 358 return ((highBits & 0x7F080000L) == 0x7F080000L) && in uprv_isNaN() 378 uint32_t highBits = *(uint32_t*)u_topNBytesOfDouble(&number, in uprv_isInfinite() 383 return ((highBits & ~SIGN) == 0x70FF0000L) && (lowBits == 0x00000000L); in uprv_isInfinite() 410 uint32_t highBits = *(uint32_t*)u_topNBytesOfDouble(&number, in uprv_isNegativeInfinity() 412 return((highBits & SIGN) && uprv_isInfinite(number)); in uprv_isNegativeInfinity()
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | putil.cpp | 353 uint32_t highBits = *(uint32_t*)u_topNBytesOfDouble(&number, in uprv_isNaN() 358 return ((highBits & 0x7F080000L) == 0x7F080000L) && in uprv_isNaN() 378 uint32_t highBits = *(uint32_t*)u_topNBytesOfDouble(&number, in uprv_isInfinite() 383 return ((highBits & ~SIGN) == 0x70FF0000L) && (lowBits == 0x00000000L); in uprv_isInfinite() 410 uint32_t highBits = *(uint32_t*)u_topNBytesOfDouble(&number, in uprv_isNegativeInfinity() 412 return((highBits & SIGN) && uprv_isInfinite(number)); in uprv_isNegativeInfinity()
|
/third_party/icu/icu4c/source/common/ |
D | putil.cpp | 353 uint32_t highBits = *(uint32_t*)u_topNBytesOfDouble(&number, in uprv_isNaN() 358 return ((highBits & 0x7F080000L) == 0x7F080000L) && in uprv_isNaN() 378 uint32_t highBits = *(uint32_t*)u_topNBytesOfDouble(&number, in uprv_isInfinite() 383 return ((highBits & ~SIGN) == 0x70FF0000L) && (lowBits == 0x00000000L); in uprv_isInfinite() 410 uint32_t highBits = *(uint32_t*)u_topNBytesOfDouble(&number, in uprv_isNegativeInfinity() 412 return((highBits & SIGN) && uprv_isInfinite(number)); in uprv_isNegativeInfinity()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fMultisampleTests.cpp | 950 const GLbitfield highBits = rnd.getUint32(); in iterate() local 952 gl.sampleMaski(wordNdx, (mask & maskMask) | (highBits & ~maskMask)); in iterate() 962 const GLbitfield highBits = rnd.getUint32(); in iterate() local 964 gl.sampleMaski(wordNdx, (mask & maskMask) | (highBits & ~maskMask)); in iterate()
|