• Home
  • Raw
  • Download

Lines Matching refs:kHostIsLittleEndian

8   var kHostIsLittleEndian = (function () {  function
62 return this.dataView.getUint16(offset, kHostIsLittleEndian);
65 return this.dataView.getUint32(offset, kHostIsLittleEndian);
69 if (kHostIsLittleEndian) {
70 lo = this.dataView.getUint32(offset, kHostIsLittleEndian);
71 hi = this.dataView.getUint32(offset + 4, kHostIsLittleEndian);
73 hi = this.dataView.getUint32(offset, kHostIsLittleEndian);
74 lo = this.dataView.getUint32(offset + 4, kHostIsLittleEndian);
83 return this.dataView.getInt16(offset, kHostIsLittleEndian);
86 return this.dataView.getInt32(offset, kHostIsLittleEndian);
90 if (kHostIsLittleEndian) {
91 lo = this.dataView.getUint32(offset, kHostIsLittleEndian);
92 hi = this.dataView.getInt32(offset + 4, kHostIsLittleEndian);
94 hi = this.dataView.getInt32(offset, kHostIsLittleEndian);
95 lo = this.dataView.getUint32(offset + 4, kHostIsLittleEndian);
101 return this.dataView.getFloat32(offset, kHostIsLittleEndian);
104 return this.dataView.getFloat64(offset, kHostIsLittleEndian);
111 this.dataView.setUint16(offset, value, kHostIsLittleEndian);
114 this.dataView.setUint32(offset, value, kHostIsLittleEndian);
118 if (kHostIsLittleEndian) {
119 this.dataView.setInt32(offset, value, kHostIsLittleEndian);
120 this.dataView.setInt32(offset + 4, hi, kHostIsLittleEndian);
122 this.dataView.setInt32(offset, hi, kHostIsLittleEndian);
123 this.dataView.setInt32(offset + 4, value, kHostIsLittleEndian);
131 this.dataView.setInt16(offset, value, kHostIsLittleEndian);
134 this.dataView.setInt32(offset, value, kHostIsLittleEndian);
138 if (kHostIsLittleEndian) {
139 this.dataView.setInt32(offset, value, kHostIsLittleEndian);
140 this.dataView.setInt32(offset + 4, hi, kHostIsLittleEndian);
142 this.dataView.setInt32(offset, hi, kHostIsLittleEndian);
143 this.dataView.setInt32(offset + 4, value, kHostIsLittleEndian);
148 this.dataView.setFloat32(offset, value, kHostIsLittleEndian);
151 this.dataView.setFloat64(offset, value, kHostIsLittleEndian);