Home
last modified time | relevance | path

Searched refs:lowBits (Results 1 – 20 of 20) sorted by relevance

/third_party/protobuf/js/experimental/runtime/
Dint64.js35 static fromBits(lowBits, highBits) { argument
36 return new Int64(lowBits, highBits);
93 const lowBits = parseInt(value.slice(-8), 16);
95 return (minus ? negate : Int64.fromBits)(lowBits, highBits);
120 constructor(lowBits, highBits) { argument
122 this.lowBits_ = lowBits | 0;
190 let lowBits = this.lowBits_;
195 nibbles[lowIndex] = HEX_DIGITS[lowBits & 0xF];
197 lowBits = lowBits >>> 4;
239 const lowBits = int64.getLowBitsUnsigned(); constant
[all …]
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/data/
DSegmentedGrowableMemoryByteArray.java33 private final int lowBits; field in SegmentedGrowableMemoryByteArray
57 public SegmentedGrowableMemoryByteArray(int lowBits) { in SegmentedGrowableMemoryByteArray() argument
60 this.lowBits = lowBits; in SegmentedGrowableMemoryByteArray()
126 return index & ~(0x01 << Math.max(this.lowBits, bufferIndex + this.lowBits - 1)); in bufferOffset()
137 return FontMath.log2(index >> this.lowBits) + 1; in bufferIndex()
153 int bufferSize = 1 << (Math.max(0, i - 1) + this.lowBits); in buffer()
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/data/
DSegmentedGrowableMemoryByteArray.java33 private final int lowBits; field in SegmentedGrowableMemoryByteArray
57 public SegmentedGrowableMemoryByteArray(int lowBits) { in SegmentedGrowableMemoryByteArray() argument
60 this.lowBits = lowBits; in SegmentedGrowableMemoryByteArray()
126 return index & ~(0x01 << Math.max(this.lowBits, bufferIndex + this.lowBits - 1)); in bufferOffset()
137 return FontMath.log2(index >> this.lowBits) + 1; in bufferIndex()
153 int bufferSize = 1 << (Math.max(0, i - 1) + this.lowBits); in buffer()
/third_party/protobuf/js/experimental/runtime/kernel/
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);
95 const lowBits = bufferDecoder.getInt32(start);
97 return Int64.fromBits(lowBits, highBits);
121 const {lowBits, highBits} = bufferDecoder.getVarint(start);
122 const sign = -(lowBits & 0x01);
123 const decodedLowerBits = ((lowBits >>> 1) | (highBits & 0x01) << 31) ^ sign;
Dbuffer_decoder.js177 let lowBits = 0;
182 lowBits |= (b & 0x7F) << shift;
184 return {lowBits, highBits};
191 lowBits |= (middleByte & 0x0F) << 28;
197 return {lowBits, highBits};
205 return {lowBits, highBits};
211 return {lowBits, highBits};
Dbuffer_decoder_test.js75 const {lowBits, highBits} = bufferDecoder.getVarint(0);
76 expect(lowBits).toBe(0);
84 const {lowBits, highBits} = bufferDecoder.getVarint(0);
85 expect(lowBits).toBe(1);
93 const {lowBits, highBits} = bufferDecoder.getVarint(0);
94 expect(lowBits).toBe(-1);
Dwriter.js344 writeVarint64_(highBits, lowBits) { argument
346 const shift = lowBits >>> i;
355 const splitBits = ((lowBits >>> 28) & 0x0F) | ((highBits & 0x07) << 4);
404 const lowBits = value.getLowBits();
407 const encodedLowBits = (lowBits << 1) ^ sign;
408 const encodedHighBits = ((highBits << 1) | (lowBits >>> 31)) ^ sign;
/third_party/protobuf/js/binary/
Dencoder.js83 jspb.BinaryEncoder.prototype.writeSplitVarint64 = function(lowBits, highBits) { argument
84 goog.asserts.assert(lowBits == Math.floor(lowBits));
86 goog.asserts.assert((lowBits >= 0) &&
87 (lowBits < jspb.BinaryConstants.TWO_TO_32));
93 while (highBits > 0 || lowBits > 127) {
94 this.buffer_.push((lowBits & 0x7f) | 0x80);
95 lowBits = ((lowBits >>> 7) | (highBits << 25)) >>> 0;
98 this.buffer_.push(lowBits);
108 jspb.BinaryEncoder.prototype.writeSplitFixed64 = function(lowBits, highBits) { argument
109 goog.asserts.assert(lowBits == Math.floor(lowBits));
[all …]
Dutils.js77 var lowBits = value >>> 0;
78 var highBits = Math.floor((value - lowBits) /
81 jspb.utils.split64Low = lowBits;
97 var lowBits = value >>> 0;
98 var highBits = Math.floor((value - lowBits) /
105 lowBits = ~lowBits >>> 0;
106 lowBits += 1;
107 if (lowBits > 0xFFFFFFFF) {
108 lowBits = 0;
114 jspb.utils.split64Low = lowBits;
[all …]
Ddecoder.js291 var lowBits = 0;
298 lowBits |= (temp & 0x7F) << (i * 7);
304 lowBits |= (temp & 0x7F) << 28;
317 return convert(lowBits >>> 0, highBits >>> 0);
366 var lowBits = 0;
369 lowBits = (lowBits << 8) | bytes[i];
372 return convert(lowBits, highBits);
Dwriter.js918 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);
Dwriter_test.js159 function bitsAsArray(lowBits, highBits) { argument
160 return [lowBits >>> 0, highBits >>> 0];
Dreader.js1002 return this.decoder_.readSplitVarint64(function(lowBits, highBits) { argument
1003 return jspb.utils.fromZigzag64(lowBits, highBits, convert);
Dreader_test.js420 function rejoin(lowBits, highBits) { argument
421 return highBits * 2 ** 32 + (lowBits >>> 0);
/third_party/vk-gl-cts/framework/delibs/deutil/
DdeFile.c316 LONG lowBits = (LONG)(offset & 0xFFFFFFFFll); in deFile_seek() local
329 return SetFilePointer(file->handle, lowBits, &highBits, method) != INVALID_SET_FILE_POINTER; in deFile_seek()
335 LONG lowBits = SetFilePointer(file->handle, 0, &highBits, FILE_CURRENT); in deFile_getPosition() local
337 return (deInt64)(((deUint64)highBits << 32) | (deUint64)lowBits); in deFile_getPosition()
343 DWORD lowBits = GetFileSize(file->handle, &highBits); in deFile_getSize() local
345 return (deInt64)(((deUint64)highBits << 32) | (deUint64)lowBits); in deFile_getSize()
/third_party/icu/icu4c/source/common/
Dputil.cpp355 uint32_t lowBits = *(uint32_t*)u_bottomNBytesOfDouble(&number, in uprv_isNaN()
359 (lowBits == 0x00000000L); in uprv_isNaN()
380 uint32_t lowBits = *(uint32_t*)u_bottomNBytesOfDouble(&number, in uprv_isInfinite()
383 return ((highBits & ~SIGN) == 0x70FF0000L) && (lowBits == 0x00000000L); in uprv_isInfinite()
/third_party/node/deps/icu-small/source/common/
Dputil.cpp355 uint32_t lowBits = *(uint32_t*)u_bottomNBytesOfDouble(&number, in uprv_isNaN()
359 (lowBits == 0x00000000L); in uprv_isNaN()
380 uint32_t lowBits = *(uint32_t*)u_bottomNBytesOfDouble(&number, in uprv_isInfinite()
383 return ((highBits & ~SIGN) == 0x70FF0000L) && (lowBits == 0x00000000L); in uprv_isInfinite()
/third_party/flutter/skia/third_party/externals/icu/source/common/
Dputil.cpp362 uint32_t lowBits = *(uint32_t*)u_bottomNBytesOfDouble(&number, in uprv_isNaN()
366 (lowBits == 0x00000000L); in uprv_isNaN()
387 uint32_t lowBits = *(uint32_t*)u_bottomNBytesOfDouble(&number, in uprv_isInfinite()
390 return ((highBits & ~SIGN) == 0x70FF0000L) && (lowBits == 0x00000000L); in uprv_isInfinite()
/third_party/skia/third_party/externals/icu/source/common/
Dputil.cpp355 uint32_t lowBits = *(uint32_t*)u_bottomNBytesOfDouble(&number, in uprv_isNaN()
359 (lowBits == 0x00000000L); in uprv_isNaN()
380 uint32_t lowBits = *(uint32_t*)u_bottomNBytesOfDouble(&number, in uprv_isInfinite()
383 return ((highBits & ~SIGN) == 0x70FF0000L) && (lowBits == 0x00000000L); in uprv_isInfinite()
/third_party/mesa3d/src/amd/addrlib/src/gfx9/
Dgfx9addrlib.cpp2657 UINT_32 lowBits = 0; in HwlComputeThinEquation() local
2668 lowBits = 6; in HwlComputeThinEquation()
2684 lowBits = 8; in HwlComputeThinEquation()
2690 for (UINT_32 i = lowBits; i < blockSizeLog2; i++) in HwlComputeThinEquation()
2944 const UINT_32 lowBits = 10; in HwlComputeThickEquation() local
2945 ADDR_ASSERT(pEquation->addr[lowBits - 1].valid == 1); in HwlComputeThickEquation()
2946 ADDR_ASSERT(pEquation->addr[lowBits].valid == 0); in HwlComputeThickEquation()
2948 for (UINT_32 i = lowBits; i < blockSizeLog2; i++) in HwlComputeThickEquation()