Searched refs:fromByteWidth (Results 1 – 8 of 8) sorted by relevance
/third_party/flatbuffers/ts/flexbuffers/ |
D | reference.ts | 1 import { fromByteWidth } from './bit-width-util' 19 const parentWidth = fromByteWidth(byteWidth); 59 …his.dataView, indirect(this.dataView, this.offset, this.parentWidth), fromByteWidth(this.byteWidth… 62 …his.dataView, indirect(this.dataView, this.offset, this.parentWidth), fromByteWidth(this.byteWidth… 72 …his.dataView, indirect(this.dataView, this.offset, this.parentWidth), fromByteWidth(this.byteWidth… 111 …return new Reference(this.dataView, elementOffset, fromByteWidth(this.byteWidth), _packedType, `${… 132 …irect(this.dataView, this.offset, this.parentWidth) - this.byteWidth, fromByteWidth(this.byteWidth… 138 size = readUInt(this.dataView, _indirect - sizeByteWidth, fromByteWidth(this.byteWidth)); 141 size = readUInt(this.dataView, _indirect - sizeByteWidth, fromByteWidth(this.byteWidth));
|
D | reference-util.ts | 2 import { toByteWidth, fromByteWidth } from './bit-width-util' 70 const bitWidth = fromByteWidth(byteWidth); 90 …const keyIndirectOffset = keyOffset - (readUInt(dataView, keyOffset, fromByteWidth(width)) as numb… 104 …return new Reference(dataView, elementOffset, fromByteWidth(byteWidth), packedType, `${path}/${key… 109 const bitWidth = fromByteWidth(byteWidth); 113 …const keyIndirectOffset = keyOffset - (readUInt(dataView, keyOffset, fromByteWidth(_byteWidth)) as…
|
D | stack-value.ts | 3 import { paddingSize, uwidth, fromByteWidth } from './bit-width-util' 35 const bitWidth = fromByteWidth(byteWidth); 38 const bitWidth = fromByteWidth(byteWidth);
|
D | bit-width-util.ts | 25 export function fromByteWidth(value: number): BitWidth { function
|
D | builder.ts | 2 import { paddingSize, iwidth, uwidth, fwidth, toByteWidth, fromByteWidth } from './bit-width-util' 86 this.pushInt(value, fromByteWidth(byteWidth)); 92 this.pushUInt(value, fromByteWidth(byteWidth));
|
/third_party/flatbuffers/dart/lib/src/ |
D | reference.dart | 33 …return Reference._(ByteData.view(buffer), offset, BitWidthUtil.fromByteWidth(byteWidth), packedTyp… 74 return _readInt(_indirect, BitWidthUtil.fromByteWidth(_byteWidth)); 77 return _readUInt(_indirect, BitWidthUtil.fromByteWidth(_byteWidth)); 90 return _readFloat(_indirect, BitWidthUtil.fromByteWidth(_byteWidth)); 129 …final reference = Reference._(_buffer, elementOffset, BitWidthUtil.fromByteWidth(_byteWidth), 0, "… 140 …return Reference._(_buffer, elementOffset, BitWidthUtil.fromByteWidth(_byteWidth), packedType, "$_… 191 _length = _readUInt(_indirect - _byteWidth, BitWidthUtil.fromByteWidth(_byteWidth)); 197 var size = _readUInt(indirect - size_byte_width, BitWidthUtil.fromByteWidth(size_byte_width)); 200 size = _readUInt(indirect - size_byte_width, BitWidthUtil.fromByteWidth(size_byte_width)); 327 …ectOffset = keysVectorOffset - _readUInt(keysVectorOffset, BitWidthUtil.fromByteWidth(_byteWidth)); [all …]
|
D | types.dart | 35 static BitWidth fromByteWidth(int value) {
|
D | builder.dart | 450 _pushBuffer(value.asU8List(BitWidthUtil.fromByteWidth(byteWidth))); 457 _pushUInt(value, BitWidthUtil.fromByteWidth(byteWidth));
|