/third_party/flatbuffers/ts/flexbuffers/ |
D | reference.ts | 3 …lementSize, isFixedTypedVector, isTypedVector, typedVectorElementType, packedType, fixedTypedVecto… 18 const packedType = dataView.getUint8(len - 2); constant 22 return new Reference(dataView, offset, parentWidth, packedType, "/") 29 …DataView, private offset: number, private parentWidth: number, private packedType: ValueType, priv… property in Reference 30 this.byteWidth = 1 << (packedType & 3) 31 this.valueType = packedType >> 2 106 _packedType = packedType(_valueType, BitWidth.WIDTH8); 109 _packedType = packedType(_valueType, BitWidth.WIDTH8);
|
D | stack-value.ts | 5 import { isInline, packedType } from './value-type-util' 55 return packedType(this.type, this.storedWidth(width));
|
D | reference-util.ts | 103 const packedType = dataView.getUint8(_indirect + length * byteWidth + index); constant 104 …return new Reference(dataView, elementOffset, fromByteWidth(byteWidth), packedType, `${path}/${key…
|
D | value-type-util.ts | 62 export function packedType(valueType: ValueType, bitWidth: number): ValueType { function
|
/third_party/flatbuffers/dart/test/ |
D | flex_types_test.dart | 105 expect(ValueTypeUtils.packedType(ValueType.Null, BitWidth.width8), equals(0)); 106 expect(ValueTypeUtils.packedType(ValueType.Null, BitWidth.width16), equals(1)); 107 expect(ValueTypeUtils.packedType(ValueType.Null, BitWidth.width32), equals(2)); 108 expect(ValueTypeUtils.packedType(ValueType.Null, BitWidth.width64), equals(3)); 110 expect(ValueTypeUtils.packedType(ValueType.Int, BitWidth.width8), equals(4)); 111 expect(ValueTypeUtils.packedType(ValueType.Int, BitWidth.width16), equals(5)); 112 expect(ValueTypeUtils.packedType(ValueType.Int, BitWidth.width32), equals(6)); 113 expect(ValueTypeUtils.packedType(ValueType.Int, BitWidth.width64), equals(7));
|
/third_party/flatbuffers/dart/lib/src/ |
D | reference.dart | 18 Reference._(this._buffer, this._offset, this._parentWidth, int packedType, this._path) { 19 _byteWidth = 1 << (packedType & 3); 20 _valueType = ValueTypeUtils.fromInt(packedType >> 2); 31 final packedType = byteData.getUint8(len - 2); 33 …Reference._(ByteData.view(buffer), offset, BitWidthUtil.fromByteWidth(byteWidth), packedType, "/"); 139 final packedType = _buffer.getUint8(_indirect + length * _byteWidth + index); 140 …return Reference._(_buffer, elementOffset, BitWidthUtil.fromByteWidth(_byteWidth), packedType, "$_… 359 final packedType = _buffer.getUint8(indirect + length * _byteWidth + index); 360 …return Reference._(_buffer, elementOffset, BitWidthUtil.fromByteWidth(_byteWidth), packedType, "$_… 366 final packedType = _buffer.getUint8(indirect + length * _byteWidth + index); [all …]
|
D | types.dart | 163 static int packedType(ValueType self, BitWidth bitWidth) {
|
D | builder.dart | 553 return ValueTypeUtils.packedType(_type, storedWidth(width: width));
|
/third_party/flatbuffers/kotlin/flatbuffers-kotlin/src/commonMain/kotlin/com/google/flatbuffers/kotlin/ |
D | FlexBuffers.kt | 49 internal constructor(bb: ReadBuffer, end: Int, parentWidth: ByteWidth, packedType: Int) : 50 …this(bb, end, parentWidth, ByteWidth(1 shl (packedType and 3)), FlexBufferType((packedType shr 2))) 583 val packedType = buffer[(end + size * byteWidth.value + index)].toInt() in toString() constant 585 return Reference(buffer, objEnd, byteWidth, packedType) in toString() 730 val packedType = buffer[packedPos].toInt() in toString() constant 732 return Reference(buffer, objEnd, byteWidth, packedType) in toString()
|
D | FlexBuffersInternals.kt | 127 …inline fun storedPackedType(parentBitWidth: BitWidth = W_8): Byte = packedType(storedWidth(parentB… in isTypedVector() 129 …private inline fun packedType(bitWidth: BitWidth, type: FlexBufferType): Byte = (bitWidth.value or… in isTypedVector() method in com.google.flatbuffers.kotlin.Value
|
/third_party/flatbuffers/java/com/google/flatbuffers/ |
D | FlexBuffers.java | 233 Reference(ReadBuf bb, int end, int parentWidth, int packedType) { in Reference() argument 234 this(bb, end, parentWidth, (1 << (packedType & 3)), packedType >> 2); in Reference() 1084 int packedType = byteToUnsignedInt(bb.get((int) (end + (len * byteWidth) + index))); in get() local 1086 return new Reference(bb, obj_end, byteWidth, packedType); in get()
|
D | FlexBuffersBuilder.java | 729 return packedType(storedWidth(parentBitWidth), type); in storedPackedType() 732 private static byte packedType(int bitWidth, int type) { in packedType() method in FlexBuffersBuilder.Value
|
/third_party/mesa3d/src/gallium/drivers/nouveau/codegen/ |
D | nv50_ir_lowering_nv50.cpp | 1899 DataType packedType = getPackedType(format, i); in handleSULDP() local 1906 packedType, shifted); in handleSULDP() 2066 DataType packedType = getPackedType(format, i); in handleSUSTP() local 2069 if (shaderType == TYPE_F32 && typeSizeof(packedType) == 1) { in handleSUSTP() 2070 packedType = format->type == SNORM ? TYPE_S16 : TYPE_U16; in handleSUSTP() 2072 bld.mkCvt(OP_CVT, packedType, untypedDst16[i], shaderType, typedDst[i]); in handleSUSTP() 2092 } else if (packedType != TYPE_U8) { in handleSUSTP()
|