Home
last modified time | relevance | path

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

/external/cronet/third_party/protobuf/js/experimental/runtime/
Dint64.js35 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 …]
/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);
96 const highBits = bufferDecoder.getInt32(start + 4);
97 return Int64.fromBits(lowBits, highBits);
108 const {lowBits, highBits} = bufferDecoder.getVarint(start);
110 const decodedLowerBits = ((lowBits >>> 1) | (highBits & 0x01) << 31) ^ sign;
111 const decodedUpperBits = (highBits >>> 1) ^ sign;
Dbuffer_decoder.js178 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};
Dwriter.js344 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;
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);
/external/cronet/third_party/protobuf/js/binary/
Dencoder.js83 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 …]
Dutils.js79 var highBits = Math.floor((value - lowBits) /
83 jspb.utils.split64High = highBits;
99 var highBits = Math.floor((value - lowBits) /
101 highBits = highBits >>> 0;
105 highBits = ~highBits >>> 0;
110 highBits++;
111 if (highBits > 0xFFFFFFFF) highBits = 0;
116 jspb.utils.split64High = highBits;
132 var highBits = jspb.utils.split64High;
138 if (highBits == 0) {
[all …]
Ddecoder.js293 var highBits = 0;
306 highBits |= (temp & 0x7F) >> 4;
313 highBits |= (temp & 0x7F) << (i * 7 + 3);
318 return convert(lowBits >>> 0, highBits >>> 0);
368 var highBits = 0;
371 highBits = (highBits << 8) | bytes[i + 4];
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.cpp19 int highBits(uint32_t rv) { in highBits() 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()
279 SkASSERT(tc.expectedLowerBound == highBits(tc.input)); in DEF_TEST()
/external/deqp/framework/delibs/deutil/
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()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/
DVorbisUtil.java411 int highBits = 0; in readResidues() local
414 highBits = bitArray.readBits(5); in readResidues()
416 cascade[j] = highBits * 8 + lowBits; in readResidues()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/
DVorbisUtil.java459 int highBits = 0; in readResidues() local
462 highBits = bitArray.readBits(5); in readResidues()
464 cascade[j] = highBits * 8 + lowBits; in readResidues()
/external/cronet/third_party/icu/source/common/
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()
/external/icu/icu4c/source/common/
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()
/external/deqp/modules/gles31/functional/
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()
/external/pffft/
Dsse2neon.h1791 int16x4_t highBits = vget_high_s16(ret); \
1792 ret = vsetq_lane_s16(vget_lane_s16(highBits, (imm) & (0x3)), ret, 4); \
1793 ret = vsetq_lane_s16(vget_lane_s16(highBits, ((imm) >> 2) & 0x3), ret, \
1795 ret = vsetq_lane_s16(vget_lane_s16(highBits, ((imm) >> 4) & 0x3), ret, \
1797 ret = vsetq_lane_s16(vget_lane_s16(highBits, ((imm) >> 6) & 0x3), ret, \