OLD | NEW |
| (Empty) |
1 dart_library.library('dart/typed_data', null, /* Imports */[ | |
2 'dart/_runtime', | |
3 'dart/core' | |
4 ], /* Lazy imports */[ | |
5 'dart/_native_typed_data' | |
6 ], function(exports, dart, core, _native_typed_data) { | |
7 'use strict'; | |
8 let dartx = dart.dartx; | |
9 class ByteBuffer extends core.Object {} | |
10 class TypedData extends core.Object {} | |
11 const _littleEndian = Symbol('_littleEndian'); | |
12 class Endianness extends core.Object { | |
13 _(littleEndian) { | |
14 this[_littleEndian] = littleEndian; | |
15 } | |
16 } | |
17 dart.defineNamedConstructor(Endianness, '_'); | |
18 dart.setSignature(Endianness, { | |
19 constructors: () => ({_: [Endianness, [core.bool]]}) | |
20 }); | |
21 dart.defineLazyProperties(Endianness, { | |
22 get BIG_ENDIAN() { | |
23 return dart.const(new Endianness._(false)); | |
24 }, | |
25 get LITTLE_ENDIAN() { | |
26 return dart.const(new Endianness._(true)); | |
27 }, | |
28 get HOST_ENDIAN() { | |
29 return ByteData.view(Uint16List.fromList(dart.list([1], core.int))[dartx.b
uffer])[dartx.getInt8](0) == 1 ? Endianness.LITTLE_ENDIAN : Endianness.BIG_ENDIA
N; | |
30 } | |
31 }); | |
32 class ByteData extends core.Object { | |
33 static new(length) { | |
34 return _native_typed_data.NativeByteData.new(length); | |
35 } | |
36 static view(buffer, offsetInBytes, length) { | |
37 if (offsetInBytes === void 0) offsetInBytes = 0; | |
38 if (length === void 0) length = null; | |
39 return buffer[dartx.asByteData](offsetInBytes, length); | |
40 } | |
41 } | |
42 ByteData[dart.implements] = () => [TypedData]; | |
43 dart.setSignature(ByteData, { | |
44 constructors: () => ({ | |
45 new: [ByteData, [core.int]], | |
46 view: [ByteData, [ByteBuffer], [core.int, core.int]] | |
47 }) | |
48 }); | |
49 class Int8List extends core.Object { | |
50 static new(length) { | |
51 return _native_typed_data.NativeInt8List.new(length); | |
52 } | |
53 static fromList(elements) { | |
54 return _native_typed_data.NativeInt8List.fromList(elements); | |
55 } | |
56 static view(buffer, offsetInBytes, length) { | |
57 if (offsetInBytes === void 0) offsetInBytes = 0; | |
58 if (length === void 0) length = null; | |
59 return buffer[dartx.asInt8List](offsetInBytes, length); | |
60 } | |
61 } | |
62 Int8List[dart.implements] = () => [core.List$(core.int), TypedData]; | |
63 dart.setSignature(Int8List, { | |
64 constructors: () => ({ | |
65 new: [Int8List, [core.int]], | |
66 fromList: [Int8List, [core.List$(core.int)]], | |
67 view: [Int8List, [ByteBuffer], [core.int, core.int]] | |
68 }) | |
69 }); | |
70 Int8List.BYTES_PER_ELEMENT = 1; | |
71 class Uint8List extends core.Object { | |
72 static new(length) { | |
73 return _native_typed_data.NativeUint8List.new(length); | |
74 } | |
75 static fromList(elements) { | |
76 return _native_typed_data.NativeUint8List.fromList(elements); | |
77 } | |
78 static view(buffer, offsetInBytes, length) { | |
79 if (offsetInBytes === void 0) offsetInBytes = 0; | |
80 if (length === void 0) length = null; | |
81 return buffer[dartx.asUint8List](offsetInBytes, length); | |
82 } | |
83 } | |
84 Uint8List[dart.implements] = () => [core.List$(core.int), TypedData]; | |
85 dart.setSignature(Uint8List, { | |
86 constructors: () => ({ | |
87 new: [Uint8List, [core.int]], | |
88 fromList: [Uint8List, [core.List$(core.int)]], | |
89 view: [Uint8List, [ByteBuffer], [core.int, core.int]] | |
90 }) | |
91 }); | |
92 Uint8List.BYTES_PER_ELEMENT = 1; | |
93 class Uint8ClampedList extends core.Object { | |
94 static new(length) { | |
95 return _native_typed_data.NativeUint8ClampedList.new(length); | |
96 } | |
97 static fromList(elements) { | |
98 return _native_typed_data.NativeUint8ClampedList.fromList(elements); | |
99 } | |
100 static view(buffer, offsetInBytes, length) { | |
101 if (offsetInBytes === void 0) offsetInBytes = 0; | |
102 if (length === void 0) length = null; | |
103 return buffer[dartx.asUint8ClampedList](offsetInBytes, length); | |
104 } | |
105 } | |
106 Uint8ClampedList[dart.implements] = () => [core.List$(core.int), TypedData]; | |
107 dart.setSignature(Uint8ClampedList, { | |
108 constructors: () => ({ | |
109 new: [Uint8ClampedList, [core.int]], | |
110 fromList: [Uint8ClampedList, [core.List$(core.int)]], | |
111 view: [Uint8ClampedList, [ByteBuffer], [core.int, core.int]] | |
112 }) | |
113 }); | |
114 Uint8ClampedList.BYTES_PER_ELEMENT = 1; | |
115 class Int16List extends core.Object { | |
116 static new(length) { | |
117 return _native_typed_data.NativeInt16List.new(length); | |
118 } | |
119 static fromList(elements) { | |
120 return _native_typed_data.NativeInt16List.fromList(elements); | |
121 } | |
122 static view(buffer, offsetInBytes, length) { | |
123 if (offsetInBytes === void 0) offsetInBytes = 0; | |
124 if (length === void 0) length = null; | |
125 return buffer[dartx.asInt16List](offsetInBytes, length); | |
126 } | |
127 } | |
128 Int16List[dart.implements] = () => [core.List$(core.int), TypedData]; | |
129 dart.setSignature(Int16List, { | |
130 constructors: () => ({ | |
131 new: [Int16List, [core.int]], | |
132 fromList: [Int16List, [core.List$(core.int)]], | |
133 view: [Int16List, [ByteBuffer], [core.int, core.int]] | |
134 }) | |
135 }); | |
136 Int16List.BYTES_PER_ELEMENT = 2; | |
137 class Uint16List extends core.Object { | |
138 static new(length) { | |
139 return _native_typed_data.NativeUint16List.new(length); | |
140 } | |
141 static fromList(elements) { | |
142 return _native_typed_data.NativeUint16List.fromList(elements); | |
143 } | |
144 static view(buffer, offsetInBytes, length) { | |
145 if (offsetInBytes === void 0) offsetInBytes = 0; | |
146 if (length === void 0) length = null; | |
147 return buffer[dartx.asUint16List](offsetInBytes, length); | |
148 } | |
149 } | |
150 Uint16List[dart.implements] = () => [core.List$(core.int), TypedData]; | |
151 dart.setSignature(Uint16List, { | |
152 constructors: () => ({ | |
153 new: [Uint16List, [core.int]], | |
154 fromList: [Uint16List, [core.List$(core.int)]], | |
155 view: [Uint16List, [ByteBuffer], [core.int, core.int]] | |
156 }) | |
157 }); | |
158 Uint16List.BYTES_PER_ELEMENT = 2; | |
159 class Int32List extends core.Object { | |
160 static new(length) { | |
161 return _native_typed_data.NativeInt32List.new(length); | |
162 } | |
163 static fromList(elements) { | |
164 return _native_typed_data.NativeInt32List.fromList(elements); | |
165 } | |
166 static view(buffer, offsetInBytes, length) { | |
167 if (offsetInBytes === void 0) offsetInBytes = 0; | |
168 if (length === void 0) length = null; | |
169 return buffer[dartx.asInt32List](offsetInBytes, length); | |
170 } | |
171 } | |
172 Int32List[dart.implements] = () => [core.List$(core.int), TypedData]; | |
173 dart.setSignature(Int32List, { | |
174 constructors: () => ({ | |
175 new: [Int32List, [core.int]], | |
176 fromList: [Int32List, [core.List$(core.int)]], | |
177 view: [Int32List, [ByteBuffer], [core.int, core.int]] | |
178 }) | |
179 }); | |
180 Int32List.BYTES_PER_ELEMENT = 4; | |
181 class Uint32List extends core.Object { | |
182 static new(length) { | |
183 return _native_typed_data.NativeUint32List.new(length); | |
184 } | |
185 static fromList(elements) { | |
186 return _native_typed_data.NativeUint32List.fromList(elements); | |
187 } | |
188 static view(buffer, offsetInBytes, length) { | |
189 if (offsetInBytes === void 0) offsetInBytes = 0; | |
190 if (length === void 0) length = null; | |
191 return buffer[dartx.asUint32List](offsetInBytes, length); | |
192 } | |
193 } | |
194 Uint32List[dart.implements] = () => [core.List$(core.int), TypedData]; | |
195 dart.setSignature(Uint32List, { | |
196 constructors: () => ({ | |
197 new: [Uint32List, [core.int]], | |
198 fromList: [Uint32List, [core.List$(core.int)]], | |
199 view: [Uint32List, [ByteBuffer], [core.int, core.int]] | |
200 }) | |
201 }); | |
202 Uint32List.BYTES_PER_ELEMENT = 4; | |
203 class Int64List extends core.Object { | |
204 static new(length) { | |
205 dart.throw(new core.UnsupportedError("Int64List not supported by dart2js."
)); | |
206 } | |
207 static fromList(elements) { | |
208 dart.throw(new core.UnsupportedError("Int64List not supported by dart2js."
)); | |
209 } | |
210 static view(buffer, offsetInBytes, length) { | |
211 if (offsetInBytes === void 0) offsetInBytes = 0; | |
212 if (length === void 0) length = null; | |
213 return buffer[dartx.asInt64List](offsetInBytes, length); | |
214 } | |
215 } | |
216 Int64List[dart.implements] = () => [core.List$(core.int), TypedData]; | |
217 dart.setSignature(Int64List, { | |
218 constructors: () => ({ | |
219 new: [Int64List, [core.int]], | |
220 fromList: [Int64List, [core.List$(core.int)]], | |
221 view: [Int64List, [ByteBuffer], [core.int, core.int]] | |
222 }) | |
223 }); | |
224 Int64List.BYTES_PER_ELEMENT = 8; | |
225 class Uint64List extends core.Object { | |
226 static new(length) { | |
227 dart.throw(new core.UnsupportedError("Uint64List not supported by dart2js.
")); | |
228 } | |
229 static fromList(elements) { | |
230 dart.throw(new core.UnsupportedError("Uint64List not supported by dart2js.
")); | |
231 } | |
232 static view(buffer, offsetInBytes, length) { | |
233 if (offsetInBytes === void 0) offsetInBytes = 0; | |
234 if (length === void 0) length = null; | |
235 return buffer[dartx.asUint64List](offsetInBytes, length); | |
236 } | |
237 } | |
238 Uint64List[dart.implements] = () => [core.List$(core.int), TypedData]; | |
239 dart.setSignature(Uint64List, { | |
240 constructors: () => ({ | |
241 new: [Uint64List, [core.int]], | |
242 fromList: [Uint64List, [core.List$(core.int)]], | |
243 view: [Uint64List, [ByteBuffer], [core.int, core.int]] | |
244 }) | |
245 }); | |
246 Uint64List.BYTES_PER_ELEMENT = 8; | |
247 class Float32List extends core.Object { | |
248 static new(length) { | |
249 return _native_typed_data.NativeFloat32List.new(length); | |
250 } | |
251 static fromList(elements) { | |
252 return _native_typed_data.NativeFloat32List.fromList(elements); | |
253 } | |
254 static view(buffer, offsetInBytes, length) { | |
255 if (offsetInBytes === void 0) offsetInBytes = 0; | |
256 if (length === void 0) length = null; | |
257 return buffer[dartx.asFloat32List](offsetInBytes, length); | |
258 } | |
259 } | |
260 Float32List[dart.implements] = () => [core.List$(core.double), TypedData]; | |
261 dart.setSignature(Float32List, { | |
262 constructors: () => ({ | |
263 new: [Float32List, [core.int]], | |
264 fromList: [Float32List, [core.List$(core.double)]], | |
265 view: [Float32List, [ByteBuffer], [core.int, core.int]] | |
266 }) | |
267 }); | |
268 Float32List.BYTES_PER_ELEMENT = 4; | |
269 class Float64List extends core.Object { | |
270 static new(length) { | |
271 return _native_typed_data.NativeFloat64List.new(length); | |
272 } | |
273 static fromList(elements) { | |
274 return _native_typed_data.NativeFloat64List.fromList(elements); | |
275 } | |
276 static view(buffer, offsetInBytes, length) { | |
277 if (offsetInBytes === void 0) offsetInBytes = 0; | |
278 if (length === void 0) length = null; | |
279 return buffer[dartx.asFloat64List](offsetInBytes, length); | |
280 } | |
281 } | |
282 Float64List[dart.implements] = () => [core.List$(core.double), TypedData]; | |
283 dart.setSignature(Float64List, { | |
284 constructors: () => ({ | |
285 new: [Float64List, [core.int]], | |
286 fromList: [Float64List, [core.List$(core.double)]], | |
287 view: [Float64List, [ByteBuffer], [core.int, core.int]] | |
288 }) | |
289 }); | |
290 Float64List.BYTES_PER_ELEMENT = 8; | |
291 class Float32x4List extends core.Object { | |
292 static new(length) { | |
293 return new _native_typed_data.NativeFloat32x4List(length); | |
294 } | |
295 static fromList(elements) { | |
296 return _native_typed_data.NativeFloat32x4List.fromList(elements); | |
297 } | |
298 static view(buffer, offsetInBytes, length) { | |
299 if (offsetInBytes === void 0) offsetInBytes = 0; | |
300 if (length === void 0) length = null; | |
301 return buffer[dartx.asFloat32x4List](offsetInBytes, length); | |
302 } | |
303 } | |
304 Float32x4List[dart.implements] = () => [core.List$(Float32x4), TypedData]; | |
305 dart.setSignature(Float32x4List, { | |
306 constructors: () => ({ | |
307 new: [Float32x4List, [core.int]], | |
308 fromList: [Float32x4List, [core.List$(Float32x4)]], | |
309 view: [Float32x4List, [ByteBuffer], [core.int, core.int]] | |
310 }) | |
311 }); | |
312 Float32x4List.BYTES_PER_ELEMENT = 16; | |
313 class Int32x4List extends core.Object { | |
314 static new(length) { | |
315 return new _native_typed_data.NativeInt32x4List(length); | |
316 } | |
317 static fromList(elements) { | |
318 return _native_typed_data.NativeInt32x4List.fromList(elements); | |
319 } | |
320 static view(buffer, offsetInBytes, length) { | |
321 if (offsetInBytes === void 0) offsetInBytes = 0; | |
322 if (length === void 0) length = null; | |
323 return buffer[dartx.asInt32x4List](offsetInBytes, length); | |
324 } | |
325 } | |
326 Int32x4List[dart.implements] = () => [core.List$(Int32x4), TypedData]; | |
327 dart.setSignature(Int32x4List, { | |
328 constructors: () => ({ | |
329 new: [Int32x4List, [core.int]], | |
330 fromList: [Int32x4List, [core.List$(Int32x4)]], | |
331 view: [Int32x4List, [ByteBuffer], [core.int, core.int]] | |
332 }) | |
333 }); | |
334 Int32x4List.BYTES_PER_ELEMENT = 16; | |
335 class Float64x2List extends core.Object { | |
336 static new(length) { | |
337 return new _native_typed_data.NativeFloat64x2List(length); | |
338 } | |
339 static fromList(elements) { | |
340 return _native_typed_data.NativeFloat64x2List.fromList(elements); | |
341 } | |
342 static view(buffer, offsetInBytes, length) { | |
343 if (offsetInBytes === void 0) offsetInBytes = 0; | |
344 if (length === void 0) length = null; | |
345 return buffer[dartx.asFloat64x2List](offsetInBytes, length); | |
346 } | |
347 } | |
348 Float64x2List[dart.implements] = () => [core.List$(Float64x2), TypedData]; | |
349 dart.setSignature(Float64x2List, { | |
350 constructors: () => ({ | |
351 new: [Float64x2List, [core.int]], | |
352 fromList: [Float64x2List, [core.List$(Float64x2)]], | |
353 view: [Float64x2List, [ByteBuffer], [core.int, core.int]] | |
354 }) | |
355 }); | |
356 Float64x2List.BYTES_PER_ELEMENT = 16; | |
357 class Float32x4 extends core.Object { | |
358 static new(x, y, z, w) { | |
359 return new _native_typed_data.NativeFloat32x4(x, y, z, w); | |
360 } | |
361 static splat(v) { | |
362 return new _native_typed_data.NativeFloat32x4.splat(v); | |
363 } | |
364 static zero() { | |
365 return new _native_typed_data.NativeFloat32x4.zero(); | |
366 } | |
367 static fromInt32x4Bits(x) { | |
368 return _native_typed_data.NativeFloat32x4.fromInt32x4Bits(x); | |
369 } | |
370 static fromFloat64x2(v) { | |
371 return new _native_typed_data.NativeFloat32x4.fromFloat64x2(v); | |
372 } | |
373 } | |
374 dart.setSignature(Float32x4, { | |
375 constructors: () => ({ | |
376 new: [Float32x4, [core.double, core.double, core.double, core.double]], | |
377 splat: [Float32x4, [core.double]], | |
378 zero: [Float32x4, []], | |
379 fromInt32x4Bits: [Float32x4, [Int32x4]], | |
380 fromFloat64x2: [Float32x4, [Float64x2]] | |
381 }) | |
382 }); | |
383 Float32x4.XXXX = 0; | |
384 Float32x4.XXXY = 64; | |
385 Float32x4.XXXZ = 128; | |
386 Float32x4.XXXW = 192; | |
387 Float32x4.XXYX = 16; | |
388 Float32x4.XXYY = 80; | |
389 Float32x4.XXYZ = 144; | |
390 Float32x4.XXYW = 208; | |
391 Float32x4.XXZX = 32; | |
392 Float32x4.XXZY = 96; | |
393 Float32x4.XXZZ = 160; | |
394 Float32x4.XXZW = 224; | |
395 Float32x4.XXWX = 48; | |
396 Float32x4.XXWY = 112; | |
397 Float32x4.XXWZ = 176; | |
398 Float32x4.XXWW = 240; | |
399 Float32x4.XYXX = 4; | |
400 Float32x4.XYXY = 68; | |
401 Float32x4.XYXZ = 132; | |
402 Float32x4.XYXW = 196; | |
403 Float32x4.XYYX = 20; | |
404 Float32x4.XYYY = 84; | |
405 Float32x4.XYYZ = 148; | |
406 Float32x4.XYYW = 212; | |
407 Float32x4.XYZX = 36; | |
408 Float32x4.XYZY = 100; | |
409 Float32x4.XYZZ = 164; | |
410 Float32x4.XYZW = 228; | |
411 Float32x4.XYWX = 52; | |
412 Float32x4.XYWY = 116; | |
413 Float32x4.XYWZ = 180; | |
414 Float32x4.XYWW = 244; | |
415 Float32x4.XZXX = 8; | |
416 Float32x4.XZXY = 72; | |
417 Float32x4.XZXZ = 136; | |
418 Float32x4.XZXW = 200; | |
419 Float32x4.XZYX = 24; | |
420 Float32x4.XZYY = 88; | |
421 Float32x4.XZYZ = 152; | |
422 Float32x4.XZYW = 216; | |
423 Float32x4.XZZX = 40; | |
424 Float32x4.XZZY = 104; | |
425 Float32x4.XZZZ = 168; | |
426 Float32x4.XZZW = 232; | |
427 Float32x4.XZWX = 56; | |
428 Float32x4.XZWY = 120; | |
429 Float32x4.XZWZ = 184; | |
430 Float32x4.XZWW = 248; | |
431 Float32x4.XWXX = 12; | |
432 Float32x4.XWXY = 76; | |
433 Float32x4.XWXZ = 140; | |
434 Float32x4.XWXW = 204; | |
435 Float32x4.XWYX = 28; | |
436 Float32x4.XWYY = 92; | |
437 Float32x4.XWYZ = 156; | |
438 Float32x4.XWYW = 220; | |
439 Float32x4.XWZX = 44; | |
440 Float32x4.XWZY = 108; | |
441 Float32x4.XWZZ = 172; | |
442 Float32x4.XWZW = 236; | |
443 Float32x4.XWWX = 60; | |
444 Float32x4.XWWY = 124; | |
445 Float32x4.XWWZ = 188; | |
446 Float32x4.XWWW = 252; | |
447 Float32x4.YXXX = 1; | |
448 Float32x4.YXXY = 65; | |
449 Float32x4.YXXZ = 129; | |
450 Float32x4.YXXW = 193; | |
451 Float32x4.YXYX = 17; | |
452 Float32x4.YXYY = 81; | |
453 Float32x4.YXYZ = 145; | |
454 Float32x4.YXYW = 209; | |
455 Float32x4.YXZX = 33; | |
456 Float32x4.YXZY = 97; | |
457 Float32x4.YXZZ = 161; | |
458 Float32x4.YXZW = 225; | |
459 Float32x4.YXWX = 49; | |
460 Float32x4.YXWY = 113; | |
461 Float32x4.YXWZ = 177; | |
462 Float32x4.YXWW = 241; | |
463 Float32x4.YYXX = 5; | |
464 Float32x4.YYXY = 69; | |
465 Float32x4.YYXZ = 133; | |
466 Float32x4.YYXW = 197; | |
467 Float32x4.YYYX = 21; | |
468 Float32x4.YYYY = 85; | |
469 Float32x4.YYYZ = 149; | |
470 Float32x4.YYYW = 213; | |
471 Float32x4.YYZX = 37; | |
472 Float32x4.YYZY = 101; | |
473 Float32x4.YYZZ = 165; | |
474 Float32x4.YYZW = 229; | |
475 Float32x4.YYWX = 53; | |
476 Float32x4.YYWY = 117; | |
477 Float32x4.YYWZ = 181; | |
478 Float32x4.YYWW = 245; | |
479 Float32x4.YZXX = 9; | |
480 Float32x4.YZXY = 73; | |
481 Float32x4.YZXZ = 137; | |
482 Float32x4.YZXW = 201; | |
483 Float32x4.YZYX = 25; | |
484 Float32x4.YZYY = 89; | |
485 Float32x4.YZYZ = 153; | |
486 Float32x4.YZYW = 217; | |
487 Float32x4.YZZX = 41; | |
488 Float32x4.YZZY = 105; | |
489 Float32x4.YZZZ = 169; | |
490 Float32x4.YZZW = 233; | |
491 Float32x4.YZWX = 57; | |
492 Float32x4.YZWY = 121; | |
493 Float32x4.YZWZ = 185; | |
494 Float32x4.YZWW = 249; | |
495 Float32x4.YWXX = 13; | |
496 Float32x4.YWXY = 77; | |
497 Float32x4.YWXZ = 141; | |
498 Float32x4.YWXW = 205; | |
499 Float32x4.YWYX = 29; | |
500 Float32x4.YWYY = 93; | |
501 Float32x4.YWYZ = 157; | |
502 Float32x4.YWYW = 221; | |
503 Float32x4.YWZX = 45; | |
504 Float32x4.YWZY = 109; | |
505 Float32x4.YWZZ = 173; | |
506 Float32x4.YWZW = 237; | |
507 Float32x4.YWWX = 61; | |
508 Float32x4.YWWY = 125; | |
509 Float32x4.YWWZ = 189; | |
510 Float32x4.YWWW = 253; | |
511 Float32x4.ZXXX = 2; | |
512 Float32x4.ZXXY = 66; | |
513 Float32x4.ZXXZ = 130; | |
514 Float32x4.ZXXW = 194; | |
515 Float32x4.ZXYX = 18; | |
516 Float32x4.ZXYY = 82; | |
517 Float32x4.ZXYZ = 146; | |
518 Float32x4.ZXYW = 210; | |
519 Float32x4.ZXZX = 34; | |
520 Float32x4.ZXZY = 98; | |
521 Float32x4.ZXZZ = 162; | |
522 Float32x4.ZXZW = 226; | |
523 Float32x4.ZXWX = 50; | |
524 Float32x4.ZXWY = 114; | |
525 Float32x4.ZXWZ = 178; | |
526 Float32x4.ZXWW = 242; | |
527 Float32x4.ZYXX = 6; | |
528 Float32x4.ZYXY = 70; | |
529 Float32x4.ZYXZ = 134; | |
530 Float32x4.ZYXW = 198; | |
531 Float32x4.ZYYX = 22; | |
532 Float32x4.ZYYY = 86; | |
533 Float32x4.ZYYZ = 150; | |
534 Float32x4.ZYYW = 214; | |
535 Float32x4.ZYZX = 38; | |
536 Float32x4.ZYZY = 102; | |
537 Float32x4.ZYZZ = 166; | |
538 Float32x4.ZYZW = 230; | |
539 Float32x4.ZYWX = 54; | |
540 Float32x4.ZYWY = 118; | |
541 Float32x4.ZYWZ = 182; | |
542 Float32x4.ZYWW = 246; | |
543 Float32x4.ZZXX = 10; | |
544 Float32x4.ZZXY = 74; | |
545 Float32x4.ZZXZ = 138; | |
546 Float32x4.ZZXW = 202; | |
547 Float32x4.ZZYX = 26; | |
548 Float32x4.ZZYY = 90; | |
549 Float32x4.ZZYZ = 154; | |
550 Float32x4.ZZYW = 218; | |
551 Float32x4.ZZZX = 42; | |
552 Float32x4.ZZZY = 106; | |
553 Float32x4.ZZZZ = 170; | |
554 Float32x4.ZZZW = 234; | |
555 Float32x4.ZZWX = 58; | |
556 Float32x4.ZZWY = 122; | |
557 Float32x4.ZZWZ = 186; | |
558 Float32x4.ZZWW = 250; | |
559 Float32x4.ZWXX = 14; | |
560 Float32x4.ZWXY = 78; | |
561 Float32x4.ZWXZ = 142; | |
562 Float32x4.ZWXW = 206; | |
563 Float32x4.ZWYX = 30; | |
564 Float32x4.ZWYY = 94; | |
565 Float32x4.ZWYZ = 158; | |
566 Float32x4.ZWYW = 222; | |
567 Float32x4.ZWZX = 46; | |
568 Float32x4.ZWZY = 110; | |
569 Float32x4.ZWZZ = 174; | |
570 Float32x4.ZWZW = 238; | |
571 Float32x4.ZWWX = 62; | |
572 Float32x4.ZWWY = 126; | |
573 Float32x4.ZWWZ = 190; | |
574 Float32x4.ZWWW = 254; | |
575 Float32x4.WXXX = 3; | |
576 Float32x4.WXXY = 67; | |
577 Float32x4.WXXZ = 131; | |
578 Float32x4.WXXW = 195; | |
579 Float32x4.WXYX = 19; | |
580 Float32x4.WXYY = 83; | |
581 Float32x4.WXYZ = 147; | |
582 Float32x4.WXYW = 211; | |
583 Float32x4.WXZX = 35; | |
584 Float32x4.WXZY = 99; | |
585 Float32x4.WXZZ = 163; | |
586 Float32x4.WXZW = 227; | |
587 Float32x4.WXWX = 51; | |
588 Float32x4.WXWY = 115; | |
589 Float32x4.WXWZ = 179; | |
590 Float32x4.WXWW = 243; | |
591 Float32x4.WYXX = 7; | |
592 Float32x4.WYXY = 71; | |
593 Float32x4.WYXZ = 135; | |
594 Float32x4.WYXW = 199; | |
595 Float32x4.WYYX = 23; | |
596 Float32x4.WYYY = 87; | |
597 Float32x4.WYYZ = 151; | |
598 Float32x4.WYYW = 215; | |
599 Float32x4.WYZX = 39; | |
600 Float32x4.WYZY = 103; | |
601 Float32x4.WYZZ = 167; | |
602 Float32x4.WYZW = 231; | |
603 Float32x4.WYWX = 55; | |
604 Float32x4.WYWY = 119; | |
605 Float32x4.WYWZ = 183; | |
606 Float32x4.WYWW = 247; | |
607 Float32x4.WZXX = 11; | |
608 Float32x4.WZXY = 75; | |
609 Float32x4.WZXZ = 139; | |
610 Float32x4.WZXW = 203; | |
611 Float32x4.WZYX = 27; | |
612 Float32x4.WZYY = 91; | |
613 Float32x4.WZYZ = 155; | |
614 Float32x4.WZYW = 219; | |
615 Float32x4.WZZX = 43; | |
616 Float32x4.WZZY = 107; | |
617 Float32x4.WZZZ = 171; | |
618 Float32x4.WZZW = 235; | |
619 Float32x4.WZWX = 59; | |
620 Float32x4.WZWY = 123; | |
621 Float32x4.WZWZ = 187; | |
622 Float32x4.WZWW = 251; | |
623 Float32x4.WWXX = 15; | |
624 Float32x4.WWXY = 79; | |
625 Float32x4.WWXZ = 143; | |
626 Float32x4.WWXW = 207; | |
627 Float32x4.WWYX = 31; | |
628 Float32x4.WWYY = 95; | |
629 Float32x4.WWYZ = 159; | |
630 Float32x4.WWYW = 223; | |
631 Float32x4.WWZX = 47; | |
632 Float32x4.WWZY = 111; | |
633 Float32x4.WWZZ = 175; | |
634 Float32x4.WWZW = 239; | |
635 Float32x4.WWWX = 63; | |
636 Float32x4.WWWY = 127; | |
637 Float32x4.WWWZ = 191; | |
638 Float32x4.WWWW = 255; | |
639 class Int32x4 extends core.Object { | |
640 static new(x, y, z, w) { | |
641 return new _native_typed_data.NativeInt32x4(x, y, z, w); | |
642 } | |
643 static bool(x, y, z, w) { | |
644 return new _native_typed_data.NativeInt32x4.bool(x, y, z, w); | |
645 } | |
646 static fromFloat32x4Bits(x) { | |
647 return _native_typed_data.NativeInt32x4.fromFloat32x4Bits(x); | |
648 } | |
649 } | |
650 dart.setSignature(Int32x4, { | |
651 constructors: () => ({ | |
652 new: [Int32x4, [core.int, core.int, core.int, core.int]], | |
653 bool: [Int32x4, [core.bool, core.bool, core.bool, core.bool]], | |
654 fromFloat32x4Bits: [Int32x4, [Float32x4]] | |
655 }) | |
656 }); | |
657 Int32x4.XXXX = 0; | |
658 Int32x4.XXXY = 64; | |
659 Int32x4.XXXZ = 128; | |
660 Int32x4.XXXW = 192; | |
661 Int32x4.XXYX = 16; | |
662 Int32x4.XXYY = 80; | |
663 Int32x4.XXYZ = 144; | |
664 Int32x4.XXYW = 208; | |
665 Int32x4.XXZX = 32; | |
666 Int32x4.XXZY = 96; | |
667 Int32x4.XXZZ = 160; | |
668 Int32x4.XXZW = 224; | |
669 Int32x4.XXWX = 48; | |
670 Int32x4.XXWY = 112; | |
671 Int32x4.XXWZ = 176; | |
672 Int32x4.XXWW = 240; | |
673 Int32x4.XYXX = 4; | |
674 Int32x4.XYXY = 68; | |
675 Int32x4.XYXZ = 132; | |
676 Int32x4.XYXW = 196; | |
677 Int32x4.XYYX = 20; | |
678 Int32x4.XYYY = 84; | |
679 Int32x4.XYYZ = 148; | |
680 Int32x4.XYYW = 212; | |
681 Int32x4.XYZX = 36; | |
682 Int32x4.XYZY = 100; | |
683 Int32x4.XYZZ = 164; | |
684 Int32x4.XYZW = 228; | |
685 Int32x4.XYWX = 52; | |
686 Int32x4.XYWY = 116; | |
687 Int32x4.XYWZ = 180; | |
688 Int32x4.XYWW = 244; | |
689 Int32x4.XZXX = 8; | |
690 Int32x4.XZXY = 72; | |
691 Int32x4.XZXZ = 136; | |
692 Int32x4.XZXW = 200; | |
693 Int32x4.XZYX = 24; | |
694 Int32x4.XZYY = 88; | |
695 Int32x4.XZYZ = 152; | |
696 Int32x4.XZYW = 216; | |
697 Int32x4.XZZX = 40; | |
698 Int32x4.XZZY = 104; | |
699 Int32x4.XZZZ = 168; | |
700 Int32x4.XZZW = 232; | |
701 Int32x4.XZWX = 56; | |
702 Int32x4.XZWY = 120; | |
703 Int32x4.XZWZ = 184; | |
704 Int32x4.XZWW = 248; | |
705 Int32x4.XWXX = 12; | |
706 Int32x4.XWXY = 76; | |
707 Int32x4.XWXZ = 140; | |
708 Int32x4.XWXW = 204; | |
709 Int32x4.XWYX = 28; | |
710 Int32x4.XWYY = 92; | |
711 Int32x4.XWYZ = 156; | |
712 Int32x4.XWYW = 220; | |
713 Int32x4.XWZX = 44; | |
714 Int32x4.XWZY = 108; | |
715 Int32x4.XWZZ = 172; | |
716 Int32x4.XWZW = 236; | |
717 Int32x4.XWWX = 60; | |
718 Int32x4.XWWY = 124; | |
719 Int32x4.XWWZ = 188; | |
720 Int32x4.XWWW = 252; | |
721 Int32x4.YXXX = 1; | |
722 Int32x4.YXXY = 65; | |
723 Int32x4.YXXZ = 129; | |
724 Int32x4.YXXW = 193; | |
725 Int32x4.YXYX = 17; | |
726 Int32x4.YXYY = 81; | |
727 Int32x4.YXYZ = 145; | |
728 Int32x4.YXYW = 209; | |
729 Int32x4.YXZX = 33; | |
730 Int32x4.YXZY = 97; | |
731 Int32x4.YXZZ = 161; | |
732 Int32x4.YXZW = 225; | |
733 Int32x4.YXWX = 49; | |
734 Int32x4.YXWY = 113; | |
735 Int32x4.YXWZ = 177; | |
736 Int32x4.YXWW = 241; | |
737 Int32x4.YYXX = 5; | |
738 Int32x4.YYXY = 69; | |
739 Int32x4.YYXZ = 133; | |
740 Int32x4.YYXW = 197; | |
741 Int32x4.YYYX = 21; | |
742 Int32x4.YYYY = 85; | |
743 Int32x4.YYYZ = 149; | |
744 Int32x4.YYYW = 213; | |
745 Int32x4.YYZX = 37; | |
746 Int32x4.YYZY = 101; | |
747 Int32x4.YYZZ = 165; | |
748 Int32x4.YYZW = 229; | |
749 Int32x4.YYWX = 53; | |
750 Int32x4.YYWY = 117; | |
751 Int32x4.YYWZ = 181; | |
752 Int32x4.YYWW = 245; | |
753 Int32x4.YZXX = 9; | |
754 Int32x4.YZXY = 73; | |
755 Int32x4.YZXZ = 137; | |
756 Int32x4.YZXW = 201; | |
757 Int32x4.YZYX = 25; | |
758 Int32x4.YZYY = 89; | |
759 Int32x4.YZYZ = 153; | |
760 Int32x4.YZYW = 217; | |
761 Int32x4.YZZX = 41; | |
762 Int32x4.YZZY = 105; | |
763 Int32x4.YZZZ = 169; | |
764 Int32x4.YZZW = 233; | |
765 Int32x4.YZWX = 57; | |
766 Int32x4.YZWY = 121; | |
767 Int32x4.YZWZ = 185; | |
768 Int32x4.YZWW = 249; | |
769 Int32x4.YWXX = 13; | |
770 Int32x4.YWXY = 77; | |
771 Int32x4.YWXZ = 141; | |
772 Int32x4.YWXW = 205; | |
773 Int32x4.YWYX = 29; | |
774 Int32x4.YWYY = 93; | |
775 Int32x4.YWYZ = 157; | |
776 Int32x4.YWYW = 221; | |
777 Int32x4.YWZX = 45; | |
778 Int32x4.YWZY = 109; | |
779 Int32x4.YWZZ = 173; | |
780 Int32x4.YWZW = 237; | |
781 Int32x4.YWWX = 61; | |
782 Int32x4.YWWY = 125; | |
783 Int32x4.YWWZ = 189; | |
784 Int32x4.YWWW = 253; | |
785 Int32x4.ZXXX = 2; | |
786 Int32x4.ZXXY = 66; | |
787 Int32x4.ZXXZ = 130; | |
788 Int32x4.ZXXW = 194; | |
789 Int32x4.ZXYX = 18; | |
790 Int32x4.ZXYY = 82; | |
791 Int32x4.ZXYZ = 146; | |
792 Int32x4.ZXYW = 210; | |
793 Int32x4.ZXZX = 34; | |
794 Int32x4.ZXZY = 98; | |
795 Int32x4.ZXZZ = 162; | |
796 Int32x4.ZXZW = 226; | |
797 Int32x4.ZXWX = 50; | |
798 Int32x4.ZXWY = 114; | |
799 Int32x4.ZXWZ = 178; | |
800 Int32x4.ZXWW = 242; | |
801 Int32x4.ZYXX = 6; | |
802 Int32x4.ZYXY = 70; | |
803 Int32x4.ZYXZ = 134; | |
804 Int32x4.ZYXW = 198; | |
805 Int32x4.ZYYX = 22; | |
806 Int32x4.ZYYY = 86; | |
807 Int32x4.ZYYZ = 150; | |
808 Int32x4.ZYYW = 214; | |
809 Int32x4.ZYZX = 38; | |
810 Int32x4.ZYZY = 102; | |
811 Int32x4.ZYZZ = 166; | |
812 Int32x4.ZYZW = 230; | |
813 Int32x4.ZYWX = 54; | |
814 Int32x4.ZYWY = 118; | |
815 Int32x4.ZYWZ = 182; | |
816 Int32x4.ZYWW = 246; | |
817 Int32x4.ZZXX = 10; | |
818 Int32x4.ZZXY = 74; | |
819 Int32x4.ZZXZ = 138; | |
820 Int32x4.ZZXW = 202; | |
821 Int32x4.ZZYX = 26; | |
822 Int32x4.ZZYY = 90; | |
823 Int32x4.ZZYZ = 154; | |
824 Int32x4.ZZYW = 218; | |
825 Int32x4.ZZZX = 42; | |
826 Int32x4.ZZZY = 106; | |
827 Int32x4.ZZZZ = 170; | |
828 Int32x4.ZZZW = 234; | |
829 Int32x4.ZZWX = 58; | |
830 Int32x4.ZZWY = 122; | |
831 Int32x4.ZZWZ = 186; | |
832 Int32x4.ZZWW = 250; | |
833 Int32x4.ZWXX = 14; | |
834 Int32x4.ZWXY = 78; | |
835 Int32x4.ZWXZ = 142; | |
836 Int32x4.ZWXW = 206; | |
837 Int32x4.ZWYX = 30; | |
838 Int32x4.ZWYY = 94; | |
839 Int32x4.ZWYZ = 158; | |
840 Int32x4.ZWYW = 222; | |
841 Int32x4.ZWZX = 46; | |
842 Int32x4.ZWZY = 110; | |
843 Int32x4.ZWZZ = 174; | |
844 Int32x4.ZWZW = 238; | |
845 Int32x4.ZWWX = 62; | |
846 Int32x4.ZWWY = 126; | |
847 Int32x4.ZWWZ = 190; | |
848 Int32x4.ZWWW = 254; | |
849 Int32x4.WXXX = 3; | |
850 Int32x4.WXXY = 67; | |
851 Int32x4.WXXZ = 131; | |
852 Int32x4.WXXW = 195; | |
853 Int32x4.WXYX = 19; | |
854 Int32x4.WXYY = 83; | |
855 Int32x4.WXYZ = 147; | |
856 Int32x4.WXYW = 211; | |
857 Int32x4.WXZX = 35; | |
858 Int32x4.WXZY = 99; | |
859 Int32x4.WXZZ = 163; | |
860 Int32x4.WXZW = 227; | |
861 Int32x4.WXWX = 51; | |
862 Int32x4.WXWY = 115; | |
863 Int32x4.WXWZ = 179; | |
864 Int32x4.WXWW = 243; | |
865 Int32x4.WYXX = 7; | |
866 Int32x4.WYXY = 71; | |
867 Int32x4.WYXZ = 135; | |
868 Int32x4.WYXW = 199; | |
869 Int32x4.WYYX = 23; | |
870 Int32x4.WYYY = 87; | |
871 Int32x4.WYYZ = 151; | |
872 Int32x4.WYYW = 215; | |
873 Int32x4.WYZX = 39; | |
874 Int32x4.WYZY = 103; | |
875 Int32x4.WYZZ = 167; | |
876 Int32x4.WYZW = 231; | |
877 Int32x4.WYWX = 55; | |
878 Int32x4.WYWY = 119; | |
879 Int32x4.WYWZ = 183; | |
880 Int32x4.WYWW = 247; | |
881 Int32x4.WZXX = 11; | |
882 Int32x4.WZXY = 75; | |
883 Int32x4.WZXZ = 139; | |
884 Int32x4.WZXW = 203; | |
885 Int32x4.WZYX = 27; | |
886 Int32x4.WZYY = 91; | |
887 Int32x4.WZYZ = 155; | |
888 Int32x4.WZYW = 219; | |
889 Int32x4.WZZX = 43; | |
890 Int32x4.WZZY = 107; | |
891 Int32x4.WZZZ = 171; | |
892 Int32x4.WZZW = 235; | |
893 Int32x4.WZWX = 59; | |
894 Int32x4.WZWY = 123; | |
895 Int32x4.WZWZ = 187; | |
896 Int32x4.WZWW = 251; | |
897 Int32x4.WWXX = 15; | |
898 Int32x4.WWXY = 79; | |
899 Int32x4.WWXZ = 143; | |
900 Int32x4.WWXW = 207; | |
901 Int32x4.WWYX = 31; | |
902 Int32x4.WWYY = 95; | |
903 Int32x4.WWYZ = 159; | |
904 Int32x4.WWYW = 223; | |
905 Int32x4.WWZX = 47; | |
906 Int32x4.WWZY = 111; | |
907 Int32x4.WWZZ = 175; | |
908 Int32x4.WWZW = 239; | |
909 Int32x4.WWWX = 63; | |
910 Int32x4.WWWY = 127; | |
911 Int32x4.WWWZ = 191; | |
912 Int32x4.WWWW = 255; | |
913 class Float64x2 extends core.Object { | |
914 static new(x, y) { | |
915 return new _native_typed_data.NativeFloat64x2(x, y); | |
916 } | |
917 static splat(v) { | |
918 return new _native_typed_data.NativeFloat64x2.splat(v); | |
919 } | |
920 static zero() { | |
921 return new _native_typed_data.NativeFloat64x2.zero(); | |
922 } | |
923 static fromFloat32x4(v) { | |
924 return new _native_typed_data.NativeFloat64x2.fromFloat32x4(v); | |
925 } | |
926 } | |
927 dart.setSignature(Float64x2, { | |
928 constructors: () => ({ | |
929 new: [Float64x2, [core.double, core.double]], | |
930 splat: [Float64x2, [core.double]], | |
931 zero: [Float64x2, []], | |
932 fromFloat32x4: [Float64x2, [Float32x4]] | |
933 }) | |
934 }); | |
935 // Exports: | |
936 exports.ByteBuffer = ByteBuffer; | |
937 exports.TypedData = TypedData; | |
938 exports.Endianness = Endianness; | |
939 exports.ByteData = ByteData; | |
940 exports.Int8List = Int8List; | |
941 exports.Uint8List = Uint8List; | |
942 exports.Uint8ClampedList = Uint8ClampedList; | |
943 exports.Int16List = Int16List; | |
944 exports.Uint16List = Uint16List; | |
945 exports.Int32List = Int32List; | |
946 exports.Uint32List = Uint32List; | |
947 exports.Int64List = Int64List; | |
948 exports.Uint64List = Uint64List; | |
949 exports.Float32List = Float32List; | |
950 exports.Float64List = Float64List; | |
951 exports.Float32x4List = Float32x4List; | |
952 exports.Int32x4List = Int32x4List; | |
953 exports.Float64x2List = Float64x2List; | |
954 exports.Float32x4 = Float32x4; | |
955 exports.Int32x4 = Int32x4; | |
956 exports.Float64x2 = Float64x2; | |
957 }); | |
OLD | NEW |