Home
last modified time | relevance | path

Searched refs:highBits (Results 1 - 16 of 16) sorted by relevance

/third_party/protobuf/js/experimental/runtime/
H A Dint64.js32 * @param {number} highBits
35 static fromBits(lowBits, highBits) {
36 return new Int64(lowBits, highBits);
94 const highBits = parseInt(value.slice(-16, -8) || '', 16);
95 return (minus ? negate : Int64.fromBits)(lowBits, highBits);
117 * @param {number} highBits
120 constructor(lowBits, highBits) {
124 this.highBits_ = highBits | 0;
191 let highBits = this.highBits_;
194 nibbles[highIndex] = HEX_DIGITS[highBits
[all...]
/third_party/protobuf/js/experimental/runtime/kernel/
H A Dreader.js24 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;
H A Dbuffer_decoder.js173 * @return {{lowBits: number, highBits: number}}
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};
H A Dwriter.js340 * @param {number} highBits
344 writeVarint64_(highBits, lowBits) {
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 <<
[all...]
H A Dbuffer_decoder_test.js75 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/
H A Dencoder.js81 * @param {number} highBits The high 32 bits of the int.
83 jspb.BinaryEncoder.prototype.writeSplitVarint64 = function(lowBits, highBits) {
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 >>>
[all...]
H A Dutils.js78 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
[all...]
H A Ddecoder.js285 * the result value, takes parameters (lowBits, highBits).
292 var highBits = 0;
305 highBits |= (temp & 0x7F) >> 4;
312 highBits |= (temp & 0x7F) << (i * 7 + 3);
317 return convert(lowBits >>> 0, highBits >>> 0);
341 * the result value, takes parameters (lowBits, highBits).
358 * the result value, takes parameters (lowBits, highBits).
367 var highBits = 0;
370 highBits = (highBits <<
[all...]
H A Dwriter.js915 * @param {number} highBits The high 32 bits.
918 field, lowBits, highBits) {
920 this.encoder_.writeSplitFixed64(lowBits, highBits);
928 * @param {number} highBits The high 32 bits.
931 field, lowBits, highBits) {
933 this.encoder_.writeSplitVarint64(lowBits, highBits);
941 * @param {number} highBits The high 32 bits.
944 field, lowBits, highBits) {
947 jspb.utils.toZigzag64(lowBits, highBits, function(lowBits, highBits) {
[all...]
H A Dwriter_test.js159 function bitsAsArray(lowBits, highBits) {
160 return [lowBits >>> 0, highBits >>> 0];
H A Dreader.js978 * the result value, takes parameters (lowBits, highBits).
995 * the result value, takes parameters (lowBits, highBits).
1002 return this.decoder_.readSplitVarint64(function(lowBits, highBits) {
1003 return jspb.utils.fromZigzag64(lowBits, highBits, convert);
1028 * the result value, takes parameters (lowBits, highBits).
/third_party/vk-gl-cts/framework/delibs/deutil/
H A DdeFile.c317 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/icu/icu4c/source/common/
H A Dputil.cpp353 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/node/deps/icu-small/source/common/
H A Dputil.cpp353 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/
H A Dputil.cpp353 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/
H A Des31fMultisampleTests.cpp950 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()

Completed in 17 milliseconds