Home
last modified time | relevance | path

Searched refs:byteLength (Results 1 – 4 of 4) sorted by relevance

/haiku/src/apps/terminal/
H A DHistoryBuffer.cpp93 for (int32 i = 0; i < line->byteLength;) { in GetTerminalLineAt()
145 int32 byteLength = 0; in AddLine() local
148 byteLength += cell.character.ByteCount(); in AddLine()
163 HistoryLine* historyLine = _AllocateLine(attributesRuns, byteLength); in AddLine()
231 line->byteLength = 0; in AddEmptyLines()
256 HistoryBuffer::_AllocateLine(int32 attributesRuns, int32 byteLength) in _AllocateLine() argument
263 int32 bytesNeeded = attributesRuns * sizeof(AttributesRun) + byteLength; in _AllocateLine()
296 line->byteLength = byteLength; in _AllocateLine()
H A DHistoryBuffer.h40 int32 byteLength);
H A DTerminalLine.h247 uint16 byteLength : 15; // number of bytes in the line member
263 return attributesRunCount * sizeof(AttributesRun) + byteLength; in BufferSize()
/haiku/src/tools/html5_remote_desktop/
H A DHaikuRemoteDesktop.js212 function StreamingDataView(buffer, littleEndian, byteOffset, byteLength) argument
215 this.dataView = new DataView(buffer.buffer, byteOffset, byteLength);
302 typedArray.set(this.buffer.slice(where, where + typedArray.byteLength));
303 this.position += typedArray.byteLength;
968 if (this.buffer.byteLength < bufferSize)
975 var bytesLeft = buffer.byteLength - byteOffset;
1836 var combined = new Uint8Array(this.messageRemainder.byteLength
1837 + data.byteLength);
1839 combined.set(new Uint8Array(data), this.messageRemainder.byteLength);
1867 if (data.byteLength > byteOffset)