| OLD | NEW |
| 1 var typed_data; | 1 var typed_data; |
| 2 (function(exports) { | 2 (function(exports) { |
| 3 'use strict'; | 3 'use strict'; |
| 4 class ByteBuffer extends core.Object { | 4 class ByteBuffer extends core.Object { |
| 5 } | 5 } |
| 6 class TypedData extends core.Object { | 6 class TypedData extends core.Object { |
| 7 } | 7 } |
| 8 let _ = Symbol('_'); |
| 8 let _littleEndian = Symbol('_littleEndian'); | 9 let _littleEndian = Symbol('_littleEndian'); |
| 9 let _ = Symbol('_'); | |
| 10 class Endianness extends core.Object { | 10 class Endianness extends core.Object { |
| 11 Endianness$_(littleEndian) { | 11 [_](littleEndian) { |
| 12 this[_littleEndian] = littleEndian; | 12 this[_littleEndian] = littleEndian; |
| 13 } | 13 } |
| 14 } | 14 } |
| 15 dart.defineNamedConstructor(Endianness, _); | 15 dart.defineNamedConstructor(Endianness, _); |
| 16 Endianness.BIG_ENDIAN = new Endianness._(false); | 16 Endianness.BIG_ENDIAN = new Endianness[_](false); |
| 17 Endianness.LITTLE_ENDIAN = new Endianness._(true); | 17 Endianness.LITTLE_ENDIAN = new Endianness[_](true); |
| 18 dart.defineLazyProperties(Endianness, { | 18 dart.defineLazyProperties(Endianness, { |
| 19 get HOST_ENDIAN() { | 19 get HOST_ENDIAN() { |
| 20 return new ByteData.view(new Uint16List.fromList(dart.as(new core.List.fro
m([1]), core.List$(core.int))).buffer).getInt8(0) === 1 ? Endianness.LITTLE_ENDI
AN : Endianness.BIG_ENDIAN; | 20 return new ByteData.view(new Uint16List.fromList(dart.as(new core.List.fro
m([1]), core.List$(core.int))).buffer).getInt8(0) === 1 ? Endianness.LITTLE_ENDI
AN : Endianness.BIG_ENDIAN; |
| 21 } | 21 } |
| 22 }); | 22 }); |
| 23 class ByteData extends core.Object { | 23 class ByteData extends core.Object { |
| 24 ByteData(length) { | 24 ByteData(length) { |
| 25 return new _native_typed_data.NativeByteData(length); | 25 return new _native_typed_data.NativeByteData(length); |
| 26 } | 26 } |
| 27 ByteData$view(buffer, offsetInBytes, length) { | 27 view(buffer, offsetInBytes, length) { |
| 28 if (offsetInBytes === void 0) | 28 if (offsetInBytes === void 0) |
| 29 offsetInBytes = 0; | 29 offsetInBytes = 0; |
| 30 if (length === void 0) | 30 if (length === void 0) |
| 31 length = null; | 31 length = null; |
| 32 return buffer.asByteData(offsetInBytes, length); | 32 return buffer.asByteData(offsetInBytes, length); |
| 33 } | 33 } |
| 34 } | 34 } |
| 35 dart.defineNamedConstructor(ByteData, 'view'); | 35 dart.defineNamedConstructor(ByteData, 'view'); |
| 36 class Int8List extends core.Object { | 36 class Int8List extends core.Object { |
| 37 Int8List(length) { | 37 Int8List(length) { |
| 38 return new _native_typed_data.NativeInt8List(length); | 38 return new _native_typed_data.NativeInt8List(length); |
| 39 } | 39 } |
| 40 Int8List$fromList(elements) { | 40 fromList(elements) { |
| 41 return new _native_typed_data.NativeInt8List.fromList(elements); | 41 return new _native_typed_data.NativeInt8List.fromList(elements); |
| 42 } | 42 } |
| 43 Int8List$view(buffer, offsetInBytes, length) { | 43 view(buffer, offsetInBytes, length) { |
| 44 if (offsetInBytes === void 0) | 44 if (offsetInBytes === void 0) |
| 45 offsetInBytes = 0; | 45 offsetInBytes = 0; |
| 46 if (length === void 0) | 46 if (length === void 0) |
| 47 length = null; | 47 length = null; |
| 48 return buffer.asInt8List(offsetInBytes, length); | 48 return buffer.asInt8List(offsetInBytes, length); |
| 49 } | 49 } |
| 50 } | 50 } |
| 51 dart.defineNamedConstructor(Int8List, 'fromList'); | 51 dart.defineNamedConstructor(Int8List, 'fromList'); |
| 52 dart.defineNamedConstructor(Int8List, 'view'); | 52 dart.defineNamedConstructor(Int8List, 'view'); |
| 53 Int8List.BYTES_PER_ELEMENT = 1; | 53 Int8List.BYTES_PER_ELEMENT = 1; |
| 54 class Uint8List extends core.Object { | 54 class Uint8List extends core.Object { |
| 55 Uint8List(length) { | 55 Uint8List(length) { |
| 56 return new _native_typed_data.NativeUint8List(length); | 56 return new _native_typed_data.NativeUint8List(length); |
| 57 } | 57 } |
| 58 Uint8List$fromList(elements) { | 58 fromList(elements) { |
| 59 return new _native_typed_data.NativeUint8List.fromList(elements); | 59 return new _native_typed_data.NativeUint8List.fromList(elements); |
| 60 } | 60 } |
| 61 Uint8List$view(buffer, offsetInBytes, length) { | 61 view(buffer, offsetInBytes, length) { |
| 62 if (offsetInBytes === void 0) | 62 if (offsetInBytes === void 0) |
| 63 offsetInBytes = 0; | 63 offsetInBytes = 0; |
| 64 if (length === void 0) | 64 if (length === void 0) |
| 65 length = null; | 65 length = null; |
| 66 return buffer.asUint8List(offsetInBytes, length); | 66 return buffer.asUint8List(offsetInBytes, length); |
| 67 } | 67 } |
| 68 } | 68 } |
| 69 dart.defineNamedConstructor(Uint8List, 'fromList'); | 69 dart.defineNamedConstructor(Uint8List, 'fromList'); |
| 70 dart.defineNamedConstructor(Uint8List, 'view'); | 70 dart.defineNamedConstructor(Uint8List, 'view'); |
| 71 Uint8List.BYTES_PER_ELEMENT = 1; | 71 Uint8List.BYTES_PER_ELEMENT = 1; |
| 72 class Uint8ClampedList extends core.Object { | 72 class Uint8ClampedList extends core.Object { |
| 73 Uint8ClampedList(length) { | 73 Uint8ClampedList(length) { |
| 74 return new _native_typed_data.NativeUint8ClampedList(length); | 74 return new _native_typed_data.NativeUint8ClampedList(length); |
| 75 } | 75 } |
| 76 Uint8ClampedList$fromList(elements) { | 76 fromList(elements) { |
| 77 return new _native_typed_data.NativeUint8ClampedList.fromList(elements); | 77 return new _native_typed_data.NativeUint8ClampedList.fromList(elements); |
| 78 } | 78 } |
| 79 Uint8ClampedList$view(buffer, offsetInBytes, length) { | 79 view(buffer, offsetInBytes, length) { |
| 80 if (offsetInBytes === void 0) | 80 if (offsetInBytes === void 0) |
| 81 offsetInBytes = 0; | 81 offsetInBytes = 0; |
| 82 if (length === void 0) | 82 if (length === void 0) |
| 83 length = null; | 83 length = null; |
| 84 return buffer.asUint8ClampedList(offsetInBytes, length); | 84 return buffer.asUint8ClampedList(offsetInBytes, length); |
| 85 } | 85 } |
| 86 } | 86 } |
| 87 dart.defineNamedConstructor(Uint8ClampedList, 'fromList'); | 87 dart.defineNamedConstructor(Uint8ClampedList, 'fromList'); |
| 88 dart.defineNamedConstructor(Uint8ClampedList, 'view'); | 88 dart.defineNamedConstructor(Uint8ClampedList, 'view'); |
| 89 Uint8ClampedList.BYTES_PER_ELEMENT = 1; | 89 Uint8ClampedList.BYTES_PER_ELEMENT = 1; |
| 90 class Int16List extends core.Object { | 90 class Int16List extends core.Object { |
| 91 Int16List(length) { | 91 Int16List(length) { |
| 92 return new _native_typed_data.NativeInt16List(length); | 92 return new _native_typed_data.NativeInt16List(length); |
| 93 } | 93 } |
| 94 Int16List$fromList(elements) { | 94 fromList(elements) { |
| 95 return new _native_typed_data.NativeInt16List.fromList(elements); | 95 return new _native_typed_data.NativeInt16List.fromList(elements); |
| 96 } | 96 } |
| 97 Int16List$view(buffer, offsetInBytes, length) { | 97 view(buffer, offsetInBytes, length) { |
| 98 if (offsetInBytes === void 0) | 98 if (offsetInBytes === void 0) |
| 99 offsetInBytes = 0; | 99 offsetInBytes = 0; |
| 100 if (length === void 0) | 100 if (length === void 0) |
| 101 length = null; | 101 length = null; |
| 102 return buffer.asInt16List(offsetInBytes, length); | 102 return buffer.asInt16List(offsetInBytes, length); |
| 103 } | 103 } |
| 104 } | 104 } |
| 105 dart.defineNamedConstructor(Int16List, 'fromList'); | 105 dart.defineNamedConstructor(Int16List, 'fromList'); |
| 106 dart.defineNamedConstructor(Int16List, 'view'); | 106 dart.defineNamedConstructor(Int16List, 'view'); |
| 107 Int16List.BYTES_PER_ELEMENT = 2; | 107 Int16List.BYTES_PER_ELEMENT = 2; |
| 108 class Uint16List extends core.Object { | 108 class Uint16List extends core.Object { |
| 109 Uint16List(length) { | 109 Uint16List(length) { |
| 110 return new _native_typed_data.NativeUint16List(length); | 110 return new _native_typed_data.NativeUint16List(length); |
| 111 } | 111 } |
| 112 Uint16List$fromList(elements) { | 112 fromList(elements) { |
| 113 return new _native_typed_data.NativeUint16List.fromList(elements); | 113 return new _native_typed_data.NativeUint16List.fromList(elements); |
| 114 } | 114 } |
| 115 Uint16List$view(buffer, offsetInBytes, length) { | 115 view(buffer, offsetInBytes, length) { |
| 116 if (offsetInBytes === void 0) | 116 if (offsetInBytes === void 0) |
| 117 offsetInBytes = 0; | 117 offsetInBytes = 0; |
| 118 if (length === void 0) | 118 if (length === void 0) |
| 119 length = null; | 119 length = null; |
| 120 return buffer.asUint16List(offsetInBytes, length); | 120 return buffer.asUint16List(offsetInBytes, length); |
| 121 } | 121 } |
| 122 } | 122 } |
| 123 dart.defineNamedConstructor(Uint16List, 'fromList'); | 123 dart.defineNamedConstructor(Uint16List, 'fromList'); |
| 124 dart.defineNamedConstructor(Uint16List, 'view'); | 124 dart.defineNamedConstructor(Uint16List, 'view'); |
| 125 Uint16List.BYTES_PER_ELEMENT = 2; | 125 Uint16List.BYTES_PER_ELEMENT = 2; |
| 126 class Int32List extends core.Object { | 126 class Int32List extends core.Object { |
| 127 Int32List(length) { | 127 Int32List(length) { |
| 128 return new _native_typed_data.NativeInt32List(length); | 128 return new _native_typed_data.NativeInt32List(length); |
| 129 } | 129 } |
| 130 Int32List$fromList(elements) { | 130 fromList(elements) { |
| 131 return new _native_typed_data.NativeInt32List.fromList(elements); | 131 return new _native_typed_data.NativeInt32List.fromList(elements); |
| 132 } | 132 } |
| 133 Int32List$view(buffer, offsetInBytes, length) { | 133 view(buffer, offsetInBytes, length) { |
| 134 if (offsetInBytes === void 0) | 134 if (offsetInBytes === void 0) |
| 135 offsetInBytes = 0; | 135 offsetInBytes = 0; |
| 136 if (length === void 0) | 136 if (length === void 0) |
| 137 length = null; | 137 length = null; |
| 138 return buffer.asInt32List(offsetInBytes, length); | 138 return buffer.asInt32List(offsetInBytes, length); |
| 139 } | 139 } |
| 140 } | 140 } |
| 141 dart.defineNamedConstructor(Int32List, 'fromList'); | 141 dart.defineNamedConstructor(Int32List, 'fromList'); |
| 142 dart.defineNamedConstructor(Int32List, 'view'); | 142 dart.defineNamedConstructor(Int32List, 'view'); |
| 143 Int32List.BYTES_PER_ELEMENT = 4; | 143 Int32List.BYTES_PER_ELEMENT = 4; |
| 144 class Uint32List extends core.Object { | 144 class Uint32List extends core.Object { |
| 145 Uint32List(length) { | 145 Uint32List(length) { |
| 146 return new _native_typed_data.NativeUint32List(length); | 146 return new _native_typed_data.NativeUint32List(length); |
| 147 } | 147 } |
| 148 Uint32List$fromList(elements) { | 148 fromList(elements) { |
| 149 return new _native_typed_data.NativeUint32List.fromList(elements); | 149 return new _native_typed_data.NativeUint32List.fromList(elements); |
| 150 } | 150 } |
| 151 Uint32List$view(buffer, offsetInBytes, length) { | 151 view(buffer, offsetInBytes, length) { |
| 152 if (offsetInBytes === void 0) | 152 if (offsetInBytes === void 0) |
| 153 offsetInBytes = 0; | 153 offsetInBytes = 0; |
| 154 if (length === void 0) | 154 if (length === void 0) |
| 155 length = null; | 155 length = null; |
| 156 return buffer.asUint32List(offsetInBytes, length); | 156 return buffer.asUint32List(offsetInBytes, length); |
| 157 } | 157 } |
| 158 } | 158 } |
| 159 dart.defineNamedConstructor(Uint32List, 'fromList'); | 159 dart.defineNamedConstructor(Uint32List, 'fromList'); |
| 160 dart.defineNamedConstructor(Uint32List, 'view'); | 160 dart.defineNamedConstructor(Uint32List, 'view'); |
| 161 Uint32List.BYTES_PER_ELEMENT = 4; | 161 Uint32List.BYTES_PER_ELEMENT = 4; |
| 162 class Int64List extends core.Object { | 162 class Int64List extends core.Object { |
| 163 Int64List(length) { | 163 Int64List(length) { |
| 164 throw new core.UnsupportedError("Int64List not supported by dart2js."); | 164 throw new core.UnsupportedError("Int64List not supported by dart2js."); |
| 165 } | 165 } |
| 166 Int64List$fromList(elements) { | 166 fromList(elements) { |
| 167 throw new core.UnsupportedError("Int64List not supported by dart2js."); | 167 throw new core.UnsupportedError("Int64List not supported by dart2js."); |
| 168 } | 168 } |
| 169 Int64List$view(buffer, offsetInBytes, length) { | 169 view(buffer, offsetInBytes, length) { |
| 170 if (offsetInBytes === void 0) | 170 if (offsetInBytes === void 0) |
| 171 offsetInBytes = 0; | 171 offsetInBytes = 0; |
| 172 if (length === void 0) | 172 if (length === void 0) |
| 173 length = null; | 173 length = null; |
| 174 return buffer.asInt64List(offsetInBytes, length); | 174 return buffer.asInt64List(offsetInBytes, length); |
| 175 } | 175 } |
| 176 } | 176 } |
| 177 dart.defineNamedConstructor(Int64List, 'fromList'); | 177 dart.defineNamedConstructor(Int64List, 'fromList'); |
| 178 dart.defineNamedConstructor(Int64List, 'view'); | 178 dart.defineNamedConstructor(Int64List, 'view'); |
| 179 Int64List.BYTES_PER_ELEMENT = 8; | 179 Int64List.BYTES_PER_ELEMENT = 8; |
| 180 class Uint64List extends core.Object { | 180 class Uint64List extends core.Object { |
| 181 Uint64List(length) { | 181 Uint64List(length) { |
| 182 throw new core.UnsupportedError("Uint64List not supported by dart2js."); | 182 throw new core.UnsupportedError("Uint64List not supported by dart2js."); |
| 183 } | 183 } |
| 184 Uint64List$fromList(elements) { | 184 fromList(elements) { |
| 185 throw new core.UnsupportedError("Uint64List not supported by dart2js."); | 185 throw new core.UnsupportedError("Uint64List not supported by dart2js."); |
| 186 } | 186 } |
| 187 Uint64List$view(buffer, offsetInBytes, length) { | 187 view(buffer, offsetInBytes, length) { |
| 188 if (offsetInBytes === void 0) | 188 if (offsetInBytes === void 0) |
| 189 offsetInBytes = 0; | 189 offsetInBytes = 0; |
| 190 if (length === void 0) | 190 if (length === void 0) |
| 191 length = null; | 191 length = null; |
| 192 return buffer.asUint64List(offsetInBytes, length); | 192 return buffer.asUint64List(offsetInBytes, length); |
| 193 } | 193 } |
| 194 } | 194 } |
| 195 dart.defineNamedConstructor(Uint64List, 'fromList'); | 195 dart.defineNamedConstructor(Uint64List, 'fromList'); |
| 196 dart.defineNamedConstructor(Uint64List, 'view'); | 196 dart.defineNamedConstructor(Uint64List, 'view'); |
| 197 Uint64List.BYTES_PER_ELEMENT = 8; | 197 Uint64List.BYTES_PER_ELEMENT = 8; |
| 198 class Float32List extends core.Object { | 198 class Float32List extends core.Object { |
| 199 Float32List(length) { | 199 Float32List(length) { |
| 200 return new _native_typed_data.NativeFloat32List(length); | 200 return new _native_typed_data.NativeFloat32List(length); |
| 201 } | 201 } |
| 202 Float32List$fromList(elements) { | 202 fromList(elements) { |
| 203 return new _native_typed_data.NativeFloat32List.fromList(elements); | 203 return new _native_typed_data.NativeFloat32List.fromList(elements); |
| 204 } | 204 } |
| 205 Float32List$view(buffer, offsetInBytes, length) { | 205 view(buffer, offsetInBytes, length) { |
| 206 if (offsetInBytes === void 0) | 206 if (offsetInBytes === void 0) |
| 207 offsetInBytes = 0; | 207 offsetInBytes = 0; |
| 208 if (length === void 0) | 208 if (length === void 0) |
| 209 length = null; | 209 length = null; |
| 210 return buffer.asFloat32List(offsetInBytes, length); | 210 return buffer.asFloat32List(offsetInBytes, length); |
| 211 } | 211 } |
| 212 } | 212 } |
| 213 dart.defineNamedConstructor(Float32List, 'fromList'); | 213 dart.defineNamedConstructor(Float32List, 'fromList'); |
| 214 dart.defineNamedConstructor(Float32List, 'view'); | 214 dart.defineNamedConstructor(Float32List, 'view'); |
| 215 Float32List.BYTES_PER_ELEMENT = 4; | 215 Float32List.BYTES_PER_ELEMENT = 4; |
| 216 class Float64List extends core.Object { | 216 class Float64List extends core.Object { |
| 217 Float64List(length) { | 217 Float64List(length) { |
| 218 return new _native_typed_data.NativeFloat64List(length); | 218 return new _native_typed_data.NativeFloat64List(length); |
| 219 } | 219 } |
| 220 Float64List$fromList(elements) { | 220 fromList(elements) { |
| 221 return new _native_typed_data.NativeFloat64List.fromList(elements); | 221 return new _native_typed_data.NativeFloat64List.fromList(elements); |
| 222 } | 222 } |
| 223 Float64List$view(buffer, offsetInBytes, length) { | 223 view(buffer, offsetInBytes, length) { |
| 224 if (offsetInBytes === void 0) | 224 if (offsetInBytes === void 0) |
| 225 offsetInBytes = 0; | 225 offsetInBytes = 0; |
| 226 if (length === void 0) | 226 if (length === void 0) |
| 227 length = null; | 227 length = null; |
| 228 return buffer.asFloat64List(offsetInBytes, length); | 228 return buffer.asFloat64List(offsetInBytes, length); |
| 229 } | 229 } |
| 230 } | 230 } |
| 231 dart.defineNamedConstructor(Float64List, 'fromList'); | 231 dart.defineNamedConstructor(Float64List, 'fromList'); |
| 232 dart.defineNamedConstructor(Float64List, 'view'); | 232 dart.defineNamedConstructor(Float64List, 'view'); |
| 233 Float64List.BYTES_PER_ELEMENT = 8; | 233 Float64List.BYTES_PER_ELEMENT = 8; |
| 234 class Float32x4List extends core.Object { | 234 class Float32x4List extends core.Object { |
| 235 Float32x4List(length) { | 235 Float32x4List(length) { |
| 236 return new _native_typed_data.NativeFloat32x4List(length); | 236 return new _native_typed_data.NativeFloat32x4List(length); |
| 237 } | 237 } |
| 238 Float32x4List$fromList(elements) { | 238 fromList(elements) { |
| 239 return new _native_typed_data.NativeFloat32x4List.fromList(elements); | 239 return new _native_typed_data.NativeFloat32x4List.fromList(elements); |
| 240 } | 240 } |
| 241 Float32x4List$view(buffer, offsetInBytes, length) { | 241 view(buffer, offsetInBytes, length) { |
| 242 if (offsetInBytes === void 0) | 242 if (offsetInBytes === void 0) |
| 243 offsetInBytes = 0; | 243 offsetInBytes = 0; |
| 244 if (length === void 0) | 244 if (length === void 0) |
| 245 length = null; | 245 length = null; |
| 246 return buffer.asFloat32x4List(offsetInBytes, length); | 246 return buffer.asFloat32x4List(offsetInBytes, length); |
| 247 } | 247 } |
| 248 } | 248 } |
| 249 dart.defineNamedConstructor(Float32x4List, 'fromList'); | 249 dart.defineNamedConstructor(Float32x4List, 'fromList'); |
| 250 dart.defineNamedConstructor(Float32x4List, 'view'); | 250 dart.defineNamedConstructor(Float32x4List, 'view'); |
| 251 Float32x4List.BYTES_PER_ELEMENT = 16; | 251 Float32x4List.BYTES_PER_ELEMENT = 16; |
| 252 class Int32x4List extends core.Object { | 252 class Int32x4List extends core.Object { |
| 253 Int32x4List(length) { | 253 Int32x4List(length) { |
| 254 return new _native_typed_data.NativeInt32x4List(length); | 254 return new _native_typed_data.NativeInt32x4List(length); |
| 255 } | 255 } |
| 256 Int32x4List$fromList(elements) { | 256 fromList(elements) { |
| 257 return new _native_typed_data.NativeInt32x4List.fromList(elements); | 257 return new _native_typed_data.NativeInt32x4List.fromList(elements); |
| 258 } | 258 } |
| 259 Int32x4List$view(buffer, offsetInBytes, length) { | 259 view(buffer, offsetInBytes, length) { |
| 260 if (offsetInBytes === void 0) | 260 if (offsetInBytes === void 0) |
| 261 offsetInBytes = 0; | 261 offsetInBytes = 0; |
| 262 if (length === void 0) | 262 if (length === void 0) |
| 263 length = null; | 263 length = null; |
| 264 return buffer.asInt32x4List(offsetInBytes, length); | 264 return buffer.asInt32x4List(offsetInBytes, length); |
| 265 } | 265 } |
| 266 } | 266 } |
| 267 dart.defineNamedConstructor(Int32x4List, 'fromList'); | 267 dart.defineNamedConstructor(Int32x4List, 'fromList'); |
| 268 dart.defineNamedConstructor(Int32x4List, 'view'); | 268 dart.defineNamedConstructor(Int32x4List, 'view'); |
| 269 Int32x4List.BYTES_PER_ELEMENT = 16; | 269 Int32x4List.BYTES_PER_ELEMENT = 16; |
| 270 class Float64x2List extends core.Object { | 270 class Float64x2List extends core.Object { |
| 271 Float64x2List(length) { | 271 Float64x2List(length) { |
| 272 return new _native_typed_data.NativeFloat64x2List(length); | 272 return new _native_typed_data.NativeFloat64x2List(length); |
| 273 } | 273 } |
| 274 Float64x2List$fromList(elements) { | 274 fromList(elements) { |
| 275 return new _native_typed_data.NativeFloat64x2List.fromList(elements); | 275 return new _native_typed_data.NativeFloat64x2List.fromList(elements); |
| 276 } | 276 } |
| 277 Float64x2List$view(buffer, offsetInBytes, length) { | 277 view(buffer, offsetInBytes, length) { |
| 278 if (offsetInBytes === void 0) | 278 if (offsetInBytes === void 0) |
| 279 offsetInBytes = 0; | 279 offsetInBytes = 0; |
| 280 if (length === void 0) | 280 if (length === void 0) |
| 281 length = null; | 281 length = null; |
| 282 return buffer.asFloat64x2List(offsetInBytes, length); | 282 return buffer.asFloat64x2List(offsetInBytes, length); |
| 283 } | 283 } |
| 284 } | 284 } |
| 285 dart.defineNamedConstructor(Float64x2List, 'fromList'); | 285 dart.defineNamedConstructor(Float64x2List, 'fromList'); |
| 286 dart.defineNamedConstructor(Float64x2List, 'view'); | 286 dart.defineNamedConstructor(Float64x2List, 'view'); |
| 287 Float64x2List.BYTES_PER_ELEMENT = 16; | 287 Float64x2List.BYTES_PER_ELEMENT = 16; |
| 288 class Float32x4 extends core.Object { | 288 class Float32x4 extends core.Object { |
| 289 Float32x4(x, y, z, w) { | 289 Float32x4(x, y, z, w) { |
| 290 return new _native_typed_data.NativeFloat32x4(x, y, z, w); | 290 return new _native_typed_data.NativeFloat32x4(x, y, z, w); |
| 291 } | 291 } |
| 292 Float32x4$splat(v) { | 292 splat(v) { |
| 293 return new _native_typed_data.NativeFloat32x4.splat(v); | 293 return new _native_typed_data.NativeFloat32x4.splat(v); |
| 294 } | 294 } |
| 295 Float32x4$zero() { | 295 zero() { |
| 296 return new _native_typed_data.NativeFloat32x4.zero(); | 296 return new _native_typed_data.NativeFloat32x4.zero(); |
| 297 } | 297 } |
| 298 Float32x4$fromInt32x4Bits(x) { | 298 fromInt32x4Bits(x) { |
| 299 return new _native_typed_data.NativeFloat32x4.fromInt32x4Bits(x); | 299 return new _native_typed_data.NativeFloat32x4.fromInt32x4Bits(x); |
| 300 } | 300 } |
| 301 Float32x4$fromFloat64x2(v) { | 301 fromFloat64x2(v) { |
| 302 return new _native_typed_data.NativeFloat32x4.fromFloat64x2(v); | 302 return new _native_typed_data.NativeFloat32x4.fromFloat64x2(v); |
| 303 } | 303 } |
| 304 } | 304 } |
| 305 dart.defineNamedConstructor(Float32x4, 'splat'); | 305 dart.defineNamedConstructor(Float32x4, 'splat'); |
| 306 dart.defineNamedConstructor(Float32x4, 'zero'); | 306 dart.defineNamedConstructor(Float32x4, 'zero'); |
| 307 dart.defineNamedConstructor(Float32x4, 'fromInt32x4Bits'); | 307 dart.defineNamedConstructor(Float32x4, 'fromInt32x4Bits'); |
| 308 dart.defineNamedConstructor(Float32x4, 'fromFloat64x2'); | 308 dart.defineNamedConstructor(Float32x4, 'fromFloat64x2'); |
| 309 Float32x4.XXXX = 0; | 309 Float32x4.XXXX = 0; |
| 310 Float32x4.XXXY = 64; | 310 Float32x4.XXXY = 64; |
| 311 Float32x4.XXXZ = 128; | 311 Float32x4.XXXZ = 128; |
| (...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 559 Float32x4.WWZZ = 175; | 559 Float32x4.WWZZ = 175; |
| 560 Float32x4.WWZW = 239; | 560 Float32x4.WWZW = 239; |
| 561 Float32x4.WWWX = 63; | 561 Float32x4.WWWX = 63; |
| 562 Float32x4.WWWY = 127; | 562 Float32x4.WWWY = 127; |
| 563 Float32x4.WWWZ = 191; | 563 Float32x4.WWWZ = 191; |
| 564 Float32x4.WWWW = 255; | 564 Float32x4.WWWW = 255; |
| 565 class Int32x4 extends core.Object { | 565 class Int32x4 extends core.Object { |
| 566 Int32x4(x, y, z, w) { | 566 Int32x4(x, y, z, w) { |
| 567 return new _native_typed_data.NativeInt32x4(x, y, z, w); | 567 return new _native_typed_data.NativeInt32x4(x, y, z, w); |
| 568 } | 568 } |
| 569 Int32x4$bool(x, y, z, w) { | 569 bool(x, y, z, w) { |
| 570 return new _native_typed_data.NativeInt32x4.bool(x, y, z, w); | 570 return new _native_typed_data.NativeInt32x4.bool(x, y, z, w); |
| 571 } | 571 } |
| 572 Int32x4$fromFloat32x4Bits(x) { | 572 fromFloat32x4Bits(x) { |
| 573 return new _native_typed_data.NativeInt32x4.fromFloat32x4Bits(x); | 573 return new _native_typed_data.NativeInt32x4.fromFloat32x4Bits(x); |
| 574 } | 574 } |
| 575 } | 575 } |
| 576 dart.defineNamedConstructor(Int32x4, 'bool'); | 576 dart.defineNamedConstructor(Int32x4, 'bool'); |
| 577 dart.defineNamedConstructor(Int32x4, 'fromFloat32x4Bits'); | 577 dart.defineNamedConstructor(Int32x4, 'fromFloat32x4Bits'); |
| 578 Int32x4.XXXX = 0; | 578 Int32x4.XXXX = 0; |
| 579 Int32x4.XXXY = 64; | 579 Int32x4.XXXY = 64; |
| 580 Int32x4.XXXZ = 128; | 580 Int32x4.XXXZ = 128; |
| 581 Int32x4.XXXW = 192; | 581 Int32x4.XXXW = 192; |
| 582 Int32x4.XXYX = 16; | 582 Int32x4.XXYX = 16; |
| (...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 828 Int32x4.WWZZ = 175; | 828 Int32x4.WWZZ = 175; |
| 829 Int32x4.WWZW = 239; | 829 Int32x4.WWZW = 239; |
| 830 Int32x4.WWWX = 63; | 830 Int32x4.WWWX = 63; |
| 831 Int32x4.WWWY = 127; | 831 Int32x4.WWWY = 127; |
| 832 Int32x4.WWWZ = 191; | 832 Int32x4.WWWZ = 191; |
| 833 Int32x4.WWWW = 255; | 833 Int32x4.WWWW = 255; |
| 834 class Float64x2 extends core.Object { | 834 class Float64x2 extends core.Object { |
| 835 Float64x2(x, y) { | 835 Float64x2(x, y) { |
| 836 return new _native_typed_data.NativeFloat64x2(x, y); | 836 return new _native_typed_data.NativeFloat64x2(x, y); |
| 837 } | 837 } |
| 838 Float64x2$splat(v) { | 838 splat(v) { |
| 839 return new _native_typed_data.NativeFloat64x2.splat(v); | 839 return new _native_typed_data.NativeFloat64x2.splat(v); |
| 840 } | 840 } |
| 841 Float64x2$zero() { | 841 zero() { |
| 842 return new _native_typed_data.NativeFloat64x2.zero(); | 842 return new _native_typed_data.NativeFloat64x2.zero(); |
| 843 } | 843 } |
| 844 Float64x2$fromFloat32x4(v) { | 844 fromFloat32x4(v) { |
| 845 return new _native_typed_data.NativeFloat64x2.fromFloat32x4(v); | 845 return new _native_typed_data.NativeFloat64x2.fromFloat32x4(v); |
| 846 } | 846 } |
| 847 } | 847 } |
| 848 dart.defineNamedConstructor(Float64x2, 'splat'); | 848 dart.defineNamedConstructor(Float64x2, 'splat'); |
| 849 dart.defineNamedConstructor(Float64x2, 'zero'); | 849 dart.defineNamedConstructor(Float64x2, 'zero'); |
| 850 dart.defineNamedConstructor(Float64x2, 'fromFloat32x4'); | 850 dart.defineNamedConstructor(Float64x2, 'fromFloat32x4'); |
| 851 // Exports: | 851 // Exports: |
| 852 exports.ByteBuffer = ByteBuffer; | 852 exports.ByteBuffer = ByteBuffer; |
| 853 exports.TypedData = TypedData; | 853 exports.TypedData = TypedData; |
| 854 exports.Endianness = Endianness; | 854 exports.Endianness = Endianness; |
| 855 exports.ByteData = ByteData; | 855 exports.ByteData = ByteData; |
| 856 exports.Int8List = Int8List; | 856 exports.Int8List = Int8List; |
| 857 exports.Uint8List = Uint8List; | 857 exports.Uint8List = Uint8List; |
| 858 exports.Uint8ClampedList = Uint8ClampedList; | 858 exports.Uint8ClampedList = Uint8ClampedList; |
| 859 exports.Int16List = Int16List; | 859 exports.Int16List = Int16List; |
| 860 exports.Uint16List = Uint16List; | 860 exports.Uint16List = Uint16List; |
| 861 exports.Int32List = Int32List; | 861 exports.Int32List = Int32List; |
| 862 exports.Uint32List = Uint32List; | 862 exports.Uint32List = Uint32List; |
| 863 exports.Int64List = Int64List; | 863 exports.Int64List = Int64List; |
| 864 exports.Uint64List = Uint64List; | 864 exports.Uint64List = Uint64List; |
| 865 exports.Float32List = Float32List; | 865 exports.Float32List = Float32List; |
| 866 exports.Float64List = Float64List; | 866 exports.Float64List = Float64List; |
| 867 exports.Float32x4List = Float32x4List; | 867 exports.Float32x4List = Float32x4List; |
| 868 exports.Int32x4List = Int32x4List; | 868 exports.Int32x4List = Int32x4List; |
| 869 exports.Float64x2List = Float64x2List; | 869 exports.Float64x2List = Float64x2List; |
| 870 exports.Float32x4 = Float32x4; | 870 exports.Float32x4 = Float32x4; |
| 871 exports.Int32x4 = Int32x4; | 871 exports.Int32x4 = Int32x4; |
| 872 exports.Float64x2 = Float64x2; | 872 exports.Float64x2 = Float64x2; |
| 873 })(typed_data || (typed_data = {})); | 873 })(typed_data || (typed_data = {})); |
| OLD | NEW |