Home
last modified time | relevance | path

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

12

/external/cronet/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 …]
/external/cronet/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);
108 const {lowBits, highBits} = bufferDecoder.getVarint(start);
109 const sign = -(lowBits & 0x01);
110 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;
/external/cronet/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.js78 var lowBits = value >>> 0;
79 var highBits = Math.floor((value - lowBits) /
82 jspb.utils.split64Low = lowBits;
98 var lowBits = value >>> 0;
99 var highBits = Math.floor((value - lowBits) /
106 lowBits = ~lowBits >>> 0;
107 lowBits += 1;
108 if (lowBits > 0xFFFFFFFF) {
109 lowBits = 0;
115 jspb.utils.split64Low = lowBits;
[all …]
Ddecoder.js292 var lowBits = 0;
299 lowBits |= (temp & 0x7F) << (i * 7);
305 lowBits |= (temp & 0x7F) << 28;
318 return convert(lowBits >>> 0, highBits >>> 0);
367 var lowBits = 0;
370 lowBits = (lowBits << 8) | bytes[i];
373 return convert(lowBits, highBits);
Dwriter.js919 field, lowBits, highBits) { argument
921 this.encoder_.writeSplitFixed64(lowBits, highBits);
932 field, lowBits, highBits) { argument
934 this.encoder_.writeSplitVarint64(lowBits, highBits);
945 field, lowBits, highBits) { argument
948 jspb.utils.toZigzag64(lowBits, highBits, function(lowBits, highBits) { argument
949 encoder.writeSplitVarint64(lowBits >>> 0, highBits >>> 0);
Dwriter_test.js202 function bitsAsArray(lowBits, highBits) { argument
203 return [lowBits >>> 0, highBits >>> 0];
Dreader.js1012 return this.decoder_.readSplitVarint64(function(lowBits, highBits) { argument
1013 return jspb.utils.fromZigzag64(lowBits, highBits, convert);
Dreader_test.js458 function rejoin(lowBits, highBits) { argument
459 return highBits * 2 ** 32 + (lowBits >>> 0);
/external/skia/tests/
DMatrixProcsTest.cpp27 int lowBits(uint32_t rv) { in lowBits() function
78 highBits(rv), middleBits(rv), lowBits(rv), in DEF_TEST()
79 highBits(exp), middleBits(exp), lowBits(exp)); in DEF_TEST()
120 highBits(rv), middleBits(rv), lowBits(rv), in DEF_TEST()
121 highBits(exp), middleBits(exp), lowBits(exp)); in DEF_TEST()
180 highBits(rv), middleBits(rv), lowBits(rv), in DEF_TEST()
181 highBits(exp), middleBits(exp), lowBits(exp)); in DEF_TEST()
241 highBits(rv), middleBits(rv), lowBits(rv), in DEF_TEST()
242 highBits(exp), middleBits(exp), lowBits(exp)); in DEF_TEST()
281 SkASSERT(tc.expectedUpperBound == lowBits(tc.input)); in DEF_TEST()
/external/deqp/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()
/external/zstd/lib/common/
Dfse.h622 size_t const lowBits = BIT_readBits(bitD, nbBits); in FSE_updateState() local
623 DStatePtr->state = DInfo.newState + lowBits; in FSE_updateState()
631 size_t const lowBits = BIT_readBits(bitD, nbBits); in FSE_decodeSymbol() local
633 DStatePtr->state = DInfo.newState + lowBits; in FSE_decodeSymbol()
644 size_t const lowBits = BIT_readBitsFast(bitD, nbBits); in FSE_decodeSymbolFast() local
646 DStatePtr->state = DInfo.newState + lowBits; in FSE_decodeSymbolFast()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
DWNafL2RMultiplier.java54 int lowBits = n ^ (1 << (highest - 1)); in multiplyPositive()
57 int i2 = (lowBits << scale) + 1; in multiplyPositive()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/math/ec/
DWNafL2RMultiplier.java56 int lowBits = n ^ (1 << (highest - 1)); in multiplyPositive()
59 int i2 = (lowBits << scale) + 1; in multiplyPositive()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/math/ec/
DWNafL2RMultiplier.java56 int lowBits = n ^ (1 << (highest - 1)); in multiplyPositive()
59 int i2 = (lowBits << scale) + 1; in multiplyPositive()
/external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/
DDFA.as198 var lowBits:int = encodedString.charCodeAt(i);
201 n |= lowBits;
207 lowBits = encodedString.charCodeAt(i);
210 v |= lowBits;
/external/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/
DSession.c146 CONTEXT_SLOT lowBits; in ContextIdSetOldest() local
154 lowBits = (CONTEXT_SLOT)gr.contextCounter; in ContextIdSetOldest()
165 if(((CONTEXT_SLOT)(entry - lowBits)) <= smallest) in ContextIdSetOldest()
167 smallest = (entry - lowBits); in ContextIdSetOldest()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/
DVorbisUtil.java412 int lowBits = bitArray.readBits(3); in readResidues() local
416 cascade[j] = highBits * 8 + lowBits; in readResidues()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/
DVorbisUtil.java460 int lowBits = bitArray.readBits(3); in readResidues() local
464 cascade[j] = highBits * 8 + lowBits; in readResidues()
/external/cronet/third_party/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()
/external/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()
/external/zstd/lib/legacy/
Dzstd_v01.c783 size_t lowBits = FSE_readBits(bitD, nbBits); in FSE_decodeSymbol() local
785 DStatePtr->state = DInfo.newState + lowBits; in FSE_decodeSymbol()
794 size_t lowBits = FSE_readBitsFast(bitD, nbBits); in FSE_decodeSymbolFast() local
796 DStatePtr->state = DInfo.newState + lowBits; in FSE_decodeSymbolFast()

12