Home
last modified time | relevance | path

Searched refs:fromByteWidth (Results 1 – 8 of 8) sorted by relevance

/third_party/flatbuffers/ts/flexbuffers/
Dreference.ts1 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));
Dreference-util.ts2 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…
Dstack-value.ts3 import { paddingSize, uwidth, fromByteWidth } from './bit-width-util'
35 const bitWidth = fromByteWidth(byteWidth);
38 const bitWidth = fromByteWidth(byteWidth);
Dbit-width-util.ts25 export function fromByteWidth(value: number): BitWidth { function
Dbuilder.ts2 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/
Dreference.dart33 …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 …]
Dtypes.dart35 static BitWidth fromByteWidth(int value) {
Dbuilder.dart450 _pushBuffer(value.asU8List(BitWidthUtil.fromByteWidth(byteWidth)));
457 _pushUInt(value, BitWidthUtil.fromByteWidth(byteWidth));